jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/349955 )
Change subject: Revert "Remove all (except meta) API funcationality hooks"
......................................................................
Revert "Remove all (except meta) API funcationality hooks"
The API is not being abused any more.
This reverts commit 56d0b7a9a4a0703a3e5c0cd4ccf6c384a2f9d86c.
Bug: T163687
Bug: T157206
Change-Id: If9cb6f8c5a3aa195e5efd41fb2cee587c267be1d
---
M extension.json
1 file changed, 21 insertions(+), 0 deletions(-)
Approvals:
Ladsgroup: Looks good to me, approved
jenkins-bot: Verified
diff --git a/extension.json b/extension.json
index da9e6e3..aa09417 100644
--- a/extension.json
+++ b/extension.json
@@ -24,6 +24,27 @@
"ores": "ORES\\ApiQueryORES"
},
"Hooks": {
+ "APIGetAllowedParams": [
+ "ORES\\ApiHooks::onAPIGetAllowedParams"
+ ],
+ "ApiQueryBaseBeforeQuery": [
+ "ORES\\ApiHooks::onApiQueryBaseBeforeQuery"
+ ],
+ "ApiQueryBaseAfterQuery": [
+ "ORES\\ApiHooks::onApiQueryBaseAfterQuery"
+ ],
+ "ApiQueryBaseProcessRow": [
+ "ORES\\ApiHooks::onApiQueryBaseProcessRow"
+ ],
+ "ApiQueryWatchlistExtractOutputData": [
+ "ORES\\ApiHooks::onApiQueryWatchlistExtractOutputData"
+ ],
+ "ApiQueryWatchlistPrepareWatchedItemQueryServiceOptions": [
+
"ORES\\ApiHooks::onApiQueryWatchlistPrepareWatchedItemQueryServiceOptions"
+ ],
+ "WatchedItemQueryServiceExtensions": [
+ "ORES\\ApiHooks::onWatchedItemQueryServiceExtensions"
+ ],
"BeforePageDisplay": [
"ORES\\Hooks::onBeforePageDisplay"
],
--
To view, visit https://gerrit.wikimedia.org/r/349955
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If9cb6f8c5a3aa195e5efd41fb2cee587c267be1d
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/ORES
Gerrit-Branch: master
Gerrit-Owner: Gergő Tisza <[email protected]>
Gerrit-Reviewer: Catrope <[email protected]>
Gerrit-Reviewer: Gergő Tisza <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Ladsgroup <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits