Difference between revisions of "Mediawiki.el"

From WikEmacs
Jump to navigation Jump to search
Line 1: Line 1:
 +
'''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.
 +
 
'''Mediawiki.el''' is a package to help add content to any mediawiki
 
'''Mediawiki.el''' is a package to help add content to any mediawiki
 
site. You can use this library to browse and submit content to
 
site. You can use this library to browse and submit content to
Line 6: Line 11:
 
= Basic setup =
 
= Basic setup =
  
Install '''mediawiki.el'''.
+
; Install '''mediawiki.el'''
 
+
: From [[el-get]], {{Command|el-get-install RET mediawiki RET}}.
* From [[el-get]]
+
: From ELPA,
Just call <code>M-x el-get-install RET mediawiki</code>
 
 
 
* From [[Elpa]]
 
  
; Command{{load-library RET mediawiki RET}}
+
; {{Command|load-library RET mediawiki RET}}
 
: Load the library. This can be skipped if you have have
 
: Load the library. This can be skipped if you have have
 
Snippet{{(require 'mediawiki)}} to your {{InitFile}}.
 
Snippet{{(require 'mediawiki)}} to your {{InitFile}}.
  
; CustomizeVariable{{mediawiki-site-alist}
+
; {{CustomizeVariable|mediawiki-site-alist}}
 
: Configure as follows and save your settings
 
: Configure as follows and save your settings
 
:: URL: http://wikemacs.org/w/
 
:: URL: http://wikemacs.org/w/
Line 25: Line 27:
  
 
: You can provide "Username" and "Password" in your [[.authinfo]] file. home directory.
 
: You can provide "Username" and "Password" in your [[.authinfo]] file. home directory.
 +
 +
= Make submissions =
 +
; {{Command|mediawiki-site}}
 +
: Choose a site for the current session.
 +
 +
; {{CommandKeys|mediawiki-open}}
 +
: Open a page. To edit the main page, type "Main Page". Make your edits.
 +
 +
; {{CommandKeysC-x C-s|mediawiki-save}}
 +
: Submit your modifications.
 +
 +
= Helpful Keybindings =
 +
 +
; {{CommandKeysC-c|mediawiki-save-and-bury}}
 +
: Submit modifications and bury the buffer.
 +
 +
; {{CommandKeysC-return|mediawiki-open-page-at-point}}
 +
: Submit modifications and bury the buffer.
 +
 +
; {{CommandKeysM-g|mediawiki-reload}}
 +
: Reload a page
 +
 +
= Project Page =
 +
* [[https://launchpad.net/mediawiki-el Mediawiki.el page on Launchpad]]
 +
 +
[[Category:Wikemacs]]
 +
[[Category:Markup Modes]]
  
 
= Make submissions =
 
= Make submissions =

Revision as of 04:56, 29 March 2012

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.

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
From el-get, M-x el-get-install RET mediawiki RET.
From ELPA,
M-x load-library RET mediawiki RET
Load the library. This can be skipped if you have have

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

M-x customize-variable RET 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

M-x mediawiki-site
Choose a site for the current session.
[mediawiki-open] (or M-x {{{2}}})
Open a page. To edit the main page, type "Main Page". Make your edits.
Template:CommandKeysC-x C-s
Submit your modifications.

Helpful Keybindings

Template:CommandKeysC-c
Submit modifications and bury the buffer.
Template:CommandKeysC-return
Submit modifications and bury the buffer.
Template:CommandKeysM-g
Reload a page

Project Page

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