https://bugzilla.wikimedia.org/show_bug.cgi?id=54480
Web browser: ---
Bug ID: 54480
Summary: message 'Disambiguationspage' does not exist.
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: interwiki.py
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jan.dudik(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
This bug is blocking maintenancing interwiki on non-wikidtata-sites
E:\Pywikipedia>interwiki.py -new:300 -family:wiktionary -wiktionary -async
-auto
nomous -cleanup
NOTE: Number of pages queued is 0, trying to add 60 more.
Getting 60 pages from wiktionary:cs...
Dump cs (wiktionary) appended.
Traceback (most recent call last):
File "E:\Pywikipedia\interwiki.py", line 2678, in <module>
main()
File "E:\Pywikipedia\interwiki.py", line 2652, in main
bot.run()
File "E:\Pywikipedia\interwiki.py", line 2370, in run
self.queryStep()
File "E:\Pywikipedia\interwiki.py", line 2343, in queryStep
self.oneQuery()
File "E:\Pywikipedia\interwiki.py", line 2339, in oneQuery
subject.batchLoaded(self)
File "E:\Pywikipedia\interwiki.py", line 1391, in batchLoaded
(skip, alternativePage) = self.disambigMismatch(page, counter)
File "E:\Pywikipedia\interwiki.py", line 1130, in disambigMismatch
if self.originPage.isDisambig() and not page.isDisambig():
File "E:\Pywikipedia\wikipedia.py", line 1560, in isDisambig
'Disambiguationspage').split(':', 1)[1]
File "E:\Pywikipedia\wikipedia.py", line 6990, in mediawiki_message
raise KeyError("message '%s' does not exist." % key)
KeyError: "message 'Disambiguationspage' does not exist."
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54416
Daniel Zahn <dzahn(a)wikimedia.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|PATCH_TO_REVIEW |RESOLVED
Resolution|--- |FIXED
--- Comment #13 from Daniel Zahn <dzahn(a)wikimedia.org> ---
merged. And now i could add the URL from the bug title as "See also". resolved
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54416
Daniel Zahn <dzahn(a)wikimedia.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceforge.net/p/p
| |ywikipediabot/feature-reque
| |sts/349/
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54534
Web browser: ---
Bug ID: 54534
Summary: desambiguation category changes in catalan wikipedia
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/patches/627/
Reported by: grondin85
Created on: 2013-09-24 14:38:22.911000
Subject: desambiguation category changes in catalan wikipedia
Original description:
The disambiguation category in catalan wikipedia is changed for 4 years, now,
it is at the following wiki local adress
https://ca.wikipedia.org/wiki/Categoria:P%C3%A0gines_de_desambiguaci%C3%B3
I join a patch.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=52692
--- Comment #25 from Kunal Mehta (Legoktm) <legoktm.wikipedia(a)gmail.com> ---
Update:
I imported all of the patches from sourceforge. It mainly worked, except that
it didn't add a comment on the sf tickets pointing to bugzilla. Not sure why...
Some patches failed fetching, but it should be possible for us to pull which
ones from the log...worst case we have to check the sourceforge link and get
the patch from there manually.
--
You are receiving this mail because:
You are on the CC list for the bug.
adding version info:
Pywikipedia [https] r/pywikibot/compat (r10308, a208b54, 2013/09/24, 09:51:19, ok)
Python 2.7.3 (default, Apr 10 2012, 23:24:47) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
---
** [bugs:#1537] Wikia returns cached pages for get.py editarticle.py**
**Status:** open
**Labels:** General
**Created:** Wed Nov 07, 2012 12:36 PM UTC by Throwy
**Last Updated:** Tue Sep 24, 2013 09:54 PM UTC
**Owner:** nobody
get.py and editarticle.py use a method of page fetching that results in cached pages from Wikia
replace.py uses the pagegenerator method, which fetches the latest version of pages from Wikia
The issue is probably a Wikia issue, but it would be nice to implement a workaround in pywikipediabot.
Steps to reproduce:
Create or edit a page on a Wikia wiki. Fetch the page with editarticle.py or get.py . The bot should fetch a cached version. Edit the page with replace.py and the bot should fetch the most recent version, which is the expected behavior.
Comments:
Someone had already solved this issue for me on \#pywikipediabot on freenode. It requires very little alteration to get.py and editarticle.py. Unfortunately I did not back up or document the changes before updating pywikipediabot from SVN and the changes were lost.
\----
$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r10663, 2012/11/04, 19:53:31\)
Python 2.7.3 \(v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43\)
\[GCC 4.2.1 \(Apple Inc. build 5666\) \(dot 3\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
changed the hostname() in family file to "mlp.wikia.com" and used the following statements:
import wikipedia as wp
s = wp.getSite('wikia', 'wikia')
p = wp.Page(s, 'Template:Date/doc')
t = p.get(force=True)
works for me.
---
** [bugs:#1537] Wikia returns cached pages for get.py editarticle.py**
**Status:** open
**Labels:** General
**Created:** Wed Nov 07, 2012 12:36 PM UTC by Throwy
**Last Updated:** Fri Nov 09, 2012 06:11 PM UTC
**Owner:** nobody
get.py and editarticle.py use a method of page fetching that results in cached pages from Wikia
replace.py uses the pagegenerator method, which fetches the latest version of pages from Wikia
The issue is probably a Wikia issue, but it would be nice to implement a workaround in pywikipediabot.
Steps to reproduce:
Create or edit a page on a Wikia wiki. Fetch the page with editarticle.py or get.py . The bot should fetch a cached version. Edit the page with replace.py and the bot should fetch the most recent version, which is the expected behavior.
Comments:
Someone had already solved this issue for me on \#pywikipediabot on freenode. It requires very little alteration to get.py and editarticle.py. Unfortunately I did not back up or document the changes before updating pywikipediabot from SVN and the changes were lost.
\----
$ python version.py
Pywikipedia \[http\] trunk/pywikipedia \(r10663, 2012/11/04, 19:53:31\)
Python 2.7.3 \(v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43\)
\[GCC 4.2.1 \(Apple Inc. build 5666\) \(dot 3\)\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: ok
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54416
--- Comment #10 from Kunal Mehta (Legoktm) <legoktm.wikipedia(a)gmail.com> ---
I also modified the import script in https://gerrit.wikimedia.org/r/#/c/85884/
to strip the trailing /, so this is no longer a blocker.
I'll run the import in a few hours once I'm on a more stable internet
connection.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54416
Gerrit Notification Bot <gerritadmin(a)wikimedia.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |PATCH_TO_REVIEW
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54416
Amir Ladsgroup <ladsgroup(a)gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ladsgroup(a)gmail.com
--- Comment #8 from Amir Ladsgroup <ladsgroup(a)gmail.com> ---
Or we can take care of this in the migrating script:
https://gerrit.wikimedia.org/r/#/q/project:pywikibot/sf-export,n,z
Thanks
Best
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=52692
Andre Klapper <aklapper(a)wikimedia.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on|54416 |
--- Comment #24 from Andre Klapper <aklapper(a)wikimedia.org> ---
dzahn has merged Legoktm's patch so a SourceForge URL can be set if they do not
end in a slash /.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54416
Andre Klapper <aklapper(a)wikimedia.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks|52692 |
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54416
Andre Klapper <aklapper(a)wikimedia.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|PATCH_TO_REVIEW |NEW
--- Comment #7 from Andre Klapper <aklapper(a)wikimedia.org> ---
I'll leave this ticket open and it's up to Legoktm whether to write a followup
patch to attach an optional / at the end of the URL. :)
Thanks Daniel for merging Legoktm's patch (so work to import pywikipedia
reports from SourceForge to Bugzilla can continue)!
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54416
Andre Klapper <aklapper(a)wikimedia.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceforge.net/p/p
| |ywikipediabot/patches/349
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54416
Daniel Zahn <dzahn(a)wikimedia.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dzahn(a)wikimedia.org
--- Comment #5 from Daniel Zahn <dzahn(a)wikimedia.org> ---
seems it doesn't match properly yet. Because we now list sourceforge bugs as
valid but i couldn't add a random one like:
http://sourceforge.net/p/pywikipediabot/bugs/1674/ is not a valid URL to a bug.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54416
Andre Klapper <aklapper(a)wikimedia.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|Normal |High
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54416
Merlijn van Deen <valhallasw(a)arctus.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Pywikipedia-bugs(a)lists.wiki
| |media.org,
| |valhallasw(a)arctus.nl
--
You are receiving this mail because:
You are on the CC list for the bug.
upping the priority: operation broken for both wiktionaries and wikinews
---
** [bugs:#1674] KeyError: "message 'Disambiguationspage' does not exist.**
**Status:** open
**Created:** Wed Sep 18, 2013 08:57 AM UTC by André Malafaya Baptista
**Last Updated:** Sat Sep 21, 2013 03:09 PM UTC
**Owner:** nobody
>> interwiki.py -family:wiktionary -lang:pt Category:Russo
'git' is not recognized as an internal or external command,
operable program or batch file.
Getting 1 page from wiktionary:pt...
Dump pt (wiktionary) appended.
Traceback (most recent call last):
File "D:\Work\pywikipedia\interwiki.py", line 2678, in <module>
main()
File "D:\Work\pywikipedia\interwiki.py", line 2652, in main
bot.run()
File "D:\Work\pywikipedia\interwiki.py", line 2370, in run
self.queryStep()
File "D:\Work\pywikipedia\interwiki.py", line 2343, in queryStep
self.oneQuery()
File "D:\Work\pywikipedia\interwiki.py", line 2339, in oneQuery
subject.batchLoaded(self)
File "D:\Work\pywikipedia\interwiki.py", line 1391, in batchLoaded
(skip, alternativePage) = self.disambigMismatch(page, counter)
File "D:\Work\pywikipedia\interwiki.py", line 1142, in disambigMismatch
if self.originPage.isDisambig() and not page.isDisambig():
File "D:\Work\pywikipedia\wikipedia.py", line 1561, in isDisambig
'Disambiguationspage').split(':', 1)[1]
File "D:\Work\pywikipedia\wikipedia.py", line 6991, in mediawiki_message
raise KeyError("message '%s' does not exist." % key)
KeyError: "message 'Disambiguationspage' does not exist."
>> interwiki.py -family:wiktionary -lang:lt Category:Kalbos
'git' is not recognized as an internal or external command,
operable program or batch file.
Getting 1 page from wiktionary:lt...
Dump lt (wiktionary) appended.
Traceback (most recent call last):
File "D:\Work\pywikipedia\interwiki.py", line 2678, in <module>
main()
File "D:\Work\pywikipedia\interwiki.py", line 2652, in main
bot.run()
File "D:\Work\pywikipedia\interwiki.py", line 2370, in run
self.queryStep()
File "D:\Work\pywikipedia\interwiki.py", line 2343, in queryStep
self.oneQuery()
File "D:\Work\pywikipedia\interwiki.py", line 2339, in oneQuery
subject.batchLoaded(self)
File "D:\Work\pywikipedia\interwiki.py", line 1391, in batchLoaded
(skip, alternativePage) = self.disambigMismatch(page, counter)
File "D:\Work\pywikipedia\interwiki.py", line 1142, in disambigMismatch
if self.originPage.isDisambig() and not page.isDisambig():
File "D:\Work\pywikipedia\wikipedia.py", line 1561, in isDisambig
'Disambiguationspage').split(':', 1)[1]
File "D:\Work\pywikipedia\wikipedia.py", line 6991, in mediawiki_message
raise KeyError("message '%s' does not exist." % key)
KeyError: "message 'Disambiguationspage' does not exist."
version.py output (updated from git on 17/Sep/2013)
===
Pywikipedia wikipedia.py (r-1 (unknown), a9f799b, 2013/09/18, 09:53:00, OUTDATED)
Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
===
---
Sent from sourceforge.net because Pywikipedia-bugs(a)lists.wikimedia.org is subscribed to https://sourceforge.net/p/pywikipediabot/bugs/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pywikipediabot/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.