addModules( 'ext.visualEditor.sandbox' ); $this->setHeaders(); $wgOut->setPageTitle( wfMsg( 'visualeditor-sandbox-title' ) ); $modeWikitext = wfMsgHtml( 'visualeditor-tooltip-wikitext' ); $modeJson = wfMsgHtml( 'visualeditor-tooltip-json' ); $modeHtml = wfMsgHtml( 'visualeditor-tooltip-html' ); $modeRender = wfMsgHtml( 'visualeditor-tooltip-render' ); $modeHistory = wfMsgHtml( 'visualeditor-tooltip-history' ); $modeHelp = wfMsgHtml( 'visualeditor-tooltip-help' ); $out = <<
Example documents:
Keyboard Shortcuts
Clipboard
Ctl or + C Copy selected text
Ctl or + X Cut selected text
Ctl or + V Paste text at the cursor
History navigation
Ctl or + Z Undo
Ctl or + Y Redo
Ctl or + + Z Redo
Formatting
Ctl or + B Make selected text bold
Ctl or + I Make selected text italic
Ctl or + K Make selected text a link
Selection
+ Arrow Adjust selection
Alt + Arrow Move cursor by words or blocks
Alt + + Arrow Adjust selection by words or blocks
HTML; $wgOut->addHtml( $out ); } }