Page MenuHomePhabricator
Paste P11294

ChangeTags split
ActivePublic

Authored by DannyS712 on May 24 2020, 6:28 AM.
ChangeTagStore: https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/597913/
* defineTag
* undefineTag
* deleteTagEverywhere
* purgeTagCacheAll
ChangeTagLookup: https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/598222/
* getSoftwareTags
* listSoftwareActivatedTags
* listDefinedTags
* listExplicitlyDefinedTags
* listSoftwareDefinedTags
ChangeTagQueryUtils: https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/598226/
* modifyDisplayQuery
* makeTagSummarySubquery
---------------
Remaining methods:
ChangeTagUpdater? - update the state of change tags themselves, including permission checks
* logTagManagementAction (protected)
* canActivateTag
* activateTagWithChecks
* canDeactivateTag
* deactivateTagWithChecks
* canCreateTag
* createTagWithChecks
* canDeleteTag
* deleteTagWithChecks
* tagUsageStatistics
Depends on ChangeTagLookup, ChangeTagStore
ChangeTagManager? - manage tags for revisions, etc
* addTags
* updateTags
* getTags
* canAddTagsAccompanyingChange
* addTagsAccompanyingChangeWithChecks
* canUpdateTags
* updateTagsWithChecks
* restrictedTagError (protected)
Depends on ChangeTagLookup
TODO Updater and Manager could both describe both services - need better names
Others
* formatSummaryRow
* tagShortDescriptionMessage
* tagDescription
* tagLongDescriptionMessage
* truncateTagDescription
* buildTagFilterSelector
* isTagNameValid
* showTagEditingUI