User:Davey2010/Scripts

importScript('User:Davey2010/script/MOSNUM dates.js'); importScript('User:Davey2010/script/formatgeneral.js'); importScript('User:Davey2010/script/Sources.js'…

Copypasted page and scripts from en:User:Ohconfucius/script

Active scripts

  • 1 MOSNUM dates – changes dates to a single format throughout the article;
DMY = Day/Month/Year (14 November 2026) - For British Articles
DMY = Month/Day/Year (November 14, 2026) - For American Articles
Big endian ref dates (now disabled - Adds |cs1-dates= to {{Use dmy dates}} or {{Use mdy dates}} causing dates to be changed to 2026-11-14 YMD format),
Used to be YYYYMMDD = Year/Month/Day (2026-11-14) - For articles where British and America is generally joined
  • 2 formatgeneral – fixes some general formatting
  • 3 Sources – fixes references, specific formatting of various parameters within <ref></ref> and within {{citation}} templates
  • 4 EngvarB – changes spelling in articles to British English spelling or Canadian English and American English spelling. Please note that {{EngvarB}} is now independent of any British English templating. Its own categorisation also independent of British (or indeed any other) English variant categorisation.

Installing the scripts

  1. Open your common.js in edit mode (or, go to your user page and add "/common.js" to the end of the URL and open the page in edit mode).
    • If you prefer to load this only on a specific skin, such as monobook, open your monobook.js in edit mode.
    • 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 copy for modifications to this script.
  2. Copy any of the below codes onto the JavaScript page you have chosen in the previous step:
  3. importScript('User:Davey2010/script/MOSNUM dates.js');
    importScript('User:Davey2010/script/formatgeneral.js');
    importScript('User:Davey2010/script/Sources.js');
    importScript('User:Davey2010/script/EngvarB.js');
  4. Save the page and (re-)load it – refresh the cache by following the instructions at the top of your JavaScript page.
  5. Bookmark the script page. This will be your cue 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.

Inactive scripts

  • Common Terms unlinks words that for the Simple Wikipedia are actually useful/helpful,
  • Dashes replaces - with – and — however just these edits alone shouldn't be made as they're only cosmetic changes (edits that don't change the page shouldn't be made) so this script hasn't been installed.


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.