Page MenuHomePhabricator

Noexternalinterlang behaving eratically
Closed, ResolvedPublic

Description

Noexternalinterlang didn't work for a while as a parser function, now it works but in some cases it behaves eratically. Examples:

{{noexternalinterlang:zh|af}} - removes zh but not af
{{noexternalinterlang:af|zh}} - removes both af and zh (this is correct behavior)
{{noexternalinterlang:ar|zh}} - removes ar but not zh
{{noexternalinterlang:zh|ar}} - removes both zh and ar (this is correct behavior)
{{noexternalinterlang:ar}} {{noexternalinterlang:zh}} - removes ar but not zh
{{noexternalinterlang:zh}} {{noexternalinterlang:ar}} - removes both zh and ar (this is correct behavior)

I was testing on http://wikidata-test-client.wikimedia.de/wiki/Helium


Version: unspecified
Severity: normal
Whiteboard: storypoints: 8

Details

Reference
bz40069

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:09 AM
bzimport set Reference to bz40069.
bzimport added a subscriber: Unknown Object (MLST).

We need more tests to catch these kinds of errors.

Can't verify since the test client isn't working.

Yes, it works now, at least as far as I tested.