User:PhantomTech/scripts/AFCRHS.js: Difference between revisions

Content deleted Content added
bug fix, increase sloppiness
Maintenance: mw:RL/MGU - Updated deprecated module name
 
(One intermediate revision by one other user not shown)
Line 202:
talkPageText += '\n{' + '{WikiProject ' + 'Disambiguation|class=redirect}}';
}
var match = targetPageTalkPage.getPageText().match( /\{\{ ?WikiProject((W|w)ikiProject |(W|w)P)(?!Articles for creation)(.*?)(?=\n|\||}})/igg );
if ( match !== null ) {
for ( var t = 0; t < match.length; t++ ) {
Line 276:
// Only start on the right page and if we're working with the current version
if ( mw.config.get( 'wgPageName' ) === 'Wikipedia:Articles_for_creation/Redirects' && mw.config.get( 'wgRevisionId' ) === mw.config.get( 'wgCurRevisionId' ) ) {
mw.loader.using( 'jquery.ui.dialog' );
mw.loader.using( 'jquery.tipsy' );