2009/5/11 Daniel Schwen <[email protected]>:
>> This sucks, but in the four years we have spend talking abotu it, no one
>> found a way out that will not break a few million existing wiki pages.
>
> The simple (albeit ugly) solution would to add a parser version field to the
> revision table, drag the old parser along as 'legacy', make the new  parser
> the default (and only) option for all new edits, and spit out a warning when
> you are editing a legacy revision for the first time. The warning you be made
> dependent on the cases that break with the new parser.
> Cases that break could be detected by comparing tidied HTML output from both
> parser versions.
>
> Nah, well, now slam me for not reading through four years of discussions and
> finding out why my proposal is dumb ;-)
Actually, this makes sense, and I've heard a very similar suggestion
from another developer (I believe it was Tim, not sure) at the Berlin
meet-up.

Roan Kattouw (Catrope)

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

Reply via email to