Wikipedia:MozEx tutorial: Difference between revisions

Content deleted Content added
Note for [[Microsoft Windows]] users: links in section headings are bad style
No edit summary
 
(17 intermediate revisions by 12 users not shown)
Line 1:
{{Historical|comment=MozEx is no longer available, or compatible with recent versions of Firefox. See [[Wikipedia:Text editor support]] for alternatives.}}
 
This tutorial describes how to use the '''[http://mozex.mozdev.org/ MozEx]''' extension of [[Mozilla]] and [[Mozilla Firefox]] to [[Wikipedia:text editor support|edit Wikipedia pages]] in your editor of choice.
 
==Installing MozEx==
 
First, you must download and install the MozEx extension by visiting the appropriate web page and following the installation link provided there. The stable version of the MozEx package (at [http://mozex.mozdev.org/ http://mozex.mozdev.org/]) does not support editing [[UTF-8]]-encoded documents (and has a broken download link 2011-04-28 (visit directly download Index of mozex [http://downloads.mozdev.org/mozex/ http://downloads.mozdev.org/mozex/]), so the next best option is to visit [http://nic-nac-project.de/~kaosmos/mozex107-en.html http://nic-nac-project.de/~kaosmos/mozex107-en.html] to download a modified version, mozex-1.07.6). This is particularly problematic since all Wikipedia articles are encoded in [[UTF-8]] by default. However, the developer's version of MozEx does support UTF-8.
First, you must download and install the MozEx extension by visiting the appropriate web page and following the installation link provided there. However, first note two important caveats:
 
*[[As of 2005|Currently]], the official MozEx package (at [http://mozex.mozdev.org/ http://mozex.mozdev.org/]) does not support editing [[UTF-8]]-encoded documents. This is particularly problematic since all Wikipedia articles are encoded in [[UTF-8]] by default. [http://www.ms.mff.cuni.cz/~marem2am/src/mozex/.iso-8859-1 An unofficial version of MozEx which supports UTF-8] is available.
*[[As of 2005|Currently]], the official MozEx package (at [http://mozex.mozdev.org/ http://mozex.mozdev.org/]) does not install properly on [[Mozilla Firefox]] 1.0. However, [http://www.extensionsmirror.nl/index.php?showtopic=70 an unofficial repackaged version of MozEx for Firefox] is available.
 
==Configuring MozEx==
Line 14 ⟶ 13:
===Note for Microsoft Windows users===
 
When configuring the textarea setting to open up the text editor of your choice, the path must notbe usewrapped [[longinside filename]]s.quotation Youmarks should use theif [[MS-DOS]]long [[8.3filename]]s filenames instead—e.g., <tt>C:\Progra~1\editor\edit.exe&nbsp;%t</tt> instead ofare <tt>C:\Program&nbsp;Files\editor\edit.exe&nbsp;%t</tt>present.
 
For example: <code>"C:\Program Files\PSPad editor\PSPad.exe" %t</code>
 
Without quotes, [[MS-DOS]] [[8.3 filename]]s must be used instead: <code>C:\PROGRA~1\editor\edit.exe %t</code>
 
You can display the short filenames by entering at the [[command prompt]]: <code>dir /x</code>
 
===Note for [[Vim (text editor)|Vim]] users===
 
When configuring the textarea setting for use with [[Vim (text editor)|Vim]], be sure and use the <code>-f</code> commandline parameter. For example:
* <code>C:\PROGRA~1\Vim\vim71\gvim.exe -f %t</code>
* <code>/usr/local/bin/gvim -f %t</code>
 
==Editing with MozEx==
Line 20 ⟶ 31:
To edit a Wikipedia page, click on the "edit this page" link. A box ('''textarea''') containing editable text will show up. Right-click with the mouse in the textarea, and select ''mozex&rarr;Edit Textarea'' from the context menu that pops up. Your favorite editor will pop up, and you will be able to edit the text. Once you are done, save the text, go back to the browser window, and click on the text area. The text will be automatically updated, and the file you just saved will be deleted from your computer.
 
[[Category:Wikipedia how-to|{{PAGENAME}}]]
[[Category:Wikipedia tools|{{PAGENAME}}]]