VOOZH about

URL: https://minecraft.wiki/w/MediaWiki:Gadget-lazyloadSidebarVersions.js

⇱ MediaWiki:Gadget-lazyloadSidebarVersions.js – Minecraft Wiki


MediaWiki:Gadget-lazyloadSidebarVersions.js

From Minecraft Wiki
Jump to navigation Jump to search
In other languages

Note: After saving, you have to bypass your browser's cache to see the changes.

Google Chrome, Firefox, Microsoft Edge, and Safari: Hold down the key and click the Reload toolbar button.
For details and instructions about other browsers, see Wikipedia:Bypass your cache.

$(function(){
newmw.Api().parse(newmw.Title('MediaWiki:Sidebar-versions'),{
prop:'text',
disablelimitreport:1,
requestid:'gadget-lazyloadSidebarVersions'
}).then(function(content){
var$content=$(content);
$content.find('a.new').each(function(){
this.title=this.title.replace(' (page does not exist)','');
this.href=this.href.replace('?action=edit&redlink=1','');
this.classList.remove('new');
});
$('#mw-panel #p-Recent_versions .vector-menu-content').html($content.html());
});
});
Retrieved from "https://minecraft.wiki/w/MediaWiki:Gadget-lazyloadSidebarVersions.js?oldid=2696846"

Navigation menu