r84844 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r84843
|
r84844
|
r84845
>
Date:
14:13, 27 March 2011
Author:
catrope
Status:
ok
Tags:
Comment:
Fix default implementation of ResourceLoaderModule::getStyles() to return an array, not a string. Was causing problems with another function that was being fed the return value of getStyles() and used an array type hint
Modified paths:
/trunk/phase3/includes/resourceloader/ResourceLoaderModule.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/resourceloader/ResourceLoaderModule.php
—
—
@@ -135,7 +135,7 @@
136
136
*/
137
137
public function getStyles( ResourceLoaderContext $context ) {
138
138
// Stub, override expected
139
- return '';
139
+ return array();
140
140
}
141
141
142
142
/**
Follow-up revisions
Revision
Commit summary
Author
Date
r84845
1.17wmf1: MFT
r84844
catrope
14:14, 27 March 2011
Status & tagging log
14:35, 19 April 2011
😂
(
talk
|
contribs
)
changed the
status
of r84844
[
removed:
new
added:
ok]