title: How to create a redirect for the log in in mediawiki
body: <p>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:</p>
  
  <pre><code> #REDIRECT[http://10.101.3.21/wikitest/index.php?title=Special%3AUserLogin&amp;returnto=Main+Page]
  </code></pre>
  
  <p>but it doesnt automatically redirect, any suggestions?</p>
  
  <p>ps: also tried with #REDIRECT [[Special:Userlogin]] still doesnt automatically redirect</p>