https://bugzilla.wikimedia.org/show_bug.cgi?id=55090
Web browser: ---
Bug ID: 55090
Summary: Allow multiple interwiki links to one language
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: interwiki.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/184/
Reported by: milda
Created on: 2009-02-24 09:28:40
Subject: Allow multiple interwiki links to one language
Original description:
On Wikisource no autonomous interwiki bots are running, I'm using interwiki.py
-confirm to ease of manual work, but I cannot use it if there are more than one
page in one language matching to one or more pages in another language. This is
typical for translations of well-known literar works, for example
http://en.wikisource.org/wiki/The\_Raven\_\(Poe\) or
http://da.wikisource.org/wiki/Keiserens\_nye\_Kl%C3%A6der and others.
Is it possible to allow \(with new command-line parameter\) and process
multiple links to the same language domain? At the same time, if more than one
interwiki link on some page to one language exist, then is important to keep
order of such links, because some domains use extra techniques for displaying
additional information, as you can see on The Raven page
\(\{\{Interwiki-info|fr1|some description\}\} refers to the first
\[\[fr:foo\]\] interwiki link etc.\).
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55290
Web browser: ---
Bug ID: 55290
Summary: Patch I submitted for djvutext.py was not applied
correctly
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: legoktm.wikipedia(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1112/
Reported by: dischead
Created on: 2010-01-08 19:37:48
Subject: Patch I submitted for djvutext.py was not applied correctly
Original description:
In ID 2927811, I submitted a patch to djvutext.py so that it would call
DjVuLibre's djvutxt binary with correct command-line options.
A change was checked into Subversion \(r7865\). However, this change was
incorrect. It's possible that the edit was made by hand rather than applying
the patch I provided.
The "--page" option to djvutxt must have a space instead of an equals sign
between itself and the page number. If an equals sign is there, djvutxt will
ignore the option and dump ALL text in the given DjVu file. This is likely to
cause incorrect behavior in djvutext.py.
So all that's needed is to change the equals sign to a space. I'm attaching a
new patch, but I think this can be done by hand. ;-\)
Thanks\!
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=56347
Web browser: ---
Bug ID: 56347
Summary: RandomPageGenerator returns max 10 pages
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: mpaa.wiki(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
import pywikibot
from pywikibot import pagegenerators
s = pywikibot.getSite('no', 'wiktionary')
gen = pagegenerators.RandomPageGenerator(number=100, site=s)
for p in gen:
print p
If number > 10, max 10 pages are returned.
"query-continue" is not supported by random query, as assumed by
QueryGenerator.__iter__() [see https://www.mediawiki.org/wiki/API:Random]
--
You are receiving this mail because:
You are the assignee for the bug.