मीडियाविकि:Gadget-afchelper.js
सूचना: सम्पादनहरू प्रकाशित गरेपछि, परिवर्तनहरू हेर्नको लागि तपाईंले आफ्नो ब्राउजरको क्यासलाई बाइपास गर्नुपर्छ। गुगल क्रोम, फायरफक्स, माइक्रोसफ्ट एज र सफारी: ⇧ Shift कुञ्जी थिचिराखेर रिलोड उपकरणपट्टी बटनमा थिच्नुहोस्।
///////////////////////////////////////////////
//////// Yet Another AfC Helper Script ////////
//// https://en.wikipedia.org/wiki/WP:AFCH ////
//// https://github.com/WPAFC/afch-rewrite ////
///////////////////////////////////////////////
( function ( mw, importScript ) {
if ( /^(?:User:|Draft:|Wikipedia(?:_talk)?:लेख_सृजना)/.test( mw.config.get( 'wgPageName' ) ) ) {
// These dependencies are also enforced by the gadget definition, this is a fallback
// in case people ure using the gadget indirectly .
mw.loader.using( ['mediawiki.api', 'mediawiki.util', 'mediawiki.user', 'jquery.chosen'] ).done( function() {
importScript( 'User:Pitambar Bhattarai/afch-master.js' );
});
}
}( mediaWiki, importScript ) );