[Pywikipedia-l] [ pywikipediabot-Patches-1912104 ] interwiki: add "all" to namespace question

SourceForge.net noreply at sourceforge.net
Sat Jul 19 18:28:50 UTC 2008


Patches item #1912104, was opened at 2008-03-11 14:36
Message generated for change (Comment added) made by leogregianin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1912104&group_id=93107

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: Open
Resolution: Accepted
Priority: 5
Private: No
Submitted By: AndreasJS (andreasjs)
Assigned to: Leonardo Gregianin (leogregianin)
Summary: interwiki: add "all" to namespace question

Initial Comment:
In Wikisource, authors are sometimes in namespace 102, but sometimes in the same namespace as the articles. The question:

WARNING: %s is in namespace %i, but %s is in namespace %i. Follow it anyway?'

appears everytime an author is encountered.

This patch adds the answer 'all' so that the question is not asked again for the same pair of language/namespace combinations.




----------------------------------------------------------------------

>Comment By: Leonardo Gregianin (leogregianin)
Date: 2008-07-19 14:28

Message:
Logged In: YES 
user_id=1136737
Originator: NO

I revert the last change, but is "always" allowed to do interwiki-links to
other namespaces, that question would not be necessary:

choice = wikipedia.inputChoice('WARNING: %s is in namespace %i, but %s is
in namespace %i. Follow it anyway?' % (self.originPage.aslink(True),
self.originPage.namespace(), linkedPage.aslink(True),
linkedPage.namespace()), ['Yes', 'No'], ['y', 'n'])

----------------------------------------------------------------------

Comment By: Stig Meireles Johansen (stigmj)
Date: 2008-07-19 06:39

Message:
Logged In: YES 
user_id=2116333
Originator: NO

If there are certain namespaces (f.ex. 102) in some wikisource-sites which
is "always" allowed to do interwiki-links to other namespaces (f.ex. 0) in
other wikisource-sites, you should build a corresponding
crossnamespace-dictionary for this. See
http://svn.wikimedia.org/viewvc/pywikipedia?view=rev&revision=5614 for more
information.

----------------------------------------------------------------------

Comment By: Leonardo Gregianin (leogregianin)
Date: 2008-07-18 22:35

Message:
Logged In: YES 
user_id=1136737
Originator: NO

add in r5733

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1912104&group_id=93107



More information about the Pywikipedia-l mailing list