Use <<<HTML for vim docstring syntax highlighting
This way vim highlights the docstring as HTML instead of plaintext, which is nice.
This commit is contained in:
parent
0ba114bff5
commit
4248e05519
1 changed files with 2 additions and 2 deletions
|
|
@ -1559,13 +1559,13 @@ HTML
|
|||
protected function showFormBeforeText() {
|
||||
global $wgOut;
|
||||
$section = htmlspecialchars( $this->section );
|
||||
$wgOut->addHTML( <<<INPUTS
|
||||
$wgOut->addHTML( <<<HTML
|
||||
<input type='hidden' value="{$section}" name="wpSection" />
|
||||
<input type='hidden' value="{$this->starttime}" name="wpStarttime" />
|
||||
<input type='hidden' value="{$this->edittime}" name="wpEdittime" />
|
||||
<input type='hidden' value="{$this->scrolltop}" name="wpScrolltop" id="wpScrolltop" />
|
||||
|
||||
INPUTS
|
||||
HTML
|
||||
);
|
||||
if ( !$this->checkUnicodeCompliantBrowser() )
|
||||
$wgOut->addHTML(Xml::hidden( 'safemode', '1' ));
|
||||
|
|
|
|||
Loading…
Reference in a new issue