Wikinaut has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/59802


Change subject: code cosmetics. version 3.122
......................................................................

code cosmetics. version 3.122

Change-Id: Ic521cffdd6b15f253b24b46893cb9943ae280b2b
---
M CHANGES
M OpenID.php
M SpecialOpenIDLogin.body.php
3 files changed, 22 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/OpenID 
refs/changes/02/59802/2

diff --git a/CHANGES b/CHANGES
index 1fbb865..2cc58c0 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,7 @@
 CHANGES
 =======
 
+3.122 20130418  code cosmetics
 3.121 20130417  code cosmetics
 3.12  20130402  breaking change renamed $wgOpenIDClientOnly to 
$wgOpenIDConsumerAndAlsoProvider
                 and inverting its logic accordingly
diff --git a/OpenID.php b/OpenID.php
index 22dcc7e..a68f72a 100644
--- a/OpenID.php
+++ b/OpenID.php
@@ -29,7 +29,7 @@
        exit( 1 );
 }
 
-define( 'MEDIAWIKI_OPENID_VERSION', '3.121 20130417' );
+define( 'MEDIAWIKI_OPENID_VERSION', '3.122 20130418' );
 
 $path = dirname( __FILE__ );
 set_include_path( implode( PATH_SEPARATOR, array( $path ) ) . PATH_SEPARATOR . 
get_include_path() );
diff --git a/SpecialOpenIDLogin.body.php b/SpecialOpenIDLogin.body.php
index dad7a40..4e13a80 100644
--- a/SpecialOpenIDLogin.body.php
+++ b/SpecialOpenIDLogin.body.php
@@ -141,7 +141,14 @@
                }
 
                $wgOut->addHTML(
-                       Xml::openElement( 'form', array( 'id' => 'openid_form', 
'action' => $this->getTitle()->getLocalUrl(), 'method' => 'post', 'onsubmit' => 
'openid.update()' ) ) .
+                       Xml::openElement( 'form',
+                               array(
+                                       'id' => 'openid_form',
+                                       'action' => 
$this->getTitle()->getLocalUrl(),
+                                       'method' => 'post',
+                                       'onsubmit' => 'openid.update()'
+                               )
+                       ) .
                        Xml::fieldset( wfMessage( 
'openid-login-or-create-account' )->text() ) .
                        $largeButtonsHTML .
                        '<div id="openid_input_area">' .
@@ -225,10 +232,10 @@
                                                                'for' => 
$checkName
                                                        ),
                                                        wfMessage( 
"openid$oidAttr" )->text() . wfMessage( 'colon-separator' )->escaped() .
-                                                               Xml::tags( 'i',
-                                                                       array(),
-                                                                       
$sreg[$oidAttr]
-                                                               )
+                                                       Xml::tags( 'i',
+                                                               array(),
+                                                               $sreg[$oidAttr]
+                                                       )
                                                )
                                        );
                                }
@@ -243,10 +250,16 @@
 
                        $wgOut->addHTML(
                                Xml::openElement( 'tr' ) .
-                               Xml::tags( 'td', array( 'class' => 'mw-label' ),
+                               Xml::tags( 'td',
+                                       array(
+                                               'class' => 'mw-label'
+                                       ),
                                        Xml::radio( 'wpNameChoice', 'existing', 
!$def, array( 'id' => 'wpNameChoiceExisting' ) )
                                ) . "\n" .
-                               Xml::tags( 'td', array( 'class' => 'mw-input' ),
+                               Xml::tags( 'td',
+                                       array(
+                                               'class' => 'mw-input'
+                                       ),
                                        Xml::label( wfMessage( 
'openidchooseexisting' )->text(), 'wpNameChoiceExisting' ) . "<br />\n" .
                                        wfMessage( 'openidchooseusername' 
)->text() . "\n" .
                                        Xml::input( 'wpExistingName', 16, 
$name, array( 'id' => 'wpExistingName' ) ) . "\n" .

-- 
To view, visit https://gerrit.wikimedia.org/r/59802
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic521cffdd6b15f253b24b46893cb9943ae280b2b
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/OpenID
Gerrit-Branch: master
Gerrit-Owner: Wikinaut <[email protected]>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to