Last modified: 2008-12-20 23:49:27 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 T18726, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16726 - API: siprop=namespacealiases should also show aliases of $wgContLang
API: siprop=namespacealiases should also show aliases of $wgContLang
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Roan Kattouw
http://de.wikipedia.org/w/api.php?act...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-20 20:23 UTC by P.Copp
Modified: 2008-12-20 23:49 UTC (History)
3 users (show)

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


Attachments

Description P.Copp 2008-12-20 20:23:33 UTC
See my comment on bug16672 (https://bugzilla.wikimedia.org/show_bug.cgi?id=16672#c3). For example the german wikipedia has defined 'Bild' as an alias for 'File' in MessagesDe.php, but it is not shown on siprop=namespacealiases.
Comment 1 Roan Kattouw 2008-12-20 23:20:42 UTC
Fixed in r44860, but uses $wgLang (site language) rather than $wgContLang (user language).
Comment 2 P.Copp 2008-12-20 23:40:03 UTC
(In reply to comment #1)
> Fixed in r44860, but uses $wgLang (site language) rather than $wgContLang (user
> language).
Are you sure? I always thought that $wgContLang = Content Language and $wgLang = User Language.
If this is wrong, at least the docs should be fixed in docs/globals.txt.
Comment 3 Roan Kattouw 2008-12-20 23:49:27 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Fixed in r44860, but uses $wgLang (site language) rather than $wgContLang (user
> > language).
> Are you sure? I always thought that $wgContLang = Content Language and $wgLang
> = User Language.
> If this is wrong, at least the docs should be fixed in docs/globals.txt.
> 

You seem to be right, at least according to [[mw:Manual:$wgContLang]]. Fixed in r44862.

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


Navigation
Links