Page MenuHomePhabricator

MediaWiki-LogeventsComponent
ActivePublic

Watchers

  • This project does not have any watchers.
  • View All

Details

Description

The logging feature keep a record of on-wiki user actions. This includes the Special:Log user interface, the Logevents API, the code for reading/writing this data, and the logging database schema.

This component is part of the core MediaWiki software.

See also:

For tasks about MediaWiki software monitoring with log messages (LoggerFactory, wfDebugLog, etc), see MediaWiki-Debug-Logger.

Parent project: MediaWiki-General

Neueste Aktivität

Yesterday

Izno merged T371643: Fatal exception of type "Wikimedia\Rdbms\DBQueryTimeoutError" into T325062: Database error when trying to view user logs of user with many log events.
Fri, Aug 2, 2:42 AM · Wikimedia-Slow-DB-Query, Wikimedia-production-error, Performance Issue, MediaWiki-Logevents

Wed, Jul 31

nshahquinn-wmf closed T371157: Some new users do not have account creation log events as Declined.

@matej_suchanek thank you very much! I didn't realize that and that does seem to be a very big part of the puzzle.

Wed, Jul 31, 2:05 AM · MediaWiki-Engineering, Data-Persistence, MediaWiki-Logevents

Mon, Jul 29

matej_suchanek added a comment to T371157: Some new users do not have account creation log events.

Could it be accounts created by email? I.e. log_action = 'byemail'. Or log_action = 'create2', too.
In these cases, the actor is the user who creates the account, not the account created.
Try query for log_namespace = 2 AND log_title = REPLACE(user_name, ' ', '_') instead.

Mon, Jul 29, 12:47 PM · MediaWiki-Engineering, Data-Persistence, MediaWiki-Logevents
Marostegui edited projects for T371157: Some new users do not have account creation log events, added: Data-Persistence, MediaWiki-Engineering; removed DBA.
Mon, Jul 29, 7:54 AM · MediaWiki-Engineering, Data-Persistence, MediaWiki-Logevents

Sat, Jul 27

nshahquinn-wmf added a comment to T371157: Some new users do not have account creation log events.

It's possible this is expected behavior, but I couldn't find any documentation saying so.

Sat, Jul 27, 1:54 AM · MediaWiki-Engineering, Data-Persistence, MediaWiki-Logevents
nshahquinn-wmf created T371157: Some new users do not have account creation log events.
Sat, Jul 27, 1:52 AM · MediaWiki-Engineering, Data-Persistence, MediaWiki-Logevents

Sun, Jul 7

Dreamy_Jazz removed a subtask for T26620: Log entries are difficult to localize; convert old style logs to the new code: T99056: Improve GENDER support for checkuser logs.
Sun, Jul 7, 2:03 PM · Gender-Support, MediaWiki-Logevents, patch-welcome, I18n, MediaWiki-Internationalization

Sat, Jul 6

Pppery edited projects for T153322: Migrate CentralAuth to the current log formatter system, added: Patch-Needs-Improvement; removed Patch-For-Review.
Sat, Jul 6, 5:14 AM · Patch-Needs-Improvement, MW-1.38-notes (1.38.0-wmf.12; 2021-12-06), MediaWiki-Logevents, MediaWiki-extensions-CentralAuth

Jul 1 2024

Pppery added a project to T256706: Add a script to back fill missing user rights expirations: Patch-For-Review.
Jul 1 2024, 10:29 PM · Patch-For-Review, User-DannyS712, Platform Team Workboards (External Code Reviews), WMF-General-or-Unknown, MediaWiki-Logevents, MediaWiki-User-management

Jun 30 2024

Func closed T187518: Contributions of imported users can not be displayed, a subtask of T344978: Allow Special:Contributions and Special:Logs to filter entries by imported actors, as Resolved.
Jun 30 2024, 2:55 PM · MediaWiki-Logevents, MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), MediaWiki-Special-pages

Jun 21 2024

Aklapper changed the subtype of T368109: Use "redirect=no" for redirects in Special:Log/pagetriage-curation from "Task" to "Feature Request".
Jun 21 2024, 11:22 AM · Moderator-Tools-Team, MediaWiki-Logevents, PageTriage

Jun 20 2024

GTrang updated the task description for T368109: Use "redirect=no" for redirects in Special:Log/pagetriage-curation.
Jun 20 2024, 8:46 PM · Moderator-Tools-Team, MediaWiki-Logevents, PageTriage
GTrang created T368109: Use "redirect=no" for redirects in Special:Log/pagetriage-curation.
Jun 20 2024, 8:45 PM · Moderator-Tools-Team, MediaWiki-Logevents, PageTriage

Jun 13 2024

brennen added a project to T354663: Exception "Language::sprintfDate: The timestamp should have 14 characters" attempting to view enwiki logs for User:ThisIsaTest: User-brennen.

Noting this still shows up in 1.43.0-wmf.9.

Jun 13 2024, 3:18 PM · User-brennen, Unstewarded-production-error, MediaWiki-Blocks, MediaWiki-Logevents, Wikimedia-production-error
brennen moved T354663: Exception "Language::sprintfDate: The timestamp should have 14 characters" attempting to view enwiki logs for User:ThisIsaTest from Backlog to Logs/Train on the User-brennen board.
Jun 13 2024, 3:17 PM · User-brennen, Unstewarded-production-error, MediaWiki-Blocks, MediaWiki-Logevents, Wikimedia-production-error

Jun 3 2024

JJMC89 removed 1 task(s) for M285: User rights log: diff format via script: T366433: CentralAuth tests broken unless you run them inside Quibble.
Jun 3 2024, 1:46 AM · User-DannyS712, MediaWiki-User-management, MediaWiki-Logevents
OKJ04 added 1 task(s) for M285: User rights log: diff format via script: T366433: CentralAuth tests broken unless you run them inside Quibble.
Jun 3 2024, 1:36 AM · User-DannyS712, MediaWiki-User-management, MediaWiki-Logevents

May 28 2024

Jdlrobson edited projects for T313705: Chrome: Long URLS are not broken on Special:Log page on all skins, added: Desktop Improvements (Vector 2022) (Tracking); removed Desktop Improvements (Vector 2022).
May 28 2024, 9:00 PM · Desktop Improvements (Vector 2022) (Tracking), MediaWiki-Logevents, Web-Team-Backlog, MediaWiki-Special-pages

May 11 2024

Func closed T266480: Extension should not create LogPager, use LogEventsList::showLogExtract or custom select query instead as Resolved.
May 11 2024, 6:58 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Growth-Team, MediaWiki-extensions-Approved-Revs, GrowthExperiments, MediaWiki-Logevents
ashley removed projects from T266480: Extension should not create LogPager, use LogEventsList::showLogExtract or custom select query instead: Patch-For-Review, ArticleRatings.
May 11 2024, 5:05 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Growth-Team, MediaWiki-extensions-Approved-Revs, GrowthExperiments, MediaWiki-Logevents
gerritbot added a comment to T266480: Extension should not create LogPager, use LogEventsList::showLogExtract or custom select query instead.

Change #936823 merged by Jack Phoenix:

[mediawiki/extensions/ArticleRatings@master] SpecialChangeRating: Use showLogExtract() instead of LogPager

https://gerrit.wikimedia.org/r/936823

May 11 2024, 5:04 AM · MW-1.41-notes (1.41.0-wmf.25; 2023-09-05), Growth-Team, MediaWiki-extensions-Approved-Revs, GrowthExperiments, MediaWiki-Logevents

May 9 2024

Quiddity moved T237729: Special:Log -- "All public logs" is misleading. from In current Tech/News draft to Already announced/Archive on the User-notice board.
May 9 2024, 11:30 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, MediaWiki-Logevents

May 3 2024

ReleaseTaggerBot added a project to T237729: Special:Log -- "All public logs" is misleading.: MW-1.43-notes (1.43.0-wmf.4; 2024-05-07).
May 3 2024, 2:00 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, MediaWiki-Logevents
Trizek-WMF moved T237729: Special:Log -- "All public logs" is misleading. from To Triage to In current Tech/News draft on the User-notice board.
May 3 2024, 1:36 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, MediaWiki-Logevents
Trizek-WMF added a project to T237729: Special:Log -- "All public logs" is misleading.: User-notice.
May 3 2024, 1:35 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, MediaWiki-Logevents
Maintenance_bot removed a project from T237729: Special:Log -- "All public logs" is misleading.: Patch-For-Review.
May 3 2024, 1:30 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, MediaWiki-Logevents
gerritbot added a comment to T237729: Special:Log -- "All public logs" is misleading..

Change #993146 merged by jenkins-bot:

[mediawiki/core@master] i18n: Change default label of Special:Log, and entry in drop-down to 'Main'

https://gerrit.wikimedia.org/r/993146

May 3 2024, 1:11 PM · MW-1.43-notes (1.43.0-wmf.4; 2024-05-07), User-notice, MediaWiki-Logevents

May 1 2024

Pppery closed T146566: When a page is undeleted, store the ar_page_id of each undeleted revision in log_params as Declined.

Closing as task was created by a WMF-banned user in violation of their ban.

May 1 2024, 5:45 PM · MediaWiki-Logevents, MediaWiki-Page-deletion
Pppery closed T144878: Include the most recent page length in deletion log entries as Declined.

Closing as task was created by a WMF-banned user in violation of their ban.

May 1 2024, 5:43 PM · MediaWiki-Page-deletion, MediaWiki-Logevents
Pppery closed T147125: On page deletion, put the page_len in log_params as Declined.

Closing as task was created by a WMF-banned user in violation of their ban.

May 1 2024, 5:42 PM · MediaWiki-Logevents, MediaWiki-Page-deletion
Pppery closed T147125: On page deletion, put the page_len in log_params, a subtask of T144878: Include the most recent page length in deletion log entries, as Declined.
May 1 2024, 5:42 PM · MediaWiki-Page-deletion, MediaWiki-Logevents

Apr 30 2024

Pppery closed T115303: Expunge old AFTv5 log entries on WMF wikis, a subtask of T64722: Log entries generated by extensions that are later removed should still show title, as Declined.
Apr 30 2024, 6:17 PM · MW-1.41-notes (1.41.0-wmf.5; 2023-04-17), Patch-For-Review, Growth-Team, MediaWiki-Logevents

Apr 28 2024

Lejonel created T363636: Search logs by "logpage".
Apr 28 2024, 10:00 AM · MediaWiki-Logevents

Apr 23 2024

Tgr added a comment to T146628: Add IP range support to [[Special:Log]].

Block log entries put the IP range in the title (so the block target will be something like User:118.165.114.0/24). Special:Log uses LogPager::limitTitle() to filter blocks. That will result in a simple log_title = '<range>' condition. There is no way to make that work, a whole new storage mechanism would have to be invented. Probably convert IPs to a pure numeric notation, put that to log_search, use a separate starting number and ending number for ranges, have a maintenance script add that for existing log entries. Then we could use queries like log_search `start` LEFT JOIN log_search `end` ON start.ls_log_id = end.ls_log_id AND end.ls_field = 'ip_end' WHERE start.ls_field = 'ip_start' AND start.ls_value > '<range_start>' AND ( end.ls_field IS NULL OR end.ls_value < `<range_end>` ) - no idea if that would be workable performance-wise.

Apr 23 2024, 9:43 PM · MediaWiki-Logevents

Apr 9 2024

Urbanecm_WMF moved T359668: Translate should implement custom enotif notifications (or its replacement) for each log action, once that's supported from Inbox to Triaged on the Growth-Team board.
Apr 9 2024, 10:06 AM · Growth-Team, Notifications, MediaWiki-Logevents, MediaWiki-extensions-Translate

Apr 5 2024

matmarex closed T356468: Convert LogFormatter to use dependency injection as Resolved.
Apr 5 2024, 7:01 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), MediaWiki-Platform-Team, MediaWiki-Logevents, Dependency injection
matmarex removed a project from T356468: Convert LogFormatter to use dependency injection: Patch-For-Review.
Apr 5 2024, 7:00 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), MediaWiki-Platform-Team, MediaWiki-Logevents, Dependency injection
gerritbot added a comment to T356468: Convert LogFormatter to use dependency injection.

Change #995186 merged by jenkins-bot:

[mediawiki/core@master] logging: Hard-deprecate instantiating core loggers without DI

https://gerrit.wikimedia.org/r/995186

Apr 5 2024, 6:28 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), MediaWiki-Platform-Team, MediaWiki-Logevents, Dependency injection

Apr 4 2024

Pppery removed a project from T253717: Add a factory service for `ManualLogEntry` objects: Patch-Needs-Improvement.
Apr 4 2024, 4:45 AM · Platform Team Workboards (External Code Reviews), Dependency injection, MediaWiki-Logevents, User-DannyS712

Apr 3 2024

matmarex closed T344978: Allow Special:Contributions and Special:Logs to filter entries by imported actors as Resolved.

Probably all done. Anyone can always file another task if something isn't quite right.

Apr 3 2024, 7:00 PM · MediaWiki-Logevents, MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), MediaWiki-Special-pages
ReleaseTaggerBot edited projects for T356468: Convert LogFormatter to use dependency injection, added: MW-1.42-notes (1.42.0-wmf.26; 2024-04-09); removed MW-1.42-notes (1.42.0-wmf.25; 2024-04-02).
Apr 3 2024, 3:02 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), MediaWiki-Platform-Team, MediaWiki-Logevents, Dependency injection
Pppery added a project to T313705: Chrome: Long URLS are not broken on Special:Log page on all skins: MediaWiki-Logevents.
Apr 3 2024, 2:21 PM · Desktop Improvements (Vector 2022) (Tracking), MediaWiki-Logevents, Web-Team-Backlog, MediaWiki-Special-pages
Pppery added a comment to T344978: Allow Special:Contributions and Special:Logs to filter entries by imported actors.

Anything left to do here?

Apr 3 2024, 2:17 PM · MediaWiki-Logevents, MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), MediaWiki-Special-pages
Pppery added a project to T344978: Allow Special:Contributions and Special:Logs to filter entries by imported actors: MediaWiki-Logevents.
Apr 3 2024, 2:17 PM · MediaWiki-Logevents, MW-1.41-notes (1.41.0-wmf.28; 2023-09-26), MediaWiki-Special-pages
Pppery moved T349724: "limit=0" should mean "limit=0" on Special:Log, Special:Contributions, and page histories from To triage to Special:Contributions / Special:DeletedContributions on the MediaWiki-Special-pages board.
Apr 3 2024, 2:15 PM · MediaWiki-Special-pages, MediaWiki-Page-history, MediaWiki-Logevents
Pppery moved T356733: SQL query times out when searching Special:Log for a tag from Maintenance reports to To triage on the MediaWiki-Special-pages board.
Apr 3 2024, 2:13 PM · MediaWiki-Special-pages, MediaWiki-Logevents, Wikimedia-Slow-DB-Query, Wikimedia-production-error
Pppery moved T356733: SQL query times out when searching Special:Log for a tag from To triage to Maintenance reports on the MediaWiki-Special-pages board.
Apr 3 2024, 2:13 PM · MediaWiki-Special-pages, MediaWiki-Logevents, Wikimedia-Slow-DB-Query, Wikimedia-production-error

Apr 2 2024

matmarex moved T356468: Convert LogFormatter to use dependency injection from Inbox, needs triage to Current Sprint on the MediaWiki-Platform-Team board.
Apr 2 2024, 8:57 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), MediaWiki-Platform-Team, MediaWiki-Logevents, Dependency injection
matmarex added a project to T356468: Convert LogFormatter to use dependency injection: MediaWiki-Platform-Team.
Apr 2 2024, 8:57 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), MediaWiki-Platform-Team, MediaWiki-Logevents, Dependency injection
matmarex updated subscribers of T356468: Convert LogFormatter to use dependency injection.

@Umherirrender's alternative solution https://gerrit.wikimedia.org/r/c/mediawiki/core/+/1007438 means that we don't have to update every extension to accept services as LogFormatter constructor parameters, since they get injected by the LogFormatterFactory using setter methods.

Apr 2 2024, 7:51 PM · MW-1.42-notes (1.42.0-wmf.26; 2024-04-09), MediaWiki-Platform-Team, MediaWiki-Logevents, Dependency injection