Last modified: 2014-09-24 01:21:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T34020, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32020 - Improve messages output by the database updaters
Improve messages output by the database updaters
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.20.x
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
: easy, patch, patch-reviewed
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-10-28 17:11 UTC by Sam Reed (reedy)
Modified: 2014-09-24 01:21 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
improved updater output messages (4.62 KB, patch)
2011-11-07 19:29 UTC, David Baumgarten
Details
improved updater output messages (1.14 KB, patch)
2014-03-23 07:22 UTC, Rahul Mishra
Details

Description Sam Reed (reedy) 2011-10-28 17:11:33 UTC
Per Nikerabbit on http://www.mediawiki.org/wiki/Special:Code/MediaWiki/101079#c25074

"So if the table doesn't exist, the only output is "...foo doesn't exist.". That's quite weird and ambiguous I think."

We should update the updater functions so full lines (sentences, even) are output, rather than full in some cases, half in others
Comment 1 David Baumgarten 2011-11-07 19:29:29 UTC
Created attachment 9372 [details]
improved updater output messages
Comment 2 David Baumgarten 2011-11-07 19:30:03 UTC
Hello,

i've changed the updater functions and now the Output looks like this:
"Dropping table foo... foo doesn't exist, skipping drop table"
i've also changed the dropfield,addTable,etc functions that the output full lines
Comment 3 Sumana Harihareswara 2011-11-08 11:51:11 UTC
David, thank you for the patch.  I am asking developers to review it.  Chad Horohoe said that he hasn't had time to write up a reply to you, but that we can't take your patch as it is right now, since doing it the way the patch proposes would undo another bugfix.  I'm going to get someone to give you an actually *informative* review as soon as possible.  Thanks again.
Comment 4 Sam Reed (reedy) 2011-11-19 17:48:34 UTC
r103691

Thanks
Comment 5 Antoine "hashar" Musso (WMF) 2011-11-22 13:29:36 UTC
change reverted by r103892 because of bug 32508 "too many update messages even though nothing happens"
Comment 6 Rahul Mishra 2014-03-23 07:22:51 UTC
Created attachment 14882 [details]
improved updater output messages
Comment 7 Andre Klapper 2014-03-23 13:24:39 UTC
Hi Rahul! Thanks for your patch! 
Patches must go to Gerrit instead of Bugzilla though.

You are welcome to use Developer access
  https://www.mediawiki.org/wiki/Developer_access
to submit this as a Git branch directly into Gerrit:
  https://www.mediawiki.org/wiki/Git/Tutorial

If you don't want to set up Git/Gerrit, you can also use https://tools.wmflabs.org/gerrit-patch-uploader/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links