https://bugzilla.wikimedia.org/show_bug.cgi?id=41709
Brad Jorsch <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|ContentHandler |API --- Comment #3 from Brad Jorsch <[email protected]> 2012-11-02 21:16:02 UTC --- It worked in the past because pages were all considered wikitext, even if they didn't actually contain wikitext. Now with the new ContentHandler code .js pages are considered javascript by default, and Javascript doesn't have sections. Does your script really need to edit "section 0" of the Javascript page, or does it really just edit the whole page since there aren't actually any sections? If the latter, you can just remove the problematic section specification. Otherwise, you might be able to set the new contentmodel parameter to wikitext (possibly with an initial non-sectioned edit to first set the model) to get it to do what you want, but in the future (if not already) that might cause the .js page to actually be rendered as wikitext rather than Javascript. Or you could just do the "section" processing on the client side. -- 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
