r73166 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73165‎ | r73166 | r73167 >
Date:22:37, 16 September 2010
Author:tparscal
Status:ok
Tags:
Comment:
Added some comments and improved the organization of modules
Modified paths:
  • /trunk/extensions/WikiEditor/WikiEditor.php (modified) (history)

Diff [purge]

Index: trunk/extensions/WikiEditor/WikiEditor.php
@@ -17,19 +17,38 @@
1818
1919 // Each module may be configured individually to be globally on/off or user preference based
2020 $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
2226 '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
2528 'preview' => array( 'global' => false, 'user' => true ),
 29+ // Adds a button for previewing in a dialog
2630 'previewDialog' => array( 'global' => false, 'user' => true ),
 31+ // Adds a button and dialog for step-by-step publishing
2732 '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
2841 'templateEditor' => array( 'global' => false, 'user' => true ),
 42+ // Bare-bones (probably broken) template collapsing
2943 '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 ),
3149 );
3250
3351 // Bump this each time you change an icon without renaming it
 52+// FIXME: This needs to be done dynamically
3453 $wgWikiEditorIconVersion = 0;
3554
3655 /* Setup */

Status & tagging log