r82287 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r82286
|
r82287
|
r82288
>
Date:
20:06, 16 February 2011
Author:
catrope
Status:
ok
Tags:
Comment:
1.17wmf1: Fixing timestamp bug for users with spaces in their name. Already fixed in trunk with
r81692
. Pointed out by pawelx on IRC.
Modified paths:
/branches/wmf/1.17wmf1/includes/resourceloader/ResourceLoaderWikiModule.php
(modified) (
history
)
Diff
[
purge
]
Index: branches/wmf/1.17wmf1/includes/resourceloader/ResourceLoaderWikiModule.php
—
—
@@ -108,7 +108,7 @@
109
109
110
110
$titles = array();
111
111
foreach ( $this->getPages( $context ) as $page => $options ) {
112
- $titles[$options['ns']][$page] = true;
112
+ $titles[$options['ns']][str_replace( ' ', '_', $page)] = true;
113
113
}
114
114
115
115
$modifiedTime = 1; // wfTimestamp() interprets 0 as "now"
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r81692
Fixes for ResourceLoaderWikiModule
r72776
. No serious bugs found, do not merg...
tstarling
06:34, 8 February 2011
Status & tagging log
17:18, 30 March 2011
😂
(
talk
|
contribs
)
changed the
status
of r82287
[
removed:
new
added:
ok]