Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3207
EditPage.php.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 9:23 PM
2014-11-21 21:23:56 (UTC+0)
Size
824 B
Referenced Files
None
Subscribers
None
EditPage.php.patch
View Options
Index: EditPage.php
===================================================================
--- EditPage.php (Revision 20533)
+++ EditPage.php (Arbeitskopie)
@@ -1614,6 +1614,16 @@
* can figure out a way to make them work in IE. However, we should make
* sure these keys are not defined on the edit page.
*/
+ if ( $wgUseSiteToolbar = true ) {
+ // would be nicer if we could have MediaWiki:SiteToolbar like MediaWiki:common.css
+ #print "<br>$IP/sitetoolbar.php";
+ if(file_exists("$IP/sitetoolbar.php")) {
+ include_once("$IP/sitetoolbar.php");
+ $toolarray=$sitetoolarray;
+ #print_r ($toolarray);
+ }
+ }
+ if ( count ($toolarray) == 0 ) // if there is a problem with the sitetoolarray
$toolarray = array(
array( 'image' => 'button_bold.png',
'id' => 'mw-editbutton-bold',
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2777
Default Alt Text
EditPage.php.patch (824 B)
Attached To
Mode
T9245: Hooks for EditPage Toolbar (function getEditToolbar)
Attached
Detach File
Event Timeline
Log In to Comment