Search found 4 matches
php|uber.leet Forum Index
Author Message
  Topic: automated login for mediawiki 1.18.2 in php [solved+code]
coder1

Replies: 5
Views: 28112

PostForum: General   Posted: Sat May 26, 2012 2:10 am   Subject: automated login for mediawiki 1.18.2 in php [solved+code]
the code can reside in any file in your website, it's pretty much standalone, just call mediawiki_login() when a user has authenticated.
i think the general idea in an api is to use its interface an ...
  Topic: automated login for mediawiki 1.18.2 in php [solved+code]
coder1

Replies: 5
Views: 28112

PostForum: General   Posted: Fri May 04, 2012 1:48 am   Subject: automated login for mediawiki 1.18.2 in php [solved+code]
btw, this does not replace the auth plugin. it does work well together with auth plugin, though.
  Topic: automated login for mediawiki 1.18.2 in php [solved+code]
coder1

Replies: 5
Views: 28112

PostForum: General   Posted: Fri May 04, 2012 1:47 am   Subject: automated login for mediawiki 1.18.2 in php [solved+code]
i dont have a website so i'd like to share my code here, no warranty given and you might want to add some more error handling/messages, hf:


function do_post_request($url, $data, $optional_hea ...
  Topic: auth_phpBB 3.0.3 incompatible with MW 1.17.0
coder1

Replies: 2
Views: 6806

PostForum: General   Posted: Wed Apr 25, 2012 3:28 am   Subject: auth_phpBB 3.0.3 incompatible with MW 1.17.0
i think this comes from checking for password validity when checking for the correct password.

i guess you need a hook:

in function __construct($aConfig) add:
$GLOBALS['wgHooks']['isValidPasswo ...
Page 1 of 1
All times are GMT - 8 Hours
Jump to:  

alexisBlue v1.2 // Theme Created By: Andrew Charron and Web Hosting Bluebook
Powered by phpBB © 2001, 2002 phpBB Group