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.

Difference between revisions of "Dwarf Fortress Wiki:Useful scripts"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Simplify link title, monobook.js → common.js (I suppose it could be vector.js as well))
 
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/monobook.js]] page.
+
in your [[Special:MyPage/common.js|common.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/monobook.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/common.js|common.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/monobook.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/common.js|common.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/monobook.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/common.js|common.js]] page.

Latest revision as of 23:06, 8 July 2013

Hide Site Announcements[edit]

You can autohide the announcements automatically by including

importScript('User:Briess/hideAnnouncements.js');

in your common.js page.

Note that it needs to read User:Briess/, and not whatever your username is.

Live UTC Clock[edit]

To add a live clock in the upper right corner (near 'log out') add

importScript('User:Emi/clock.js');

to your common.js page.

New Page Patrol[edit]

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

importScript('User:Emi/newpages.js');

to your common.js page.

Colored Contributions[edit]

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

importScript('User:Emi/colorcontrib.js');

to your common.js page.