wiki.techinc.nl/includes/changes
Piotr Miazga fd24be4fc5 Provide a Taggable interface
The Taggable interface defines how to tag objects in MediaWiki.
For now there are only two Taggable objects:
 - RecentChange
 - ManualLogEntries

This interface should be used in places where we want to optionally
tag things, for example:
 We want to tag all mobile web actions with 'web mobile edit'.

With that interface, we will be able to expect a Taggable object,
and call `addTags()` when we need to, without having a special check
to verify is it RecentChange, or is it ManualLogEntry. We will only
expect a Taggable object.

Additionally, added @deprecated note to ManualLogEntries::setTags()
as each call to this method will override all previous tags. This
action can be harmfull to parts of code that conditionally add tags.
If object was tagged in some way, we should preserve those tags.

If there are any special cases, where we want to override all tags,
we should provide `resetTags()` method.

Bug: T215675
Change-Id: Ia4c019db8ca6f37ce0f86bf7d134d6f1713daf56
2019-03-18 23:10:06 +01:00
..
CategoryMembershipChange.php
ChangesFeed.php Merge "Hard deprecate MWNamespace::canTalk()" 2019-03-06 15:11:07 +00:00
ChangesList.php Apply the pseudo-css selector rules to diff and changelist pages 2019-02-21 15:54:46 -08:00
ChangesListBooleanFilter.php build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
ChangesListBooleanFilterGroup.php
ChangesListFilter.php
ChangesListFilterGroup.php build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
ChangesListStringOptionsFilter.php
ChangesListStringOptionsFilterGroup.php
EnhancedChangesList.php Apply the pseudo-css selector rules to diff and changelist pages 2019-02-21 15:54:46 -08:00
OldChangesList.php ChangesList separates content elements from presentation 2018-12-18 19:50:41 +00:00
RCCacheEntry.php
RCCacheEntryFactory.php
RecentChange.php Provide a Taggable interface 2019-03-18 23:10:06 +01:00