private $table, $prefix, $description, $helpUrl;
- public function __construct( $query, $moduleName ) {
+ public function __construct( ApiQuery $query, $moduleName ) {
switch ( $moduleName ) {
case self::LINKS:
$this->table = 'pagelinks';
}
public function getDescription() {
- return "Returns all {$this->description}s from the given page(s)";
+ return "Returns all {$this->description}s from the given page(s).";
}
public function getExamples() {