Be aware that using any other page than Speical:UserLogin to login can cause account compromises or session hijacking.
On Thu, Mar 17, 2016 at 7:34 AM, Raketa Me raketa.me@gmail.com wrote:
Hey Palash, Easiest way here is to follow Special:UserLogin data-structure for forms and send data to the same script as Special:UserLogin do
17.03.2016 14:21, Palash Rastogi пишет:
I want to create a login popup window in my wiki, so that the user does
not go to a different page to login. Instead, a window should appear on the top of website for login sign up purposes.
Creating a window asking for username and password is easy, but I am having difficulties with authenticating the data. I am not sure how to do it. I think it can be easily done by including the mediawiki.api.login.js file which is present in the /resources/src/mediawiki.api folder into the skin, but how to implement the function within the script?
Thanks in advance for the help.
-Palash
MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l