Difference between revisions of "Emacs Mediawiki"

From ArchWiki
Jump to: navigation, search
(Installation)
(Configuration)
Line 14: Line 14:
  
 
== Configuration ==
 
== Configuration ==
 +
 +
After you install the package from AUR, open your emacs configuration file (usually, {{Filename|~/.emacs}}) and add the following line in it.
 +
 +
(require 'mediawiki)
 +
 +
Then add the mediawiki sites to the configuration file. For example, the following line adds ArchWiki to it.
 +
 +
(setq mediawiki-site-alist
 +
      (append '("ArchWiki" "https://wiki.archlinux.org/" "username" "password")
 +
              mediawiki-site-alist))
  
 
== Usage ==
 
== Usage ==
Line 20: Line 30:
  
 
* [http://www.emacswiki.org/emacs/MediaWikiMode MediaWikiMode]
 
* [http://www.emacswiki.org/emacs/MediaWikiMode MediaWikiMode]
* [https://launchpad.net/mediawiki-el launchpad page]
+
* [https://launchpad.net/mediawiki-el launchpad project page]

Revision as of 13:45, 7 August 2011


Summary help replacing me
Emacs Mediawiki Mode is an emacs major mode which is evolved from an old copy of mediawiki mode frome wikipedia.org. It helps to edit remote wiki articles on wiki sites running mediawiki in emacs editor directly.
Related
Emacs

Installation

There is a package in AUR:Template:Package AUR.

Or you can directly download the source from https://launchpad.net/mediawiki-el .

Configuration

After you install the package from AUR, open your emacs configuration file (usually, Template:Filename) and add the following line in it.

(require 'mediawiki)

Then add the mediawiki sites to the configuration file. For example, the following line adds ArchWiki to it.

(setq mediawiki-site-alist
      (append '("ArchWiki" "https://wiki.archlinux.org/" "username" "password")
              mediawiki-site-alist))

Usage

See also