Last modified: 2013-09-04 11:47:21 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 T35135, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33135 - Viewing a restricted page/form doesn't ask the user to log in
Viewing a restricted page/form doesn't ask the user to log in
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
Page protection (Other open bugs)
1.17.x
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-14 22:19 UTC by M8R-1omeu9
Modified: 2013-09-04 11:47 UTC (History)
1 user (show)

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


Attachments

Description M8R-1omeu9 2011-12-14 22:19:59 UTC
(This is a refiling of https://bugzilla.wikimedia.org/show_bug.cgi?id=33132
The developer there said that the relevant message was hard-coded into MediaWiki, so that I should post here.)

When someone who isn't logged in goes to edit a page on our wiki, they see this:

> You do not have permission to edit this page, for the following reasons:

>    * The action you have requested is limited to users in the group: Users.
>    * You do not have permission to edit pages in the Page namespace.

This default text isn't perfect for all situations, because when a user clicks the "submit a bug" button on our wiki, they are taken to a Special:FormEdit page (which is used as part of a SMW extension.) If they are not logged in, then they see this text:


> You do not have permission to edit this page, for the following reason:

> The action you have requested is limited to users in the group: Users.


It would be nice if a there was text and a link that invited the user to log in
or sign up for an account, or a redirect to the login page, especially if that
page is editable by a normal user.


Thanks!
Comment 1 Mark A. Hershberger 2011-12-21 06:32:27 UTC
See [[MediaWiki:Namespaceprotected]] for the "You do not have permission to edit pages in the Page namespace." message.

See [[MediaWiki:badaccess-groups]] for the "The action you have requested is limited to users in the group: Users." message.

See [[MediaWiki:permissionserrorstext-withaction]] for "You do not have permission to edit this page, for the following reasons:" message.

Feel free to add a link to any of those messages on your own wiki.

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


Navigation
Links