The most description are without a final period, so that looks common.
Change-Id: If72a3cc094cfff436b53948728354cbaeff768c8
}
public function getDescription() {
- return 'Create a new user account.';
+ return 'Create a new user account';
}
public function mustBePosted() {
}
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() {
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'
);
}
'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'
);
}
'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 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'
);
}
case 'embeddedin':
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' );
}
public function getDescription() {
return array(
- 'This module has been disabled.'
+ 'This module has been disabled'
);
}
}
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() {
'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',
);
}
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'
);
}