Page MenuHomePhabricator

Makub (Martin Kuba)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Apr 7 2020, 4:10 PM (210 w, 2 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Makub [ Global Accounts ]

Recent Activity

Apr 9 2020

Makub added a comment to T249630: preferred_username is not valid MediaWiki username.

Maybe the important thing in my setup is that I am not creating new users, I am migrating old users by name, I have

$wgOpenIDConnect_MigrateUsersByUserName = true;

so the original non-capitalized preferred_username is used for searching for the old user.

Apr 9 2020, 7:51 AM · MediaWiki-extensions-OpenID-Connect

Apr 8 2020

Makub added a comment to T249630: preferred_username is not valid MediaWiki username.

I am using MediaWiki 1.34.1 (the latest in this moment) with OpenIDConnect extension downloaded from https://www.mediawiki.org/wiki/Special:ExtensionDistributor/OpenIDConnect which contains file "version" with the following content:

Apr 8 2020, 8:19 PM · MediaWiki-extensions-OpenID-Connect

Apr 7 2020

Makub added a comment to T249630: preferred_username is not valid MediaWiki username.

I do not have access to gerrit, but I have spent several hours today searching why login through OIDC is failing, and I have found that if I make this one-line change, it starts working. So you may consider the change to be already tested on my system.

Apr 7 2020, 5:42 PM · MediaWiki-extensions-OpenID-Connect
Makub added a comment to T249630: preferred_username is not valid MediaWiki username.

But its result is not used. Please note that the result of calling Title::makeTitleSafe() is stored into the variable $nt, but returned is the variable $preferred_username which holds the unmodified string without capitalized first letter.

Apr 7 2020, 5:33 PM · MediaWiki-extensions-OpenID-Connect
Makub created T249630: preferred_username is not valid MediaWiki username.
Apr 7 2020, 4:22 PM · MediaWiki-extensions-OpenID-Connect