Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\Maintenance Namespace Reference

Repo integration with MediaWiki's maintenance scripts More...

Classes

class  AddUnitConversions
 Generate dump-like RDF for newly added units without running full dump. More...
 
class  ChangePropertyDataType
 
class  DispatchChanges
 
class  DumpEntities
 Maintenance script for generating a dump of entities in the repository. More...
 
class  DumpJson
 
class  DumpRdf
 
class  EntityQuantityUnitRebuilder
 
class  ImportFederatedPropertiesSampleData
 Import data from a data file to a Federated Properties Wikibase instance For an example file format to import, see repo/tests/phpunit/data/maintenance/federatedPropertiesTestDataFile.tsv. More...
 
class  PopulateChangesSubscription
 Maintenance script for populating wb_changes_subscription based on the wb_items_per_site table. More...
 
class  PopulateWithRandomEntitiesAndTerms
 Populates the database with generated entities. More...
 
class  PruneChanges
 
class  PruneItemsPerSite
 Maintenance script for pruning rows belonging to deleted or redirected items from the wb_items_per_site table. More...
 
class  RebuildEntityQuantityUnit
 
class  RebuildItemsPerSite
 Maintenance script for rebuilding the wb_items_per_site table. More...
 
class  RebuildItemTerms
 
class  RebuildPropertyInfo
 Maintenance script for rebuilding the property info table. More...
 
class  RebuildPropertyTerms
 
class  RemoveTermsInLanguage
 
class  ResubmitChanges
 Resubmit stuck jobs based on old changes in the Wikibase wb_changes table. More...
 
class  SearchEntities
 The script is intended to run searches in the same way as wbsearchentities does. More...
 
class  UpdateUnits
 Generate the conversion table for units, optionally filtered to units of a certain type. More...
 

Variables

 $basePath
 
 $maintClass = AddUnitConversions::class
 

Detailed Description

Repo integration with MediaWiki's maintenance scripts

Variable Documentation

◆ $basePath

Wikibase::Repo::Maintenance\$basePath
Initial value:
=
getenv( 'MW_INSTALL_PATH' ) !== false ? getenv( 'MW_INSTALL_PATH' ) : __DIR__ . '/../../../..'

◆ $maintClass

Wikibase::Repo::Maintenance\$maintClass = AddUnitConversions::class