Page MenuHomePhabricator

MW-1.28-releaseRelease
ArchivedPublic

Members

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

Watchers (1)

Details

Description

For tasks which were important enough that they should block releases of MediaWiki 1.28.

MW-1.27-release   |   MW-1.29-release

Recent Activity

Sep 26 2022

aaron added a comment to T151833: maintenance/update.php complains about locked database when $wgReadOnly is set.

After I updated the instructions in that FAQ entry to include a version of the code above, including the check to preserve web-updater write access, I realized: The instructions tell the user to run the web updater in their new installation directory, before making it live. Which AFAICT isn't actually possible.

How are you supposed to access the updated version's web interface, when it hasn't been published to the web server yet? It's not as if you can run <new version>/mw-config/index.php from a file:/// URL.

I brought this up on the manual page's talk page as well. I really think the web updater is just not the proper tool for doing this style of low-disruption, online upgrade. People who want to use the web updater instead of update.php will probably just have to accept the tradeoff that it comes with some unavoidable downtime.

Sep 26 2022, 6:19 PM · MW-1.28-release, MediaWiki-Installer, Regression
aaron added a comment to T151833: maintenance/update.php complains about locked database when $wgReadOnly is set.

@aaron : Actually, testing locally I'm getting an error in the PHP logs, with is_defined():

[24-Sep-2022 23:46:37 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function is_defined() in /var/www/wiki/LocalSettings.php:190
Stack trace:
#0 /usr/share/mediawiki/includes/Setup.php(204): require_once()
#1 /usr/share/mediawiki/includes/WebStart.php(93): require_once('...')
#2 /usr/share/mediawiki/index.php(44): require('...')
#3 {main}
  thrown in /var/www/wiki/LocalSettings.php on line 190

There's a defined(), but I'm not sure whether that has the same semantics.

EDIT: defined() seems to work as expected, so I'm going to assume that was the intended function to use in checking for MEDIAWIKI_INSTALL.

Sep 26 2022, 6:18 PM · MW-1.28-release, MediaWiki-Installer, Regression

Sep 25 2022

FeRDNYC added a comment to T151833: maintenance/update.php complains about locked database when $wgReadOnly is set.

After I updated the instructions in that FAQ entry to include a version of the code above, including the check to preserve web-updater write access, I realized: The instructions tell the user to run the web updater in their new installation directory, before making it live. Which AFAICT isn't actually possible.

Sep 25 2022, 1:49 AM · MW-1.28-release, MediaWiki-Installer, Regression

Sep 24 2022

FeRDNYC added a comment to T151833: maintenance/update.php complains about locked database when $wgReadOnly is set.

@aaron : Actually, testing locally I'm getting an error in the PHP logs, with is_defined():

Sep 24 2022, 11:53 PM · MW-1.28-release, MediaWiki-Installer, Regression
FeRDNYC added a comment to T151833: maintenance/update.php complains about locked database when $wgReadOnly is set.

Brilliant, thanks! Is there any issue with splitting it up into two lines (actually, two statements on three lines) like this, for readability?

Sep 24 2022, 7:20 PM · MW-1.28-release, MediaWiki-Installer, Regression

Sep 22 2022

aaron added a comment to T151833: maintenance/update.php complains about locked database when $wgReadOnly is set.

You could do:

$wgReadOnly = ( PHP_SAPI === 'cli' || is_defined( 'MEDIAWIKI_INSTALL' ) ) ? false : 'This wiki is currently being upgraded to a newer software version.';
Sep 22 2022, 12:19 AM · MW-1.28-release, MediaWiki-Installer, Regression

Sep 7 2022

FeRDNYC added a comment to T151833: maintenance/update.php complains about locked database when $wgReadOnly is set.

Apologies for dredging this up, I just wanted to ask one point of clarification on the code @aaron
provided above:

Sep 7 2022, 6:57 PM · MW-1.28-release, MediaWiki-Installer, Regression

Apr 16 2022

Restricted Application added a project to T148628: 1.28-alpha / Error: 42P07 ERROR: relation "logging_log_id_seq" already exists: Performance-Team.

Today I was unable to rename a page. It was trying to insert into the logging table but that failed because log_id is NOT NULL but no default was set. I suspect it was caused by the same thing as my comment above, the wrong schema making some updates fail. (I rarely move pages, so I wouldn't notice until now.) The fix was this:

Apr 16 2022, 4:25 PM · Performance-Team, PostgreSQL, MW-1.29-release-notes, MW-1.28-release-notes, MW-1.29-release (WMF-deploy-2016-11-08_(1.29.0-wmf.2)), Patch-For-Review, MW-1.28-release, Regression, MediaWiki-libs-Rdbms

Apr 25 2020

Lkmorlan added a comment to T148628: 1.28-alpha / Error: 42P07 ERROR: relation "logging_log_id_seq" already exists.

Solved: In my case, several sequences, functions, and a type where in schema "mediawiki" while the rest was in schema "public". I moved everything to "public" and the update script worked perfectly. Example commands:

Apr 25 2020, 4:36 PM · Performance-Team, PostgreSQL, MW-1.29-release-notes, MW-1.28-release-notes, MW-1.29-release (WMF-deploy-2016-11-08_(1.29.0-wmf.2)), Patch-For-Review, MW-1.28-release, Regression, MediaWiki-libs-Rdbms

Apr 3 2020

Krinkle moved T151833: maintenance/update.php complains about locked database when $wgReadOnly is set from General to CLI on the MediaWiki-Installer board.
Apr 3 2020, 2:59 PM · MW-1.28-release, MediaWiki-Installer, Regression

Mar 8 2020

ReleaseTaggerBot added a project to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues: MW-1.35-notes (1.35.0-wmf.23; 2020-03-10).
Mar 8 2020, 9:00 PM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
gerritbot added a comment to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues.

Change 578056 merged by jenkins-bot:
[mediawiki/core@master] Remove check for vulnerable PHPUnit version

Mar 8 2020, 8:23 PM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
gerritbot added a comment to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues.

Change 578056 had a related patch set uploaded (by Daimona Eaytoy; owner: Daimona Eaytoy):
[mediawiki/core@master] Remove check for vulnerable PHPUnit version

Mar 8 2020, 5:40 PM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release

Sep 26 2019

sbassett moved T168823: Tracking bug for 1.27.4/1.28.3/1.29.2 security releases from Pending deployment / release to Done on the acl*security board.
Sep 26 2019, 2:30 PM · Security, MW-1.28-release, MW-1.30-release, MW-1.29-release, MW-1.27-release
Phabricator_maintenance removed a parent task for T100085: PHP Notice: JobQueueGroup::__destruct: 1 buffered job(s) never inserted: T41480: [DO NOT USE] Issues affecting translatewiki.net [superseded by #affects-translatewiki.net].
Sep 26 2019, 1:57 PM · affects-translatewiki.net, MW-1.29-release-notes, MW-1.30-release-notes, MW-1.28-release, Wikimedia-production-error, Performance-Team, MW-1.27-release, MW-1.29-release, MediaWiki-Core-JobQueue
Phabricator_maintenance removed a parent task for T151523: Unexpected output from Pygments encountered: T41480: [DO NOT USE] Issues affecting translatewiki.net [superseded by #affects-translatewiki.net].
Sep 26 2019, 1:56 PM · affects-translatewiki.net, MW-1.28-release, MW-1.27-release, MW-1.29-release (WMF-deploy-2017-01-24_(1.29.0-wmf.9)), Patch-For-Review, HHVM, SyntaxHighlight

Jul 18 2019

Krinkle edited projects for T151833: maintenance/update.php complains about locked database when $wgReadOnly is set, added: MW-1.28-release; removed MediaWiki-libs-Rdbms.
Jul 18 2019, 8:29 PM · MW-1.28-release, MediaWiki-Installer, Regression

Jun 30 2019

Lkmorlan added a comment to T148628: 1.28-alpha / Error: 42P07 ERROR: relation "logging_log_id_seq" already exists.

I am seeing this error upgrading from 1.27 LTS to 1.31 LTS. PHP 7.2, PostgreSQL 9.6.14.

Jun 30 2019, 6:59 PM · Performance-Team, PostgreSQL, MW-1.29-release-notes, MW-1.28-release-notes, MW-1.29-release (WMF-deploy-2016-11-08_(1.29.0-wmf.2)), Patch-For-Review, MW-1.28-release, Regression, MediaWiki-libs-Rdbms

May 29 2019

Krinkle moved T100085: PHP Notice: JobQueueGroup::__destruct: 1 buffered job(s) never inserted from Dec2019/1.35.wmf.10+ to Resolved on the Wikimedia-production-error board.
May 29 2019, 4:01 PM · affects-translatewiki.net, MW-1.29-release-notes, MW-1.30-release-notes, MW-1.28-release, Wikimedia-production-error, Performance-Team, MW-1.27-release, MW-1.29-release, MediaWiki-Core-JobQueue

Nov 23 2018

Liuxinyu970226 moved T122754: Pre MW 1.21 deprecation cleanup from Tag to Transition completed / Archived on the Tracking-Neverending board.
Nov 23 2018, 12:42 PM · MW-1.29-release, MW-1.28-release, Technical-Debt, MW-1.27-release-notes, Tracking-Neverending, MediaWiki-General

Sep 19 2018

Krinkle closed T122754: Pre MW 1.21 deprecation cleanup as Resolved.
Sep 19 2018, 7:53 PM · MW-1.29-release, MW-1.28-release, Technical-Debt, MW-1.27-release-notes, Tracking-Neverending, MediaWiki-General
Krinkle edited projects for T122754: Pre MW 1.21 deprecation cleanup, added: MW-1.28-release, MW-1.29-release; removed MW-1.28-release-notes.
Sep 19 2018, 7:53 PM · MW-1.29-release, MW-1.28-release, Technical-Debt, MW-1.27-release-notes, Tracking-Neverending, MediaWiki-General

Apr 19 2018

Reedy closed T192587: phpcs fail under REL1_28 as Declined.

Meh, just abandon the patches then :)

Apr 19 2018, 7:45 PM · MW-1.28-release
Jdforrester-WMF added a comment to T192587: phpcs fail under REL1_28.

We don't do REL1_28 releases any more, do we? 1_27 for the next year, 1_29 for the next couple of months, and 1_30 'til the end of the calendar year. So maybe the jobs aren't properly configured for it?

Apr 19 2018, 7:45 PM · MW-1.28-release
Reedy updated the task description for T192587: phpcs fail under REL1_28.
Apr 19 2018, 7:31 PM · MW-1.28-release
Reedy created T192587: phpcs fail under REL1_28.
Apr 19 2018, 7:25 PM · MW-1.28-release

Apr 18 2018

Krinkle set the color for MW-1.28-release to Red.
Apr 18 2018, 6:01 PM

Apr 3 2018

ReleaseTaggerBot added a project to T140587: web configuration does not properly detect apcu: MW-1.31-release-notes (WMF-deploy-2018-04-03 (1.31.0-wmf.28)).
Apr 3 2018, 1:00 PM · MW-1.31-release-notes (WMF-deploy-2018-04-03 (1.31.0-wmf.28)), MW-1.28-release-notes, MW-1.28-release, MW-1.27-release, Patch-For-Review, [DO NOT USE] NewPHP, MediaWiki-libs-BagOStuff, MediaWiki-Documentation, Documentation, MediaWiki-Installer
gerritbot added a comment to T140587: web configuration does not properly detect apcu.

Change 423650 merged by jenkins-bot:
[mediawiki/core@master] tests: fix PHPUnit @requires for APCU

Apr 3 2018, 12:36 PM · MW-1.31-release-notes (WMF-deploy-2018-04-03 (1.31.0-wmf.28)), MW-1.28-release-notes, MW-1.28-release, MW-1.27-release, Patch-For-Review, [DO NOT USE] NewPHP, MediaWiki-libs-BagOStuff, MediaWiki-Documentation, Documentation, MediaWiki-Installer
gerritbot removed a project from T140587: web configuration does not properly detect apcu: MW-1.28-release (WMF-deploy-2016-10-04_(1.28.0-wmf.21)).
Apr 3 2018, 8:35 AM · MW-1.31-release-notes (WMF-deploy-2018-04-03 (1.31.0-wmf.28)), MW-1.28-release-notes, MW-1.28-release, MW-1.27-release, Patch-For-Review, [DO NOT USE] NewPHP, MediaWiki-libs-BagOStuff, MediaWiki-Documentation, Documentation, MediaWiki-Installer
gerritbot added a comment to T140587: web configuration does not properly detect apcu.

Change 423650 had a related patch set uploaded (by Hashar; owner: Hashar):
[mediawiki/core@master] tests: fix PHPUnit @requires for APCU

Apr 3 2018, 8:35 AM · MW-1.31-release-notes (WMF-deploy-2018-04-03 (1.31.0-wmf.28)), MW-1.28-release-notes, MW-1.28-release, MW-1.27-release, Patch-For-Review, [DO NOT USE] NewPHP, MediaWiki-libs-BagOStuff, MediaWiki-Documentation, Documentation, MediaWiki-Installer

Jan 31 2018

demon closed T164470: Patch for 1.27.3/1.28.2 missing as Resolved.

Verified, gzip'd, signed and uploaded the patch, thanks for submitting it! Sorry for the confusion around having two separate patches for this.

Jan 31 2018, 11:14 PM · Release-Engineering-Team (Kanban), RelEng-Archive-FY201718-Q1, MW-1.28-release, MediaWiki-Releasing, MW-1.27-release

Jan 29 2018

GregariousJB reopened T164470: Patch for 1.27.3/1.28.2 missing as "Open".

This is not resolved yet, and is so broken that I'm increasing its priority due to the fact that it is currently stopping users from being able to upgrade their wikis according to the simple "Using Patch" documentation. Forcibly upgrading by replacing all files is still an option but not recommended according to Mediawiki.

Jan 29 2018, 12:03 AM · Release-Engineering-Team (Kanban), RelEng-Archive-FY201718-Q1, MW-1.28-release, MediaWiki-Releasing, MW-1.27-release

Dec 12 2017

demon archived MW-1.28-release.
Dec 12 2017, 12:46 AM

Nov 29 2017

Bawolff closed T180232: Document to run composer with `--no-dev`, a subtask of T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues, as Resolved.
Nov 29 2017, 7:24 PM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
Reedy closed T180233: Set `no-dev` as the default config in composer.json, a subtask of T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues, as Declined.
Nov 29 2017, 1:12 PM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release

Nov 20 2017

Aklapper added a project to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues: MediaWiki-Maintenance-system.
Nov 20 2017, 9:58 PM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
Foxtrott added a comment to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues.

Done.
Would be great if somebody could suggest a way how the "skin there [can] be fixed somehow to not have web-loaded resources in the vendor directory". Preferably without dumping Composer entirely.

Nov 20 2017, 8:12 PM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
Legoktm closed T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues as Resolved.

MediaWiki currently doesn't require vendor/ to be web accessible, so I suspect that your skin wouldn't work for many people already. In the meantime you can just write whatever you want in the vendor/.htaccess file and MediaWiki won't overwrite it, it just has to exist. @Foxtrott could you file a new issue for this? I'm not really sure about how to support this case, as we don't have anything in place yet for frontend assets (T107561: MediaWiki support for Composer equivalent for JavaScript packages).

Nov 20 2017, 6:38 PM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
Legoktm closed T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues, a subtask of T168823: Tracking bug for 1.27.4/1.28.3/1.29.2 security releases, as Resolved.
Nov 20 2017, 6:38 PM · Security, MW-1.28-release, MW-1.30-release, MW-1.29-release, MW-1.27-release
Anomie added a comment to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues.

I'll let someone else make the final decision, but I'm pretty sure the answer is going to be that your skin there needs to be fixed somehow to not have web-loaded resources in the vendor directory.

Nov 20 2017, 5:20 PM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
Foxtrott reopened T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues as "Open".

The applied patch also blocks legitimate file access, e.g. to style files, fonts, etc. See https://github.com/cmln/chameleon/issues/55

Nov 20 2017, 1:30 PM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
Foxtrott reopened T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues, a subtask of T168823: Tracking bug for 1.27.4/1.28.3/1.29.2 security releases, as Open.
Nov 20 2017, 1:30 PM · Security, MW-1.28-release, MW-1.30-release, MW-1.29-release, MW-1.27-release

Nov 15 2017

ReleaseTaggerBot added a project to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues: MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)).
Nov 15 2017, 4:01 AM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
gerritbot added a comment to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues.

Change 391453 merged by Reedy:
[mediawiki/core@master] SECURITY: update.php: Remove eval-stdin.php if necessary

Nov 15 2017, 3:20 AM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
ReleaseTaggerBot added projects to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues: MW-1.30-release-notes, MW-1.29-release-notes.
Nov 15 2017, 1:01 AM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
gerritbot added a project to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues: Patch-For-Review.
Nov 15 2017, 12:59 AM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
gerritbot added a comment to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues.

Change 391453 had a related patch set uploaded (by Reedy; owner: Legoktm):
[mediawiki/core@master] SECURITY: update.php: Remove eval-stdin.php if necessary

Nov 15 2017, 12:59 AM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
gerritbot added a comment to T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues.

Change 391414 merged by Ejegg:
[mediawiki/core@fundraising/REL1_27] update.php: Remove eval-stdin.php if necessary

Nov 15 2017, 12:56 AM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release
Reedy changed the visibility for T180231: MW 1.27 and 1.28 require-dev versions of phpunit with known security issues.
Nov 15 2017, 12:05 AM · MW-1.35-notes (1.35.0-wmf.23; 2020-03-10), Security, MediaWiki-Maintenance-system, MW-1.31-release-notes (WMF-deploy-2017-11-28 (1.31.0-wmf.10)), MW-1.29-release-notes, MW-1.30-release-notes, Patch-For-Review, MW-1.28-release, MW-1.27-release