Manual:$wgFilterCallback
From MediaWiki.org
![]() |
This deprecated feature should no longer be used, but is still available for reasons of backwards compatibility. This feature was deprecated in version 1.17 . |
Access: $wgFilterCallback | |
---|---|
Similarly (to $wgSpamRegex) if this function returns true |
|
Introduced in version: | 1.3.0 (r4130) |
Deprecated in version: | 1.17 |
Removed in version: | still in use |
Allowed values: | |
Default value: | false |
Other settings: Alphabetical | By Function
Details [edit]
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
Language: | English • français |
---|