Web browser: ---
            Bug ID: 59200
           Summary: permissionserrorstext-withaction produces an erroneous
                    message when used with action-createpage in some
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Internationalization
    Classification: Unclassified
   Mobile Platform: ---

The default English value of [[MediaWiki:Permissionserrorstext-withaction]] is
"You do not have permission to $2, for the following reasons:", and the default
value of [[MediaWiki:Action-createpage]] is "create pages". When a user tries
to create a page but they don't have the correct permissions, these messages
are used together to make "You do not have permission to create pages, for the
following reasons:".

However, this message is not true for registered users who try to edit a
create-protected page. They do have the permission to create pages in general,
they just don't have the permission to create that particular page. (That is,
unless that particular wiki disallows page creation by non-admin users, or
something else funky like that.)

For example, go to this link as a registered non-admin user:

That will show the message above, but it is still possible to create other
pages on testwiki.

Also, on most Wikimedia wikis IPs are allowed to create talk pages, and on
enwiki they are allowed to create drafts, which means the message isn't really
true for them either.

I see two possible fixes, depending on whether action-createpage is used in
messages other than permissionserrorstext-withaction. If it isn't, we can just
change action-createpage to "create this page". If it is, we may need to create
a new message to use with permissionserrorstext-withaction. 

I've brought this up on enwiki's village pump too, but no responses so far:

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to