MediaWiki:Common.js: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 356:
/**
* Code for fundraising Thank You pages
* e.g. https://wikimediafoundation.org/wiki/Thank_You
*/
if ( mw.config.get( 'wgTitle' ).
mw.loader.using( 'mediawiki.util', function() {
Line 381:
});
}
/**
* Code for fundraising support pages
* e.g. https://donate.wikimedia.org/wiki/Problems_donating
*
* Edit at https://donate.wikimedia.org/wiki/MediaWiki:SupportPage.js
*/
if ( mw.config.get( 'wgTitle' ).split('/')[0] === 'Problems donating' ) {
mw.loader.load( '/w/index.php?title=MediaWiki:SupportPage.js&action=raw&ctype=text/javascript' );
}
|