MediaWiki
1.32.5
|
Backend functions for suppressing and unsuppressing all references to a given user, used when blocking with HideUser enabled. More...
Static Public Member Functions | |
static | suppressUserName ( $name, $userId, $dbw=null) |
static | unsuppressUserName ( $name, $userId, $dbw=null) |
Static Private Member Functions | |
static | buildSetBitDeletedField ( $field, $op, $value, $dbw) |
static | setUsernameBitfields ( $name, $userId, $op, $dbw) |
Update *_deleted bitfields in various tables to hide or unhide usernames. More... | |
Backend functions for suppressing and unsuppressing all references to a given user, used when blocking with HideUser enabled.
This was spun out of SpecialBlockip.php in 1.18; at some point it needs to be rewritten to either use RevisionDelete abstraction, or at least schema abstraction.
Definition at line 34 of file RevisionDeleteUser.php.
|
staticprivate |
Definition at line 195 of file RevisionDeleteUser.php.
References $value.
|
staticprivate |
Update *_deleted bitfields in various tables to hide or unhide usernames.
string | $name | Username |
int | $userId | User id |
string | $op | Operator '|' or '&' |
null | IDatabase | $dbw | If you happen to have one lying around |
Definition at line 44 of file RevisionDeleteUser.php.
References $name, $wgActorTableSchemaMigrationStage, DB_MASTER, LogPage\DELETED_ACTION, Revision\DELETED_RESTRICTED, Revision\DELETED_USER, Title\makeTitleSafe(), NS_USER, SCHEMA_COMPAT_WRITE_NEW, SCHEMA_COMPAT_WRITE_OLD, and wfGetDB().
Referenced by suppressUserName(), and unsuppressUserName().
|
static |
Definition at line 201 of file RevisionDeleteUser.php.
References $name, and setUsernameBitfields().
Referenced by SpecialBlock\processForm().
|
static |
Definition at line 205 of file RevisionDeleteUser.php.
References $name, and setUsernameBitfields().
Referenced by SpecialBlock\processForm(), and SpecialUnblock\processUnblock().