Merge "Don't check namespace in SpecialWantedtemplates"
[lhc/web/wiklou.git] / includes / specials / SpecialWantedfiles.php
index 937a503..a718aa8 100644 (file)
@@ -52,7 +52,7 @@ class WantedFilesPage extends WantedQueryPage {
                $noForeign = '';
                if ( !$this->likelyToHaveFalsePositives() ) {
                        // Additional messages for grep:
-                       // wantedfiletext-cat-noforeign, wantedfiletext-nocat
+                       // wantedfiletext-cat-noforeign, wantedfiletext-nocat-noforeign
                        $noForeign = '-noforeign';
                }
 
@@ -99,10 +99,10 @@ class WantedFilesPage extends WantedQueryPage {
         * Use wfFindFile so we still think file namespace pages without
         * files are missing, but valid file redirects and foreign files are ok.
         *
-        * @return boolean
+        * @return bool
         */
        protected function existenceCheck( Title $title ) {
-               return (bool) wfFindFile( $title );
+               return (bool)wfFindFile( $title );
        }
 
        function getQueryInfo() {