Page MenuHomePhabricator

bisongde
User

Projects

User is not a member of any projects.

Today

  • No visible events.

Tomorrow

  • No visible events.

Saturday

  • No visible events.

User Details

User Since
Jan 15 2018, 11:06 PM (438 w, 2 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Bisongde [ Global Accounts ]

Recent Activity

Feb 28 2018

bisongde added a comment to T187941: VisualEditor Hangs if Uploaded Image Manipulated with "Advanced Settings".

Looks like a duplicate of T180521 from the stack trace.

Feb 28 2018, 2:50 PM · VisualEditor
bisongde added a comment to T187941: VisualEditor Hangs if Uploaded Image Manipulated with "Advanced Settings".

Any setting there will trigger for us. Toggling text wrap, changing page justification, etc. The media gets uploaded successfully but VE hangs if you click finish after selecting anything in the advanced settings menu.

Feb 28 2018, 2:26 PM · VisualEditor

Feb 21 2018

bisongde added a comment to T186080: GoogleLogin Auto Account Creation .

@Florian I've found a way around this for now by editing Special:UserLogin to add the appropriate links, but an automatic method of creating accounts would be greatly appreciated. Any estimate on how long this would take to effect? Thanks.

Feb 21 2018, 10:25 PM · MediaWiki-Core-AuthManager, GoogleLogin
bisongde created T187941: VisualEditor Hangs if Uploaded Image Manipulated with "Advanced Settings".
Feb 21 2018, 8:38 PM · VisualEditor

Feb 9 2018

bisongde added a comment to T186831: Login page does not link to registration page when a login attempt results in a RESTART response.
# Prevent new user registrations except by sysops
#$wgGroupPermissions['*']['createaccount'] = false;

That disables registration which is why the link will also be hidden.

Feb 9 2018, 6:25 PM · User-Tgr, MediaWiki-Core-AuthManager
bisongde reopened T186831: Login page does not link to registration page when a login attempt results in a RESTART response as "Open".
Feb 9 2018, 5:22 PM · User-Tgr, MediaWiki-Core-AuthManager
bisongde added a comment to T186831: Login page does not link to registration page when a login attempt results in a RESTART response.

Cross-posted from the Discourse thread:

Feb 9 2018, 5:21 PM · User-Tgr, MediaWiki-Core-AuthManager

Feb 8 2018

bisongde created T186831: Login page does not link to registration page when a login attempt results in a RESTART response.
Feb 8 2018, 9:10 PM · User-Tgr, MediaWiki-Core-AuthManager

Jan 31 2018

bisongde created T186080: GoogleLogin Auto Account Creation .
Jan 31 2018, 12:24 AM · MediaWiki-Core-AuthManager, GoogleLogin

Jan 16 2018

bisongde added a comment to T138678: AuthManager should support to create a new account for a Link PrimaryAuthenticationProvider.

You achieve it by setting $wgAuthManagerConfig in your LocalSettings.php. Or you could try to manipulate $wgAuthManagerAutoConfig.

More specifically, you might set

$wgAuthManagerConfig = [
    'preauth' => [ /* list your providers here */ ],
    'primaryauth' => [
        GoogleLogin\Auth\GooglePrimaryAuthenticationProvider::class => [
            'class' => GoogleLogin\Auth\GooglePrimaryAuthenticationProvider::class,
            'sort' => 101,
        ],
        MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class => [
            'class' => MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class,
            'args' => [ [
                'authoritative' => true,
                'localOnly' => true,
            ] ],
            'sort' => 100,
        ],
    ],
    'secondaryauth' => [ /* list your providers here */ ],
];

Or you might make sure GoogleLogin is the only extension that adds a PrimaryAuthenticationProvider, then set

$wgAuthManagerAutoConfig['primaryauth'] = [
    MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class => [
        'class' => MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::class,
        'args' => [ [
            'authoritative' => true,
            'localOnly' => true,
        ] ],
        'sort' => 100,
    ],
];

to replace the primary providers added by MediaWiki core.

Jan 16 2018, 5:59 PM · User-Tgr, GoogleLogin, MediaWiki-User-login-and-signup, MediaWiki-Core-AuthManager

Jan 15 2018

bisongde added a comment to T138678: AuthManager should support to create a new account for a Link PrimaryAuthenticationProvider.

I note AuthManager already supports this, and the API exposes this. It's the web UI that needs support added.

As a wiki administrator, I maybe want to disable "normal" account creations, but want to allow new account registrations with a link provider. E.g. I've a company with Google Apps for business. So my wiki should be visible (and editable) by users with a Google Mail account (with a specific domain), only. For this I want to allow user registrations with a valid Google login, but not a "manual" registration with Username/password.

This is already supported: don't include other providers (such as LocalPasswordPrimaryAuthenticationProvider or TemporaryPasswordPrimaryAuthenticationProvider) in $wgAuthManagerConfig. If you have existing local accounts that should keep working with passwords, include LocalPasswordPrimaryAuthenticationProvider but set its "localOnly" option to prevent new creations.

Jan 15 2018, 11:09 PM · User-Tgr, GoogleLogin, MediaWiki-User-login-and-signup, MediaWiki-Core-AuthManager