More modules documented, pretty much only action=query&list= to be done (ie links added where documentation pages exist already)
$vals['torevid'] = $rev2;
$difftext = $de->getDiffBody();
-
+
if ( $difftext === false ) {
- $this->dieUsage( 'The diff cannot be retrieved. ' .
+ $this->dieUsage( 'The diff cannot be retrieved. ' .
'Maybe one or both revisions do not exist or you do not have permission to view them.', 'baddiff' );
} else {
ApiResult::setContent( $vals, $difftext );
}
public function getHelpUrls() {
- return 'http://www.mediawiki.org/wiki/API:Parsing_wikitext';
+ return 'http://www.mediawiki.org/wiki/API:Parsing_wikitext#expandtemplates';
}
public function getVersion() {
);
}
- public function getHelpUrls() {
- return '';
- }
-
public function getVersion() {
return __CLASS__ . ': $Id$';
}
);
}
- public function getHelpUrls() {
- return '';
- }
-
public function getVersion() {
return __CLASS__ . ': $Id$';
}
}
public function getHelpUrls() {
- return '';
+ return 'http://www.mediawiki.org/wiki/API:Opensearch';
}
public function getVersion() {
}
public function getHelpUrls() {
- return '';
+ return 'http://www.mediawiki.org/wiki/API:Parsing_wikitext#parse';
}
public function getVersion() {
}
public function getHelpUrls() {
- return '';
+ return 'http://www.mediawiki.org/wiki/API:Patrol';
}
public function getVersion() {
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Meta#allmessages_.2F_am';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Properties#categories_.2F_cl';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}
return 'api.php?action=query&prop=categoryinfo&titles=Category:Foo|Category:Bar';
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Properties#categoryinfo_.2F_ci';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Properties#duplicatefiles_.2F_df';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Properties#extlinks_.2F_el';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Properties#imageinfo_.2F_ii';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Properties#images_.2F_im';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Properties#info_.2F_in';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Properties#langlinks_.2F_ll';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}
);
}
+ 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$';
}
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Properties#pageprops_.2F_pp';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Properties#revisions_.2F_rv';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Meta#siteinfo_.2F_si';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}
);
}
+ public function getHelpUrls() {
+ return 'http://www.mediawiki.org/wiki/API:Meta#userinfo_.2F_ui';
+ }
+
public function getVersion() {
return __CLASS__ . ': $Id$';
}