Last modified: 2013-08-27 22:15:31 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 T53631, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 51631 - Add wb_property_info table to Wikidata and populate
Add wb_property_info table to Wikidata and populate
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Wikidata (Other open bugs)
wmf-deployment
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Sam Reed (reedy)
: schema-change
Depends on:
Blocks: 49188
  Show dependency treegraph
 
Reported: 2013-07-18 18:30 UTC by Aude
Modified: 2013-08-27 22:15 UTC (History)
1 user (show)

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


Attachments

Description Aude 2013-07-18 18:30:23 UTC
wb_property_info table needs to be added to wikidata and the schema change reviewed.

the schema patch is in the WikibaseLib extension (in the Wikibase gerrit repo)

https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FWikibase.git/2604e7f495c996aa10587d9a4d6648cef9aca431/lib%2Fincludes%2Fstore%2Fsql%2Fwb_property_info.sql

Once added, the rebuildPropertyInfo.php needs to be run.

Then we can change the config setting for wikidata to enable use of the table.
Comment 1 Greg Grossmeier 2013-07-25 16:20:48 UTC
Assigning to Sean for his review.
Comment 2 Sean Pringle 2013-07-29 00:50:59 UTC
Discussed this previously in a separate email thread. 

The schema seems fine, has a PK suitable for OSC, etc. Good to go.
Comment 3 Greg Grossmeier 2013-08-15 18:58:20 UTC
Assigning to Reedy to do the actual rollout (according to Aude on that elusive email thread Sean mentioned, Reedy should be able to handle this).
Comment 4 Sam Reed (reedy) 2013-08-15 19:39:30 UTC
(In reply to comment #0)
> wb_property_info table needs to be added to wikidata and the schema change
> reviewed.

Make that wikidatawiki AND testwikidatawiki
Comment 5 Sam Reed (reedy) 2013-08-15 19:42:56 UTC
Tables created on both wikis.

reedy@tin:/a/common/php-1.22wmf12$ mwscript extensions/Wikibase/repo/maintenance/rebuildPropertyInfo.php --wiki=testwikidatawiki
...Update 'Wikibase\RebuildPropertyInfo' already logged as completed.
reedy@tin:/a/common/php-1.22wmf12$ mwscript extensions/Wikibase/repo/maintenance/rebuildPropertyInfo.php --wiki=testwikidatawiki --force
Updated 3 properties, up to ID 16.
Done. Updated 3 property info entries.
reedy@tin:/a/common/php-1.22wmf12$ mwscript extensions/Wikibase/repo/maintenance/rebuildPropertyInfo.php --wiki=testwikidatawiki --force --rebuild-all
Updated 9 properties, up to ID 16.
Done. Updated 9 property info entries.
reedy@tin:/a/common/php-1.22wmf12$





What options do we want to run with for testwikidata?
Comment 6 Sam Reed (reedy) 2013-08-15 20:28:28 UTC
(In reply to comment #5)
> What options do we want to run with for testwikidata?

Uh, wikidatawiki
Comment 7 Aude 2013-08-27 21:40:00 UTC
the default options are fine.

Default options are to rebuild only the missing rows (everything is missing, so it will add everything), start at row 0 and and batch size of 100.

if you want, batch-size can be increased but this will not be a large table so default is okay.
Comment 8 Sam Reed (reedy) 2013-08-27 22:15:31 UTC
Done!

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


Navigation
Links