# Editing # global $wgLivePreview; - $wgOut->addHTML( '
' . wfMsg( 'textboxsize' ) . ' -
' . - wfInputLabel( wfMsg( 'rows' ), 'wpRows', 'wpRows', 3, $this->mRows ) . - ' ' . - wfInputLabel( wfMsg( 'columns' ), 'wpCols', 'wpCols', 3, $this->mCols ) . - "
" . - $this->getToggles( array( + + $default_array = array ( 'editsection', 'editsectiononrightclick', 'editondblclick', @@ -980,9 +954,32 @@ 'externaldiff', $wgLivePreview ? 'uselivepreview' : false, 'forceeditsummary', - ) ) . '
' + ) ; + wfRunHooks ('getEditingPreferencesTab', array (&$this, &$default_array) ) ; + + $wgOut->addHTML( '
' . wfMsg( 'textboxsize' ) . ' +
' . + wfInputLabel( wfMsg( 'rows' ), 'wpRows', 'wpRows', 3, $this->mRows ) . + ' ' . + wfInputLabel( wfMsg( 'columns' ), 'wpCols', 'wpCols', 3, $this->mCols ) . + "
" . + $this->getToggles ($default_array) );