Wikipedia:MozEx tutorial: Difference between revisions
Content deleted Content added
m linebrakes especially bad on a page designed to be viewed in an editor |
No edit summary |
||
(24 intermediate revisions by 16 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 edit Wikipedia pages in your editor of choice. It is assumed that you already installed and configured MozEx, and also configured your editor; otherwise please see [[Wikipedia:text editor support]].▼
▲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
To edit a Wikipedia page, click on the "edit this page" tab. A box containing editable text will show up, which is sometimes called '''text area'''. Now, right-click with the mouse in the text area, and select ''mozex→Edit Textarea''. 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.▼
==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.
==Configuring MozEx==
After installing MozEx, depending on your operating system and its settings, you may need to configure MozEx to invoke the text editor of your choice. Detailed instructions for this are available on the [http://mozex.mozdev.org/ official MozEx web page].
===Note for Microsoft Windows users===
When configuring the textarea setting to open up the text editor of your choice, the path must be wrapped inside quotation marks if [[long filename]]s are 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==
▲To edit a Wikipedia page, click on the "edit this page"
[[Category:Wikipedia how-to|{{PAGENAME}}]]
[[Category:Wikipedia tools|{{PAGENAME}}]]
|