Abstraction for revtag table to handle new and old schemas during migration. More...
Static Public Member Functions | |
static | checkSchema () |
Determines the schema version. | |
static | getType ($tag) |
Returns value suitable for rt_type field. | |
static | typeToTag ($tag) |
Converts rt_type field back to the tag name. | |
Static Protected Member Functions | |
static | loadTags () |
Loads the list of tags from database using the old schema. | |
Static Protected Attributes | |
static | $schema = false |
Abstraction for revtag table to handle new and old schemas during migration.
Definition at line 14 of file RevTag.php.
static RevTag::checkSchema | ( | ) | [static] |
static RevTag::getType | ( | $ | tag | ) | [static] |
Returns value suitable for rt_type field.
string | $tag Tag name |
MWException |
Definition at line 41 of file RevTag.php.
Referenced by TranslatablePage::addTag(), PopulateFuzzy::execute(), UpdatedDefinitionAid::getData(), TranslatablePage::getMarkedRevs(), TranslationHelpers::getPageDiff(), TranslatablePage::getTag(), TranslatablePage::getTranslatablePages(), TranslatablePage::getTransRev(), MessageHandle::isFuzzy(), MessageGroups::loadGroupDefinitions(), MessageCollection::loadInfo(), SpecialPageTranslation::loadPagesFromDB(), MessageUpdateJob::run(), CreateCheckIndex::tagFuzzy(), TranslatablePage::unmarkTranslatablePage(), TranslateEditAddons::updateFuzzyTag(), and TranslateEditAddons::updateTransverTag().
static RevTag::loadTags | ( | ) | [static, protected] |
Loads the list of tags from database using the old schema.
Definition at line 82 of file RevTag.php.
Referenced by getType(), and typeToTag().
static RevTag::typeToTag | ( | $ | tag | ) | [static] |
Converts rt_type field back to the tag name.
$tag | int rt_type value |
MWException |
Definition at line 62 of file RevTag.php.
Referenced by SpecialPageTranslation::buildPageArray().
RevTag::$schema = false [static, protected] |
Definition at line 15 of file RevTag.php.