On Wed, Feb 18, 2009 at 7:12 PM, Steve Summit <[email protected]> wrote:
> Sometime between yesterday and today, the edit summary field on
> en.wp's edit page lost its "type=text" attribute.  It now reads:
>
>        <input name="wpSummary" size="60" value="" id="wpSummary" 
> maxlength="200" tabindex="1" />
>
> Lo and behold, type=text is the default, so it doesn't actually
> break a standards-compliant browser, but it's kind of an an odd
> change.  (I noticed because it mildly broke a bot of mine, that
> assumed type=text only by accident, and after printing some
> extraneous error messages.)

It was part of some much-needed code cleanup I did to the editing page.

Is it causing any problems?

You should note that bots *should not* be using the UI, as breaking
changes such as this. They should use the API which is set up for
bots.

Even using the UI, you should use a proper HTML parser, not regexes
(as I suspect you were using) to parse the HTML.

--
Andrew Garrett

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to