User:Bhairava7/EasyResolve.js: Difference between revisions
From Test Wiki
Content deleted Content added
+ |
No edit summary |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
//<nowiki> |
//<nowiki> |
||
//Maintained by |
//Maintained by Bhairava7 |
||
var EasyResolve = {}; |
var EasyResolve = {}; |
||
window.EasyResolve = EasyResolve; |
window.EasyResolve = EasyResolve; |
||
EasyResolve.config = { |
EasyResolve.config = { |
||
name: '[[User: |
name: '[[User:Kiteretsu/EasyResolve|EasyResolve]]', |
||
version: '1.4', |
version: '1.4', |
||
debug: false |
debug: false |
||
| Line 17: | Line 17: | ||
// console.log( sectionNumber ); |
// console.log( sectionNumber ); |
||
this.after( ' | ' ); |
this.after( ' | ' ); |
||
$(this).after( $( '<span class="EasyResolveClose" section=' + sectionNumber + '>Close |
$(this).after( $( '<span class="EasyResolveClose" section=' + sectionNumber + '>Close this threads</span>') ); |
||
} catch ( e ) { |
} catch ( e ) { |
||
| Line 60: | Line 60: | ||
EasyResolve.extraPages = [ |
EasyResolve.extraPages = [ |
||
"Test Wiki:Community portal", |
"Test Wiki:Community portal", |
||
"Test Wiki:Request for permissions", |
|||
"User talk:", |
|||
]; |
]; |
||
mw.loader.using( 'mediawiki.api', function() { |
mw.loader.using( 'mediawiki.api', function() { |
||