Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\PopulateInterwiki Class Reference

Maintenance script that populates the interwiki table with list of sites as exists on Wikipedia, so interwiki links render properly. More...

+ Inheritance diagram for Wikibase\PopulateInterwiki:
+ Collaboration diagram for Wikibase\PopulateInterwiki:

Public Member Functions

 __construct ()
 
 execute ()
 

Protected Member Functions

 fetchLinks ()
 
 doPopulate (array $data, $force)
 

Private Member Functions

 clearCacheEntry ( $prefix)
 

Private Attributes

 $source
 
 $cache
 

Detailed Description

Maintenance script that populates the interwiki table with list of sites as exists on Wikipedia, so interwiki links render properly.

Author
Katie Filbert < aude..nosp@m.wiki.nosp@m.@gmai.nosp@m.l.co.nosp@m.m >

Constructor & Destructor Documentation

◆ __construct()

Wikibase\PopulateInterwiki::__construct ( )

Member Function Documentation

◆ clearCacheEntry()

Wikibase\PopulateInterwiki::clearCacheEntry (   $prefix)
private
Parameters
string$prefix

◆ doPopulate()

Wikibase\PopulateInterwiki::doPopulate ( array  $data,
  $force 
)
protected
Parameters
array[]$data
bool$force
Returns
bool

◆ execute()

Wikibase\PopulateInterwiki::execute ( )

◆ fetchLinks()

Wikibase\PopulateInterwiki::fetchLinks ( )
protected
Returns
array[]|bool The 'interwikimap' sub-array or false on failure.

Member Data Documentation

◆ $cache

Wikibase\PopulateInterwiki::$cache
private

◆ $source

Wikibase\PopulateInterwiki::$source
private

The documentation for this class was generated from the following file: