Author: preilly
Description:
We need an authoritative localized version of the name of various Wikipedia returned in the result set.
Version: unspecified
Severity: enhancement
• bzimport | |
Mar 27 2012, 1:01 AM |
F9142: 35511.patch | |
Nov 22 2014, 12:18 AM |
Author: preilly
Description:
We need an authoritative localized version of the name of various Wikipedia returned in the result set.
Version: unspecified
Severity: enhancement
Title | Reference | Author | Source Branch | Dest Branch | |
---|---|---|---|---|---|
eqiad1: default secgroup: allow prometheus from metricsinfra | repos/cloud/cloud-vps/tofu-infra!62 | aborrero | arturo-877-eqiad1-default-secg | main | |
secgroups: enable delete_default_rules | repos/cloud/cloud-vps/tofu-infra!55 | aborrero | arturo-117-secgroups-enable-de | main | |
Revert "secgroups: enable delete_default_rules" | repos/cloud/cloud-vps/tofu-infra!53 | aborrero | arturo-971-revert-secgroups-en | main | |
secgroups: enable delete_default_rules | repos/cloud/cloud-vps/tofu-infra!51 | aborrero | arturo-111-secgroups-enable-de | main | |
secgroups: add optional default security group | repos/cloud/cloud-vps/tofu-infra!50 | aborrero | arturo-283-secgroups-add-optio | main |
The $wgSitename for each site? Or something else?
And where do you want it outputting? The API? The special page?
preilly wrote:
e.g., we should have the string Википедия in the {"code":"ru","name":"\u0420\u0443\u0441\u0441\u043a\u0438\u0439","site":[{"url":"http:\/\/ru.wikipedia.org","dbname":"ruwiki","code":"wiki"}, entry of http://en.wikipedia.org/w/api.php?action=sitematrix&format=json
preilly wrote:
It appears that:
$wgConf->loadFullData();
echo $wgConf->get( 'wgSitename', 'ruwiki' );
returns: Википедия
So, this should be helpful.
(In reply to comment #2)
e.g., we should have the string Википедия in the
{"code":"ru","name":"\u0420\u0443\u0441\u0441\u043a\u0438\u0439","site":[{"url":"http:\/\/ru.wikipedia.org","dbname":"ruwiki","code":"wiki"},
entry of http://en.wikipedia.org/w/api.php?action=sitematrix&format=json