Content deleted Content added
Writ Keeper (talk | contribs) typo |
Writ Keeper (talk | contribs) adjust regex to make it not case sensitive |
||
Line 19:
api.edit(mw.config.get("wgPageName"), function(revision)
{
var regexResult = revision.content.match(/\{\{ *
if(regexResult != null)
{
Line 37:
api.edit(talkPageName, function(revision)
{
var regexResult = revision.content.match(/\{\{ *
if(regexResult != null && typeof regexResult[1] != "undefined")
{
|