Difference between revisions of "MediaWiki talk:Common.js"

From FreewarWiki
Jump to: navigation, search
(Created page with 'Why don't you hide the #sitenotice when someone is logged in? <pre><nowiki> if (wgUserName!="") document.getElementById("sitenotice").style.display = "none"; </nowiki></pre> --~~…')
 
Line 4: Line 4:
 
</nowiki></pre>
 
</nowiki></pre>
 
--<span class="plainlinks">[http://fwwiki.de/index.php/Benutzer:Bwoebi <span style="color: #002bb8; font-face:Comic Sans MS">Bwoebi</span>]</span> [[User talk:Bwoebi|<sup>discuss here please</sup>]] 09:56, 1 April 2011 (CEST)
 
--<span class="plainlinks">[http://fwwiki.de/index.php/Benutzer:Bwoebi <span style="color: #002bb8; font-face:Comic Sans MS">Bwoebi</span>]</span> [[User talk:Bwoebi|<sup>discuss here please</sup>]] 09:56, 1 April 2011 (CEST)
 +
:If we hide the sitenotice by default, we would hide it for all users wich are logged in. This may be usefull for the current message, but not for other messages. If you have an idea to hide this specific message, just tell us. --{{User:Galak_van_Charro/Signature}} 23:44, 1 April 2011 (CEST)

Revision as of 23:44, 1 April 2011

Why don't you hide the #sitenotice when someone is logged in?

if (wgUserName!="") document.getElementById("sitenotice").style.display = "none";

--Bwoebi discuss here please 09:56, 1 April 2011 (CEST)

If we hide the sitenotice by default, we would hide it for all users wich are logged in. This may be usefull for the current message, but not for other messages. If you have an idea to hide this specific message, just tell us. --User:Galak van Charro/Signature 23:44, 1 April 2011 (CEST)