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

--- Comment #11 from Siebrand <[email protected]> 2011-12-15 20:50:11 UTC ---
I was able to reproduce it. I used Firefox 8.0.1 on OSX 10.7.2.

1. Log on to https://hi.wikipedia.org
2. Go to https://hi.wikipedia.org/wiki/Special:Preferences?uselang=en
3. Click tab "Gadgets"
4. Enable only "Twinkle" in the section "सम्पादन उपकरण" and click "Save" at the
bottom of the page.
5. Goto
https://hi.wikipedia.org/wiki/%E0%A4%AE%E0%A5%81%E0%A4%96%E0%A4%AA%E0%A5%83%E0%A4%B7%E0%A5%8D%E0%A4%A0?debug=true

Adding "?debug=true" causes the JavaScript to not be minified, allowing proper
analysis. I do not know how to continue from here...

Observed: JavaScript error "Node cannot be inserted at the specified point in
the hierarchy" as mentioned in comment 4.


This is the piece of code that the error originates from (line number may
differ):

      append: function() {
        return this.domManip(arguments, true, function( elem ) {
          if ( this.nodeType === 1 ) {
line 5644 -> this.appendChild( elem );
          }
        });
      },

With web fonts disabled (preference in tab "Appearance") the error does not
occur. With Twinkle disabled, the error also does not occur.

The web developer debugger also states that the use of getAttributeNode() is
discourages and that getAttribute() should be used. Probably not related.

I'm adding a ZIP file with the 10k lines of script in case it helps...

-- 
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

Reply via email to