mediawiki-extensions-Replac.../hooks.txt

13 lines
633 B
Plaintext
Raw Normal View History

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
;ReplaceTextFilterPageTitlesForRename: Provides other extension the ability to avoid renaming pages based on their titles.
\TitleArrayFromResult &$titles: Array of page titles being renamed