Bartosz Dziewoński has uploaded a new change for review.
https://gerrit.wikimedia.org/r/159352
Change subject: Fix reference to wikibits.js
......................................................................
Fix reference to wikibits.js
Use the ResourceLoader module instead. I have no idea if this code
works and I haven't tried to run it, but it looks reasonable to me.
Bug: 70615
Change-Id: Ie965bc4d163cf4bba01584c9ecb8c3d962b604b8
---
M formats/Exhibit/SRF_Exhibit.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticResultFormats
refs/changes/52/159352/1
diff --git a/formats/Exhibit/SRF_Exhibit.php b/formats/Exhibit/SRF_Exhibit.php
index 86344dc..da4fcc8 100644
--- a/formats/Exhibit/SRF_Exhibit.php
+++ b/formats/Exhibit/SRF_Exhibit.php
@@ -53,7 +53,7 @@
global $smwgIQRunningNumber, $wgScriptPath, $wgGoogleMapsKey,
$srfgScriptPath;
if ( defined( 'MW_SUPPORTS_RESOURCE_MODULES' ) ) {
- SMWOutputs::requireHeadItem( 'exhibit-compat',
Html::linkedScript( "$wgScriptPath/common/wikibits.js" ) );
+ SMWOutputs::requireResource(
'mediawiki.legacy.wikibits' );
}
// //////////////////////////////
--
To view, visit https://gerrit.wikimedia.org/r/159352
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie965bc4d163cf4bba01584c9ecb8c3d962b604b8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticResultFormats
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits