Hello Giuseppe Lavagetto, Ladsgroup, jenkins-bot,

I'd like you to do a code review.  Please visit

    https://gerrit.wikimedia.org/r/349955

to review the following change.


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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ORES 
refs/changes/55/349955/1

diff --git a/extension.json b/extension.json
index b2330b5..7c3a30f 100644
--- a/extension.json
+++ b/extension.json
@@ -23,6 +23,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: newchange
Gerrit-Change-Id: If9cb6f8c5a3aa195e5efd41fb2cee587c267be1d
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ORES
Gerrit-Branch: master
Gerrit-Owner: 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

Reply via email to