Jump to content

User:Xaradnam/monobook.js: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Xaradnam (talk | contribs)
m T/F
Xaradnam (talk | contribs)
m w
Line 10: Line 10:


DiffOnly = {
DiffOnly = {
history: true,
watchlist: true,
diff: false
diff: false
}
}

Revision as of 21:46, 24 October 2021

// <nowiki>

CurPg=mw.config.get('wgPageName'); // Current page name
CurNSnum=mw.config.get('wgNamespaceNumber');
//==================================================
function printValue(txt, val)
	{$('body').append('<center><h4><tt>' + txt + ': ' + val + ' </tt></h4></center>');}
//==================================================
if (CurPg=="User:Xaradnam/monobook.js") printValue("CurPg", CurPg);

DiffOnly = {
    watchlist: true,
    diff: false
}
importScript('User:Mr. Stradivarius/gadgets/DiffOnly.js');