title: How do I set a redirection in MediaWiki?
body: <pre><code> $links['namespaces']['contacto'] = array(
          'class' =&gt; false, // false or 'selected', defines whether the tab should be highlighted
          'text' =&gt; 'Contacto', // what the tab says
          'href' =&gt; $maintitle-&gt;getFullURL(), // where it links to
          'context' =&gt; 'Contacto',
  );
  </code></pre>
  
  <p>I've created a page tabs that i want to redirect to another page within my Wiki.</p>
  
  <p>How do I set the redirect rule in 'href' in that code above?</p>