Content deleted Content added
Manishearth (talk | contribs) No edit summary |
Magioladitis (talk | contribs) a minor update; still this script is outdated since do-attempt is not used anymore |
||
Line 276:
rVal = val.replace(/{{orphan\|\wdate=[^\}]*}}/i, "")
// alert(12)
}else if(val.indexOf("{{
rVal=val.replace(/\|\w?orphan=[^\|\}]*/i,"")
rVal=rVal.replace(/\|\w?do-attempt=[^\|\}]*/i,"")
Line 294:
rVal = val.replace(/({{do-attempt|date=[^\|\}]*\|att=)[^\|\}]*}}/i, "$1\{\{subst:CURRENTMONTHNAME\}\} \{\{subst:CURRENTYEAR\}\}}}")
}else if(val.indexOf("{{
rVal=rVal.replace(/\|\w?do-attempt=[^\|\}]*/i,"\|do-attempt=\{\{subst:CURRENTMONTHNAME\}\} \{\{subst:CURRENTYEAR\}\}")
// alert(23)
|