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

Content deleted Content added
bug fix, increase sloppiness
expand WikiProject template matching to include WPFoo instead of just WikiProject Foo
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++ ) {