PrefixSearch (ApiOpenSearch) now supports searching in multiple namespaces
[lhc/web/wiklou.git] / includes / api / ApiQueryLangLinks.php
index 5a45a28..53cfba1 100644 (file)
@@ -31,7 +31,7 @@
  */
 class ApiQueryLangLinks extends ApiQueryBase {
 
-       public function __construct( $query, $moduleName ) {
+       public function __construct( ApiQuery $query, $moduleName ) {
                parent::__construct( $query, $moduleName, 'll' );
        }
 
@@ -213,7 +213,7 @@ class ApiQueryLangLinks extends ApiQueryBase {
        }
 
        public function getDescription() {
-               return 'Returns all interlanguage links from the given page(s)';
+               return 'Returns all interlanguage links from the given page(s).';
        }
 
        public function getPossibleErrors() {