Mwjames has uploaded a new change for review. https://gerrit.wikimedia.org/r/85216
Change subject: Reorder RL loading ...................................................................... Reorder RL loading This will avoid having MW 1.22 flashy hiccups during page Change-Id: I6ce729d4296bbf027a50cadf708268a87839aa73 --- M resources/Resources.php 1 file changed, 13 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticMediaWiki refs/changes/16/85216/1 diff --git a/resources/Resources.php b/resources/Resources.php index ed66c47..4258485 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -30,8 +30,13 @@ ), // Common styles independent from JavaScript + // MW 1.22 loading this as 'dependencies' => 'ext.smw.tooltip.styles' + // was not a choice as it showed flashy hiccups 'ext.smw.style' => $moduleTemplate + array( - 'styles' => 'resources/smw/ext.smw.css', + 'styles' => array( + 'resources/smw/util/ext.smw.util.tooltip.css', + 'resources/smw/ext.smw.css' + ), 'position' => 'top' ), @@ -106,11 +111,17 @@ 'scripts' => 'resources/jquery/jquery.qtip.js', 'styles' => 'resources/jquery/jquery.qtip.css', ), + + // Tooltip + 'ext.smw.tooltip.styles' => $moduleTemplate + array( + 'styles' => 'resources/smw/util/ext.smw.util.tooltip.css', + ), + // Tooltip 'ext.smw.tooltip' => $moduleTemplate + array( 'scripts' => 'resources/smw/util/ext.smw.util.tooltip.js', - 'styles' => 'resources/smw/util/ext.smw.util.tooltip.css', 'dependencies' => array( + 'ext.smw.tooltip.styles', 'ext.smw', 'ext.jquery.qtip' ), -- To view, visit https://gerrit.wikimedia.org/r/85216 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6ce729d4296bbf027a50cadf708268a87839aa73 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/SemanticMediaWiki Gerrit-Branch: master Gerrit-Owner: Mwjames <jamesin.hongkon...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits