User:Zppix/Test/MediaWiki:Gadget-CentralAuthInterlinkFixer.js: Difference between revisions

Content added Content deleted
(remove 'external' class as well (in the old version the class was overritten, thereby removing all classses which broke certain other scripts) -)
(wikidatawiki has a separate domain, add exception)
Line 17: Line 17:
if (id === 'foundationwiki') {
if (id === 'foundationwiki') {
return 'wikimediafoundation.org';
return 'wikimediafoundation.org';
}
if (id === 'wikidatawiki') {
return 'wikidatawiki.org';
}
}
wikimedia = /^(advisory|auditcom|board|chair|chapcom|collab|comcom|commons|exec|grants|incubator|internal|meta|office|otrs wiki|quality|spcom|species|wikimaniateam|wikimania20\d\d)wiki$/;
wikimedia = /^(advisory|auditcom|board|chair|chapcom|collab|comcom|commons|exec|grants|incubator|internal|meta|office|otrs wiki|quality|spcom|species|wikimaniateam|wikimania20\d\d)wiki$/;