https://bugzilla.wikimedia.org/show_bug.cgi?id=26931

--- Comment #2 from Krinkle <krinklem...@gmail.com> 2011-01-25 18:44:57 UTC ---
TWN's sandwiki has been updated to the lastest trunk 2 minutes ago:

http://translatewiki.net/sandwiki/load.php?debug=false&lang=fi&modules=ext.liquidThreads%7Cjquery.client

Search for "*//"
It is still removing the space between * and //, causing the comment block to
end early and a regex to be started in a wrong place:

<pre>
/**
*Checks the current browser against a support map object to determine if the
browser has been black-listed or
*not.If the browser was not configured specifically it is assumed to work.It is
assumed that the body
*element is classified as either"ltr"or"rtl".If neither is set,"ltr"is assumed.
*
*A browser map is in the following format:
*{
*'ltr':{
*//Multiple rules with configurable operators
*'msie':[['>=',7],['!=',9]],
*//Blocked entirely
*'iphone':false
*},
*'rtl':{
*//Test against a string
*'msie':[['!==','8.1.2.3']],
*//RTL rules do not fall through to LTR rules,you must explicity set each of
them
*'iphone':false
*}
*}
*
*@param map Object of browser support map
*
*@return Boolean true if browser known or assumed to be supported,false if
blacklisted
*/
</pre>

If it is going to keep comments in production mode, it should not touch touch
those lines at all.

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to