mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-13 17:51:35 +00:00
986b51e5a2
Allows other extensions to specify pages that should not be renamed. Bug: T313148 Change-Id: I47b4549b90fe30be7a80e74db60d16be6776e7f6
13 lines
633 B
Plaintext
13 lines
633 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
|
|
|
|
;ReplaceTextFilterPageTitlesForRename: Provides other extension the ability to avoid renaming pages based on their titles.
|
|
\TitleArrayFromResult &$titles: Array of page titles being renamed
|