MediaWiki:AFC-submit-wizard.js: Difference between revisions
Content deleted Content added
revert and use {{subst:REVISIONUSER}} instead, which is a simpler solution |
remove |class=draft in any existing wikiproject templates |
||
Line 704:
// put AfC submission template
// insert everything to the top
Line 743 ⟶ 742:
text = tagsToAddText + (text || '');
// remove |class=draft parameter in any WikiProject templates
text = text.replace(/(\{\{wikiproject.*?)\|\s*class\s*=\s*draft\s*/gi, '$1');
return text;
}
|