Gergő Tisza has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/133763

Change subject: Temp fix for core bug (getFileSearchOptions() stopped working)
......................................................................

Temp fix for core bug (getFileSearchOptions() stopped working)

Change-Id: I0662f5cc5de2c421f926fe9e1bdbdde25bf1313e
---
M MultimediaViewerHooks.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MultimediaViewer 
refs/changes/63/133763/1

diff --git a/MultimediaViewerHooks.php b/MultimediaViewerHooks.php
index 466cf80..a19b954 100644
--- a/MultimediaViewerHooks.php
+++ b/MultimediaViewerHooks.php
@@ -76,7 +76,7 @@
         * @return bool
         */
        public static function getModulesForArticle( &$out, &$skin ) {
-               if ( count( $out->getFileSearchOptions() ) > 0 || 
$out->getTitle()->inNamespace( NS_FILE ) ) {
+               if ( 1 /* count( $out->getFileSearchOptions() ) > 0 || 
$out->getTitle()->inNamespace( NS_FILE ) */ ) { // FIXME broken in core
                        return self::getModules( $out );
                }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/133763
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I0662f5cc5de2c421f926fe9e1bdbdde25bf1313e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MultimediaViewer
Gerrit-Branch: master
Gerrit-Owner: GergÅ‘ Tisza <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to