Checks if the translation uses links that are discouraged. More...
Public Member Functions | |
getIssues (Message $message, string $targetLanguage) | |
Checks if the translation uses links that are discouraged.
Valid links are those that link to Special: or {{ns:special}}: or project pages trough MediaWiki messages like {{MediaWiki:helppage-url}}:. Also links in the definition are allowed. @license GPL-2.0-or-later
Definition at line 18 of file MediaWikiLinkValidator.php.
MediaWiki\Extension\Translate\Validation\Validators\MediaWikiLinkValidator::getIssues | ( | Message | $message, |
string | $targetLanguage ) |
Implements MediaWiki\Extension\Translate\Validation\MessageValidator.
Definition at line 19 of file MediaWikiLinkValidator.php.