Index: trunk/extensions/OpenID/OpenID.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | exit( 1 ); |
29 | 29 | } |
30 | 30 | |
31 | | -define( 'MEDIAWIKI_OPENID_VERSION', '0.932-beta' ); |
| 31 | +define( 'MEDIAWIKI_OPENID_VERSION', '0.933-beta' ); |
32 | 32 | |
33 | 33 | $path = dirname( __FILE__ ); |
34 | 34 | set_include_path( implode( PATH_SEPARATOR, array( $path ) ) . PATH_SEPARATOR . get_include_path() ); |
Index: trunk/extensions/OpenID/SpecialOpenIDDashboard.body.php |
— | — | @@ -4,7 +4,6 @@ |
5 | 5 | * |
6 | 6 | * @ingroup SpecialPage |
7 | 7 | * @ingroup Extensions |
8 | | - * @version 0.1 |
9 | 8 | * @author Thomas Gries |
10 | 9 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
11 | 10 | * @link http://www.mediawiki.org/wiki/Extension:OpenID Documentation |
— | — | @@ -83,7 +82,9 @@ |
84 | 83 | Html::openElement( 'table', array( 'style' => 'width:50%;', 'class' => 'mw-openiddashboard-table wikitable' ) ) |
85 | 84 | ); |
86 | 85 | |
87 | | - $out = $this->show( 'MEDIAWIKI_OPENID_VERSION', MEDIAWIKI_OPENID_VERSION ); |
| 86 | + # Here we show some basic version infos. Retrieval of SVN revision number of OpenID appears to be too difficult |
| 87 | + $out = $this->show( 'OpenID ' . wfMsg( 'version-software-version' ), MEDIAWIKI_OPENID_VERSION ); |
| 88 | + $out .= $this->show( 'MediaWiki ' . wfMsg( 'version-software-version' ), SpecialVersion::getVersion() ); |
88 | 89 | $out .= $this->show( '$wgOpenIDOnly', $wgOpenIDOnly ); |
89 | 90 | $out .= $this->show( '$wgOpenIDClientOnly', $wgOpenIDClientOnly ); |
90 | 91 | $out .= $this->show( '$wgOpenIDAllowServingOpenIDUserAccounts', $wgOpenIDAllowServingOpenIDUserAccounts ); |
— | — | @@ -95,12 +96,11 @@ |
96 | 97 | $out .= $this->show( '$wgOpenIDProposeUsernameFromSREG', $wgOpenIDProposeUsernameFromSREG ); |
97 | 98 | $out .= $this->show( '$wgOpenIDShowUrlOnUserPage', $wgOpenIDShowUrlOnUserPage ); |
98 | 99 | $out .= $this->show( '$wgOpenIDShowProviderIcons', $wgOpenIDShowProviderIcons ); |
| 100 | + $out .= $this->show( wfMsgExt( 'statistics-users', array( 'parseinline' ) ), $totalUsers ); |
| 101 | + $out .= $this->show( wfMsg( 'openid-dashboard-number-openid-users' ), $OpenIDdistinctUsers ); |
| 102 | + $out .= $this->show( wfMsg( 'openid-dashboard-number-openids-in-database' ), $OpenIDUsers ); |
| 103 | + $out .= $this->show( wfMsg( 'openid-dashboard-number-users-without-openid' ), $totalUsers - $OpenIDdistinctUsers ); |
99 | 104 | |
100 | | - $out .= $this->show( 'Number of users (total)', $totalUsers ); |
101 | | - $out .= $this->show( 'Number of users with OpenID', $OpenIDdistinctUsers ); |
102 | | - $out .= $this->show( 'Number of OpenIDs (total)', $OpenIDUsers ); |
103 | | - $out .= $this->show( 'Number of users without OpenID', $totalUsers - $OpenIDdistinctUsers ); |
104 | | - |
105 | 105 | $wgOut->addHTML( $out . Html::closeElement( 'table' ) . "\n" ); |
106 | 106 | |
107 | 107 | } |
Index: trunk/extensions/OpenID/OpenID.i18n.php |
— | — | @@ -138,6 +138,9 @@ |
139 | 139 | 'openid-dashboard-title' => 'OpenID dashboard', |
140 | 140 | 'openid-dashboard-title-admin' => 'OpenID dashboard (administrator)', |
141 | 141 | 'openid-dashboard-introduction' => 'The current OpenID extension settings ([$1 help])', |
| 142 | + 'openid-dashboard-number-openid-users' => 'Number of users with OpenID', |
| 143 | + 'openid-dashboard-number-openids-in-database' => 'Number of OpenIDs (total)', |
| 144 | + 'openid-dashboard-number-users-without-openid' => 'Number of users without OpenID', |
142 | 145 | ); |
143 | 146 | |
144 | 147 | /** Message documentation (Message documentation) |