mediawiki-extensions-Replac.../hooks.txt
Abijeet f7a6474c72 Add ReplaceTextFilterPageTitlesForEdit hook to avoid pages for edit
Allows other extensions to specify pages titles that should not be
edited.

Bug: T313148
Change-Id: Ia3d8e99fc6a478c1df5064fae44ad8558c968725
2023-06-15 02:25:18 +00:00

10 lines
433 B
Plaintext

This document describes how event hooks work in the ReplaceText extension;
For a more comprehensive guide to hooks, navigate to your root MediaWiki
directory, and then find /docs/Hooks.md.
=== PHP events ===
;ReplaceTextFilterPageTitlesForEdit: Provides other extension the ability to avoid editing content on pages based on their titles.
\TitleArrayFromResult &$titles: Array of page titles whose content will be edited