Cparle added a comment. |
Note that if you're using a federated wikibase instance for wikibase properties, the name you give the foreign wikibase repo is prepended to the property id (and the same for items). Here's how I have it set up locally in LocalSettings.php (note that P737 is the id of my local 'depicts' property)
//Federation unset($wgWBRepoSettings['entityNamespaces']['item']); unset($wgWBRepoSettings['entityNamespaces']['property']); $wgWBRepoSettings['foreignRepositories']['federatedWikibase'] = [ 'repoDatabase' => 'wiki', 'baseUri' => 'http://127.0.0.1:8080/wiki/Special:EntityData/', 'supportedEntityTypes' => [ 'item', 'property' ], 'prefixMapping' => [], 'entityNamespaces' => [ 'item' => WB_NS_ITEM, 'property' => WB_NS_PROPERTY ] ]; $wgWBRepoSettings['searchIndexProperties'] = [ 'federatedWikibase:P737' ];
And here's statement_keywords data for a MediaInfo item
"statement_keywords":["federatedWikibase:P737=federatedWikibase:Q351"]
TASK DETAIL
EMAIL PREFERENCES
To: Cparle
Cc: gerritbot, Aklapper, Cparle, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, Baloch007, E1presidente, Ramsey-WMF, Darkminds3113, SandraF_WMF, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, Tramullas, Acer, V4switch, LawExplorer, Lewizho99, Maathavan, Susannaanas, Wong128hk, Aschroet, Jane023, Wikidata-bugs, PKM, Base, matthiasmullie, aude, Ricordisamoa, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Matanya, Mbch331
Cc: gerritbot, Aklapper, Cparle, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, PDrouin-WMF, Gq86, Baloch007, E1presidente, Ramsey-WMF, Darkminds3113, SandraF_WMF, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, Tramullas, Acer, V4switch, LawExplorer, Lewizho99, Maathavan, Susannaanas, Wong128hk, Aschroet, Jane023, Wikidata-bugs, PKM, Base, matthiasmullie, aude, Ricordisamoa, Lydia_Pintscher, Fabrice_Florin, Raymond, Steinsplitter, Matanya, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs