r24015 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24014‎ | r24015 | r24016 >
Date:17:16, 11 July 2007
Author:sanbeg
Status:old
Tags:
Comment:
Make XML tag case insensitive
Modified paths:
  • /trunk/extensions/LabeledSectionTransclusion/lst.php (modified) (history)

Diff [purge]

Index: trunk/extensions/LabeledSectionTransclusion/lst.php
@@ -171,11 +171,11 @@
172172 if (isset($wgLstLocal)){
173173 $begin="(?i:begin|$wgLstLocal[begin])";
174174 $end="(?i:end|$wgLstLocal[end])";
175 - $section_re = "(?:section|$wgLstLocal[section])";
 175+ $section_re = "(?i:section|$wgLstLocal[section])";
176176 } else {
177177 $begin="(?i:begin)";
178178 $end="(?i:end)";
179 - $section_re = "section";
 179+ $section_re = "(?i:section)";
180180 }
181181
182182 return "/<$section_re$ws\s+$begin=".

Status & tagging log