Content deleted Content added
remove extra alert |
No edit summary |
||
Line 17:
// Remove {PAGENAME}, {BASEPAGENAME}, ...
mytxt = mytxt.replace(/\{\{(?:PAGENAME|BASEPAGENAME|FULLPAGENAME|CURRENTYEAR)\}\}/g, '');
// Remove <nowiki />
mytxt = mytxt.replace(/<nowiki[ ]*\/>/gi, '');
// Replace some braces
mytxt = mytxt.replace(/([^\{])\{([^\{])/g, '$1{$2');
|