X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FTitle.php;h=eac712bede8a9b5c9763be6ad1956629039a2c80;hb=4c4325e98cc7e8b7c4321e36fa03975ed8ec4265;hp=b347edbb6ad98a5ed6cb7794f0af8ac487bb927f;hpb=f8659ae6ea90d7bc8ce28bfc1caa56153878836f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Title.php b/includes/Title.php index b347edbb6a..eac712bede 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -206,7 +206,7 @@ class Title { * @return TitleFormatter */ private static function getTitleFormatter() { - //NOTE: we know that getTitleParser() returns a MediaWikiTitleCodec, + // NOTE: we know that getTitleParser() returns a MediaWikiTitleCodec, // which implements TitleFormatter. return self::getTitleParser(); } @@ -266,7 +266,11 @@ class Title { throw new InvalidArgumentException( '$text must be a string.' ); } elseif ( !is_string( $text ) ) { wfDebugLog( 'T76305', wfGetAllCallers( 5 ) ); - wfWarn( __METHOD__ . ': $text must be a string. This will throw an InvalidArgumentException in future.', 2 ); + wfWarn( + __METHOD__ . ': $text must be a string. ' . + 'This will throw an InvalidArgumentException in future.', + 2 + ); } try { @@ -2944,7 +2948,7 @@ class Title { $this->mRestrictions['move'] = explode( ',', trim( $temp[0] ) ); } else { $restriction = trim( $temp[1] ); - if ( $restriction != '' ) { //some old entries are empty + if ( $restriction != '' ) { // some old entries are empty $this->mRestrictions[$temp[0]] = explode( ',', $restriction ); } }