Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

MediaWiki talk:Clearyourcache

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 21 days ago by Oshwah in topic Proposal

Protected edit request on 8 November 2023

[edit]

Please change {{MediaWiki:Userjsdangerous}} to {{int:Userjsdangerous}}. The reason is internationalization - int: will adjust the messages according to the language selected, but this won't. Awesome Aasim 20:02, 8 November 2023 (UTC)Reply

 Not done Given that the English warning includes significantly more information than the translated warnings I'm not convinced this is a good idea. * Pppery * it has begun... 00:33, 9 November 2023 (UTC)Reply

Protected edit request on 26 January 2024

[edit]

Please change to

{{#switch: {{NAMESPACE}} 
| MediaWiki = 
  {{#ifexist: Template:Editnotices/Page/{{FULLPAGENAME}}
  | <!--This MediaWiki page has an editnotice, display it-->
    {{ Template:Editnotices/Page/{{FULLPAGENAME}} | notice action=view }}
  }}
| User = <div class="mw-parser-output">
{{fmbox
| type = warning
| image = none
| id = jswarning
| text = {{MediaWiki:Userjsdangerous}}
}}</div>
}}{{script doc auto}}<div class="mw-parser-output"><span id="clearprefcache">'''Note:''' After saving, you have to bypass your browser's cache to see the changes. '''Google Chrome''', '''Firefox''', '''Microsoft Edge''' and '''Safari''': Hold down the {{key press|Shift}} key and click the ''Reload'' toolbar button. For details and instructions about other browsers, see [[Wikipedia:Bypass your cache]].</span></div>

.

This pulls out {{script doc auto}} out of the namespace switch, making it show up on both user and mediawiki namespaces. (This interface message is only used on NS2 and NS8 so other namesapces aren't in the picture).

Right now, {{script doc auto}} doesn't give any sensible output on MediaWiki namespace but I've requested an edit to change that, which should ideally be implemented first. – SD0001 (talk) 09:25, 26 January 2024 (UTC)Reply

 Done * Pppery * it has begun... 16:10, 26 January 2024 (UTC)Reply

Proposal

[edit]

This version is more in-depth with instructions for each browser and closely matches the text set on meta-wiki:

{{#switch: {{NAMESPACE}} 
| MediaWiki = 
  {{#ifexist: Template:Editnotices/Page/{{FULLPAGENAME}}
  | <!--This MediaWiki page has an editnotice, display it-->
    {{ Template:Editnotices/Page/{{FULLPAGENAME}} | notice action=view }}
  }}
| User =
{{#ifeq:{{#contentmodel}}|JSON||{{fmbox
| type = warning
| image = none
| id = jswarning
| text = {{MediaWiki:Userjsdangerous}}
}}}}
}}{{script doc auto}}<div class="mw-parser-output"><span id="clearprefcache"><strong>Note:</strong> After publishing, you may have to bypass your browser's cache to see the changes. For details and instructions about other browsers, see [[Wikipedia:Bypass your cache]].
* <strong>Google Chrome, Firefox, Microsoft Edge, and Safari:</strong> Hold down the <em>{{key press|Shift}}</em> key and click the ''Reload'' toolbar button
* <strong>Firefox / Safari:</strong> Hold <em>{{key press|Shift}}</em> while clicking <em>Reload</em>, or press either <em>{{key press|Ctrl}}{{key press|F5}}</em> or <em>{{key press|Ctrl}}{{key press|Shift}}{{key press|R}}</em> (<em>{{key press|}}{{key press|Shift}}{{key press|R}}</em> on a Mac)
* <strong>Google Chrome:</strong> Press <em>{{key press|Ctrl}}{{key press|Shift}}{{key press|R}}</em> (<em>{{key press|}}{{key press|Shift}}{{key press|R}}</em> on a Mac)
* <strong>Edge:</strong> Hold <em>{{key press|Ctrl}}</em> while clicking <em>Refresh</em>, or press <em>{{key press|Ctrl}}{{key press|F5}}</em>.</span></div>

Thoughts? ~Oshwah~(talk) (contribs) 15:27, 18 July 2026 (UTC)Reply