Bugs item #1924322, was opened at 2008-03-24 06:19
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1924322&group_…
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: interwiki
Group: None
Status: Open
Resolution: Accepted
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Doug (bewareofdoug)
Summary: interwiki links on subpages in templates
Initial Comment:
In English and some other major wikipedias interwiki links are placed on /doc subpage (or whatever it's called) in templates. Interwiki bot should check if such a page exists and not place interwiki links on main template page but place/update links on that subpage. Otherwise, everytime a bot places interwiki on a template with this structure, the main template page needs to be cleaned and interwiki links moved to a subpage manually
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2012-11-08 07:10
Message:
Hey there! Someone in my Myspace group shared this website with us so I
came to look it over. I'm definitely enjoying the information. I'm
book-marking and will be tweeting this to my followers! Wonderful blog and
terrific design and style.
north face jackets on sale http://tbvfdexb8599.webgarden.com/
----------------------------------------------------------------------
Comment By: justincheng (justincheng)
Date: 2012-05-01 02:15
Message:
How about do like this:
1.find the {{doc}}...for example
2.treat as redirect and go to XXX/document and find if exist.
3.If not try /doc...ect...running through a list
4.Go to sub-pages
Just giving an idea as treated sub-pages *similar* to redirect...
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-12-30 03:33
Message:
this tracker is still valid. Bots only keeps track of these subpaces and
prevents placing iw to the main page but does not place interwiki links on
these subpage. But it should.
btw please do not assign the tracker to you until you'll fix it.
----------------------------------------------------------------------
Comment By: Doug (bewareofdoug)
Date: 2011-12-30 03:04
Message:
Is this still valid? I thought we had fixed this behavior and interwiki.py
was now able to work with /doc links. I will test this but I'm pretty sure
it's solved so if someone has the revision number where it was fixed that
would be great to note here.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-12-11 02:27
Message:
{{template doc}} and the other redirects at en-wiki will be added with next
revision (might be r7762)
----------------------------------------------------------------------
Comment By: JAn (jandudik)
Date: 2009-12-10 08:17
Message:
Please, add redirects to {{Documentation}} too
http://en.wikipedia.org/w/index.php?title=Template:4TeamRR&diff=prev&oldid=…
there are 4 or 5 redirects to this template in en:
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-12-10 03:58
Message:
Behaviour changed. Interwiki bot doesn't change templates with
{{document}}-templates inside. This also works for the corresponding
template on de: and cs:-wiki.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-08-23 13:07
Message:
On dewiki templates can contain {{Dokumentation}} which will include
interwikis listed on subpage /Meta
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-04-25 14:57
Message:
Logged In: NO
A few pages in the project namespace also use subpages for headers and
interwiki links. Subpages usually have <includeonly> around the iw and
category links, interwiki bots should leave that in place.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2008-04-17 13:13
Message:
Logged In: NO
Every like it about his problem.
If there is a page with subpages in templates. The interwiki links on the
subpages needs to places in inside the nowiki section. So if the last word
of the page is </nowiki> the interwiki link needs to be placed before the
</nowiki> tag.
I'm the operator of the CarsracBot with its home on the nl.wikipedia.org
And I have seen this behaviour on that articles where
en:list_of_asteroides/1101-1200 is a part of.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1924322&group_…
Bugs item #3585132, was opened at 2012-11-07 04:36
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3585132&group_…
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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Throwy (throwy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wikia returns cached pages for get.py editarticle.py
Initial Comment:
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
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-11-07 05:56
Message:
Some remarks:
I 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)
result:
Traceback (most recent call last):
File "<pyshell#69>", line 1, in <module>
t = p.get(force=True)
File "wikipedia.py", line 699, in get
expandtemplates = expandtemplates)
File "wikipedia.py", line 800, in _getEditPage
"Page does not exist. In rare cases, if you are certain the page does
exist, look into overriding family.RversionTab")
NoPage: (wikia:wikia, u'[[wikia:Template:Date/doc]]', 'Page does not exist.
In rare cases, if you are certain the page does exist, look into overriding
family.RversionTab')
the query param dict was:
{'inprop': ['protection', 'subjectid'], 'rvprop': ['content', 'ids',
'flags', 'timestamp', 'user', 'comment', 'size'], 'prop': ['revisions',
'info'], 'titles': u'Template:Date/doc', 'rvlimit': 1, 'action': 'query'}
the result data dict was:
{u'query': {u'pages': {u'-1': {u'protection': [], u'ns': 10, u'missing':
u'', u'title': u'Template:Date/doc'}}}}
and last the url is:
/api.php?inprop=protection%7Csubjectid&format=json&rvprop=content%7Cids%7Cflags%7Ctimestamp%7Cuser%7Ccomment%7Csize&prop=revisions%7Cinfo&titles=Template%3ADate/doc&rvlimit=1&action=query
which gives the right result via browser e.g.:
http://mlp.wikia.com/api.php?inprop=protection%7Csubjectid&format=json&rvpr…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3585132&group_…
Bugs item #3585132, was opened at 2012-11-07 04:36
Message generated for change (Tracker Item Submitted) made by throwy
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3585132&group_…
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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Throwy (throwy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Wikia returns cached pages for get.py editarticle.py
Initial Comment:
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3585132&group_…
Bugs item #3585103, was opened at 2012-11-07 02:21
Message generated for change (Comment added) made by jandudik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3585103&group_…
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: interwiki
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: No english translation has been defined
Initial Comment:
E:\Pywikipedia>interwiki.py -cleanup -neverlink:pt -lang:pt -prefixindex:Dave_Ho
NOTE: Number of pages queued is 0, trying to add 60 more.
Getting 3 pages from wikipedia:pt...
...
======Post-processing [[pt:Dave Holland]]======
No changes needed on page [[cs:Dave Holland (bubeník)]]
No changes needed on page [[en:Dave Holland (drummer)]]
No changes needed on page [[pl:Dave Holland (perkusista)]]
No changes needed on page [[fi:Dave Holland (rumpali)]]
No changes needed on page [[no:Dave Holland]]
No changes needed on page [[es:Dave Holland (batería)]]
No changes needed on page [[fr:Dave Holland (batteur)]]
No changes needed on page [[de:Dave Holland (Schlagzeuger)]]
No changes needed on page [[it:Dave Holland (batterista)]]
No changes needed on page [[da:Dave Holland]]
No changes needed on page [[sv:Dave Holland (trummis)]]
No changes needed on page [[pt:Dave Holland]]
.....
======Post-processing [[pt:Dave Holland (baixista)]]======
No changes needed on page [[pt:Dave Holland (baixista)]]
No changes needed on page [[he:dyyb hvlnd]]
Dump pt (wikipedia) appended.
Traceback (most recent call last):
File "E:\Pywikipedia\interwiki.py", line 2584, in <module>
main()
File "E:\Pywikipedia\interwiki.py", line 2558, in main
bot.run()
File "E:\Pywikipedia\interwiki.py", line 2291, in run
self.queryStep()
File "E:\Pywikipedia\interwiki.py", line 2269, in queryStep
subj.finish(self)
File "E:\Pywikipedia\interwiki.py", line 1718, in finish
if self.replaceLinks(page, new, bot):
File "E:\Pywikipedia\interwiki.py", line 1833, in replaceLinks
insite=page.site)
File "E:\Pywikipedia\interwiki.py", line 2342, in compareLanguages
mcomment += i18n.twtranslate(insite.lang, commentname) % changes
File "E:\Pywikipedia\pywikibot\i18n.py", line 304, in twtranslate
raise TranslationError("No English translation has been defined for Translat
eWiki key %r" % twtitle)
pywikibot.i18n.TranslationError: No English translation has been defined for Tra
nslateWiki key 'interwiki-modifying-from'
E:\Pywikipedia>version.py
Pywikipedia trunk/pywikipedia/ (r10666, 2012/11/06, 15:43:35)
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
E:\Pywikipedia>
----------------------------------------------------------------------
>Comment By: JAn (jandudik)
Date: 2012-11-07 02:58
Message:
problem is when bot wants to modify pt: link in cs.wiki. Adding is without
problems, other sites are OK too.
My userinterface_lang = 'cs'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3585103&group_…
Bugs item #3585103, was opened at 2012-11-07 02:21
Message generated for change (Tracker Item Submitted) made by jandudik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3585103&group_…
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: interwiki
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: No english translation has been defined
Initial Comment:
E:\Pywikipedia>interwiki.py -cleanup -neverlink:pt -lang:pt -prefixindex:Dave_Ho
NOTE: Number of pages queued is 0, trying to add 60 more.
Getting 3 pages from wikipedia:pt...
...
======Post-processing [[pt:Dave Holland]]======
No changes needed on page [[cs:Dave Holland (bubeník)]]
No changes needed on page [[en:Dave Holland (drummer)]]
No changes needed on page [[pl:Dave Holland (perkusista)]]
No changes needed on page [[fi:Dave Holland (rumpali)]]
No changes needed on page [[no:Dave Holland]]
No changes needed on page [[es:Dave Holland (batería)]]
No changes needed on page [[fr:Dave Holland (batteur)]]
No changes needed on page [[de:Dave Holland (Schlagzeuger)]]
No changes needed on page [[it:Dave Holland (batterista)]]
No changes needed on page [[da:Dave Holland]]
No changes needed on page [[sv:Dave Holland (trummis)]]
No changes needed on page [[pt:Dave Holland]]
.....
======Post-processing [[pt:Dave Holland (baixista)]]======
No changes needed on page [[pt:Dave Holland (baixista)]]
No changes needed on page [[he:dyyb hvlnd]]
Dump pt (wikipedia) appended.
Traceback (most recent call last):
File "E:\Pywikipedia\interwiki.py", line 2584, in <module>
main()
File "E:\Pywikipedia\interwiki.py", line 2558, in main
bot.run()
File "E:\Pywikipedia\interwiki.py", line 2291, in run
self.queryStep()
File "E:\Pywikipedia\interwiki.py", line 2269, in queryStep
subj.finish(self)
File "E:\Pywikipedia\interwiki.py", line 1718, in finish
if self.replaceLinks(page, new, bot):
File "E:\Pywikipedia\interwiki.py", line 1833, in replaceLinks
insite=page.site)
File "E:\Pywikipedia\interwiki.py", line 2342, in compareLanguages
mcomment += i18n.twtranslate(insite.lang, commentname) % changes
File "E:\Pywikipedia\pywikibot\i18n.py", line 304, in twtranslate
raise TranslationError("No English translation has been defined for Translat
eWiki key %r" % twtitle)
pywikibot.i18n.TranslationError: No English translation has been defined for Tra
nslateWiki key 'interwiki-modifying-from'
E:\Pywikipedia>version.py
Pywikipedia trunk/pywikipedia/ (r10666, 2012/11/06, 15:43:35)
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
E:\Pywikipedia>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3585103&group_…
Patches item #3585031, was opened at 2012-11-06 22:17
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3585031&group_…
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: Translations
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Renessaince (renessaince)
>Assigned to: xqt (xqt)
Summary: Беларуская лякалізацыя
Initial Comment:
Пераклад на беларускую мову тэксту ў скрыптах disambredir.py і fixes.py
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-11-07 01:00
Message:
Done in r10667
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3585031&group_…
Patches item #3585035, was opened at 2012-11-06 22:36
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3585035&group_…
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: Translations
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Renessaince (renessaince)
>Assigned to: xqt (xqt)
Summary: Беларуская лякалізацыя
Initial Comment:
Файл i18n\interwiki.py, выпраўленая пунктуацыя ў беларускай лякалізацыі.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2012-11-07 00:55
Message:
Must be changed at transwiki.net.
Done:
http://translatewiki.net/w/i.php?title=Pywikipedia%3AInterwiki-modifying-fr…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3585035&group_…
Patches item #3585035, was opened at 2012-11-06 22:36
Message generated for change (Tracker Item Submitted) made by renessaince
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3585035&group_…
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: Translations
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Renessaince (renessaince)
Assigned to: Nobody/Anonymous (nobody)
Summary: Беларуская лякалізацыя
Initial Comment:
Файл i18n\interwiki.py, выпраўленая пунктуацыя ў беларускай лякалізацыі.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3585035&group_…
Patches item #3585031, was opened at 2012-11-06 22:17
Message generated for change (Tracker Item Submitted) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3585031&group_…
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: Translations
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Renessaince ()
Assigned to: Nobody/Anonymous (nobody)
Summary: Беларуская лякалізацыя
Initial Comment:
Пераклад на беларускую мову тэксту ў скрыптах disambredir.py і fixes.py
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3585031&group_…