Hi,
I could be missing something here, but both of the URL's (our.wiki.de and 
sso.wiki.de) both don't go anywhere. Attempting to open either of them throws a 
"server not found" error. If the wiki is private, the URL will still load, but 
attempting to read any page except (usually) the Main Page will throw a "you do 
not have permission to read this page" message. Are you sure you spelled your 
address(es) correctly?
--Amanda


On Saturday, September 9, 2017, 2:28 PM, Ingo Gabriel <[email protected]> 
wrote:

Hello,

we are using MediaWiki as a closed wiki for our community.

For authentication purpose we use SimpleSAMLAuth against our CRM
database. Applied skin is 'Vector'. All works fine so far.

We like to improve usability for accessing direct wiki links of
protected pages like https://our.wiki.de/InternalPage

On the landing page we configured MediaWiki:Loginreqpagetext using the
parameter $1 with some explanatory text to link to our "sso" login form.

The link url of $1 looks like
https://our.wiki.de/index.php?title=Spezial:Anmelden&returnto=InternalPage&returntoquery=
(Spezail:Anmelden translates to Special:Login?)

The login link in the top right corner of the landing page looks like
https://sso.wiki.de/module.php/core/as_login.php?AuthId=specialsqlauth&ReturnTo=https%3A%2F%2Four.wiki.de%2FInternalPage

After login on the sso site the first one leeds to the homepage of the
protected wiki instead to the protected page 'InternalPage'.
The second one leeds to the protected page 'InternalPage' after
successful login.

I assume that the link in top right corner is covered by SimpleSAMLAuths
SimpleSamlAuth.class.php method 'hookPersonalUrls'.

Question: Is it possible to change the link generation $1 in
MediaWiki:Loginreqpagetext the same way like in top right corner and if
so how?. How can it be accessed? Any hints or code snippets appreciated.

Thanks in advance.

Ingo

-- 
Ingo Gabriel

_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l



_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to