Index: trunk/extensions/WikiEditor/WikiEditor.php |
— | — | @@ -17,19 +17,38 @@ |
18 | 18 | |
19 | 19 | // Each module may be configured individually to be globally on/off or user preference based |
20 | 20 | $wgWikiEditorFeatures = array( |
21 | | - 'addMediaWizard' => array( 'global' => false, 'user' => false ), |
| 21 | + |
| 22 | + /* Textarea / i-frame compatible (probably deployable) */ |
| 23 | + |
| 24 | + 'toolbar' => array( 'global' => false, 'user' => true ), |
| 25 | + // Provides interactive tools |
22 | 26 | 'dialogs' => array( 'global' => false, 'user' => true ), |
23 | | - 'highlight' => array( 'global' => false, 'user' => true ), |
24 | | - 'toolbar' => array( 'global' => false, 'user' => true ), |
| 27 | + // Adds a tab for previewing in-line |
25 | 28 | 'preview' => array( 'global' => false, 'user' => true ), |
| 29 | + // Adds a button for previewing in a dialog |
26 | 30 | 'previewDialog' => array( 'global' => false, 'user' => true ), |
| 31 | + // Adds a button and dialog for step-by-step publishing |
27 | 32 | 'publish' => array( 'global' => false, 'user' => true ), |
| 33 | + |
| 34 | + /* I-frame dependent (do not deploy!) */ |
| 35 | + |
| 36 | + // Experimental wikitext parsing/syntax highlight |
| 37 | + 'highlight' => array( 'global' => false, 'user' => true ), |
| 38 | + // Failry stable table of contents |
| 39 | + 'toc' => array( 'global' => false, 'user' => true ), |
| 40 | + // Pretty broken template collapsing/editing |
28 | 41 | 'templateEditor' => array( 'global' => false, 'user' => true ), |
| 42 | + // Bare-bones (probably broken) template collapsing |
29 | 43 | 'templates' => array( 'global' => false, 'user' => true ), |
30 | | - 'toc' => array( 'global' => false, 'user' => true ), |
| 44 | + |
| 45 | + /* Unknown status */ |
| 46 | + |
| 47 | + // Adds the AddMediaWizard gadget to the toolbar |
| 48 | + 'addMediaWizard' => array( 'global' => false, 'user' => false ), |
31 | 49 | ); |
32 | 50 | |
33 | 51 | // Bump this each time you change an icon without renaming it |
| 52 | +// FIXME: This needs to be done dynamically |
34 | 53 | $wgWikiEditorIconVersion = 0; |
35 | 54 | |
36 | 55 | /* Setup */ |