[Pywikipedia-l] [Pywikipedia-svn] SVN: [6962]trunk/pywikipedia/family.py

Siebrand Mazeland s.mazeland at xs4all.nl
Wed Jun 17 13:12:01 UTC 2009


No, it was a manual update, based on greps from the point Wikimedia was using. Took me about an hour.

Siebrand 

-----Oorspronkelijk bericht-----
Van: pywikipedia-l-bounces at lists.wikimedia.org [mailto:pywikipedia-l-bounces at lists.wikimedia.org] Namens Nicolas Dumazet
Verzonden: woensdag 17 juni 2009 14:57
Aan: pywikipedia-l at lists.wikimedia.org
Onderwerp: Re: [Pywikipedia-l] [Pywikipedia-svn] SVN: [6962]trunk/pywikipedia/family.py

Hello

2009/6/16  <siebrand at svn.wikimedia.org>:
> Revision: 6962
> Author:   siebrand
> Date:     2009-06-15 19:27:07 +0000 (Mon, 15 Jun 2009)
>
> Log Message:
> -----------
> Update of 'redirect' magic words, based on current svn, including fallback.

[snip]

>
> -#       'it': magic words "RINVIA" and "RINVIO" appear in the 
> MediaWiki -#             source code, BUT DO NOT WORK
> +        'it': [u'rinvia', u'rinvio'],

Do you use some kind of automated tool to do this?

I know that this is painful, but I would rather *not* update automatically redirects basing ourselves on SVN.
The WMF wikis use different settings, and inserting wrong redirects is much, much, much more troublesome than not detecting some magic words.

(yes, you could say that magic words should get overriden in wikipedia_family to fit WMF configuration, but the fact is that after this commit, pywp is broken on WMF wikis :) )

I'll revert this massively for now, hoping for a nicer solution, because I can't manually test all redirect keywords.

--
Nicolas Dumazet — NicDumZ [ nɪk.d̪ymz ]

_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l





More information about the Pywikipedia-l mailing list