Index: trunk/extensions/OpenID/OpenID.i18n.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | * @author Thomas Gries |
34 | 34 | */ |
35 | 35 | $messages['en'] = array( |
36 | | - 'openid-desc' => 'Lets users log in to the wiki with an [http://openid.net/ OpenID] and log in to other OpenID-aware Web sites with their wiki user account', |
| 36 | + 'openid-desc' => 'Let users log in to the wiki with an [http://openid.net/ OpenID]. If this is enabled on the wiki, they can also use their user account url of this wiki as OpenID to log in to other OpenID-aware web sites.', |
37 | 37 | 'openidlogin' => 'Log in with OpenID', |
38 | 38 | 'openidserver' => 'OpenID server', |
39 | 39 | 'openidxrds' => 'Yadis file', |
Index: trunk/extensions/OpenID/README.OpenID-mediawiki-extension |
— | — | @@ -1,9 +1,11 @@ |
2 | | -MediaWiki OpenID extension |
3 | | - |
4 | | -homepage and manual http://www.mediawiki.org/wiki/Extension:OpenID |
| 2 | +MediaWiki OpenID extension README.OpenID-mediawiki-extension file |
5 | 3 | version 0.921-beta |
6 | 4 | 19 May 2011 |
7 | 5 | |
| 6 | +Homepage and manual http://www.mediawiki.org/wiki/Extension:OpenID |
| 7 | + |
| 8 | +Please check OpenID.setup.php for the current program version number |
| 9 | + |
8 | 10 | This is the README file for the OpenID extension for MediaWiki software. The |
9 | 11 | extension is only useful if you've got a MediaWiki installation; it can only be |
10 | 12 | installed by the administrator of the site. |
Index: trunk/extensions/OpenID/OpenID.setup.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | exit( 1 ); |
29 | 29 | } |
30 | 30 | |
31 | | -define( 'MEDIAWIKI_OPENID_VERSION', '0.921-beta' ); |
| 31 | +define( 'MEDIAWIKI_OPENID_VERSION', '0.922-beta' ); |
32 | 32 | |
33 | 33 | # CONFIGURATION VARIABLES |
34 | 34 | |
Index: trunk/extensions/OpenID/SpecialOpenIDDashboard.body.php |
— | — | @@ -61,7 +61,13 @@ |
62 | 62 | global $wgOpenIDAllowServingOpenIDUserAccounts; |
63 | 63 | global $wgOpenIDShowProviderIcons; |
64 | 64 | |
| 65 | + if ( !$wgUser->isAllowed( 'openid-dashboard-access' ) ) { |
| 66 | + $wgOut->permissionRequired( 'openid' ); |
| 67 | + return; |
| 68 | + } |
| 69 | + |
65 | 70 | $out = "<table class='openiddashboard wikitable'><tr><th>Parameter</th><th>Value</th></tr>"; |
| 71 | + $out .= show( 'MEDIAWIKI_OPENID_VERSION', MEDIAWIKI_OPENID_VERSION ); |
66 | 72 | $out .= show( '$wgOpenIDOnly', $wgOpenIDOnly ); |
67 | 73 | $out .= show( '$wgOpenIDClientOnly', $wgOpenIDClientOnly ); |
68 | 74 | $out .= show( '$wgOpenIDAllowServingOpenIDUserAccounts', $wgOpenIDAllowServingOpenIDUserAccounts ); |