https://bugzilla.wikimedia.org/show_bug.cgi?id=24317
Summary: UsabilityInitiative comment error
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Vector Skin
AssignedTo: [email protected]
ReportedBy: [email protected]
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
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l