This class represents one translation unit in a translatable page. More...
Public Attributes | |
const | UNIT_MARKER_INVALID_CHARS = "_/\n<>" |
const | NEW_UNIT_ID = '-1' |
const | TVAR_OLD_SYNTAX_REGEX = '~<tvar\|([^>]+)>(.*?)</>~us' |
This class represents one translation unit in a translatable page.
Definition at line 19 of file TranslationUnit.php.
const MediaWiki\Extension\Translate\PageTranslation\TranslationUnit::NEW_UNIT_ID = '-1' |
Definition at line 21 of file TranslationUnit.php.
const MediaWiki\Extension\Translate\PageTranslation\TranslationUnit::TVAR_OLD_SYNTAX_REGEX = '~<tvar\|([^>]+)>(.*?)</>~us' |
Definition at line 23 of file TranslationUnit.php.
const MediaWiki\Extension\Translate\PageTranslation\TranslationUnit::UNIT_MARKER_INVALID_CHARS = "_/\n<>" |
Definition at line 20 of file TranslationUnit.php.