From 6f650d9a61ea5c783c0231794120ae2510327c37 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 7 Nov 2013 17:47:33 -0800 Subject: [PATCH] Add tags to wikitext detection regex Bug: 56755 Change-Id: Ib7279401601147420441e77e4796b94fe91ac956 --- modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js index 1f95677487..5f9f50a42b 100644 --- a/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js +++ b/modules/ve-mw/init/targets/ve.init.mw.ViewPageTarget.js @@ -729,7 +729,7 @@ ve.init.mw.ViewPageTarget.prototype.checkForWikitextWarning = function () { } text = ve.ce.getDomText( node.$element[0] ); - if ( text.match( /\[\[|\{\{|''|