User:Mike Novikoff/global.js: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
rollbackSummary.js for enwiki and wikidatawiki
goodbye yellow brick road
Line 17: Line 17:
//
//
// Adds labels to P-numbers and Q-numbers (properties and items) for Wikidata edits on watchlist
// Adds labels to P-numbers and Q-numbers (properties and items) for Wikidata edits on watchlist
mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Evad37/WikidataWatchlistLabels.js&action=raw&ctype=text/javascript");
//mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Evad37/WikidataWatchlistLabels.js&action=raw&ctype=text/javascript");
}
}

Revision as of 23:13, 3 July 2020

/************************
** enwiki and wikidata **
************************/
if (/^(en|wikidata)wiki$/.test(mw.config.get('wgDBname'))) {
//
// A tool to set rollback link edit summary: [https://en.wikipedia.org/wiki/user:Mr.Z-man/rollbackSummary]
mw.loader.load('//en.wikipedia.org/w/index.php?title=user:Writ_Keeper/rollbackSummary.js&action=raw&ctype=text/javascript');
}

/**********************
** enwiki and ruwiki **
**********************/
if (/^(en|ru)wiki$/.test(mw.config.get('wgDBname'))) {
//
// 'Highlight duplicate links' tool. For the sake of WP:REPEATLINK.
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Evad37/duplinks-alt.js&action=raw&ctype=text/javascript');
//
// Adds labels to P-numbers and Q-numbers (properties and items) for Wikidata edits on watchlist
//mw.loader.load("//en.wikipedia.org/w/index.php?title=User:Evad37/WikidataWatchlistLabels.js&action=raw&ctype=text/javascript");
}