Last modified: 2014-09-11 15:19:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72722, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70722 - Add support to run selser tests with custom edits on original wikitext
Add support to run selser tests with custom edits on original wikitext
Status: NEW
Product: Parsoid
Classification: Unclassified
tests (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Parsoid Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-11 15:19 UTC by ssastry
Modified: 2014-09-11 15:19 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description ssastry 2014-09-11 15:19:10 UTC
parserTests.js currently supports "changes" on the DOM generated by parsing input wikitext. That "changes" support should also include a "remove" option to delete a DOM element. In addition, we should be able to now serialize the edited DOM via selser. Given that "selser" is currently a mode that generates automated edits, we probaly need a "manual_selser" (or some such named mode) to apply selser on an edited DOM.

This would be helpful to force explicit testing of selser behavior that would be useful for patches like https://gerrit.wikimedia.org/r/#/c/157038/ with examples as in https://gist.githubusercontent.com/subbuss/5f0872ce4c20bed622bc/raw/d4720f260f4a3131e3963f012ec289eaf37a202c/gistfile1.txt (and others).

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links