Extension:Submit In Toolbar

Adds Save, Preview, Diff buttons to Toolbar.

Installation
...  }   wfRunHooks('EditToolBar', array(&$toolbar)); $toolbar.="document.writeln(\" \");\n"; $toolbar.="/*]]>*/\n "; return $toolbar; } ...  require_once ("extensions/SubmitInToolbar/SubmitInToolbar.php");
 * Untar SubmitInToolbar.tgz in extensions directory
 * Apply EditPage.patch, or edit by hand, the end of getEditToolbar function, it must look like:
 * add to LocalSettings.php

Note: the patch file (as supplied with ver 0.0.2) is not compatible as-is with MediaWiki 1.9. In this wiki version, you will need to edit the includes/EditPage.php file manually. At the end of the getEditToolbar function (which should be about line 1745), manually replace: $toolbar.="/*]]>*/\n "; with: $toolbar.="/*]]>*/\n"; wfRunHooks('EditToolBar', array(&$toolbar)); $toolbar.=" ";

Note: Line numbers differ in various MediaWiki versions as new functionality is added to core code. For instance, version 1.12alpha currently places the section to be modified at line 1813.

Installation is otherwise the same as for MediaWiki 1.8.2 wikis.

Configuration
If not installed on expected path (which is extensions/SubmitInToolbar/), override $wgSubmitInToolbar by:

$wgSubmitInToolbar = "$wgScriptPath/path-to-SubmitInToolbar-dir";

Bugs

 * Probably some, tell me...
 * Icons does not look nice... :-(
 * Icons don't show at the end of the bar in wiki 1.9, they display as the first icons :(

Who's using it?
Please add your wiki here! Add it to the top, and feel free to add a link to your favorite article or two.


 * http://www.muscatelli.info/wiki5
 * http://hikipedia.info
 * http://desciclopedia.ws
 * http://uncyclopedia.tw
 * http://www.ultiwiki-net.tk