Page MenuHomePhabricator

Provide method to extract rawConceptNamespaces from RdfVocabulary
Closed, ResolvedPublic

Description

Currently there is no way to get a list resembling this:

"localRdfNamespaces": {
"": "http://default.web.mw.localhost:8080/entity/",
"data": "http://default.web.mw.localhost:8080/mediawiki/index.php?title=Special:EntityData/",
"s": "http://default.web.mw.localhost:8080/entity/statement/",
"ref": "http://default.web.mw.localhost:8080/reference/",
"v": "http://default.web.mw.localhost:8080/value/",
"t": "http://default.web.mw.localhost:8080/prop/direct/",
"tn": "http://default.web.mw.localhost:8080/prop/direct-normalized/",
"p": "http://default.web.mw.localhost:8080/prop/",
"ps": "http://default.web.mw.localhost:8080/prop/statement/",
"psv": "http://default.web.mw.localhost:8080/prop/statement/value/",
"psn": "http://default.web.mw.localhost:8080/prop/statement/value-normalized/",
"pq": "http://default.web.mw.localhost:8080/prop/qualifier/",
"pqv": "http://default.web.mw.localhost:8080/prop/qualifier/value/",
"pqn": "http://default.web.mw.localhost:8080/prop/qualifier/value-normalized/",
"pr": "http://default.web.mw.localhost:8080/prop/reference/",
"prv": "http://default.web.mw.localhost:8080/prop/reference/value/",
"prn": "http://default.web.mw.localhost:8080/prop/reference/value-normalized/",
"no": "http://default.web.mw.localhost:8080/prop/novalue/"
},

from WikibaseRepo. There should be somewhat to get this.

See: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/589046 for an example we tried in the prototype

Event Timeline

Change 589046 had a related patch set uploaded (by Tarrow; owner: Rosalie Perside (WMDE)):
[mediawiki/extensions/Wikibase@master] Make public methods for rawConceptNamespaces

https://gerrit.wikimedia.org/r/589046

Change 625614 had a related patch set uploaded (by Silvan Heintze; owner: Silvan Heintze):
[mediawiki/extensions/WikibaseManifest@master] Work around private getLocalEntitySource()

https://gerrit.wikimedia.org/r/625614

Change 625852 had a related patch set uploaded (by Silvan Heintze; owner: Silvan Heintze):
[mediawiki/extensions/WikibaseManifest@REL1_34] Work around private getLocalEntitySource()

https://gerrit.wikimedia.org/r/625852

Change 625614 abandoned by Silvan Heintze:
[mediawiki/extensions/WikibaseManifest@master] Work around private getLocalEntitySource()

Reason:
This change will have to move into branch REL1_34.

https://gerrit.wikimedia.org/r/625614

Change 625852 abandoned by Silvan Heintze:
[mediawiki/extensions/WikibaseManifest@REL1_34] Work around private getLocalEntitySource()

Reason:
This change is not needed any longer after the decision to not use REL1_34 for WikibaseManifest.

https://gerrit.wikimedia.org/r/625852

Change 589046 abandoned by Addshore:

[mediawiki/extensions/Wikibase@master] Make public methods for rawConceptNamespaces

Reason:

Per the linked ticket I think we can abandon this !

https://gerrit.wikimedia.org/r/589046