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 Replace redundant Assert calls with native typehint 2018-07-10 19:31:13 +00:00
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 Remove @param comments that literally repeat what the code says 2018-01-10 14:14:26 +01:00
ChangesListFilter.php Remove various redundant '@license' tags in file headers 2018-01-12 18:15:11 +00:00
ChangesListFilterGroup.php build: Updating mediawiki/mediawiki-codesniffer to 24.0.0 2019-02-07 18:39:42 +00:00
ChangesListStringOptionsFilter.php Change @inheritdoc to @inheritDoc 2017-08-11 16:49:52 +02:00
ChangesListStringOptionsFilterGroup.php Replace call_user_func_array(), part 1 2018-06-04 23:39:04 -07:00
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 Make RCCacheEntry use the local part of the user name for linking 2018-05-22 22:27:18 +00:00
RecentChange.php Provide a Taggable interface 2019-03-18 23:10:06 +01:00