Page MenuHomePhabricator

Special:CreateMassMessageList should check for "editcontentmodel" permission to display a nicer error
Closed, ResolvedPublic

Description

Otherwise it'll display a not-so-pretty API error.

Event Timeline

Legoktm created this task.Dec 3 2014, 8:04 PM
Legoktm raised the priority of this task from to Needs Triage.
Legoktm updated the task description. (Show Details)
Legoktm added a project: MassMessage.
Legoktm changed Security from none to None.
Legoktm added a project: good first task.
Legoktm added a subscriber: wctaiwan.
Legoktm added a subscriber: Legoktm.

API error? I looked at https://en.wikipedia.org/wiki/Special:CreateMassMessageList and I just get the standard "No such special page" error.

https://www.mediawiki.org/wiki/Special:CreateMassMessageList shows the form while logged in or logged out.

Try using https://www.mediawiki.org/wiki/Special:CreateMassMessageList in a non-admin account or logged out and attempt to create a new list. It should display an error.

gerritbot added a subscriber: gerritbot.

Change 185628 had a related patch set uploaded (by 01tonythomas):
Special:CreateMassMessageList should check for "editcontentmodel" permission

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

Patch-For-Review

Change 185628 merged by jenkins-bot:
Special:CreateMassMessageList should check for "editcontentmodel" permission

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

wctaiwan closed this task as Resolved.Jan 17 2015, 11:32 PM

Thanks for the patch.