Use $wgContLang here, this should not vary with the user language.
[lhc/web/wiklou.git] / includes / PageQueryPage.php
index 5b82ebf..0d1789e 100644 (file)
@@ -3,16 +3,15 @@
 /**
  * Variant of QueryPage which formats the result as a simple link to the page
  *
- * @package MediaWiki
- * @addtogroup SpecialPage
+ * @ingroup SpecialPage
  */
 class PageQueryPage extends QueryPage {
 
        /**
         * Format the result as a simple link to the page
         *
-        * @param Skin $skin
-        * @param object $row Result row
+        * @param $skin Skin
+        * @param $row Object: result row
         * @return string
         */
        public function formatResult( $skin, $row ) {
@@ -22,5 +21,3 @@ class PageQueryPage extends QueryPage {
                        htmlspecialchars( $wgContLang->convert( $title->getPrefixedText() ) ) );
        }
 }
-
-?>