v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing Dwarf Fortress Wiki:Useful scripts

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


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 1: Line 1:
 
== Hide Site Announcements ==
 
== Hide Site Announcements ==
 
You can autohide the announcements automatically by including<pre>importScript('User:Briess/hideAnnouncements.js');</pre>
 
You can autohide the announcements automatically by including<pre>importScript('User:Briess/hideAnnouncements.js');</pre>
in your [[Special:MyPage/common.js|common.js]] page.
+
in your [[Special:MyPage/monobook.js]] page.
  
 
Note that it needs to read User:Briess/, and not whatever your username is.
 
Note that it needs to read User:Briess/, and not whatever your username is.
  
 
== Live UTC Clock ==
 
== Live UTC Clock ==
To add a live clock in the upper right corner (near 'log out') add <pre>importScript('User:Emi/clock.js');</pre>to your [[Special:MyPage/common.js|common.js]] page.
+
To add a live clock in the upper right corner (near 'log out') add <pre>importScript('User:Emi/clock.js');</pre>to your [[Special:MyPage/monobook.js]] page.
  
 
== New Page Patrol ==
 
== New Page Patrol ==
This script will add a box just above the search bar, that when enabled, will show a live feed of new pages, and whether or not they've been patrolled. To use, please add <pre>importScript('User:Emi/newpages.js');</pre>to your [[Special:MyPage/common.js|common.js]] page.
+
This script will add a box just above the search bar, that when enabled, will show a live feed of new pages, and whether or not they've been patrolled. To use, please add <pre>importScript('User:Emi/newpages.js');</pre>to your [[Special:MyPage/monobook.js]] page
  
 
== Colored Contributions ==
 
== Colored Contributions ==
This script will color code user contribution pages to make it easier to see whether they have the top edit, or not. To use, please add <pre>importScript('User:Emi/colorcontrib.js');</pre>to your [[Special:MyPage/common.js|common.js]] page.
+
This script will color code user contribution pages to make it easier to see whether they have the top edit, or not. To use, please add <pre>importScript('User:Emi/colorcontrib.js');</pre>to your [[Special:MyPage/monobook.js]] page

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki: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 protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)