[Mediawiki-l] searching for redirects by default
Herta Van den Eynde
herta.vandeneynde at gmail.com
Fri Jan 11 23:42:37 UTC 2008
On 10/01/2008, ponte at expliki.org <ponte at 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
--
Herta Van den Eynde
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."
More information about the MediaWiki-l
mailing list