[ Index ] |
PHP Cross Reference of MediaWiki-1.24.0 |
[Source view] [Print] [Project Stats]
Hooks for Title Blacklist
Author: | Victor Vasiliev |
Copyright: | © 2007-2010 Victor Vasiliev et al |
License: | GNU General Public License 2.0 or later |
File Size: | 227 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
TitleBlacklistHooks:: (9 methods):
userCan()
displayBlacklistOverrideNotice()
abortMove()
acceptNewUserName()
abortNewAccount()
validateBlacklist()
clearBlacklist()
addOverrideCheckbox()
logFilterHitUsername()
Class: TitleBlacklistHooks - X-Ref
Hooks for the TitleBlacklist classuserCan( $title, $user, $action, &$result ) X-Ref |
getUserPermissionsErrorsExpensive hook param: $title Title param: $user User param: $action param: $result return: bool |
displayBlacklistOverrideNotice( Title $title, $oldid, array &$notices ) X-Ref |
Display a notice if a user is only able to create or edit a page because they have tboverride (or autoconfirmed). param: Title $title param: integer $oldid param: array &$notices |
abortMove( $old, $nt, $user, &$err ) X-Ref |
AbortMove hook param: $old Title param: $nt Title param: $user User param: $err return: bool |
acceptNewUserName( $userName, $permissionsUser, &$err, $override = true, $log = false ) X-Ref |
Check whether a user name is acceptable, and set a message if unacceptable. Used by abortNewAccount and centralAuthAutoCreate return: bool Acceptable |
abortNewAccount( $user, &$message ) X-Ref |
AbortNewAccount hook param: User $user |
validateBlacklist( $editor, $text, $section, &$error ) X-Ref |
EditFilter hook param: $editor EditPage |
clearBlacklist( &$article, &$user,$text, $summary, $isminor, $iswatch, $section ) X-Ref |
ArticleSaveComplete hook param: Article $article |
addOverrideCheckbox( &$template ) X-Ref |
No description |
logFilterHitUsername( $user, $title, $entry ) X-Ref |
Logs the filter username hit to Special:Log if $wgTitleBlacklistLogHits is enabled. param: User $user param: Title $title param: string $entry |
Generated: Fri Nov 28 14:03:12 2014 | Cross-referenced by PHPXref 0.7.1 |