Last modified: 2013-01-14 15:55:21 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 T42069, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 40069 - Noexternalinterlang behaving eratically
Noexternalinterlang behaving eratically
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataClient (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
storypoints: 8
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-07 06:05 UTC by Nikola Smolenski
Modified: 2013-01-14 15:55 UTC (History)
3 users (show)

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


Attachments

Description Nikola Smolenski 2012-09-07 06:05:57 UTC
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
Comment 1 denny vrandecic 2012-09-13 09:46:25 UTC
We need more tests to catch these kinds of errors.
Comment 2 tobias.gritschacher 2012-09-13 16:07:29 UTC
The bad behaviour was fixed in https://gerrit.wikimedia.org/r/#/c/23653/
Comment 3 Nikola Smolenski 2012-09-14 07:30:54 UTC
Can't verify since the test client isn't working.
Comment 4 denny vrandecic 2012-09-20 07:34:06 UTC
It should be working now.
Comment 5 Nikola Smolenski 2012-09-25 12:28:22 UTC
Yes, it works now, at least as far as I tested.

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


Navigation
Links