Wikibase
MediaWiki Wikibase extension
|
RDF mapping for entity SiteLinks. More...
Public Member Functions | |
__construct (RdfVocabulary $vocabulary, RdfWriter $writer, SiteList $siteLookup, array $sites=null) | |
setDedupeBag (DedupeBag $dedupeBag) | |
addEntity (EntityDocument $entity) | |
Add the entity's sitelinks to the RDF graph. | |
Private Member Functions | |
isSiteIncluded ( $lang) | |
Site filter. | |
Private Attributes | |
$vocabulary | |
$writer | |
$siteLookup | |
$sites | |
$dedupeBag | |
RDF mapping for entity SiteLinks.
Wikibase\Repo\Rdf\SiteLinksRdfBuilder::__construct | ( | RdfVocabulary | $vocabulary, |
RdfWriter | $writer, | ||
SiteList | $siteLookup, | ||
array | $sites = null ) |
RdfVocabulary | $vocabulary | |
RdfWriter | $writer | |
SiteList | $siteLookup | |
string[] | null | $sites |
Wikibase\Repo\Rdf\SiteLinksRdfBuilder::addEntity | ( | EntityDocument | $entity | ) |
Add the entity's sitelinks to the RDF graph.
EntityDocument | $entity | the entity to output. |
Implements Wikibase\Repo\Rdf\EntityRdfBuilder.
|
private |
Site filter.
string | $lang |
Wikibase\Repo\Rdf\SiteLinksRdfBuilder::setDedupeBag | ( | DedupeBag | $dedupeBag | ) |
|
private |
|
private |
|
private |
|
private |
|
private |