Manual:$wgFilterCallback
Jump to navigation
Jump to search
![]() | This feature was removed completely in version 1.20.0. |
Acceso: $wgFilterCallback | |
---|---|
Similarly (to $wgSpamRegex ) if this function returns true |
|
Introducido en la versión: | 1.3.0 (r4130) |
Deprecated in version: | 1.17.0 |
Eliminado en la versión: | 1.20.0 (Gerrit change 36733; git #ba5ee43a) |
Valores permitidos: | no especificado |
Valor predeterminado: | false |
Otras configuraciones: Alfabéticamente | Por Función |
Detalles
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: bloquearlo
- false: dejarlo pasar
Categories:
- MediaWiki configuration settings/es
- MediaWiki configuration settings 1.3.0/es
- MediaWiki configuration settings introduced in version 1.3.0/es
- MediaWiki configuration settings deprecated in version 1.17.0/es
- MediaWiki configuration settings removed in version 1.20.0/es
- MediaWiki deprecated or obsolete features/es
- Permission variables/es