Yaron Koren has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/387793 )

Change subject: PageForms should use the PageContentSave hook
......................................................................


PageForms should use the PageContentSave hook

Without it, pages are not (reliably) displayed without purging the
article. PFFormUtils::purgeCache is called on the ArticlePurge hook
and used to be called on the ArticleSave hook. We need to put it back
in place for PageContentSave.

Bug: T179486
Change-Id: I6fde43a6654031eb4bc8202f1aec59a7fbe2265f
---
M extension.json
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Yaron Koren: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/extension.json b/extension.json
index c735c7d..1d4c864 100644
--- a/extension.json
+++ b/extension.json
@@ -412,6 +412,9 @@
                "ArticlePurge": [
                        "PFFormUtils::purgeCache"
                ],
+               "PageContentSave": [
+                       "PFFormUtils::purgeCache"
+               ],
                "ParserFirstCallInit": [
                        "PFHooks::registerFunctions"
                ],

-- 
To view, visit https://gerrit.wikimedia.org/r/387793
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6fde43a6654031eb4bc8202f1aec59a7fbe2265f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PageForms
Gerrit-Branch: master
Gerrit-Owner: MarkAHershberger <[email protected]>
Gerrit-Reviewer: Yaron Koren <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to