Merge "Use {{int:}} on MediaWiki:Blockedtext and MediaWiki:Autoblockedtext"
[lhc/web/wiklou.git] / includes / interwiki / Interwiki.php
index 8dd6193..657849a 100644 (file)
@@ -32,11 +32,11 @@ class Interwiki {
        /** @var string The URL of the wiki, with "$1" as a placeholder for an article name. */
        protected $mURL;
 
-       /** @var string The URL of the file api.php  */
+       /** @var string The URL of the file api.php */
        protected $mAPI;
 
        /** @var string The name of the database (for a connection to be established
-        *    with wfGetLB( 'wikiid' ))
+        *    with LBFactory::getMainLB( 'wikiid' ))
         */
        protected $mWikiID;
 
@@ -88,7 +88,7 @@ class Interwiki {
         * @since 1.26
         */
        public static function invalidateCache( $prefix ) {
-               return MediaWikiServices::getInstance()->getInterwikiLookup()->invalidateCache( $prefix );
+               MediaWikiServices::getInstance()->getInterwikiLookup()->invalidateCache( $prefix );
        }
 
        /**