);
if ( $this->getModuleName() == self::LINKS ) {
$arr[$this->titlesParam] = 'Only list links to these titles. Useful for checking whether a certain page links to a certain title.';
- } else if ( $this->getModuleName() == self::TEMPLATES ) {
+ } elseif ( $this->getModuleName() == self::TEMPLATES ) {
$arr[$this->titlesParam] = 'Only list these templates. Useful for checking whether a certain page uses a certain template.';
}
return $arr;
);
}
+ public function getHelpUrls() {
+ if ( $this->prefix === 'pl' ) {
+ return 'http://www.mediawiki.org/wiki/API:Properties#links_.2F_pl';
+ } else { // tl
+ return 'http://www.mediawiki.org/wiki/API:Properties#templates_.2F_tl';
+ }
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}