mediawiki-extensions-Discus.../includes
Bartosz Dziewoński bcd92a5d33 Minor cleanups in topic subscription code
For automatic topic subscriptions, I plan to introduce a third
subscription state to indicate them. This patch includes minor tweaks
I wanted to add while working on that:

* Introduce constants instead of numbers
* Remove a TODO that doesn't seem like a good idea any more
* Remove a `"length": 1` on sub_state that did not do anything
  (but it might have been meant to indicate that it was supposed
  to be a boolean, which would be wrong)

Bug: T284836
Change-Id: I6e6096968ad38510102287bccd349090b6ca4280
2021-08-17 22:22:15 +02:00
..
Actions Injected SubscriptionStore into UnsubscribeAction 2021-08-09 22:38:52 +00:00
Hooks Create a hidden revision tag for talk page comments 2021-08-16 15:42:51 +00:00
Notifications Minor cleanups in topic subscription code 2021-08-17 22:22:15 +02:00
ApiDiscussionTools.php Deal with document body consistently 2021-08-03 15:12:55 +02:00
ApiDiscussionToolsEdit.php Deal with document body consistently 2021-08-03 15:12:55 +02:00
ApiDiscussionToolsSubscribe.php Minor cleanups in topic subscription code 2021-08-17 22:22:15 +02:00
CommentFormatter.php Remove pointless uses of preserveWhiteSpace property 2021-08-09 23:45:48 +02:00
CommentItem.php Remove use of DOMXPath to remove Phan suppressions 2021-08-02 18:23:16 +02:00
CommentModifier.php Remove use of DOMXPath to remove Phan suppressions 2021-08-02 18:23:16 +02:00
CommentParser.php Improve notifications for comments posted in close succession 2021-08-01 12:27:33 +02:00
CommentUtils.php Remove use of DOMXPath to remove Phan suppressions 2021-08-02 18:23:16 +02:00
Data.php Merge "Recognize links to add a new topic that use Special:NewSection" 2021-08-02 17:42:30 +00:00
HeadingItem.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
ImmutableRange.php ImmutableRange: Remove Phan suppression 2021-08-02 17:51:26 +02:00
NodeFilter.php Don't refer directly to PHP dom extension classes; avoid nonstandard behavior 2021-07-30 18:15:40 -04:00
ServiceWiring.php build: Updating dependencies 2021-07-22 16:29:04 +00:00
SubscriptionItem.php Minor cleanups in topic subscription code 2021-08-17 22:22:15 +02:00
SubscriptionStore.php Minor cleanups in topic subscription code 2021-08-17 22:22:15 +02:00
ThreadItem.php Don't refer directly to PHP dom extension classes; avoid nonstandard behavior 2021-07-30 18:15:40 -04:00
TreeWalker.php Don't refer directly to PHP dom extension classes; avoid nonstandard behavior 2021-07-30 18:15:40 -04:00