Page MenuHomePhabricator

Make Special:EditPage/Special:Random/SecurePoll Valid on Test Wikipedia
Closed, InvalidPublic

Description

An attempt to edit any page in the SecurePoll namespace shows the error message "No such action." However, it should say something like:

You do not have permission to change pages in the SecurePoll namespace.

Can someone please help with this?

Event Timeline

What would be the usecase of something like that? Is this something people are intending to use in some kind of workflow?

DannyS712 added subscribers: Tgr, DannyS712.

See T264476: SecurePollContentHandler::getActionOverrides results in broken links - the edit action is disabled for pages in the secure poll namespace, even if you do have permission to change the pages

Not that I know of, but it still needs fixing, because the "/w/index.php?title=$1&action=edit" is a valid URL for almost all namespaces. For Special pages, it would just take you to the special page and doesn't show the page source. It should do something like that, or say that you don't have permission to edit pages in this namespace. "No such action" is an incorrect message, because "/w/index.php?title=$1&action=edit" is a valid URL.

User:DannyS712, never mind, I will go ahead and look at the task you posted. You can ignore my previous comment.

Hi @WhiteWalnut17, thanks for taking the time to report this and welcome to Wikimedia Phabricator! For future reference, please follow https://www.mediawiki.org/wiki/How_to_report_a_bug before creating a ticket. Thanks.