Robert Vogel has submitted this change and it was merged.

Change subject: Added code tag to list of tags special tags
......................................................................


Added code tag to list of tags special tags

The content of code tags must not be altered. So they are treated as
special tags in the future.

Change-Id: I95e6ccd5e8a2bbfc2f63b30f2a04d5f4a9d6f359
---
M VisualEditor/VisualEditor.class.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Robert Vogel: Verified; Looks good to me, approved



diff --git a/VisualEditor/VisualEditor.class.php 
b/VisualEditor/VisualEditor.class.php
index 5e3a31d..7b8833e 100644
--- a/VisualEditor/VisualEditor.class.php
+++ b/VisualEditor/VisualEditor.class.php
@@ -314,7 +314,7 @@
                $aDefaultTags = array(
                        "syntaxhighlight", "source", "infobox", "categorytree",
                        "presentation", "includeonly", "onlyinclude", 
"noinclude",
-                       "backlink", "gallery", "math", "video", "rss", 
"tagcloud"
+                       "backlink", "gallery", "math", "video", "rss", 
"tagcloud", "code"
                );
                $this->aConfigStandard["specialtaglist"] = 
BsConfig::get('MW::VisualEditor::SpecialTags')
                                . implode('|', $aDefaultTags);

-- 
To view, visit https://gerrit.wikimedia.org/r/196209
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I95e6ccd5e8a2bbfc2f63b30f2a04d5f4a9d6f359
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/BlueSpiceExtensions
Gerrit-Branch: master
Gerrit-Owner: Mglaser <gla...@hallowelt.biz>
Gerrit-Reviewer: Pigpen <reym...@hallowelt.biz>
Gerrit-Reviewer: Robert Vogel <vo...@hallowelt.biz>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to