Last modified: 2014-11-14 02:06:26 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 T75385, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 73385 - Read default wiki list from sitematrix
Read default wiki list from sitematrix
Status: RESOLVED DUPLICATE of bug 58677
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Parsoid Team
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-11-13 20:43 UTC by C. Scott Ananian
Modified: 2014-11-14 02:06 UTC (History)
3 users (show)

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


Attachments

Description C. Scott Ananian 2014-11-13 20:43:11 UTC
https://en.wikipedia.org/w/api.php?action=sitematrix&format=json
is WMF-specific, but it contains a complete mapping of dbnames to urls for all WMF sites.

We should either have a parsoid localsettings option to read this at server startup (optional, non wmf installs won't want it), or else write a simple tool to generate our default list of wikis (languages at least) statically by querying this. (And then something to notify us when our list is out of date?)

This will help ensure that we follow the creation of new wikis promptly (instead of requiring patches like https://gerrit.wikimedia.org/r/172995 ).

Currently parsoid only is configured with the 'public' wikis in the sitematrix, and the deploy:conf/wmf/localsettings.js contains definitions of the private wikis.  Once we add the 'parsoidConfig.fetchWMF=true' option to localsettings, we can probably remove this distinction.
Comment 1 C. Scott Ananian 2014-11-13 20:44:02 UTC
Some commentary:

(03:30:34 PM) legoktm: cscott: action=sitematrix&format=json ?
(03:30:36 PM) legoktm: https://en.wikipedia.org/w/api.php?action=sitematrix
(03:30:37 PM) legoktm: it's WMF-specific though
(03:32:05 PM) cscott-free: legoktm: what does 'closed' mean in that output?
(03:32:28 PM) legoktm: no one can edit the wiki except for stewards
(03:32:50 PM) legoktm: https://wikimania2010.wikimedia.org/wiki/Main_Page
(03:34:09 PM) cscott-free: i see it includes 'private' wikis as well.
(03:34:23 PM) cscott-free: what does 'fishbowl' mean?
(03:34:37 PM) legoktm: public, but editing is restricted to people with accounts
(03:34:42 PM) legoktm: and account creation is also restricted
(03:34:51 PM) legoktm: http://meatballwiki.org/wiki/FishBowl :)
Comment 2 ssastry 2014-11-14 02:06:26 UTC

*** This bug has been marked as a duplicate of bug 58677 ***

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


Navigation
Links