Last modified: 2014-04-15 15:33: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 T51236, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49236 - populateSitesTable.php load-from should be configurable via a $wg setting
populateSitesTable.php load-from should be configurable via a $wg setting
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: Low minor (vote)
: ---
Assigned To: Wikidata bugs
: need-volunteer
Depends on: 49240
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-06 09:53 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-04-15 15:33 UTC (History)
3 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2013-06-06 09:53:41 UTC
The populateSitesTable.php will, by default, hit meta.wikimedia.org API to fetch the site Matrix.  When setting up Wikidata for beta (bug 47827), that populate the sites and site_identifiers tables with production data which was not really what we wanted there.

I had to truncate the database tables then rerun the script using --load-from.

To make it easier to populate the tables, it would be nice to be able to set the site matrix remote URL via a $wg setting ( $wgWikibaseSiteMatrixUrl ? ).  This way we will not have to remember about using --load-from on beta.

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


Navigation
Links