https://www.mediawiki.org/wiki/Special:Code/MediaWiki/112229
Revision: 112229
Author: brion
Date: 2012-02-23 19:28:44 +0000 (Thu, 23 Feb 2012)
Log Message:
-----------
May or may not help with bug 34601 UW mispositioned file control - still can't
reproduce this on a local install.
Force UploadWizard styles to load early.... there *is* HTML at output time,
though it's "hidden" until some additional styling is applied to it.
Sometimes in Chrome some of the HTML flashes briefly without style, which seems
to be when we pick up the wrong positioning... this hopefully will avoid that
possibility by ensuring the styles are preloaded.
Modified Paths:
--------------
trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php
Modified:
trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php
===================================================================
--- trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php
2012-02-23 19:16:50 UTC (rev 112228)
+++ trunk/extensions/UploadWizard/includes/specials/SpecialUploadWizard.php
2012-02-23 19:28:44 UTC (rev 112229)
@@ -73,6 +73,7 @@
$this->addJsVars( $subPage );
// dependencies (css, js)
+ $out->addModuleStyles( 'ext.uploadWizard' );
$out->addModules( 'ext.uploadWizard' );
// where the uploadwizard will go
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs