Page MenuHomePhabricator

Add columns for CentralNotice log comments.
Closed, ResolvedPublic

Description

Author: andrew.green.df

Description:
Short description:

Add columns for CentralNotice log comments. These columns are only used by wikis configured in the "infrastructure" role ($wgNoticeInfrastructure = true).

Which wikis are affected:

Meta
testwiki

See: https://github.com/wikimedia/operations-mediawiki-config/blob/16ed94519edd17a8265d8ccc6ac7d38762f8a120/wmf-config/CommonSettings.php#L1454-1460

Which tables:

cn_template_log
cn_notice_log

What is the change to those tables:

For cn_template_log: add tmplog_comment column
For cn_notice_log: add notlog_comment column

Links to gerrit changes and/or other related bug reports.

https://gerrit.wikimedia.org/r/#/c/152145/
https://gerrit.wikimedia.org/r/#/c/154231/

The second Gerrit change corrects a mistake in the first (which made update.php fail when run on a DB that was already up-to-date).

Bug report requesting this feature: https://bugzilla.wikimedia.org/show_bug.cgi?id=31689


Version: unspecified
Severity: normal

Details

Reference
bz69654