https://bugzilla.wikimedia.org/show_bug.cgi?id=18635

T. Gries <m...@tgries.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |need-review, patch
                URL|                            |http://www.mediawiki.org/wi
                   |                            |ki/Extension:OpenID
                 CC|                            |m...@tgries.de

--- Comment #3 from T. Gries <m...@tgries.de> 2011-02-13 08:13:59 UTC ---
(In reply to comment #0)
> Currently, users can't use their user page URLs on site A as OpenID on site B
> if they login to site A using OpenID - some users might want to do that for
> vanity purposes or whatever (because one person can have multiple OpenID 
> URLs).

For openid-php-openid-782224d (taken from [1]) and OpenID-MediaWiki-1.16-r66255
[2] I created a patch which allows this per-wiki.

1. introduced a new switch
/**
 * Allow to use User pages as OpenIDs even if user is using OpenID already
 *
 * If true, users can use their user page URLs of this site A as OpenID
on another site B
 * even if user is using OpenID on A already
 * Some users might want to do that for vanity purposes or whatever
 *
 * https://bugzilla.wikimedia.org/show_bug.cgi?id=18635
 * If false, prevent serving OpenID accounts (TODO list item; done)
 *
 */
$wgOpenIDAllowServingOpenIDUserAccounts = true;

2. renamed the README file of the MediaWiki extension to
README.OpenID-mediawiki-extension - to avoid overwriting when merging with
the openid-php files, as currently suggested in the documentation

3. made everything working in MediaWiki 1.16.2 under PHP 5.3.5 (the patch fixes
"Call-time pass-by-reference is deprecated" error when using in PHP 5.3.x [3])

4. complete patched code
4.1 OpenID__openid-php-openid-782224d_plus_MW1.16-r66255 (original code
from openid-php and OpenID-MW extension [1] plus [2]
4.2 OpenID (patched version; on request)
4.3 diff between 4.1 -> 4.2 (attached here)

[1] http://github.com/openid/php-openid/downloads
(https://github.com/openid/php-openid/zipball/2.2.2)
[2] http://www.mediawiki.org/wiki/Extension:OpenID
(http://upload.wikimedia.org/ext-dist/OpenID-MW1.16-r66255.tar.gz)
[3] https://github.com/openid/php-openid/issues#issue/8 "Call-time
pass-by-reference is deprecated"

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to