mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-23 15:57:15 +00:00
Added some more practical example code.
This commit is contained in:
parent
0fd0380e20
commit
1b986d3696
2
README
2
README
|
@ -14,4 +14,6 @@ require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );
|
|||
|
||||
# To enable a preference by default but still allow users to disable it in preferences, use something like...
|
||||
|
||||
$wgDefaultUserOptions['usebetatoolbar'] = 1;
|
||||
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
|
||||
$wgDefaultUserOptions['wikieditor-preview'] = 1;
|
||||
|
|
Loading…
Reference in a new issue