repo/maintenance/rebuildItemTerms.php
Method execute
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function execute() {
if ( !ExtensionRegistry::getInstance()->isLoaded( 'WikibaseRepository' ) ) {
$this->fatalError(
"You need to have Wikibase enabled in order to use this "
. "maintenance script!\n\n",
Method __construct
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct() {
parent::__construct();
$this->addDescription( 'Rebuilds item terms from primary persistence' );