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

           Summary: Enhance error message for Special:Upload to navigate
                    disallowed users to proper place
           Product: MediaWiki
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Special pages
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: dann...@email.cz


If user has no upload rights and there is other uploadUrl defined, there should
be some better message served than the shared one saying "The action you have
requested is limited to users in the group: <group>".

Preferably something like:

----
The action you have requested is limited to users in the group: <group>.
But you can try to upload to <a href="$uploadUrl">shared repository</a>.
----

Some wikis have uploadUrl pointing eg. to Help:Upload or Project:Upload though,
thus the message above should show something like:

----
The action you have requested is limited to users in the group: <group>.
<a href="$uploadUrl">Read more about uploading to this wiki.</a>
----


So in general the first line remains the same, the added one should consist of:
MediaWiki:Upload-error-link-text
 --- whatever appears in <a>...</a>
MediaWiki:Upload-error-text
 --- the message using $1 to insert the MediaWiki:Upload-error-link-text

Thus using the examples above it would be: 

MediaWiki:Upload-error-link-text
shared repository
MediaWiki:Upload-error-text
But you can try to upload to $1.

and

MediaWiki:Upload-error-link-text
Read more about uploading to this wiki.
MediaWiki:Upload-error-text
$1


The "Back to <previous_page>" should remain underneath.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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