"TheDJ" changed the status of MediaWiki.r105574 to "fixme" and commented it.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/105574#c28578

Old Status: resolved
> New Status: fixme

Commit summary for MediaWiki.r105574:

AFTv5: Partial fix for #32842, fix categories for sample (underscore vs space)

TheDJ's comment:

'current': mw.config.get( 'wgCategories', [] )
categories['current'][cat] = categories['current'][cat].replace(/\s/gi, '_');


This breaks the wgCategories global, because it works on the reference of that 
array, instead of on a copy of that array.
http://my.opera.com/GreyWyvern/blog/show.dml/1725165

Reported here: 
https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#wgCategories_returns_categories_with_underscores_instead_of_spaces_now.3F
And confirmed with webkit inspector.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to