Use loginnotify_seen_net table by default

Why:
* Because of schema changes being made in CheckUser, the cu_changes
  table will soon only contain rows for edit-like actions. Log
  events, including successful login attempts, will be stored to
  the cu_log_event and cu_private_event tables.
* As the integration with CheckUser is being removed, it does not
  make sense to add support to read data from these tables.
  Furthermore, the schema changes should not break LoginNotify
  which means that no changes are needed to prevent server errors.
* As such, making wikis use the loginnotify_seen_net table by
  default should mean that only third-party wikis which understand
  the deprecation would still continue to use the CheckUser
  integration.

What:
* Set wgLoginNotifyUseSeenTable as true and
  wgLoginNotifyUseCheckUser as false in extension.json

Bug: T362321
Change-Id: Ic1e81c547b6e7e3d012aa91c6bcd2e4b4d0913b5
这个提交包含在:
Dreamy Jazz 2024-04-11 12:58:03 +01:00
父节点 caa84fe162
当前提交 8afd8f865c

查看文件

@ -116,12 +116,12 @@
"value": 5184000
},
"LoginNotifyUseCheckUser": {
"description": "Use the CheckUser cu_changes table if it is available. This is redundant with LoginNotify's own table, available with MediaWiki 1.41. Setting this to true will be deprecated in a later release. Defaults to true temporarily during WMF pilot.",
"value": true
"description": "Use the CheckUser cu_changes table if it is available. This is redundant with LoginNotify's own table, available with MediaWiki 1.41. Since 1.43, setting this to true is deprecated and when set to true this method may be missing data due to CheckUser schema changes.",
"value": false
},
"LoginNotifyUseSeenTable": {
"description": "Use the loginnotify_seen_net table. This is redundant with LoginNotifyUseCheckUser although both can be enabled during migration. Defaults to false temporarily during WMF pilot.",
"value": false
"description": "Use the loginnotify_seen_net table. This is redundant with LoginNotifyUseCheckUser although both can be enabled during migration.",
"value": true
},
"LoginNotifyUseCentralId": {
"description": "Use central user IDs in the loginnotify_seen_net table. This should be set to true if the loginnotify_seen_net is in a shared database. CentralAuth should be installed and all users should be attached to it.",