Last modified: 2011-02-08 21:56:35 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T26317, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24317 - [UsabilityInitiative.php] $wgUsabilityInitiativeResourceMode to false or to "raw" ?
[UsabilityInitiative.php] $wgUsabilityInitiativeResourceMode to false or to "...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UsabilityInitiative (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Trevor Parscal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-09 11:38 UTC by Krinkle
Modified: 2011-02-08 21:56 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2010-07-09 11:38:33 UTC
In branch/REL1_16/extensions/UsabilityInitiative/UsabilityInitiative.php it says:

 // Set this to false to include all plugins individually
 $wgUsabilityInitiativeResourceMode = 'minified';

Actually, if you do that (set it to false), this will happen:

<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/home/xxxx/domains/xxxx.org/public_html/w/extensions/UsabilityInitiative/Vector/Vector.hooks.php</b> on line <b>124</b><br /> 

When looking in the hooks file the foreach($scripts[] as $module)
and: 
 static $scripts = array(
		'raw' => array(
		),
		'combined' => array(
		),
		'minified' => array(
		),
 );

So I'm guessing the comment should say 'set it to "raw"' instead of 'set it to false'.


--
Krinkle
Comment 1 Krinkle 2010-07-09 11:39:43 UTC
improving summary
Comment 2 Platonides 2010-07-15 18:41:52 UTC
Fixed in r69399 in trunk and r69400 in 1.16

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links