User:Korath/Potentially useful stuff

From Wikipedia, the free encyclopedia

In Korath's userspace, potentially useful stuff is actually just an index to his user subpages, and is probably of no interest to anyone but himself.

Miscellaneous[edit]

  • /Copyrights — Legal templates deemed too ugly for my userpage.
  • /copyvio — User talk boilerplate for a copyvio contributer, itself shamelessly plagiarized from User:Angela/useful stuff. Ironic, isn't it?
  • /sb — My sandbox/staging area/embryonic thoughts. Currently it contains an abominably formatted and mostly unexplained guide to hiding closed discussions on the Vfd pages. (The easy way is to just add .vfd { display:none; } into your css file, though that won't let you turn it on and off.)
  • /standard.css — My CSS file for the Classic skin. It colors links prettily, suppresses the various warnings that appear under the edit box, suppresses the Wikipedia logo in the upper left, adds a horizontal line beneath headers and puts a dashed box around <pre> sections like in Monobook, and makes images stack vertically like in Monobook, instead of horizontally.

JavaScriptcruft[edit]

It is to be noted that I abhor and despise JavaScript and have never really bothered to learn the "language" properly. The following are thus the result of the cut, paste, and pray school of programming. Please use with caution, and if they cause your computer to catch fire, don't claim that I didn't warn you. Requests are welcome on my talk page, and bug fixes are welcome on the scripts' discussion pages.

Depending on your skin, these should be installed in monobook.js, cologneblue.js, nostalgia.js, myskin.js, or, for Classic, standard.js.

  • /autovfd.js — Simplifies (hopefully!) the process of submitting an article to VFD. Further documentation is at User talk:Korath/autovfd.js.
  • /blockip.js — For the Monobook skin. This adds a "block" tab to User: and User talk: pages leading to Special:Blockip, and fills in the user name field with the appropriate name or ip. It also adds a "blocklog" tab to User: and User talk: pages, as well as Special:Blockip when reached through the block tab, which goes directly to the appropriate user's block log.
  • /cologneblue.js — For, obviously, the Cologne Blue skin. At the moment, it adds a link to Wikipedia:Votes for deletion/Log/Today in the "My pages" section of the sidebar.
  • /Spoiler.js — For any skin. This adds [hide] and [show] tags to spoiler boxes, as formatted by {{Spoiler top}} and {{Spoiler bottom}}, and documented at Template talk:Spoiler top.
  • /standard.js — For the Classic skin. As I currently use it, it does a lot of stuff:
    • On Vfd daily subpages, it converts [edit] section links to edit the subpages directly.
    • It adds a "Comment" link after "Edit this page" in the header links, which links to action=edit&section=new, i.e. it duplicates the functionality of the "Post a comment" link in the quickbar (which I don't use, as it takes up too much screen space).
    • It removes the second line from the top ("Printable version", "Disclaimers", "Current revision", "You have new messages").
      • When present, the "Current revision" link is moved to the first line next to "Page history".
      • When "You have new messages" is present, the (Talk) link in the upper right is replaced with (New Messages).
    • Depending on the current page, it replaces the links in the second line with:
  • /welcome.js — For the Monobook skin. Adds a "welcome" tab when editting User talk: pages; when clicked, it appends Ilyanep's welcome message, sets the summary to "Welcome!", and marks the "Watch this page" checkbox.