https://www.mediawiki.org/wiki/Special:Code/MediaWiki/111484
Revision: 111484 Author: brion Date: 2012-02-14 20:49:19 +0000 (Tue, 14 Feb 2012) Log Message: ----------- * (bug 34396) Apply Special:Hieroglyphs CSS immediately Page may take a while to load, so make sure we load the styles for this page immediately. Puts a big box into an overflow scroll area instead of letting it make the page bigger and bigger and then shrinking down. Modified Paths: -------------- trunk/extensions/wikihiero/SpecialHieroglyphs.php Modified: trunk/extensions/wikihiero/SpecialHieroglyphs.php =================================================================== --- trunk/extensions/wikihiero/SpecialHieroglyphs.php 2012-02-14 20:32:11 UTC (rev 111483) +++ trunk/extensions/wikihiero/SpecialHieroglyphs.php 2012-02-14 20:49:19 UTC (rev 111484) @@ -47,6 +47,7 @@ $this->setHeaders(); $out = $this->getContext()->getOutput(); $out->addModules( 'ext.wikihiero.Special' ); + $out->addModuleStyles( 'ext.wikihiero.Special' ); // apply CSS during slow load $out->addWikiMsg( 'wikihiero-special-page-text' ); $out->addHTML( '<div id="hiero-result">' ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs