jenkins-bot has submitted this change and it was merged.
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(-)
Approvals:
MarkTraceur: Looks good to me, approved
jenkins-bot: Verified
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: merged
Gerrit-Change-Id: I0662f5cc5de2c421f926fe9e1bdbdde25bf1313e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MultimediaViewer
Gerrit-Branch: master
Gerrit-Owner: Gergő Tisza <[email protected]>
Gerrit-Reviewer: MarkTraceur <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits