MediaWiki:Common.js
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
$(function() { /* START Change DisplayTitle */ var cfer = $('#info-cfer').text(); var hsk = $('#info-hsk').text(); var link = $('#info-link').text(); var headerText = $('.allset-page-heading h1').text(); var header = $('.allset-page-heading h1'); header.html(headerText + "<span style='float:right'>" + cfer + "/" + hsk + "<a href='/chinese/vocabulary/" + link + "' title='" + link + "'><img src='https://resources.allsetlearning.com/gramwiki/images/silk/link.png'></a></span>"); // modify settings cog location so it aligns with the right-floated header items $('#settings-button').css('margin', '0.7em 0 0 0.5em'); /* END */ });