Hey!
I have a question regarding SessionIDs received by API and passing them to
MediaWiki to keep being logged in.
I have my own page where I use the MediaWiki API to read out all available
page. I log in with the API and can read those Informations.
Now I want to display those Informations on my page, in this case I list all
those pages in a table with a link ot he original MediaWiki page. If a
visitor of my page clicks now on one of those links, he is directed to
MediaWiki to view that page.
Since you need to be logged in into my MediaWiki to view any page, how can I
pass the sessionid I received via the API to my MediaWiki? Is there a way to
pass it via GET ?
For example "http://mysite.xy/mediawiki/index.php?sessionid=[the
<http://mysite.xy/mediawiki/index.php?sessionid=%5bthe%20sessionid%20I%20got
%20from%20API%5d/Mainpage> sessionid I got from API]/Mainpage".
I tryed to set the mediawiki_session, mediawikiUserName, mediawikiUserID and
mediawikiToken cookies from my site for the domain where the mediawiki is
running, but that didnt worked.
Mysite and the MediaWiki running on different servers!
Please help me realizing this, ist very important for me.
Regards,
Jens Albrecht