Bugs item #1891060, was opened at 2008-02-11 12:35
Message generated for change (Comment added) made by rotemliss
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=189106…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: namespace['mul'][100] in various Wikipedias
Initial Comment:
I am getting currently excessive:
WARNING: Family file wikipedia includes namespace['mul'][100], but it should be
removed (namespace doesn't exist in the site)
for various Wikipedias when running interwiki.py. I cannot believe that two dozen sites
removed their NS 100's at once. So I believe in a bug.
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date:
2008-02-11 19:55
Message:
Logged In: YES
user_id=1327030
Originator: NO
The problem shouldn't be treated this way, as the namespaces don't exist,
and treating them as though they are exist may cause other bugs (e.g.
treating the talk pages). I suggest to maintain a list of such
pseudo-namespaces, either in interwiki.py or in the family file, and use
them in interwiki.py.
----------------------------------------------------------------------
Comment By: Alleborgo (alleborgo)
Date: 2008-02-11 19:33
Message:
Logged In: YES
user_id=1898409
Originator: NO
Yes, now there are many warning messages but interwiki on the portals
pages are correct propagated. If we rollback to the previous version we'll
remove the warning message but we'll obtain the namespace mismatch message
and the script will not work on portal pages.
Maybe the best solution is to suggest to set those name as the namespace
100 which they are, doesn't?
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-02-11 15:55
Message:
Logged In: YES
user_id=1327030
Originator: NO
If the namespace is not defined in MediaWiki as such, it should not be
defined in pywikipediabot. If it is defined, it appears in Special:Export.
Thus, the pseudo-namespaces should be removed from the family file.
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2008-02-11 15:08
Message:
Logged In: YES
user_id=46450
Originator: YES
Ah, ok, the problem is from the other side, then. Now I believe, when
interwiki.py reads the xml output from the wikis that it gets sets of pages
from, that it either does not recognize NS 100+ in the XML, or the XML does
not include them in the header.
I've inspected my user page data exported via
http://br.wikipedia.org/wiki/Dibar:Export and found that, it mentiones NS
up to 15, but no more. The br Wikipedia is one of those displaying the
message, but
http://br.wikipedia.org/wiki/Dibar:Allpages also only shows 15
NS.
Now, I am lost. Could it be that, you mistook some "Portal:somename" as
extra name spaces that actually are part of NS 0, the article name space,
while these names look like an extra namespace?
----------------------------------------------------------------------
Comment By: Alleborgo (alleborgo)
Date: 2008-02-11 12:45
Message:
Logged In: YES
user_id=1898409
Originator: NO
It's not a bug. I have manually inserted 22 namespace translations for
"Portal" which are "de facto" used in those languages. Actually I
don't
know where is the problem but, yes, the bot understand those portal
namespace translations as wrong. But they're right ;)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=189106…