Wiating on T225603
How to test
- Make sure you have wikibase extension tree on https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/517148
- You should have the following in LocalSettings.php:
$wgWBRepoSettings['tmpPropertyTermsMigrationStage'] = MIGRATION_WRITE_NEW; $wgWBClientSettings['tmpPropertyTermsMigrationStage'] = MIGRATION_WRITE_NEW; // for convineince during the test, bypass caching $wgMainCacheType = CACHE_NONE; $wgParserCacheType = CACHE_NONE; # optional $wgMessageCacheType = CACHE_NONE; # optional
- Create a property, or use an existing property
- Hide all terms of that property from wb_terms table (you can use sql repl php /var/www/html/maintenance/sql.php to execute sql):
UPDATE wb_terms SET term_full_entity_id = "hidden_Pxxx" WHERE term_full_entity_id = "Pxxx"; -- replace Pxxx with the property full id
- go over the use cases.. properties should render properly.
Use Cases to test
- Rendering property labels in statements blocks (uses PropertyLabelResolver).
- Rendering property labels & descriptions in search results when searching for a property when adding a statement (users PrefetchingTermLookup).
- Rendering property labels on Special:AllPages?namespace=122 (or 120 depending on wiki configuration)
- Rendering property labels on Special:RecentChanges
- ...