Bump 1.25
[lhc/web/wiklou.git] / includes / Title.php
index 8727b74..74d78ba 100644 (file)
@@ -4333,7 +4333,9 @@ class Title {
         * @return bool
         */
        public function exists() {
-               return $this->getArticleID() != 0;
+               $exists = $this->getArticleID() != 0;
+               wfRunHooks( 'TitleExists', array( $this, &$exists ) );
+               return $exists;
        }
 
        /**