Editing MediaWiki talk:Common.js

Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The system administrator who locked it offered this explanation: Aufgrund eines Server Umzugs ist das Wiki aktuel im readonly Modus

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 6: Line 6:
 
: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/Signature}} 23:44, 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/Signature}} 23:44, 1 April 2011 (CEST)
 
::[[MediaWiki:Sitenotice]]:
 
::[[MediaWiki:Sitenotice]]:
−
  <nowiki><div class="usermessage" id="sitenotice-03-2011">Please [[Special:UserLogin|log in]] to edit articles. We had to forbid all anonymous edits because of massive spam attacks.</div></nowiki>
+
  <nowiki><div class="usermessage" id="sitenotice-03-2011">Please [[Special:UserLogin|log in]] to edit articles. We had to forbid all anonymous edits because of massive spam attacks.</nowiki>
 
::and [[MediaWiki:Common.js]]:
 
::and [[MediaWiki:Common.js]]:
 
  <nowiki>if (wgUserName!="") document.getElementById("sitenotice-03-2011").style.display = "none";</nowiki>
 
  <nowiki>if (wgUserName!="") document.getElementById("sitenotice-03-2011").style.display = "none";</nowiki>

Please note that all contributions to FreewarWiki are considered to be released under the GNU Free Documentation License (see FreewarWiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)

Templates used on this page: