Extension:Submit In Toolbar

Adds Save, Preview, Diff buttons to Toolbar.

Installation

 * Download Extension and place it in /extensions/SubmitInToolbar/
 * Apply this Patch to includes/EditPage.php:

search for (around Line 2130 in V1.14) $toolbar.="/*]]>*/\n "; $toolbar.="\n "; return $toolbar;

before, add wfRunHooks('EditToolBar', array(&$toolbar));


 * Apply this Patch to /extensions/SubmitInToolbar/SubmitInToolbar.php if you ar using an newer WikiMedia Version (V1.14)

search for (around Line 34) $text.=$ret;

after, add return true;

require_once ("extensions/SubmitInToolbar/SubmitInToolbar.php");
 * add to LocalSettings.php:

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.venicewiki.org
 * http://www.muscatelli.info/wiki5
 * http://hikipedia.info
 * http://desciclopedia.ws
 * http://uncyclopedia.tw
 * http://www.ultiwiki-net.tk