Content deleted Content added
will now work when editing with VisualEditor |
mw.config.get |
||
Line 2:
//See also https://en.wikipedia.org/wiki/User:Ucucha/duplinks for documentation of the original script
$( function($) {
if((mw.config.get('wgNamespaceNumber') != 0) && (mw.config.get('wgNamespaceNumber') != 2)) {
// only check links in mainspace and userspace (for userspace drafts)
return;
|