Index: trunk/extensions/OpenID/OpenID.setup.php |
— | — | @@ -27,8 +27,11 @@ |
28 | 28 | exit( 1 ); |
29 | 29 | } |
30 | 30 | |
31 | | -define( 'MEDIAWIKI_OPENID_VERSION', '0.924-beta' ); |
| 31 | +define( 'MEDIAWIKI_OPENID_VERSION', '0.925-beta' ); |
32 | 32 | |
| 33 | +$path = dirname( __FILE__ ); |
| 34 | +set_include_path( implode( PATH_SEPARATOR, array( $path ) ) . PATH_SEPARATOR . get_include_path() ); |
| 35 | + |
33 | 36 | # CONFIGURATION VARIABLES |
34 | 37 | |
35 | 38 | /** |
— | — | @@ -240,7 +243,7 @@ |
241 | 244 | return $rel; |
242 | 245 | } |
243 | 246 | |
244 | | -$dir = dirname( __FILE__ ) . '/'; |
| 247 | +$dir = $path . '/'; |
245 | 248 | |
246 | 249 | $wgExtensionMessagesFiles['OpenID'] = $dir . 'OpenID.i18n.php'; |
247 | 250 | $wgExtensionAliasesFiles['OpenID'] = $dir . 'OpenID.alias.php'; |
— | — | @@ -293,7 +296,7 @@ |
294 | 297 | $wgGroupPermissions['sysop']['openid-dashboard-admin'] = true; |
295 | 298 | |
296 | 299 | $myResourceTemplate = array( |
297 | | - 'localBasePath' => dirname( __FILE__ ) . '/skin', |
| 300 | + 'localBasePath' => $path . '/skin', |
298 | 301 | 'remoteExtPath' => 'OpenID/skin', |
299 | 302 | 'group' => 'ext.openid', |
300 | 303 | ); |
Index: trunk/extensions/OpenID/TODO |
— | — | @@ -1,4 +1,4 @@ |
2 | | -Status: 0.924-beta 20110521 |
| 2 | +Status: 0.925-beta 20110523 |
3 | 3 | |
4 | 4 | ? more details are needed to understand the "to do" |
5 | 5 | * resolved, or partially resolved, wontfix |
— | — | @@ -12,7 +12,11 @@ |
13 | 13 | ? Provider-driven identifier selection (eh? do we care?) |
14 | 14 | ? Auto-login if you've logged in before with an OpenID, |
15 | 15 | and are logged into that account now |
16 | | - |
| 16 | + |
| 17 | +- redesign MediaWiki extension and php-openid library paths to avoid |
| 18 | + $path=array( dirname( __FILE__ ) ); |
| 19 | + set_include_path(implode(PATH_SEPARATOR,$path).PATH_SEPARATOR.get_include_path()); |
| 20 | + in OpenID.setup.php. I don't know, if it can be avoided. |
17 | 21 | - allow user to set a password in case of !$wgOpenIDClientOnly && $wgOpenIDOnly |
18 | 22 | (https://bugzilla.wikimedia.org/show_bug.cgi?id=29027) |
19 | 23 | = case Server/OpenID-Only |