Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak wording of command line prompts #3628

Merged
merged 1 commit into from
Jan 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions maintenance/populateHashField.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class PopulateHashField extends \Maintenance {
* @since 3.1
*/
public function __construct() {
$this->mDescription = 'Populate the `smw_hash` field for all entities that have a missing entry.';
$this->mDescription = "Populate the 'smw_hash' field for all entities that have a missing entry.";
parent::__construct();
}

Expand All @@ -56,7 +56,7 @@ public function __construct() {
public function setComplete( $incomplete ) {

$this->reportMessage(
" ... writing the upgrade file ... \n"
" ... writing the status to the setup information file ... \n"
);

Installer::setUpgradeFile(
Expand Down Expand Up @@ -105,15 +105,15 @@ public function reportMessage( $message ) {
public function execute() {

if ( !Setup::isEnabled() ) {
$this->reportMessage( "\nYou need to have SMW enabled in order to run the maintenance script!\n" );
$this->reportMessage( "\nYou need to have Semantic MediaWiki enabled in order to run the maintenance script!\n" );
exit;
}

$this->store = ApplicationFactory::getInstance()->getStore(
'SMW\SQLStore\SQLStore'
);

$this->reportMessage( "\nChecking smw_hash field consistency ...\n" );
$this->reportMessage( "\nChecking 'smw_hash' field consistency ...\n" );
$this->populate();

$this->reportMessage( " ... done.\n" );
Expand Down