Actions journalisées

From mediawiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Log actions and the translation is 92% complete.

Ce sont les types de journaux et les actions tracées avec leurs paramètres de trace et les entrées de log_search et leur description.

Type de trace Action journalisée Paramètres de journalisation Recherche dans le journal Implémenté dans Description
block block expiry (e.g. "3 days"), flags (e.g. "anononly", "nocreate", "noautoblock", "noemail", "nousertalk", "hiddenname") ipb_id Noyau (SpecialBlock::processForm() ) Blocage d'utilisateur
reblock expiry (e.g. "3 days"), flags (e.g. "anononly", "nocreate", "noautoblock", "noemail", "nousertalk", "hiddenname") ipb_id Noyau (SpecialBlock::processForm() ) Modification du blocage
unblock expiry (e.g. "3 days"), flags (e.g. "anononly", "nocreate", "noautoblock", "noemail", "nousertalk", "hiddenname") ipb_id Noyau (SpecialBlock::processForm() ) Déblocage de l'utilisateur
delete delete N/A N/A Noyau (WikiPage::doDeleteArticleReal() ) Suppression de 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) Noyau (RevDelList::updateLog() ) Suppression d'un événement du journal
restore N/A N/A Noyau (PageArchive::undelete( ) Restauration d'une 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) Noyau (RevDelList::updateLog() ) Modification de la visibilité
import interwiki N/A N/A Noyau (ImportReporter::reportPage() ) Importation interwiki
upload N/A N/A Noyau (ImportReporter::reportPage() ) Importation à partir d'un fichier XML téléversé
merge merge target page (e.g. "Bar"), timestamp of the most recent merged revision N/A Noyau (SpecialMergeHistory::merge() ) Historique de fusionnement
move move 4::target (prefixed destination page title), 5::noredir (1 if redirect suppressed) N/A Noyau (MovePage::moveToInternal() ) Renommage de page
move_redir 4::target (prefixed destination page title), 5::noredir (1 if redirect suppressed) N/A Noyau (MovePage::moveToInternal() ) Renommage de page vers une redirection
newusers autocreate 4::userid N/A Noyau (User::addNewUserLogEntry() ) When the user is automatically created (such as by CentralAuth)
byemail 4::userid N/A Noyau (User::addNewUserLogEntry() ) When the created user will receive its password by email
create 4::userid N/A Noyau (User::addNewUserLogEntry() ) For an anonymous user creating an account for themself
create2 4::userid N/A Noyau (User::addNewUserLogEntry() ) 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 Noyau (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 Noyau (PatrolLog::record() ) Marquer une révision comme patrouillée
autopatrol curid (i.e. current revision ID), previd (i.e. parent revision ID) N/A Noyau (PatrolLog::record() ) Patrouillage automatique d'une révision
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 Noyau (WikiPage::doUpdateRestrictions() ) Modification de la protection d'une page protégée
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 Noyau (WikiPage::doUpdateRestrictions() ) Protéger une page non protégée
unprotect N/A N/A Noyau (WikiPage::doUpdateRestrictions() ) Déprotection de page
rights rights 4::oldgroups, 5::newgroups N/A Noyau (UserrightsPage::addLogEntry() ) Modification des groupes utilisateur
upload overwrite img_sha1, img_timestamp N/A Noyau (LocalFile::recordUpload2() ) Téléversement multiple d'un fichier
upload img_sha1, img_timestamp N/A Noyau (LocalFile::recordUpload2() ) Téléversement de fichier

Actions

Contenu étendu
MariaDB [enwiki_p]> SELECT DISTINCT log_action FROM logging ORDER BY log_action;
+--------------------+
| log_action         |
+--------------------+
| NULL               |
|                    |
| add                |
| approve            |
| approve-a          |
| approve-i          |
| approve-ia         |
| archive            |
| autocreate         |
| autoflag           |
| autohide           |
| block              |
| byemail            |
| clear-flags        |
| config             |
| create             |
| create2            |
| delete             |
| dwhitelist         |
| event              |
| failure            |
| feature            |
| feedback           |
| flag               |
| flow-close-topic   |
| flow-delete-post   |
| flow-delete-topic  |
| flow-restore-post  |
| flow-restore-topic |
| groupprms2         |
| helpful            |
| hide               |
| hit                |
| inappropriate      |
| interwiki          |
| merge              |
| modify             |
| move               |
| move_prot          |
| move_redir         |
| newusers           |
| noaction           |
| overwrite          |
| patrol             |
| profilesave        |
| protect            |
| reblock            |
| remove             |
| renameuser         |
| reset              |
| resolve            |
| restore            |
| review             |
| reviewed           |
| revision           |
| rights             |
| selfadd            |
| selfremove         |
| send               |
| setstatus          |
| skipbadns          |
| skipnouser         |
| skipoptout         |
| tag                |
| thank              |
| unapprove          |
| unarchive          |
| unblock            |
| undelete           |
| undo-helpful       |
| undo-unhelpful     |
| unfeature          |
| unflag             |
| unhelpful          |
| unhide             |
| uninappropriate    |
| unnoaction         |
| unprotect          |
| unresolve          |
| unreview           |
| unreviewed         |
| update             |
| upload             |
| usergroups         |
| whitelist          |
+--------------------+

Types et actions

Contenu étendu
MariaDB [enwiki_p]> SELECT DISTINCT log_type, log_action FROM logging ORDER BY log_type, log_action;
+---------------------+--------------------+
| log_type            | log_action         |
+---------------------+--------------------+
|                     |                    |
| abusefilter         | modify             |
| articlefeedbackv5   | archive            |
| articlefeedbackv5   | autoflag           |
| articlefeedbackv5   | autohide           |
| articlefeedbackv5   | clear-flags        |
| articlefeedbackv5   | create             |
| articlefeedbackv5   | feature            |
| articlefeedbackv5   | flag               |
| articlefeedbackv5   | helpful            |
| articlefeedbackv5   | hide               |
| articlefeedbackv5   | inappropriate      |
| articlefeedbackv5   | noaction           |
| articlefeedbackv5   | protect            |
| articlefeedbackv5   | resolve            |
| articlefeedbackv5   | unarchive          |
| articlefeedbackv5   | undo-helpful       |
| articlefeedbackv5   | undo-unhelpful     |
| articlefeedbackv5   | unfeature          |
| articlefeedbackv5   | unflag             |
| articlefeedbackv5   | unhelpful          |
| articlefeedbackv5   | unhide             |
| articlefeedbackv5   | uninappropriate    |
| articlefeedbackv5   | unnoaction         |
| articlefeedbackv5   | unresolve          |
| block               | NULL               |
| block               | block              |
| block               | reblock            |
| block               | unblock            |
| campus              | add                |
| campus              | profilesave        |
| campus              | remove             |
| campus              | selfadd            |
| campus              | selfremove         |
| close               | flow-close-topic   |
| close               | flow-restore-topic |
| course              | add                |
| course              | remove             |
| course              | undelete           |
| course              | update             |
| delete              | NULL               |
| delete              | delete             |
| delete              | event              |
| delete              | flow-delete-post   |
| delete              | flow-delete-topic  |
| delete              | flow-restore-post  |
| delete              | flow-restore-topic |
| delete              | restore            |
| delete              | revision           |
| eparticle           | add                |
| eparticle           | remove             |
| eparticle           | review             |
| eparticle           | selfadd            |
| eparticle           | selfremove         |
| eparticle           | unreview           |
| gblblock            | dwhitelist         |
| gblblock            | whitelist          |
| gblrights           | groupprms2         |
| gblrights           | usergroups         |
| globalauth          | delete             |
| globalauth          | setstatus          |
| import              | interwiki          |
| import              | upload             |
| institution         | add                |
| institution         | remove             |
| institution         | update             |
| instructor          | add                |
| instructor          | remove             |
| instructor          | selfadd            |
| instructor          | selfremove         |
| massmessage         | failure            |
| massmessage         | send               |
| massmessage         | skipbadns          |
| massmessage         | skipnouser         |
| massmessage         | skipoptout         |
| merge               | merge              |
| moodbar             | NULL               |
| moodbar             | delete             |
| moodbar             | feedback           |
| moodbar             | hide               |
| moodbar             | restore            |
| move                | NULL               |
| move                | move               |
| move                | move_redir         |
| newusers            | NULL               |
| newusers            | autocreate         |
| newusers            | byemail            |
| newusers            | create             |
| newusers            | create2            |
| newusers            | newusers           |
| online              | add                |
| online              | profilesave        |
| online              | selfadd            |
| online              | selfremove         |
| pagetriage-curation | NULL               |
| pagetriage-curation | delete             |
| pagetriage-curation | reviewed           |
| pagetriage-curation | tag                |
| pagetriage-curation | unreviewed         |
| pagetriage-deletion | NULL               |
| pagetriage-deletion | delete             |
| patrol              | NULL               |
| patrol              | patrol             |
| protect             | NULL               |
| protect             | modify             |
| protect             | move_prot          |
| protect             | protect            |
| protect             | unprotect          |
| renameuser          | NULL               |
| renameuser          | renameuser         |
| review              | approve            |
| review              | approve-a          |
| review              | approve-i          |
| review              | approve-ia         |
| review              | unapprove          |
| rights              | NULL               |
| rights              | rights             |
| spamblacklist       | hit                |
| stable              | config             |
| stable              | modify             |
| stable              | reset              |
| student             | NULL               |
| student             | add                |
| student             | remove             |
| student             | selfadd            |
| student             | selfremove         |
| thanks              | NULL               |
| thanks              | thank              |
| upload              | NULL               |
| upload              | overwrite          |
| upload              | upload             |
+---------------------+--------------------+

Apparemment obsolète

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

Voir aussi