Last modified: 2011-07-14 00:46:56 UTC
While attempt to delete [[Category:C++]] on http://translatewiki.net/w/i.php?oldid=1497848 using js2/ajaxcategories.js, firefox gives: Error: invalid quantifier +(\|[^\]]*)?\]\] Source File: http://translatewiki.net/w/mwScriptLoader.php?class=LanguageSelector,SlippyMap,ajax,mwsuggest,ajaxCategories,WT:-|useskin=Modern&urid=240bw-3_1252705792 Line: 171 Seems the regex cannot escape the '+' in category name.
Yes, it's a regex escaping issue. Looks like we'll have to home-grow a regex escaping function.
I think removing categories in JavaScript is not a good idea because of that complex MediaWiki syntax...
Assigning my self, fixed in local trunk
r92112