| Line 6: |
Line 6: |
| | // | | // |
| | | | |
| − | mw.notify("Launching User:Podehaye/quickpresets.js")
| |
| | mw.loader.load( '/w/index.php?title=MediaWiki:quickpresets.css&action=raw&ctype=text/css', 'text/css' ); | | mw.loader.load( '/w/index.php?title=MediaWiki:quickpresets.css&action=raw&ctype=text/css', 'text/css' ); |
| − | mw.notify("Launded CSS")
| |
| | | | |
| | if( typeof(quick_props)=="undefined" ) { | | if( typeof(quick_props)=="undefined" ) { |
| | mw.loader.load( '/w/index.php?title=MediaWiki:quickpresets_defaultconf.js&action=raw&ctype=text/javascript' ); | | mw.loader.load( '/w/index.php?title=MediaWiki:quickpresets_defaultconf.js&action=raw&ctype=text/javascript' ); |
| − | mw.notify("Launded default")
| |
| | } | | } |
| − | mw.notify("Launching User:Podehaye/quickpresets.js, part 2")
| |
| | | | |
| | /** | | /** |
| Line 171: |
Line 167: |
| | */ | | */ |
| | function quickpresets_checktype(qid, prop) { | | function quickpresets_checktype(qid, prop) { |
| | + | mw.notify(qid, prop) |
| | var typeqid=prop.qid; | | var typeqid=prop.qid; |
| | // Search in HTML-DOM | | // Search in HTML-DOM |
| Line 238: |
Line 235: |
| | var qid = mw.config.get( 'wbEntityId' ); | | var qid = mw.config.get( 'wbEntityId' ); |
| | if ( !qid ) { | | if ( !qid ) { |
| − | mw.notify("Launching User:Podehaye/quickpresets.js part 3")
| |
| | return; | | return; |
| | } | | } |
| | else { | | else { |
| | qid = qid.substring(1); | | qid = qid.substring(1); |
| − | mw.notify("Launching User:Podehaye/quickpresets.js part 4")
| |
| − |
| |
| | } | | } |
| | | | |
| Line 252: |
Line 246: |
| | quickpresets_waitForConfig(function() { | | quickpresets_waitForConfig(function() { |
| | for( var t = 0; t<quick_props.length; t++) { | | for( var t = 0; t<quick_props.length; t++) { |
| − | mw.notify("Launching User:Podehaye/quickpresets.js part 5")
| |
| | quickpresets_checktype(qid, quick_props[t]); | | quickpresets_checktype(qid, quick_props[t]); |
| | } | | } |