On 10/01/2008, ponte@expliki.org ponte@expliki.org wrote:
How can I enable searching for redirects by default? I can add namespaces with $wgNamespacesToBeSearchedDefault, but how to add the redirs?
Thanks Ponte
-- GrĂ¼nder und Webmaster von expliki.org
Not entirely sure I understand your request.
If you want to find all redirects, go to Special Pages -> List redirects.
Alternatively, if you have access to the database, you could launch a command such as
select a.rd_title as 'new title', b.page_title as 'old title' from <prefix>_redirect a, <prefix>_page b where a.rd_from = b.page_id and b.page_is_redirect = 1;
(replace <prefix>_ by whatever you defined during install.)
Hope this helps. If not, please clarify what exactly you need.
Kind regards,
Herta