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

bzimport added a subscriber: wikidata-bugs.
bzimport set Reference to bz40069.
Nikola_Smolenski created this task.Via LegacySep 7 2012, 6:05 AM
Denny added a comment.Via ConduitSep 13 2012, 9:46 AM

We need more tests to catch these kinds of errors.

Tobi_WMDE_SW added a comment.Via ConduitSep 13 2012, 4:07 PM

The bad behaviour was fixed in https://gerrit.wikimedia.org/r/#/c/23653/

Nikola_Smolenski added a comment.Via ConduitSep 14 2012, 7:30 AM

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

Denny added a comment.Via ConduitSep 20 2012, 7:34 AM

It should be working now.

Nikola_Smolenski added a comment.Via ConduitSep 25 2012, 12:28 PM

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

Add Comment

Column Prototype
This is a very early prototype of a persistent column. It is not expected to work yet, and leaving it open will activate other new features which will break things. Press "\" (backslash) on your keyboard to close it now.