r55511 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r55510‎ | r55511 | r55512 >
Date:22:48, 22 August 2009
Author:ialex
Status:deferred
Tags:
Comment:
hmm, this was supposed to be part of r55509
Modified paths:
  • /trunk/extensions/PSINoTocNum/PSINoTocNum.php (modified) (history)

Diff [purge]

Index: trunk/extensions/PSINoTocNum/PSINoTocNum.php
@@ -58,7 +58,7 @@
5959 $wgHooks['ParserBeforeInternalParse'][] = 'PSINoTocNumParserBeforeInternalParse';
6060
6161 function PSINoTocNumParserBeforeInternalParse($parser, $text, $stripState) {
62 - if (MagicWord::get( MAG_NOTOCNUM )->matchAndRemove( $text ) ) {
 62+ if (MagicWord::get( 'MAG_NOTOCNUM' )->matchAndRemove( $text ) ) {
6363 global $wgOut;
6464 $wgOut->addScript('
6565 <style type="text/css"><!-- .tocnumber {display:none;} --></style>

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r55509More fixes for r55016:...ialex22:41, 22 August 2009

Status & tagging log