On Tue, Aug 28, 2012 at 4:18 PM, Krinkle <krinklem...@gmail.com> wrote: > Moreover, aside from the performance and security, there's another important > factor to take into account. And that is the fact that IDs can contain > characters that have special meaning in CSS selectors (such as dots). > > We've seen this in before when dealing with a MediaWiki heading (where the > ID-version of the heading can (or could) contain dots). So whenever you have > what is supposed to be an element ID in a variable, use > document.getElementById (even if you don't care about performance or > security).
About that, see: https://bugzilla.wikimedia.org/30471 (MediaWiki generates ids which can't be selected) Helder _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l