Manual:Log actions

From MediaWiki.org
Jump to: navigation, search
Translate this page; This page contains changes which are not marked for translation.

Other languages:
English • ‎日本語 • ‎polski • ‎中文

These are log types and log actions and their log parameters and log_searchManual:log_search table entries and descriptions.

Log type Log action Log parameters Log search Implemented in Description
block block expiry (e.g. "3 days"), flags (e.g. "anononly", "nocreate", "noautoblock", "noemail", "nousertalk", "hiddenname") ipb_id Core (SpecialBlock::processForm()) Block user
reblock expiry (e.g. "3 days"), flags (e.g. "anononly", "nocreate", "noautoblock", "noemail", "nousertalk", "hiddenname") ipb_id Core (SpecialBlock::processForm()) Change block
unblock expiry (e.g. "3 days"), flags (e.g. "anononly", "nocreate", "noautoblock", "noemail", "nousertalk", "hiddenname") ipb_id Core (SpecialBlock::processForm()) Unblock user
delete delete N/A N/A Core (WikiPage::doDeleteArticleReal()Manual:WikiPage.php) Delete a page
event log id, ofield, nfield log_id, target_author_id (array of the user IDs of the offenders), target_author_ip (array of the IP/anon user offenders) Core (RevDelList::updateLog()) Delete a log event
restore N/A N/A Core (PageArchive::undelete() Restore a page
revision revision, revision ID (e.g. "7"), ofield (i.e. old bitfield), nfield (i.e. new bitfield) rev_id, target_author_id (array of the user IDs of the offenders), target_author_ip (array of the IP/anon user offenders) Core (RevDelList::updateLog()) Change visibility
import interwiki N/A N/A Core (ImportReporter::reportPage()) Import interwiki
upload N/A N/A Core (ImportReporter::reportPage()) Import from an uploaded XML file
merge merge target page (e.g. "Bar"), timestamp of the most recent merged revision N/A Core (SpecialMergeHistory::merge()) Merge history
move move 4::target (prefixed destination page title), 5::noredir (1 if redirect suppressed) N/A Core (MovePage::moveToInternal()) Move a page
move_redir 4::target (prefixed destination page title), 5::noredir (1 if redirect suppressed) N/A Core (MovePage::moveToInternal()) Move a page over a redirect
newusers autocreate 4::userid N/A Core (User::addNewUserLogEntry()Manual:User.php) When the user is automatically created (such as by CentralAuth)
byemail 4::userid N/A Core (User::addNewUserLogEntry()Manual:User.php) When the created user will receive its password by email
create 4::userid N/A Core (User::addNewUserLogEntry()Manual:User.php) For an anonymous user creating an account for himself
create2 4::userid N/A Core (User::addNewUserLogEntry()Manual:User.php) For a logged in user creating an account for someone else
pagelang pagelang 4::oldlanguage (previous page language), 5::newlanguage (new page language) N/A Core (SpecialPageLanguage::onSubmit()) For pages whose language has been changed
patrol patrol curid (i.e. current revision ID), previd (i.e. parent revision ID), auto (1 if auto-patrolled; otherwise 0) N/A Core (PatrolLog::record()) Mark a revision as patrolled
autopatrol curid (i.e. current revision ID), previd (i.e. parent revision ID) N/A Core (PatrolLog::record()) Automatic patrol of a revision
protect modify Duration of edit restriction (e.g. ‎"[edit=autoconfirmed] (indefinite)"), duration of move restriction (e.g. "‎[edit=autoconfirmed] (indefinite)‎[move=autoconfirmed] (indefinite)") page_restrictions.pr_id Core (WikiPage::doUpdateRestrictions()Manual:WikiPage.php) Modify the protection of a protected page
protect Duration of edit restriction (e.g. ‎"[edit=autoconfirmed] (indefinite)"), duration of move restriction (e.g. "‎[edit=autoconfirmed] (indefinite)‎[move=autoconfirmed] (indefinite)") page_restrictions.pr_id Core (WikiPage::doUpdateRestrictions()Manual:WikiPage.php) Protect an unprotected page
unprotect N/A N/A Core (WikiPage::doUpdateRestrictions()Manual:WikiPage.php) Unprotect a page
rights rights 4::oldgroups, 5::newgroups N/A Core (UserrightsPage::addLogEntry()) Change a user's groups
upload overwrite img_sha1, img_timestamp N/A Core (LocalFile::recordUpload2()Manual:LocalFile.php) Reupload a file
upload img_sha1, img_timestamp N/A Core (LocalFile::recordUpload2()Manual:LocalFile.php) Upload a file

Actions[edit]

Types and actions[edit]

Seemingly deprecated[edit]

  • User.php, User::addAutopromoteOnceGroups(): rights, autopromote, 4::oldgroups, 5::newgroups
  • FileDeleteForm.php, FileDeleteForm::doDelete(): suppress, delete

See also[edit]

Log actionsManual:Log actions Events: BlockingManual:Block and unblockImportingManual:Importing revisionsMerging historiesManual:Merging historiesPage deletionManual:Page deletionPage movingManual:Page movingPage restorationManual:Page restorationPatrollingManual:PatrollingProtectionManual:ProtectionRenaming a userExtension:RenameuserRevisionDeleteManual:RevisionDeleteThankingExtension:ThanksUploadingManual:UploadingUser creationManual:User creationUser rights managementManual:User rightsMerging usersManual:Merging users

Settings: $wgLogTypesManual:$wgLogTypes$wgLogActionsManual:$wgLogActions$wgLogNamesManual:$wgLogNames$wgLogHeadersManual:$wgLogHeaders$wgLogActionsHandlersManual:$wgLogActionsHandlers$wgLogRestrictionsManual:$wgLogRestrictions$wgFilterLogTypesManual:$wgFilterLogTypes$wgActionFilteredLogsManual:$wgActionFilteredLogs

Miscellaneous: Logging to Special:LogManual:Logging to Special:LogAPIAPI:Logeventslogging tableManual:Logging tableNull revisionManual:Null revision