Template talk:Purge button

(Redirected from Template talk:Purge button/sandbox)
Latest comment: 2 years ago by Dcljr in topic Purge not working

editprotected

edit

File:Crystal 128 reload.png → File:Crystal 128 reload.svg --Olli (talk) 07:14, 2 August 2012 (UTC)Reply

  Done, thanks. Chris Cunningham (user:thumperward) (talk) 11:40, 2 August 2012 (UTC)Reply

editprotected

edit

Image is too big ATM. Pls change |64px| to |45px| --Olli (talk) 06:13, 10 August 2012 (UTC)Reply

  Not done: please establish a consensus for this alteration before using the {{edit protected}} template. Too big for what? Where are you using it? --Redrose64 (talk) 12:21, 10 August 2012 (UTC)Reply
Note: An iconsize parameter has been added. All the best: Rich Farmbrough07:49, 30 July 2014 (UTC).

Floating box text doesn't match

edit

It's petty, but I notice that when you hover over the image the floating popup text box says "Update this page". But when hovering over the text below it the caption reads "Purge this page" instead. Ideally in this case the hover-text should match the text under it, and I realize that an easy fix would be to just simply change all the text to say "Purge", but still, "Update this page" is preferable as it sounds more friendly to newbs. Can this be fixed without having to directly edit the code in {{purge}}? -- œ 04:09, 20 October 2012 (UTC)Reply

This can be extremely easily done without changing purge templates code. Contact me if you want to know how. VarunFEB2003 (talk) 11:49, 26 July 2016 (UTC)Reply
Replace with this
{{#ifeq:{{{1|}}}|center|<center>}}<div class="messagebox" style="float:{{{1|left}}};width:{{#expr:{{{iconsize|64}}}+2}}px;font-size:smaller;margin:0 0.5em;text-align:center;">
[[File:View-refresh.svg|center|{{{iconsize|64}}}px|link={{fullurl:{{{page|{{FULLPAGENAME}}}}}|action=purge}}|Update this page]]<div style="padding:0.5em 0 0.15em;line-height:1.2em;{{{textstyle|}}}"><span class="plainlinks">[{{fullurl:{{FULLPAGENAME}}|action=purge}} {{abbr|'''Update<br/>this page|Update this page}}''']</span></div>
</div>{{#ifeq:{{{1|}}}|center|</center>}}<noinclude>{{clear}}<!--(to separate template and Documentation boxes)-->{{Documentation}}</noinclude>

Please implicate the above changes VarunFEB2003 (talk) 17:34, 30 July 2016 (UTC)Reply

  Done  Temporal Sunshine Paine  01:12, 31 July 2016 (UTC)Reply
Thanks Paine Ellsworth VarunFEB2003 (talk) 07:31, 31 July 2016 (UTC)Reply
Pleasure! Paine  
edit

Search engines, screen readers, and Tab keyboard navigation parse this template as two redundant "Update this page" links. Mouse and touch users might expect the whole box to be click/tappable, due to its button appearance, but there are dead spots around the text, and inside the borders.

The version now in the sandbox should fix both these problems. See testcases. I haven't checked other browsers, though, especially old Internet Explorer versions. If anyone finds a browser-specific problem, please let me know. Matt Fitzpatrick (talk) 00:23, 22 May 2018 (UTC)Reply

Purge not working

edit

Is it just me or it is normal for purge buttons not to work? I have been updating content on this portal now and the subpages I am transcluding on it, despite being updated are not reflecting. Danidamiobi (talk) 18:36, 11 October 2022 (UTC)Reply

You asked exactly the same question at Template talk:Purge#Purge button not working and Template talk:Purge box#Purge not working; please respect WP:MULTI. --Redrose64 🌹 (talk) 21:42, 11 October 2022 (UTC)Reply
Answered at Template talk:Purge#Purge button not working. - dcljr (talk) 00:43, 12 October 2022 (UTC)Reply