MediaWiki:Gadget-afchelper.js/submissions.js: Difference between revisions

m
→‎top: clean up, replaced: WT: → BT:
No edit summary
m (→‎top: clean up, replaced: WT: → BT:)
Line 22: Line 22:
this.page = page;
this.page = page;


// 'WT:Articles for creation/Foo' => 'Foo'
// 'BT:Articles for creation/Foo' => 'Foo'
this.shortTitle = this.page.title.getMainText().match( /([^\/]+)\/?$/ )[ 1 ];
this.shortTitle = this.page.title.getMainText().match( /([^\/]+)\/?$/ )[ 1 ];