https://bugzilla.wikimedia.org/show_bug.cgi?id=16459
Lupo <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #5 from Lupo <[email protected]> 2009-01-06 20:56:38 UTC --- Sorry, but this change http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/skins/common/wikibits.js?r1=44192&r2=44774 breaks the interface of function getElementsByClassName. In the original implementation, oClassNames could be a regular expression such as 'wp\\S*', or a list of strings! In the native implementation in Firefox 3, the parameter can only be a single string, see https://developer.mozilla.org/En/DOM/document.getElementsByClassName As a result, a call like getElementsByClassName (elem, '*', 'wp\\S*'); now returns an empty array, whereas it previously returned all child elements of elem having a class that started with "wp". This change breaks some functionality in the upload form on the Commons. Calls like getElementsByClassName (elem, '*', ['class1', 'class2']); also won't work anymore. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
