}
public function getDescription() {
- return 'Block a user';
+ return 'Block a user.';
}
public function getPossibleErrors() {
public function getDescription() {
return array(
- 'Get the difference between 2 pages',
- 'You must pass a revision number or a page title or a page ID id for each part (1 and 2)'
+ 'Get the difference between 2 pages.',
+ 'You must pass a revision number or a page title or a page ID id for each part (1 and 2).'
);
}
}
public function getDescription() {
- return 'Create a new user account';
+ return 'Create a new user account.';
}
public function mustBePosted() {
}
public function getDescription() {
- return 'Delete a page';
+ return 'Delete a page.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'This module has been disabled';
+ return 'This module has been disabled.';
}
public function getExamples() {
}
public function getDescription() {
- return 'Create and edit pages';
+ return 'Create and edit pages.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Email a user';
+ return 'Email a user.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Expands all templates in wikitext';
+ return 'Expands all templates in wikitext.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Returns a user contributions feed';
+ return 'Returns a user contributions feed.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Returns a watchlist feed';
+ return 'Returns a watchlist feed.';
}
public function getPossibleErrors() {
public function getDescription() {
return array(
- 'Revert a file to an old version'
+ 'Revert a file to an old version.'
);
}
}
public function getDescription() {
- return 'Display this help screen. Or the help screen for the specified module';
+ return 'Display this help screen. Or the help screen for the specified module.';
}
public function getExamples() {
}
public function getDescription() {
- return 'Rotate one or more images';
+ return 'Rotate one or more images.';
}
public function needsToken() {
return array(
'Import a page from another wiki, or an XML file.',
'Note that the HTTP POST must be done as a file upload (i.e. using multipart/form-data) when',
- 'sending a file for the "xml" parameter'
+ 'sending a file for the "xml" parameter.'
);
}
'In the event of a successful log-in, a cookie will be attached to your session.',
'In the event of a failed log-in, you will not be able to attempt another log-in',
'through this method for 5 seconds. This is to prevent password guessing by',
- 'automated password crackers'
+ 'automated password crackers.'
);
}
}
public function getDescription() {
- return 'Log out and clear session data';
+ return 'Log out and clear session data.';
}
public function getExamples() {
'',
'Status: All features shown on this page should be working, but the API',
' is still in active development, and may change at any time.',
- ' Make sure to monitor our mailing list for any updates',
+ ' Make sure to monitor our mailing list for any updates.',
'',
'Erroneous requests: When erroneous requests are sent to the API, a HTTP header will be sent',
' with the key "MediaWiki-API-Error" and then both the value of the',
- ' header and the error code sent back will be set to the same value',
+ ' header and the error code sent back will be set to the same value.',
'',
' In the case of an invalid action being passed, these will have a value',
- ' of "unknown_action"',
+ ' of "unknown_action".',
'',
' For more information see https://www.mediawiki.org' .
'/wiki/API:Errors_and_warnings',
}
public function getDescription() {
- return 'Move a page';
+ return 'Move a page.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Search the wiki using the OpenSearch protocol';
+ return 'Search the wiki using the OpenSearch protocol.';
}
public function getExamples() {
public function getDescription() {
return array(
- 'Change preferences of the current user',
+ 'Change preferences of the current user.',
'Only options which are registered in core or in one of installed extensions,',
'or as options with keys prefixed with \'userjs-\' (intended to be used by user',
- 'scripts), can be set'
+ 'scripts), can be set.'
);
}
}
public function getDescription() {
- return 'Obtain information about certain API parameters and errors';
+ return 'Obtain information about certain API parameters and errors.';
}
public function getExamples() {
$p = $this->getModulePrefix();
return array(
- 'Parses content and returns parser output',
+ 'Parses content and returns parser output.',
'See the various prop-Modules of action=query to get information from the current' .
- 'version of a page',
+ 'version of a page.',
'There are several ways to specify the text to parse:',
"1) Specify a page or revision, using {$p}page, {$p}pageid, or {$p}oldid.",
"2) Specify content explicitly, using {$p}text, {$p}title, and {$p}contentmodel.",
- "3) Specify only a summary to parse. {$p}prop should be given an empty value",
+ "3) Specify only a summary to parse. {$p}prop should be given an empty value.",
);
}
}
public function getDescription() {
- return 'Patrol a page or revision';
+ return 'Patrol a page or revision.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Change the protection level of a page';
+ return 'Change the protection level of a page.';
}
public function getPossibleErrors() {
public function getDescription() {
return array( 'Purge the cache for the given titles.',
- 'Requires a POST request if the user is not logged in'
+ 'Requires a POST request if the user is not logged in.'
);
}
'from the MediaWiki databases,',
'and is loosely based on the old query.php interface.',
'All data modifications will first have to use query to acquire a ' .
- 'token to prevent abuse from malicious sites'
+ 'token to prevent abuse from malicious sites.'
);
}
}
public function getDescription() {
- return 'Enumerate all categories';
+ return 'Enumerate all categories.';
}
public function getExamples() {
}
public function getDescription() {
- return 'Enumerate all images sequentially';
+ return 'Enumerate all images sequentially.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Return messages from this site';
+ return 'Return messages from this site.';
}
public function getExamples() {
}
public function getDescription() {
- return 'Enumerate all pages sequentially in a given namespace';
+ return 'Enumerate all pages sequentially in a given namespace.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Enumerate all registered users';
+ return 'Enumerate all registered users.';
}
public function getPossibleErrors() {
public function getDescription() {
switch ( $this->getModuleName() ) {
case 'backlinks':
- return 'Find all pages that link to the given page';
+ return 'Find all pages that link to the given page.';
case 'embeddedin':
- return 'Find all pages that embed (transclude) the given title';
+ return 'Find all pages that embed (transclude) the given title.';
case 'imageusage':
- return 'Find all pages that use the given image title';
+ return 'Find all pages that use the given image title.';
default:
- ApiBase::dieDebug( __METHOD__, 'Unknown module name' );
+ ApiBase::dieDebug( __METHOD__, 'Unknown module name.' );
}
}
}
public function getDescription() {
- return 'List all blocked users and IP addresses';
+ return 'List all blocked users and IP addresses.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'List all categories the page(s) belong to';
+ return 'List all categories the page(s) belong to.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Returns information about the given categories';
+ return 'Returns information about the given categories.';
}
public function getExamples() {
}
public function getDescription() {
- return 'List all pages in a given category';
+ return 'List all pages in a given category.';
}
public function getPossibleErrors() {
public function getDescription() {
return 'Get the list of logged-in contributors and ' .
- 'the count of anonymous contributors to a page';
+ 'the count of anonymous contributors to a page.';
}
public function getExamples() {
return array(
'List deleted revisions.',
'Operates in three modes:',
- ' 1) List deleted revisions for the given title(s), sorted by timestamp',
- ' 2) List deleted contributions for the given user, sorted by timestamp (no titles specified)',
+ ' 1) List deleted revisions for the given title(s), sorted by timestamp.',
+ ' 2) List deleted contributions for the given user, sorted by timestamp (no titles specified).',
" 3) List all deleted revisions in the given namespace, sorted by title and timestamp',
- ' (no titles specified, {$p}user not set)",
+ ' (no titles specified, {$p}user not set).",
'Certain parameters only apply to some modes and are ignored in others.',
- 'For instance, a parameter marked (1) only applies to mode 1 and is ignored in modes 2 and 3',
+ 'For instance, a parameter marked (1) only applies to mode 1 and is ignored in modes 2 and 3.',
);
}
public function getDescription() {
return array(
- 'This module has been disabled'
+ 'This module has been disabled.'
);
}
}
public function getDescription() {
- return 'List all files that are duplicates of the given file(s) based on hash values';
+ return 'List all files that are duplicates of the given file(s) based on hash values.';
}
public function getExamples() {
}
public function getDescription() {
- return 'Enumerate pages that contain a given URL';
+ return 'Enumerate pages that contain a given URL.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Returns all external URLs (not interwikis) from the given page(s)';
+ return 'Returns all external URLs (not interwikis) from the given page(s).';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Return meta information about image repositories configured on the wiki';
+ return 'Return meta information about image repositories configured on the wiki.';
}
public function getExamples() {
}
public function getDescription() {
- return 'Enumerate all deleted files sequentially';
+ return 'Enumerate all deleted files sequentially.';
}
public function getPossibleErrors() {
return array( 'Find all pages that link to the given interwiki link.',
'Can be used to find all links with a prefix, or',
'all links to a title (with a given prefix).',
- 'Using neither parameter is effectively "All IW Links"',
+ 'Using neither parameter is effectively "All IW Links".',
);
}
}
public function getDescription() {
- return 'Returns all interwiki links from the given page(s)';
+ return 'Returns all interwiki links from the given page(s).';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Returns image information and upload history';
+ return 'Returns image information and upload history.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Returns all images contained on the given page(s)';
+ return 'Returns all images contained on the given page(s).';
}
public function getExamples() {
'Can be used to find all links with a language code, or',
'all links to a title (with a given language).',
'Using neither parameter is effectively "All Language Links".',
- 'Note that this may not consider language links added by extensions',
+ 'Note that this may not consider language links added by extensions.',
);
}
}
public function getDescription() {
- return 'Returns all interlanguage links from the given page(s)';
+ return 'Returns all interlanguage links from the given page(s).';
}
public function getPossibleErrors() {
}
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() {
}
public function getDescription() {
- return 'Get events from logs';
+ return 'Get events from logs.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'List all page prop names in use on the wiki';
+ return 'List all page prop names in use on the wiki.';
}
public function getExamples() {
}
public function getDescription() {
- return 'Get various properties defined in the page content';
+ return 'Get various properties defined in the page content.';
}
public function getExamples() {
}
public function getDescription() {
- return 'List all pages using a given page prop';
+ return 'List all pages using a given page prop.';
}
public function getExamples() {
}
public function getDescription() {
- return 'List all titles protected from creation';
+ return 'List all titles protected from creation.';
}
public function getExamples() {
}
public function getDescription() {
- return 'Get a list provided by a QueryPage-based special page';
+ return 'Get a list provided by a QueryPage-based special page.';
}
public function getPossibleErrors() {
public function getDescription() {
return array(
- 'Get a set of random pages',
+ 'Get a set of random pages.',
'NOTE: Pages are listed in a fixed sequence, only the starting point is random.',
' This means that if, for example, "Main Page" is the first random page on',
' your list, "List of fictional monkeys" will *always* be second, "List of',
- ' people on stamps of Vanuatu" third, etc',
+ ' people on stamps of Vanuatu" third, etc.',
'NOTE: If the number of pages in the namespace is lower than rnlimit, you will',
- ' get fewer pages. You will not get the same page twice'
+ ' get fewer pages. You will not get the same page twice.'
);
}
}
public function getDescription() {
- return 'Enumerate recent changes';
+ return 'Enumerate recent changes.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Returns all redirects to the given page(s)';
+ return 'Returns all redirects to the given page(s).';
}
public function getExamples() {
public function getDescription() {
return array(
- 'Get revision information',
+ 'Get revision information.',
'May be used in several ways:',
- ' 1) Get data about a set of pages (last revision), by setting titles or pageids parameter',
- ' 2) Get revisions for one given page, by using titles/pageids with start/end/limit params',
- ' 3) Get data about a set of revisions by setting their IDs with revids parameter',
- 'All parameters marked as (enum) may only be used with a single page (#2)'
+ ' 1) Get data about a set of pages (last revision), by setting titles or pageids parameter.',
+ ' 2) Get revisions for one given page, by using titles/pageids with start/end/limit params.',
+ ' 3) Get data about a set of revisions by setting their IDs with revids parameter.',
+ 'All parameters marked as (enum) may only be used with a single page (#2).'
);
}
}
public function getDescription() {
- return 'Perform a full text search';
+ return 'Perform a full text search.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Return general information about the site';
+ return 'Return general information about the site.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Returns image information for stashed images';
+ return 'Returns image information for stashed images.';
}
public function getExamples() {
}
public function getDescription() {
- return 'List change tags';
+ return 'List change tags.';
}
public function getExamples() {
}
public function getDescription() {
- return 'Get all edits by a user';
+ return 'Get all edits by a user.';
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Get information about the current user';
+ return 'Get information about the current user.';
}
public function getExamples() {
}
public function getDescription() {
- return 'Get information about a list of users';
+ return 'Get information about a list of users.';
}
public function getExamples() {
}
public function getDescription() {
- return "Get all recent changes to pages in the logged in user's watchlist";
+ return "Get all recent changes to pages in the logged in user's watchlist.";
}
public function getPossibleErrors() {
}
public function getDescription() {
- return "Get all pages on the logged in user's watchlist";
+ return "Get all pages on the logged in user's watchlist.";
}
public function getPossibleErrors() {
}
public function getDescription() {
- return 'Delete/undelete revisions';
+ return 'Delete/undelete revisions.';
}
public function getPossibleErrors() {
public function getDescription() {
return array(
'Undo the last edit to the page. If the last user who edited the page made',
- 'multiple edits in a row, they will all be rolled back'
+ 'multiple edits in a row, they will all be rolled back.'
);
}
}
public function getDescription() {
- return 'Export an RSD (Really Simple Discovery) schema';
+ return 'Export an RSD (Really Simple Discovery) schema.';
}
public function getExamples() {
}
public function getDescription() {
- return 'Perform periodic tasks or run jobs from the queue';
+ return 'Perform periodic tasks or run jobs from the queue.';
}
public function getExamples() {
return array( 'Update the notification timestamp for watched pages.',
'This affects the highlighting of changed pages in the watchlist and history,',
'and the sending of email when the "Email me when a page on my watchlist is',
- 'changed" preference is enabled'
+ 'changed" preference is enabled.'
);
}
}
public function getDescription() {
- return 'Gets tokens for data-modifying actions';
+ return 'Gets tokens for data-modifying actions.';
}
protected function getExamples() {
}
public function getDescription() {
- return 'Unblock a user';
+ return 'Unblock a user.';
}
public function getPossibleErrors() {
public function getDescription() {
return array(
'Restore certain revisions of a deleted page. A list of deleted revisions ',
- '(including timestamps) can be retrieved through list=deletedrevs'
+ '(including timestamps) can be retrieved through list=deletedrevs.'
);
}
' * Have the MediaWiki server fetch a file from a URL, using the "url" parameter',
' * Complete an earlier upload that failed due to warnings, using the "filekey" parameter',
'Note that the HTTP POST must be done as a file upload (i.e. using multipart/form-data) when',
- 'sending the "file". Also you must get and send an edit token before doing any upload stuff'
+ 'sending the "file". Also you must get and send an edit token before doing any upload stuff.'
);
}
}
public function getDescription() {
- return 'Add/remove a user to/from groups';
+ return 'Add/remove a user to/from groups.';
}
public function needsToken() {
}
public function getDescription() {
- return 'Add or remove pages from/to the current user\'s watchlist';
+ return 'Add or remove pages from/to the current user\'s watchlist.';
}
public function getPossibleErrors() {