API module for marking translations hard Records the skip count for the message. More...
Public Member Functions | |
execute () | |
isWriteMode () | |
needsToken () | |
getAllowedParams () | |
getParamDescription () | |
getDescription () | |
getPossibleErrors () | |
getExamples () | |
getVersion () | |
Static Public Member Functions | |
static | doMarkHard (Revision $revision, $count) |
Mark the message skip count. | |
static | getHardCount (Revision $revision) |
Get the number of times the message was skipped. | |
static | getToken () |
static | injectTokenFunction (&$list) |
static | getRight () |
Static Protected Attributes | |
static | $right = 'translate' |
API module for marking translations hard Records the skip count for the message.
Assumption: the more the translators skip a message, the more hard it is to translate.
Definition at line 18 of file ApiHardMessages.php.
static ApiHardMessages::doMarkHard | ( | Revision $ | revision, | |
$ | count | |||
) | [static] |
Mark the message skip count.
Revision | $revision | |
int | $count |
Definition at line 65 of file ApiHardMessages.php.
Referenced by execute().
ApiHardMessages::execute | ( | ) |
ApiHardMessages::getAllowedParams | ( | ) |
Definition at line 122 of file ApiHardMessages.php.
ApiHardMessages::getDescription | ( | ) |
Definition at line 144 of file ApiHardMessages.php.
ApiHardMessages::getExamples | ( | ) |
Definition at line 158 of file ApiHardMessages.php.
static ApiHardMessages::getHardCount | ( | Revision $ | revision | ) | [static] |
Get the number of times the message was skipped.
Revision | $revision |
Definition at line 98 of file ApiHardMessages.php.
Referenced by execute().
ApiHardMessages::getParamDescription | ( | ) |
ApiHardMessages::getPossibleErrors | ( | ) |
Definition at line 148 of file ApiHardMessages.php.
static ApiHardMessages::getRight | ( | ) | [static] |
Definition at line 183 of file ApiHardMessages.php.
static ApiHardMessages::getToken | ( | ) | [static] |
Definition at line 168 of file ApiHardMessages.php.
ApiHardMessages::getVersion | ( | ) |
Definition at line 164 of file ApiHardMessages.php.
static ApiHardMessages::injectTokenFunction | ( | &$ | list | ) | [static] |
Definition at line 177 of file ApiHardMessages.php.
ApiHardMessages::isWriteMode | ( | ) |
Definition at line 114 of file ApiHardMessages.php.
ApiHardMessages::needsToken | ( | ) |
Definition at line 118 of file ApiHardMessages.php.
ApiHardMessages::$right = 'translate' [static, protected] |
Definition at line 19 of file ApiHardMessages.php.
Referenced by getPossibleErrors().