Template talk:Image-quality: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
Line 10: Line 10:
Should this change be implemented? You can see this in action for [[User:Wildgoosespeeder/Tweak/sandbox]] being [[Wikipedia:Transclusion|transcluded]] in [[:File:Glide64 2.png]] --{{User:Wildgoosespeeder/sig}} 04:11, 13 February 2016 (EST)
Should this change be implemented? You can see this in action for [[User:Wildgoosespeeder/Tweak/sandbox]] being [[Wikipedia:Transclusion|transcluded]] in [[:File:Glide64 2.png]] --{{User:Wildgoosespeeder/sig}} 04:11, 13 February 2016 (EST)
:Looks good to me but more input would be needed before making the change. --{{User:Henry Tucayo Clay/sig}} 10:29, 13 February 2016 (EST)
:Looks good to me but more input would be needed before making the change. --{{User:Henry Tucayo Clay/sig}} 10:29, 13 February 2016 (EST)
::Good idea to make it link directly to uploading the file in question, bu as for the coding itself, make it:
::*<code><nowiki><span class="plainlinks">[{{fullurl:Special:Upload|wpDestFile={{urlencode:{{PAGENAMEE}}|WIKI}}&wpForReUpload=1}} {{color|reuploaded|black}}]</span>'''</nowiki></code>
::The bold starts before the link so the 's are unnecessary, the colour template's a bit simpler than needing a second span, and it doesn't matter if the link's dysfunctional on the template page itself, so long as it works for other pages, which it should, as far as I can tell. The only potential problems are when apostrophes, ampersands or other characters are used in the file names; I switched the magic word to PAGENAMEE, since I ''think'' percent-encoding special characters will work better, but I'm not 100% sure: I haven't tested it by reuploading anything, just previewing and going to the upload pages, with less than perfect results even then (for either magic word). - {{User:Walkazo/sig}} 13:19, 13 February 2016 (EST)

Revision as of 14:19, February 13, 2016

Link Change

Question.svg This talk page or section has a conflict or a question that needs to be answered. Please try to help and resolve the issue by leaving a comment.

I found a way to duplicate the link that is associated with Upload a new version of this file. Change:

to

  • '''<includeonly><span class="plainlinks">[{{fullurl:Special:Upload|wpDestFile={{urlencode:{{PAGENAME}}|WIKI}}&wpForReUpload=1}} <span style="color:#000000">reuploaded</span>]</span></includeonly><noinclude>reuploaded</noinclude>''' (link is specialized if put into File:Glide64 2.png)

Should this change be implemented? You can see this in action for User:Wildgoosespeeder/Tweak/sandbox being transcluded in File:Glide64 2.png --Wildgoosespeeder (talk) (Stats - Contribs) 04:11, 13 February 2016 (EST)

Looks good to me but more input would be needed before making the change. --TucayoSig.png The 'Shroom 10:29, 13 February 2016 (EST)
Good idea to make it link directly to uploading the file in question, bu as for the coding itself, make it:
  • <span class="plainlinks">[{{fullurl:Special:Upload|wpDestFile={{urlencode:{{PAGENAMEE}}|WIKI}}&wpForReUpload=1}} {{color|reuploaded|black}}]</span>'''
The bold starts before the link so the 's are unnecessary, the colour template's a bit simpler than needing a second span, and it doesn't matter if the link's dysfunctional on the template page itself, so long as it works for other pages, which it should, as far as I can tell. The only potential problems are when apostrophes, ampersands or other characters are used in the file names; I switched the magic word to PAGENAMEE, since I think percent-encoding special characters will work better, but I'm not 100% sure: I haven't tested it by reuploading anything, just previewing and going to the upload pages, with less than perfect results even then (for either magic word). - Walkazo 13:19, 13 February 2016 (EST)