http://www.mediawiki.org/wiki/Special:Code/MediaWiki/71895
Revision: 71895
Author: simetrical
Date: 2010-08-29 19:07:06 +0000 (Sun, 29 Aug 2010)
Log Message:
-----------
Use <<<HTML for vim docstring syntax highlighting
This way vim highlights the docstring as HTML instead of plaintext,
which is nice.
Modified Paths:
--------------
trunk/phase3/includes/EditPage.php
Modified: trunk/phase3/includes/EditPage.php
===================================================================
--- trunk/phase3/includes/EditPage.php 2010-08-29 19:04:07 UTC (rev 71894)
+++ trunk/phase3/includes/EditPage.php 2010-08-29 19:07:06 UTC (rev 71895)
@@ -1559,13 +1559,13 @@
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' ));
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs