mediawiki-extensions-Echo/includes/api
Roan Kattouw a90890582a Rename ApiCrossWikiBase -> ApiCrossWiki and make it a trait
That way we'll be able to mix it into non-query modules as well.

Unfortunately, PHP traits don't let overridden methods call their
original versions, which had to be worked around in a few places:
- $this->foreignNotifications can't be initialized in the constructor
  any more, so it's now lazy-created through $this->getForeignNotifications()
- Adding the 'wikis' parameter to getAllowedParams() now happens by
  calling getCrossWikiParams() rather than calling the parent
- Overriding getForeignQueryParams() can't call the parent anymore, so
  instead we just inline it

Change-Id: I415e6d921819fc1f7869c7d2f8bb62830a84c2a1
2018-08-29 18:03:16 -07:00
..
ApiCrossWiki.php Rename ApiCrossWikiBase -> ApiCrossWiki and make it a trait 2018-08-29 18:03:16 -07:00
ApiEchoArticleReminder.php Make "@… array" type hints more specific 2018-08-13 09:27:37 +02:00
ApiEchoMarkRead.php Remove count() of null value 2018-08-23 18:07:22 +02:00
ApiEchoMarkSeen.php Make "@… array" type hints more specific 2018-08-13 09:27:37 +02:00
ApiEchoNotifications.php Rename ApiCrossWikiBase -> ApiCrossWiki and make it a trait 2018-08-29 18:03:16 -07:00
ApiEchoUnreadNotificationPages.php Rename ApiCrossWikiBase -> ApiCrossWiki and make it a trait 2018-08-29 18:03:16 -07:00