Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P10913
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Addshore
on Apr 6 2020, 3:00 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F31736888: raw.txt
Apr 6 2020, 3:00 PM
2020-04-06 15:00:13 (UTC+0)
Subscribers
None
\Wikibase\Repo\WikibaseRepo::getDefaultInstance()->getLocalEntitySource();
\Wikibase\Repo\WikibaseRepo::getDefaultInstance()->getLocalEntitySource()->getConceptBaseUri();
\Wikibase\Repo\WikibaseRepo::getDefaultInstance()->getLocalEntitySource()->getRdfNodeNamespacePrefix();
\Wikibase\Repo\WikibaseRepo::getDefaultInstance()->getLocalEntitySource()->getRdfPredicateNamespacePrefix();
\Wikibase\Repo\WikibaseRepo::getDefaultInstance()->getLocalEntitySource()->getInterwikiPrefix();
\Wikibase\Repo\WikibaseRepo::getDefaultInstance()->getLocalEntitySource()->getEntityNamespaceIds();
\Wikibase\Repo\WikibaseRepo::getDefaultInstance()->getLocalEntitySource()->getDatabaseName();
$c = \Wikibase\Client\WikibaseClient::getDefaultInstance();
$reflectionMethod = new ReflectionMethod(\Wikibase\Client\WikibaseClient::class, 'getEntitySourceOfLocalRepo');
$reflectionMethod->setAccessible (true);
$source = $reflectionMethod->invoke($c);
$source->getConceptBaseUri();
$source->getRdfNodeNamespacePrefix();
$source->getRdfPredicateNamespacePrefix();
$source->getInterwikiPrefix();
$source->getEntityNamespaceIds();
$source->getDatabaseName();
Event Timeline
Addshore
created this paste.
Apr 6 2020, 3:00 PM
2020-04-06 15:00:13 (UTC+0)
Addshore
mentioned this in
T242087: entitysources: Directly create entitySources config for WMF sites instead of using compat layer
.
Log In to Comment