r89244 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89243‎ | r89244 | r89245 >
Date:00:15, 1 June 2011
Author:demon
Status:ok
Tags:
Comment:
rm only core usage of in_string(), I think it's silly
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -699,7 +699,7 @@
700700 if ( $text === false ) {
701701 $text = $this->getRawText();
702702 }
703 - return in_string( ',', $text );
 703+ return strpos( $text, ',' ) !== false;
704704 case 'link':
705705 if ( $editInfo ) {
706706 // ParserOutput::getLinks() is a 2D array of page links, so

Status & tagging log