im trying to make the login error from mediawiki (the one that appears when you are not log in asking you to log in), that instead of asking you, it redirect you directly to the log in page, i have added in the MediaWiki:Loginreqpagetext, the following line:
#REDIRECT[http://10.101.3.21/wikitest/index.php?title=Special%3AUserLogin&returnto=Main+Page]
but it doesnt automatically redirect, any suggestions?
ps: also tried with #REDIRECT [[Special:Userlogin]] still doesnt automatically redirect
man answering my own mediawiki questions is getting old, but for anybody interested:
add
in \include\output under: public function loginToUse() {