Content deleted Content added
Ohconfucius (talk | contribs) disable easter egg removal per request |
Ohconfucius (talk | contribs) copied fix thanks to User:DavidBrooks |
||
Line 832:
var dflagfound = editor.get().search(rxpdd);
if (dflagfound === -1) {
editor.prepend("{{Use " + format + " dates|date=" + curryyyymm + "}}\r\n")
.replace(/(\{\{[\t_ ]*use[\t_ ]+(?:dmy|mdy)[\t_ ]+dates[^{}]*\}\})([\r\n\t ]*)(\{\{[\t ]*short description[^{}]*\}\})/gi, "$3$2$1"); // repositioning "short description" template at the top
return; // and done
}
|