https://bugzilla.wikimedia.org/show_bug.cgi?id=59200

       Web browser: ---
            Bug ID: 59200
           Summary: permissionserrorstext-withaction produces an erroneous
                    message when used with action-createpage in some
                    situations
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Internationalization
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: stradb...@gmail.com
                CC: alolita.sha...@gmail.com, asha...@wikimedia.org,
                    kartik.mis...@gmail.com, niklas.laxst...@gmail.com,
                    run...@gmail.com, s.mazel...@xs4all.nl
    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:
https://test.wikipedia.org/w/index.php?title=This_is_just_a_test&action=edit

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:
[[WP:VPT#Action-createpage]].

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to