User talk:MECU/br.js

Information

 * What does this do?
 * It changes all the  (and other possible ways of it, ie  ) to the proper XHTML form:


 * Why?
 * It's a pet peeve of mine. But it's also more correct than the ways it replaces, as each HTML tag should be closed, and single use tags like this (and, for example) have to be closed in this unique way and lower case is more correct. This is because Wikipedia uses the Doctype


 * How do I use it?
 * After installation, when editing a page, just click the "  " tab at the top of the page near "watch"


 * Why don't you fix all the common XHTML errors then?
 * Because it would require much more complex coding, and this is a first step. If anyone would like to develop this, I would be happy to help or assist or beta test it. Contact me on my user talk page.

Version Information

 * 1.3 - March 24, 2007
 * Add for case
 * 1.2 - March 13, 2007
 * Add for case
 * 1.1 - January 17, 2007
 * addLink -> addPortletLink
 * Updated installation directions below
 * 1.0 - December 27, 2006

Installation
To install, copy the following into your monobook.js:

/**** MECU's BR fixer ****/

document.write(' ');

/* This is to keep track of who is using this extension: User:Mecu/br.js */

/**** End MECU's BR fixer ****/

Broken
This doesn't seem to work anymore. --Closedmouth (talk) 12:34, 23 January 2009 (UTC)

Legacy JavaScript
Hello! This script has been detected as using deprecated parameters that need to be replaced with the updated version. Examples include  needs to be replaced with   or   (depending on use);  all wgGlobalVariables need to be properly gotten with  ; and   needs to be called with. Please see ResourceLoader/Legacy JavaScript for details. Thank you. —  21:43, 19 January 2015 (UTC)