https://www.mediawiki.org/wiki/Special:Code/MediaWiki/110289
Revision: 110289 Author: siebrand Date: 2012-01-30 13:54:43 +0000 (Mon, 30 Jan 2012) Log Message: ----------- Revert r110285, r110286. No new features in core during slush. Consider recommit after 1.19 is branched, and please add hooks.txt documentation, too. Modified Paths: -------------- trunk/phase3/includes/Title.php Modified: trunk/phase3/includes/Title.php =================================================================== --- trunk/phase3/includes/Title.php 2012-01-30 13:51:04 UTC (rev 110288) +++ trunk/phase3/includes/Title.php 2012-01-30 13:54:43 UTC (rev 110289) @@ -4164,21 +4164,7 @@ * @return Bool */ public function isKnown() { - $isKnown = null; - - /** - * Allows overriding default behaviour for determining if a page exists. - * If $isKnown is kept as null, regular checks happen. If it's - * a boolean, this value is returned by the isKnown method. - * - * @since 1.19 - * - * @param Title $title - * @param boolean|null $isKnown - */ - wfRunHooks( 'TitleIsKnown', array( $this, &$isKnown ) ); - - return is_null( $isKnown ) ? ( $this->isAlwaysKnown() || $this->exists() ) : $isKnown; + return $this->isAlwaysKnown() || $this->exists(); } /** _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs