Mediawiki.el

From WikEmacs
Revision as of 04:49, 29 March 2012 by 115.184.28.225 (talk)
Jump to navigation Jump to search

Mediawiki.el is a package to help add content to any mediawiki site. You can use this library to browse and submit content to WikEmacs. It comes with a Major Mode to support editing Mediawiki markup.

Basic setup

Install mediawiki.el.

Just call M-x el-get-install RET mediawiki

CommandTemplate:Load-library RET mediawiki RET
Load the library. This can be skipped if you have have

SnippetTemplate:(require 'mediawiki) to your Template:InitFile.

CustomizeVariable{{mediawiki-site-alist}
Configure as follows and save your settings
URL: http://wikemacs.org/w/
Username: InCognito
Password: s!cr!t
First Page: Main Page
You can provide "Username" and "Password" in your .authinfo file. home directory.

Make submissions

CommandTemplate:Mediawiki-site
Choose a site for the current session.
CommandKeysTemplate:Mediawiki-open
Open a page. To edit the main page, type "Main Page". Make your edits.
CommandKeysTemplate:C-x C-s
Submit your modifications.

Helpful Keybindings

CommandKeysTemplate:C-c
Submit modifications and bury the buffer.
CommandKeysTemplate:C-return
Submit modifications and bury the buffer.
CommandKeysTemplate:M-g
Reload a page

Project Page