MediaWiki talk:Badaccess-groups: Difference between revisions

From BoyWiki
Lysander (talk | contribs)
No edit summary
Lysander (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
<code><nowiki>The action you have requested is limited to users in {{PLURAL:$2|the group|one of the groups}}: $1.{{#ifeq: {{FULLPAGENAME}}|Special:Upload|<p>To request a file be added to the wiki, please add a new entry at [[Project:Requests for file uploads]].</p>}}</nowiki></code>
<code><nowiki>The action you have requested is limited to users in {{PLURAL:$2|the group|one of the groups}}: $1.{{#ifeq: {{FULLPAGENAME}}|Special:Upload|<p>To request a file be added to the wiki, please add a new entry at [[Project:Requests for file uploads]].</p>}}</nowiki></code>


[[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 16:58, 7 March 2015 (UTC)
We use the #ifeq statement because we want the file request instructions to show up at Special:Upload but nowhere else (for example, we don't want it to show up at [https://www.boywiki.org/en/index.php?title=MediaWiki_talk:Badaccess-groups&action=delete action=delete]). [[User:Leucosticte|Leucosticte]] ([[User talk:Leucosticte|talk]]) 16:58, 7 March 2015 (UTC)

Latest revision as of 18:54, 7 March 2015

So that this will inform users of their alternative options when they are prevented from personally uploading files, I recommend we change this to:

The action you have requested is limited to users in {{PLURAL:$2|the group|one of the groups}}: $1.{{#ifeq: {{FULLPAGENAME}}|Special:Upload|<p>To request a file be added to the wiki, please add a new entry at [[Project:Requests for file uploads]].</p>}}

We use the #ifeq statement because we want the file request instructions to show up at Special:Upload but nowhere else (for example, we don't want it to show up at action=delete). Leucosticte (talk) 16:58, 7 March 2015 (UTC)