Page MenuHomePhabricator

UX of update.php: if update.php fails, it must be extremely noticeable (shouldn't look as a harmless warning)
Open, Needs TriagePublic

Description

Problem: when users install extensions, they often don't pay attention to the fact that "update.php" just printed an error.

For example, consider the following output from update.php:

Could not find composer.lock file. Have you run "composer install --no-dev"?

... do non-experienced users know that this is a fatal error? No, they don't. As the result, they believe they already did the "run update.php" step, and they expect the extension to be installed.

Then they send bugreports to extension developers like "your extension doesn't work: says that SQL table [...] doesn't exist" (where it doesn't exist because update.php never got to its creation, but the user doesn't know that).

Possible solution: print REALLY LOUD AND NOTICEABLE error message when update.php fails for whatever reason.

Event Timeline

Change 471266 had a related patch set uploaded (by Edward Chernenko; owner: Edward Chernenko):
[mediawiki/core@master] UX of update.php: Scream bloody murder if update.php has failed

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

Change 471266 abandoned by Edward Chernenko:
UX of update.php: Scream bloody murder if update.php has failed

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