class PageExists extends Maintenance {
public function __construct() {
parent::__construct();
- $this->mDescription = "Report whether a specific page exists";
+ $this->addDescription( 'Report whether a specific page exists' );
$this->addArg( 'title', 'Page title to check whether it exists' );
}