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

--- Comment #8 from Michael M. <[email protected]> 2011-07-02 08:05:25 UTC 
---
Created attachment 8732
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=8732
Proposed patch

I broke everything with Array.prototype.random = 'stuff'; and fixed it again,
patch added.

Please note the following:

* Adding something to the prototype for Array broke jquery.client as well, I
opened bug 29676 with a patch for this.
* Some changes in jquery.wikiEditor.toolbar.js are unrelated to this, I added
quotes for the [rel=] stuff, since this broke one test. Some other changes were
done to satisfy JSHint.
* The changes in jquery.wikiEditor.preview.js are definitly unrelated to this,
but I didn't want to create a separate patch for just adding a 2 (otherwise the
diff is shown to the whole text, even when editing only a section) and for
exchanging the + with a , (which just didn't work, asking for api.php[object
Object] certainly gives a 404 error).
* I didn't care about jquery.highlight.js, if a parameter isn't documented one
can't know if it's an array or a plain object.

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

Reply via email to