Page MenuHomePhabricator

Special:MergeItems error message should be improved
Closed, ResolvedPublic

Description

When there is an error on merging an item using Special:MergeItems it currently only shows you the API error message. Add a text before that error message saying something like "The items could not be merged. The following error occurred:".


Version: master
Severity: minor
Whiteboard: papercut

Details

Reference
bz61665

Event Timeline

indiana.264 wrote:

I would like to work on this bug.Could u please assign this to me?

(In reply to Nandini Velam from comment #1)

I would like to work on this bug.Could u please assign this to me?

Prepare the patch
http://www.mediawiki.org/wiki/Gerrit/Tutorial

karandev43 wrote:

Still, no patch has been created for the bug.
Could you please assign it to me. I want to work on it.

(In reply to karan from comment #3)

Still, no patch has been created for the bug.
Could you please assign it to me. I want to work on it.

Prepare the patch! Please note that getting the bug assigned is not necessary in submitting the patch.

Just to correct the first description of this bug.
The bug does not lie in the API. The Api messages do not need to be changed as the SpecialPage does not get the messages from or infact use the API at all!

the bug instead lies on SpecialMergeitems on lines 156 ish
Thus the messages are in the ChangeOpsMerge class!

Change 120327 had a related patch set uploaded by Kushal124:
Improve error message for Special:MergeItems

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

Change 120327 merged by Addshore:
Improve error message for Special:MergeItems

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