Translatable bundle represents a message group where its translatable content is defined on a wiki page. More...
Public Member Functions | |
getTitle () | |
Return the title of the page where the translatable bundle is defined. | |
getMessageGroupId () | |
Return the message group id for the bundle Note that the message group id may refer to a message group that does not exist. | |
getTranslationPages () | |
Return the available translation pages for the bundle. | |
getTranslationUnitPages (?string $code=null) | |
Return the available translation units for the bundle. | |
isMoveable () | |
Check if this translatable bundle is moveable. | |
isDeletable () | |
Check if this is a deletable translatable bundle. | |
Protected Member Functions | |
getTranslationUnitPagesByTitle (Title $title, ?string $code=null) | |
Translatable bundle represents a message group where its translatable content is defined on a wiki page.
This interface was created to support moving message bundles using the code developed for moving translatable pages.
See also WikiMessageGroup which is not considered to be a translatable bundle.
Definition at line 22 of file TranslatableBundle.php.
|
abstract |
Return the message group id for the bundle Note that the message group id may refer to a message group that does not exist.
Reimplemented in MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundle, and MediaWiki\Extension\Translate\PageTranslation\TranslatablePage.
|
abstract |
Return the title of the page where the translatable bundle is defined.
Reimplemented in MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundle, and MediaWiki\Extension\Translate\PageTranslation\TranslatablePage.
|
abstract |
Return the available translation pages for the bundle.
Reimplemented in MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundle, and MediaWiki\Extension\Translate\PageTranslation\TranslatablePage.
|
abstract |
Return the available translation units for the bundle.
Reimplemented in MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundle, and MediaWiki\Extension\Translate\PageTranslation\TranslatablePage.
|
protected |
Definition at line 52 of file TranslatableBundle.php.
|
abstract |
Check if this is a deletable translatable bundle.
Reimplemented in MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundle, and MediaWiki\Extension\Translate\PageTranslation\TranslatablePage.
|
abstract |
Check if this translatable bundle is moveable.
Reimplemented in MediaWiki\Extension\Translate\MessageBundleTranslation\MessageBundle, and MediaWiki\Extension\Translate\PageTranslation\TranslatablePage.