https://bugzilla.wikimedia.org/show_bug.cgi?id=23431
Summary: Avoid 'for...in' loops should prevent crashs on
systems with Prototype.js
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: Maps
AssignedTo: [email protected]
ReportedBy: [email protected]
Hi Jeroen,
to find out the problem why (Semantic) Maps does not get along with SMWHalo
(and any other extension using the Prototype.js framework) i figured out that
you're using 'for ... in' loops in your javascript code to (mostly) add your
markers to the map.
I replaced these loops with the "standard" version "for( ; ;)" according to [1]
and got Maps and SemanticMaps working with prototype.js active.
I would appreciate if you could check this and possibly change these loops to
work reliable on any environment.
[1] http://proto-scripty.wikidot.com/prototype:tip-looping-through-arrays
Kind regards,
Benjamin
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l