Thanks for your answers... !! I'll do what can I do
2007/11/18, Tim Doyle tim@greenscourt.com:
I can think of two ways to accomplish this without resorting to a manual process.
First, install and configure pywikipediabot, then use its rename.py script to make the desired changes. You should be able to have the script iterate through a set of pages (all pages in a given namespace, for example), and convert " cat " to " [[cat]] ". This would need to be run for each such topic that you wanted to link to.
Second, you could make a customized change to the MediaWiki program to do such a conversion "on the fly", as each page was being processed for view.
There are pros and cons to each method. For example, the first involves more pre-processing but would result in quicker page delivery. The second involves no editing of the actual data on the pages, but would cost some processing each time the page was viewed. Neither method is easy, and would require you to spend some time getting things set up and tested.
See http://meta.wikimedia.org/wiki/Using_the_python_wikipediabot for more information on pywikipedia.
Also, there may be existing MediaWiki extensions which might do what you need to do. See the following:
http://www.mediawiki.org/wiki/Extension:AutoLink
Good luck!
Tim Doyle
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Pablo Olmos de Aguilera Sent: Sunday, November 18, 2007 11:30 AM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Internal links to articles
So I should do it manually?
2007/11/18, Gary Kirk gary.kirk@gmail.com:
No. Not with MediaWiki.
On 18/11/2007, Pablo Olmos de Aguilera pablo.olmosdeaguilera@gmail.com wrote:
hi =) I'm going to explain my question, I think that way is clearer
I have created an article "cat" and I want all the "cat" words in the whole wiki link to that article. There's a way to do that? (not manually of course =P)
Thanks! _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
-- Gary Kirk _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l