r14512 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14511‎ | r14512 | r14513 >
Date:06:41, 1 June 2006
Author:brion
Status:old
Tags:
Comment:
Fix for DynamicPageList, which registers a mixed-case tag name.
The new system needs tag names to be case-folded internally so
that tags are properly case-insensitive.
Modified paths:
  • /trunk/phase3/includes/Parser.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Parser.php
@@ -3664,6 +3664,7 @@
36653665 * @return The old value of the mTagHooks array associated with the hook
36663666 */
36673667 function setHook( $tag, $callback ) {
 3668+ $tag = strtolower( $tag );
36683669 $oldVal = @$this->mTagHooks[$tag];
36693670 $this->mTagHooks[$tag] = $callback;
36703671

Follow-up revisions

RevisionCommit summaryAuthorDate
r14516Revert to r14512; domas introduced massive breakage with incomplete experimen...brion08:19, 1 June 2006

Status & tagging log