Jump to content

User:Ohconfucius/script/formatgeneral

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ohconfucius (talk | contribs) at 04:03, 25 October 2011 (Created page with '==Preamble== ;Within-article consistency of formatting By long-standing convention and as detailed at the Manual of Style, a Wikipedia article needs t...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Preamble

Within-article consistency of formatting

By long-standing convention and as detailed at the Manual of Style, a Wikipedia article needs to use consistent formatting. Because there are a number of external style conventions that exist, articles are vulnerable to creeping inconsistency through being edited potentially by hundreds of editors. These inconsistencies are often difficult to identify quickly, and this script has been developed as an aid to the careful manual oversight of consensus formatting rules.

Installing the script

  1. Assuming that you are now using the new skin... Open/create your vector.js page by clicking on this link.
    • Alternatively, go to your user page and append '/vector.js' to the end of the URL.
      If you are still using the old skin, open/create your monobook.js page, by clicking on this link.
      If you make a straight copy of this script, instead of "importing" it, you may not benefit from the enhancements and bug-fixes that are made from time to time. In the latter case, you may choose to watchlist this page so you will know when to update your cache for modifications to this script.
  2. Copy the following command onto your vector.js or monobook.js page:
    importScript('User:Ohconfucius/script/formatgeneral.js');  //[[User:Ohconfucius/script/formatgeneral.js]]
  3. Save the page and (re-)load it – refresh the cache by following the instructions at the top of your vector.js or monobook.js page.
  4. Bookmark the script page. This will be your cue to to purge the cache on your browser for any updates to take effect.

Disclaimer: Use at your own risk and make sure you check the edit changes before you save.