Last modified: 2013-12-04 00:58:13 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 T56889, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54889 - nowiki escaping for prefixes may not trigger correctly in selser
nowiki escaping for prefixes may not trigger correctly in selser
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
serializer (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-02 18:57 UTC by Marc Ordinas i Llopis
Modified: 2013-12-04 00:58 UTC (History)
2 users (show)

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


Attachments

Description Marc Ordinas i Llopis 2013-10-02 18:57:35 UTC
Using a language with linkprefix (like Islandic), <nowiki/> escaping doesn't work with selser. A test case:

UNEXPECTED FAIL: Prioritize namespaces to interwiki links (bug 51680) [[2]] (selser)
Even worse, the non-selser wt2wt test passed!

OPTIONS:
language=is

INPUT:
vd3gczr0toekx1or<nowiki/>[[Wikipedia:Test]]

RAW EXPECTED:vd3gczr0toekx1or<nowiki/>[[Wikipedia:Test]]
RAW RENDERED:vd3gczr0toekx1or[[Wikipedia:Test]]
NORMALIZED EXPECTED:vd3gczr0toekx1or<nowiki/>[[Wikipedia:Test]]
NORMALIZED RENDERED:vd3gczr0toekx1or[[Wikipedia:Test]]
DIFF:
vd3gczr0toekx1or[[<nowiki/>[[Wikipedia:Test]]
Comment 1 ssastry 2013-12-04 00:58:13 UTC
Should be fixed either by: https://gerrit.wikimedia.org/r/#/c/98562/ or https://gerrit.wikimedia.org/r/#/c/98982/

[subbu@earth tests] node parserTests --filter 'Namespace takes precedence' --selser --wt2wt
WARNING: parserTests.txt not up-to-date with upstream.
ParserTests running with node v0.10.19
Initialisation complete. Now launching tests.
EXPECTED PASS: Namespace takes precedence over interwiki link (bug 51680) (wt2wt)
EXPECTED PASS: Namespace takes precedence over interwiki link (bug 51680) [2] (selser)
EXPECTED PASS: Namespace takes precedence over interwiki link (bug 51680) [[2]] (selser)
EXPECTED PASS: Namespace takes precedence over interwiki link (bug 51680) [[3]] (selser)
EXPECTED PASS: Namespace takes precedence over interwiki link (bug 51680) [[[4]]] (selser)
EXPECTED PASS: Namespace takes precedence over interwiki link (bug 51680) [[1]] (selser)
EXPECTED PASS: Namespace takes precedence over interwiki link (bug 51680) [4] (selser)
EXPECTED PASS: Namespace takes precedence over interwiki link (bug 51680) [[[2]]] (selser)
EXPECTED PASS: Namespace takes precedence over interwiki link (bug 51680) [[4]] (selser)
EXPECTED PASS: Namespace takes precedence over interwiki link (bug 51680) [[[3]]] (selser)
EXPECTED PASS: Namespace takes precedence over interwiki link (bug 51680) [1] (selser)
EXPECTED PASS: Namespace takes precedence over interwiki link (bug 51680) [3] (selser)
==========================================================
SUMMARY: 
Passed 12 of 12 tests matching /Namespace takes precedence/... ALL TESTS PASSED!

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


Navigation
Links