Last modified: 2014-07-31 14:15:20 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 T43209, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 41209 - $wgExtraLanguageNames is used for sites instead of languages in WikiVoyage
$wgExtraLanguageNames is used for sites instead of languages in WikiVoyage
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on: 68359
Blocks: 68815
  Show dependency treegraph
 
Reported: 2012-10-19 08:37 UTC by Amir E. Aharoni
Modified: 2014-07-31 14:15 UTC (History)
8 users (show)

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


Attachments

Description Amir E. Aharoni 2012-10-19 08:37:25 UTC
In https://gerrit.wikimedia.org/r/#/c/28238 $wgExtraLanguageNames values were added for WikiVoyage.

This $wgExtraLanguageNames global is for languages. Its values are used in various language-related functions, that expect actual languages. Feeding these functions anything else will break things.

The values here look like they are supposed to be served by interwiki prefixes (not interlanguage).
Comment 1 Ryan Holliday 2013-01-01 17:35:21 UTC
Is this Bugzilla issue the reason why interwiki prefixes appear as "Language" options on the Special:Preferences page?  For example, the first four language choices presented to me include Wikipedia and another wiki link:

<option value="Radreise-Wiki">radreise-Wiki - Radreise-Wiki</option>
<option value="wikipedia">wikipedia - Wikipedia</option>
<option value="aa">aa - Qafár af</option>
<option value="ab">ab - Аҧсшәа</option>

If the language preferences are a separate issue I can file a separate bug, but from the description of this Bugzilla issue it sounds like they might be related.
Comment 2 Siebrand Mazeland 2013-01-01 18:02:50 UTC
(In reply to comment #1)
> Is this Bugzilla issue the reason why interwiki prefixes appear as "Language"
> options on the Special:Preferences page?

Yes.
Comment 3 Carl Austin Bennett 2013-02-14 03:46:06 UTC
I'm wondering if this should be reported as a [[mw:extension:RelatedSites]] bug. The extension pushes specified interwiki links (mostly sibling projects) into the sidebar. The list of interwikis to be listed as "related sites" in the sidebar is a global variable specific to the extension, but the names shown to the user for those wikis seem to be taken from the list of languages (which is a kludge).

Some of these aren't valid interwikis, such as <option value="Radreise-Wiki">radreise-Wiki - Radreise-Wiki</option>, and could be removed from the configuration file on the server. Others (such as wikipedia:) are in extensive, active use. There has to be a better way to do this than listing "Wikipedia" as a language?
Comment 4 Gerrit Notification Bot 2014-07-22 03:26:25 UTC
Change 148314 had a related patch set uploaded by TTO:
Move RelatedSites config to wgExtraInterlanguageLinkPrefixes

https://gerrit.wikimedia.org/r/148314
Comment 5 Gerrit Notification Bot 2014-07-31 14:10:56 UTC
Change 148314 merged by jenkins-bot:
Move RelatedSites config to wgExtraInterlanguageLinkPrefixes

https://gerrit.wikimedia.org/r/148314

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


Navigation
Links