MediaWiki r26507 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r26506‎ | r26507 (on ViewVC)‎ | r26508 >
Date:16:15, 8 October 2007
Author:greg
Status:old
Tags:
Comment:
Add some newlines.
Modified paths:

Diff [purge]

Index: trunk/extensions/ConfirmAccount/ConfirmAccount_body.php
===================================================================
--- trunk/extensions/ConfirmAccount/ConfirmAccount_body.php	(revision 26506)
+++ trunk/extensions/ConfirmAccount/ConfirmAccount_body.php	(revision 26507)
@@ -92,7 +92,7 @@
 		$form .= "<p>".wfMsgHtml('requestaccount-bio')."</p>";
 		$form .= "<p><textarea tabindex='1' name='wpBio' id='wpBio' rows='10' cols='80' style='width:100%'>" .
 			htmlspecialchars($this->mBio) .
-			"</textarea></p>";
+			"</textarea></p>\n";
 		$form .= '</fieldset>';
 
 		$form .= '<fieldset>';
@@ -106,7 +106,7 @@
 		$form .= "<p>".wfMsgHtml('requestaccount-urls')."</p>\n";
 		$form .= "<p><textarea tabindex='1' name='wpUrls' id='wpUrls' rows='2' cols='80' style='width:100%'>" .
 			htmlspecialchars($this->mUrls) .
-			"</textarea></p>";
+			"</textarea></p>\n";
 		$form .= '</fieldset>';
 
 		# Pseudo template for extensions
@@ -124,7 +124,6 @@
 		}
 		$form .= "<p>".Xml::check( 'wpToS', $this->mToS, array('id' => 'wpToS') ).
 			' <label for="wpToS">'.wfMsgExt( 'requestaccount-tos', array('parseinline') )."</label></p>\n";
-		
 		$form .= Xml::hidden( 'title', $wgTitle->getPrefixedText() )."\n";
 		$form .= Xml::hidden( 'wpEditToken', $wgUser->editToken() )."\n";
 		$form .= "<p>".Xml::submitButton( wfMsgHtml( 'requestaccount-submit') ) . "</p>";
@@ -567,7 +566,7 @@
 		$form .= "<p>".wfMsgHtml('requestaccount-bio')."</p>";
 		$form .= "<p><textarea tabindex='1' readonly name='wpBio' id='wpBio' rows='10' cols='80' style='width:100%'>" .
 			htmlspecialchars($row->acr_bio) .
-			"</textarea></p>";
+			"</textarea></p>\n";
 		$form .= '</fieldset>';
 		
 		$form .= '<fieldset>';
@@ -589,9 +588,8 @@
 		$form .= "<p>".wfMsgHtml('requestaccount-reason')."</p>\n";
 		$form .= "<p><textarea tabindex='1' name='wpReason' id='wpReason' rows='3' cols='80' style='width:80%'>" .
 			htmlspecialchars($this->reason) .
-			"</textarea></p>";
+			"</textarea></p>\n";
 		$form .= "<p>".Xml::submitButton( wfMsgHtml( 'confirmaccount-submit') )."</p>\n";
-		
 		$form .= Xml::hidden( 'title', $wgTitle->getPrefixedText() )."\n";
 		$form .= Xml::hidden( 'action', 'reject' );
 		$form .= Xml::hidden( 'acrid', $row->acr_id );

Status & tagging log

  • 15:21, 12 September 2011 Meno25 (Talk | contribs) changed the status of r26507 [removed: ok added: old]
Personal tools
Namespaces
Variants
Views
Actions
Site
Support
Download
Development
Communication
Toolbox