Last modified: 2013-03-07 19:11:17 UTC
On mediawiki/core (REL1_19) and extension/LdapAuthentication (master), I get the following error: Fatal error: Call to a member function isLoggedIn() on a non-object in /.../extensions/LdapAuthentication/LdapAuthentication.php on line 1033 Reverting commit 16f4070c7c340be2621deddc5c3387d68990d019 make it work fine again.
(In reply to comment #0) > On mediawiki/core (REL1_19) and extension/LdapAuthentication (master), I get > the following error: > > Fatal error: Call to a member function isLoggedIn() on a non-object in > /.../extensions/LdapAuthentication/LdapAuthentication.php on line 1033 > > Reverting commit 16f4070c7c340be2621deddc5c3387d68990d019 make it work fine > again. I'm not sure if master plugin with non master MW is expected to work
It is. I try to ensure backwards compatibility.
It's not a big problem for me now because I was able to find which commit the error came from but it might cause a surprise on the next 'official' release for user of automatic ldap authentication. The only symptom I still get not is a failure to log on the first page when returning to the site (probably due to session/cookies timeout), reloading or navigation to any other page fix it (session/cookies renewed or something alike).
Very crude workaround uploade to gerrit. https://gerrit.wikimedia.org/r/52622
Merged in. This change is actually fine. When using auto-authentication, there's no need to pull anything from the database, and wgUser won't be set.