Contributors/Projects/Removal of the 2006 wikitext editor



The 2006 wikitext editor is being removed from production on WMF sites. If you do not know which editor you use, then please look at the list of editors to see screenshots for most of the editing environments in use.

Data indicates that very few active editors are using this, so it doesn't make sense to commit further resources to maintaining it. Rather than waiting for this to break unexpectedly, we are ending support and sunsetting the software in an orderly, scheduled fashion.

What will happen
On 30 October–1 November 2018, the code for this wikitext editor and associated preference options will be removed from production, through the normal deployment train.

This change will be made at the English Wikipedia Beta Cluster on 23 October 2018 (the Tuesday before the deployment). (Other test wikis are possible on the same day; please contact User:Whatamidoing (WMF) to request any other test wiki.) You can import your scripts to the Beta Cluster and test them there for approximately six days before the next deployment train runs. Please consider setting up your scripts now, so that you have everything in place when the testing can begin on that Tuesday. Watch T30856 for the announcement that the old editor has been removed from the Beta Cluster.

When this editor is removed, the editors that are using it will default to the 2003 wikitext editor, which has no buttons or toolbar. The team chose this option because the editors who are still using this old toolbar regularly tend to be high-volume editors, and the 2003 wikitext editor will load more quickly and take up less space on their screens than the alternatives. All editors are free to change their editing preferences at any time by going to Special:Preferences and choosing from among the options (or to choose local gadgets and user scripts).

Alternatives
With minor adaptations, the toolbar can be imported locally as a gadget on any wiki. Proceed as follow:
 * import fr:MediaWiki:Gadget-mediawiki.toolbar.js on your local wiki;
 * add this line in your local MediaWiki:Gadgets-definition:.

The toolbar can then be used in code pretty much as before, except that the  module is now in the   namespace. For example, the code to add a custom toolbar button would look like this:

Apart from the  bit, this example code has been copied unchanged from Trizek's code.

If you want to provide not only the toolbar framework but also the default buttons that have been removed in October 2018, you can create another gadget that depends on the first one. Proceed as follow:
 * create MediaWiki:Gadget-LegacyToolbar2006.js and put in it the code below (don't forget to translate it!)
 * add this line in your local MediaWiki:Gadgets-definition:.

For third-party wikis
This was deprecated in MediaWiki 1.29 and will be removed during 1.32. See T30856 for more information about how this might affect your wiki.