Last modified: 2013-04-23 04:56:40 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 T46651, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44651 - Add support for round-trip testing of non-English wiki pages
Add support for round-trip testing of non-English wiki pages
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
tests (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: C. Scott Ananian
:
Depends on:
Blocks: 46659
  Show dependency treegraph
 
Reported: 2013-02-04 20:05 UTC by Gabriel Wicke
Modified: 2013-04-23 04:56 UTC (History)
4 users (show)

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


Attachments

Description Gabriel Wicke 2013-02-04 20:05:22 UTC
Our current round-trip server (in js/tests/server) only supports titles from a single wiki, which is statically configured in the test runner config (js/tests/client).

In preparation for deployments to non-English wikis, we need to do some round-trip testing with content from those wikis. To keep the infrastructure simple, the plan is to mix titles from several wikis in a single test run. The db will need to be extended to store an interwiki prefix ('en', 'fr' etc) along with titles, and to send those prefixes to the client along with the title. Clients will need to be modified to set the language dynamically instead of using the static one from the client config. This will cause the clients to fetch pages, templates etc from the correct wiki.

The test results need to be sent back with the same language code set, so that the results can be associated with the correct language/title combination.

It would be nice to also add statistics per language (maybe just a simple lang=en parameter to the front-page stats), but just being able to test pages would already be great.
Comment 1 Gerrit Notification Bot 2013-04-04 22:35:36 UTC
Related URL: https://gerrit.wikimedia.org/r/57672 (Gerrit Change Idc433e435a6de42b9dc269d0f6850c68e0e361d2)
Comment 2 Gerrit Notification Bot 2013-04-22 23:37:19 UTC
https://gerrit.wikimedia.org/r/57672 (Gerrit Change Idc433e435a6de42b9dc269d0f6850c68e0e361d2) | change APPROVED and MERGED [by jenkins-bot]
Comment 3 C. Scott Ananian 2013-04-23 04:56:40 UTC
This landed!

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


Navigation
Links