You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

MediaWiki talk:Sitenotice: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>BryanDavis
 
imported>BryanDavis
(→‎Template for adding Sitenotice content: try to help remind us how to take the notice down in the template)
Line 1: Line 1:
== Template for adding Sitenotice content ==
== Template for adding Sitenotice content ==
{{Tracked|T200479}}
{{Tracked|T200479}}
<pre>
<syntaxhighlight lang=moin>
<!-- NOTE: replace page content with "-" when removing notice from Wikitech -->
{{#ifeq: {{SERVERNAME}} | wikitech-static.wikimedia.org |  
{{#ifeq: {{SERVERNAME}} | wikitech-static.wikimedia.org |  
<!--special banner for wikitech-static-->
<!--special banner for wikitech-static-->
Line 9: Line 10:
...
...
}}
}}
</pre>
</syntaxhighlight>


Use the above template when adding a Sitenotice on the main wikitech site. Having a non-empty MediaWiki:Sitenotice will override the <code>$wgSitenotice</code> that is normally displayed on https://wikitech-static.wikimedia.org/ pages. --[[User:BryanDavis|BryanDavis]] ([[User talk:BryanDavis|talk]]) 23:41, 26 July 2018 (UTC)
Use the above template when adding a Sitenotice on the main wikitech site. Having a non-empty MediaWiki:Sitenotice will override the <code>$wgSiteNotice</code> that is normally displayed on https://wikitech-static.wikimedia.org/ pages. --[[User:BryanDavis|BryanDavis]] ([[User talk:BryanDavis|talk]]) 23:41, 26 July 2018 (UTC)
: When removing the local Sitenotice content, set the page content to <code>-</code> so that all the things work as expected and we don't get a weird '[dismiss]' link floating all alone in the edge of the screen. --[[User:BryanDavis|BryanDavis]] ([[User talk:BryanDavis|talk]]) 23:43, 26 July 2018 (UTC)
: When removing the local Sitenotice content, set the page content to <code>-</code> so that all the things work as expected and we don't get a weird '[dismiss]' link floating all alone in the edge of the screen. --[[User:BryanDavis|BryanDavis]] ([[User talk:BryanDavis|talk]]) 23:43, 26 July 2018 (UTC)



Revision as of 00:29, 30 November 2021

Template for adding Sitenotice content

<!-- NOTE: replace page content with "-" when removing notice from Wikitech -->
{{#ifeq: {{SERVERNAME}} | wikitech-static.wikimedia.org | 
<!--special banner for wikitech-static-->
You are browsing a read-only backup copy of Wikitech. The primary site can be found at [https://wikitech.wikimedia.org wikitech.wikimedia.org] |

<!--normal banner for actual wikitech-->
...
}}

Use the above template when adding a Sitenotice on the main wikitech site. Having a non-empty MediaWiki:Sitenotice will override the $wgSiteNotice that is normally displayed on https://wikitech-static.wikimedia.org/ pages. --BryanDavis (talk) 23:41, 26 July 2018 (UTC)

When removing the local Sitenotice content, set the page content to - so that all the things work as expected and we don't get a weird '[dismiss]' link floating all alone in the edge of the screen. --BryanDavis (talk) 23:43, 26 July 2018 (UTC)

Labs -> Cloud renaming

Hi BryanDavis. The message about the in-progress renaming is about to be one year old. Can it come down now? --MZMcBride (talk) 00:45, 22 July 2018 (UTC)

Yes, let's take it down. I'm sure most people (like me!) have learned not to see it now. I think we have renamed things at least in all the highly visible places on this wiki. --BryanDavis (talk) 08:16, 22 July 2018 (UTC)