2023-05-19 12:58:45 +00:00
|
|
|
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
|
2023-05-24 08:27:17 +00:00
|
|
|
|
|
|
|
;ReplaceTextFilterPageTitlesForRename: Provides other extension the ability to avoid renaming pages based on their titles.
|
|
|
|
\TitleArrayFromResult &$titles: Array of page titles being renamed
|