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=InternalP…
(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&…
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