Manual:$wgFilterCallback
Appearance
この機能は、バージョン 1.20.0 で完全に除去されました。 |
| アクセス権: $wgFilterCallback | |
|---|---|
| Similarly (to $wgSpamRegex) if this function returns true |
|
| 導入されたバージョン: | 1.3.0 (r4130) |
| 廃止予定になったバージョン: | 1.17.0 |
| 除去されたバージョン: | 1.20.0 (Gerrit change 36733; git #ba5ee43a) |
| 許容される値: | 未指定 |
| 既定値: | false |
| その他の設定: アルファベット順 | 機能順 | |
詳細
Similar to $wgSpamRegex, you can get a function to do the job. The function will be given the following args:
- a Title object for the article the edit is made on
- the text submitted in the textarea (wpTextbox1)
- the section number.
The return should be boolean indicating whether the edit matched some evilness:
- true: block it
- false: let it through