https://bugzilla.wikimedia.org/show_bug.cgi?id=58809
Web browser: ---
Bug ID: 58809
Summary: PYWP-24 Update cosmetic_changes.py
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: wmf.bugconverter(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
This issue was converted from https://jira.toolserver.org/browse/PYWP-24.
Summary: Update cosmetic_changes.py
Issue type: Improvement - An improvement or enhancement to an existing feature
or task.
Priority: Minor
Status: Open
Assignee: (none)
On Thu, 19 Jul 2012 11:16:29, Rainer Rillke <rainerrillke(a)hotmail.com> opened
the following bug:
> Please update
> http://svn.wikimedia.org/svnroot/pywikipedia/trunk/pywikipedia/cosmetic_cha…,
> section # Retrieved from
> "http://commons.wikimedia.org/wiki/Commons:Tools/pywiki_file_description_cle…"
> from this site. We had a few bots running doing "wrong clean up".
> Specifically {{int:license-header}} should *not* be changed to
> {{int:license}}. Thank you.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58820
Web browser: ---
Bug ID: 58820
Summary: PYWP-2 Multilingual development (jira testing)
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: minor
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: wmf.bugconverter(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
This issue was converted from https://jira.toolserver.org/browse/PYWP-2.
Summary: Multilingual development (jira testing)
Issue type: New Feature - A new feature of the product, which has yet to be
developed.
Priority: Minor
Status: Open
Assignee: Merlijn van Deen <valhallasw(a)arctus.nl>
On Fri, 02 Nov 2007 23:35:58, Merlijn van Deen <valhallasw(a)arctus.nl> opened
the following bug:
> (copied from the original report at
> http://sourceforge.net/tracker/index.php?func=detail&aid=1768728&group_id=9…
> ) English speaking at end ==Francais== Texte d'origine Bonjour Je
> voudrais vous proposer un système qui permet de rendre le robot
> multilingue. En effet, tous les messages envoyé à la console sont
> anglophone. Or le but d'un robot est de s'adapter à la multitude des
> languages pouvant exister de la part des utilisateurs. C'est pour
> cela que je vous propose le système suivant : Création d'un nouveau
> répertoire 'lang'. Dans ce répertoire s'y trouverait des fichiers de
> type XX.py (XX étant le code ISO 639 de la langue). Donc ce
> répertoire contiendra 1 ficher par code de langue existant. Lorsque
> les différents programmes veulent afficher un message sur la
> console, la commande utilisé est très souvent 'wikipedia.output' ou
> 'wikipedia.input'. Le travail de cette commande serait d'appeller le
> fichier xx.py avec le numéro du message à renvoyer en paramètre, le
> choix du xx serait donnée par la variable mylang de user-config.py.
> le fichier xx.py enverrais alors le message à afficher en tenant
> compte des différentes variables de type %s (ou autre) bien entendu
> Exemple : dans user-config.py, j'ai "mylang = 'fr'" Replace.py à la
> ligne 375 contient la commande "wikipedia.input(u'Please enter the
> new text:')", Le nouveau système coderait "wikipedia.input(u'Please
> enter the new text:')" par "wikipedia.input.message(284)" appelerait
> donc lang/fr.py et lui demanderais de lui retourner le message n°
> 284 qui serait "s'il vous plais, entrez le nouveaux texte :" et le
> lui retourne. Voila, en esperant avoir compris ma demande. Je vous
> remercie de votre écoute ==English== Text translates since French
> by a machine translation system Hello I would like to propose you a
> system which allows to return the multilingual robot. Indeed, all
> the messages messenger in the console are English-speaking. Now the
> purpose of a robot is to adapt itself to the multitude of the
> languages which can exist on behalf of the users. It is for it that
> I propose you the following system: Creation of a new directory '
> lang '. In this directory would be files of type XX.py (XX there
> being the code ISO 639 of the language). Thus this directory will
> contain 1 file by existing code of language. When the various
> programs want to post a message on the console, the order used is
> very often ' wikipedia.output ' or ' wikipedia.input '. The work of
> this order would be to call the xx.py file with the number of the
> message to be sent back in parameter, the choice of the xx would be
> given by the mylang variable to user-config.py The xx.py file would
> send then the message to be posted(shown) by taking into account
> various variables of type %s (or other) naturally Example: In user-
> config.py, I have " mylang = ' fr ' " Replace.py in the line 375
> contains the command " wikipedia.input (u' Please enter the new
> text: ') ", The new system would code " wikipedia.input (u' Please
> enter the new text: ') "by" wikipedia.input.message (284) " call
> thus lang/fr.py and would ask it to return it the message n° 284
> which would be " s'il vous plais, entrez le nouveaux texte : ".
> Here we are, by hoping to have understood my demand. I thank you for
> your listening
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58808
Web browser: ---
Bug ID: 58808
Summary: [Tracking] Bugs imported from JIRA
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: valhallasw(a)arctus.nl
Classification: Unclassified
Mobile Platform: ---
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58816
Web browser: ---
Bug ID: 58816
Summary: PYWP-17 test using SOAP
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: wmf.bugconverter(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
This issue was converted from https://jira.toolserver.org/browse/PYWP-17.
Summary: test using SOAP
Issue type: Bug - A problem which impairs or prevents the functions of the
product.
Priority: Major
Status: Open
Assignee: Merlijn van Deen <valhallasw(a)arctus.nl>
On Sat, 08 Oct 2011 23:39:36, Merlijn van Deen <valhallasw(a)arctus.nl> opened
the following bug:
> test
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55131
Web browser: ---
Bug ID: 55131
Summary: Non-unicode path results in UnicodeDecodeError
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/1648/
Reported by: valhallasw
Created on: 2013-07-28 19:36:57.919000
Subject: Non-unicode path results in UnicodeDecodeError
Original description:
>From an IRC support request:
Traceback (most recent call last):
File "login.py", line 436, in <module>
main()
File "login.py", line 432, in main
loginMan.login()
File "login.py", line 319, in login
cookiedata = self.getCookie(api)
File "login.py", line 243, in getCookie
self.site.updateCookies(L, self.sysop)
File "wikipedia.py", line 6371, in updateCookies
self._setupCookies(self._cookies[index], sysop)
File "wikipedia.py", line 6342, in _setupCookies
f = open(config.datafilepath('login-data', filename), 'w')
File "config.py", line 555, in datafilepath
return makepath(os.path.join(base_dir, *filename))
File "/usr/lib/python2.7/posixpath.py", line 80, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 16:
ordinal not in range(128)
The pywikipedia folder was in '/.../Télechargements', which is has an accented
letter. Moving to a non-accented directory solved the issue.
User is running rewrite; version.py did not yield useful results because it
doesn't support git or git nightlies yet...
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=54868
Web browser: ---
Bug ID: 54868
Summary: isDisambig results in AttributeError
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: themineo+wikibz(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
In [1]: import pywikibot
In [2]: s = pywikibot.Site("et", "wikipedia")
In [3]: p = pywikibot.Page(s, "Hannes Varblane")
In [4]: p.isDisambig()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-4-af3848c4be35> in <module>()
----> 1 p.isDisambig()
/home/wieland/dev/pywikibot-core/pywikibot/page.pyc in isDisambig(self,
get_Index)
569 if self.site.hasExtension('Disambiguator', False):
570 # If the Disambiguator extension is loaded, use it
--> 571 return 'disambiguation' in self.properties()
572
573 if not hasattr(self.site, "_disambigtemplates"):
/home/wieland/dev/pywikibot-core/pywikibot/page.pyc in properties(self, force)
379 if not hasattr(self, '_pageprops') or force:
380 self.site.loadpageprops(self)
--> 381 return self._pageprops
382
383 def defaultsort(self, force=False):
AttributeError: 'Page' object has no attribute '_pageprops'
» git describe --always --dirty
a987c8e-dirty
(Dirty here refers to the submodules having been updated)
This is obviously using the core branch.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58188
Web browser: ---
Bug ID: 58188
Summary: fixing_redirects.py crashes on [[../]]
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jan.dudik(a)gmail.com
Classification: Unclassified
Mobile Platform: ---
E:\py>fixing_redirects.py -start:! -family:wikiversity
>>> Acer Aspire One <<<
Getting 6 pages from wikiversity:cs...
Sleeping for 4.6 seconds, 2013-12-08 21:47:35
>>> Acer Aspire One/Kychot <<<
Getting 13 pages from wikiversity:cs...
Sleeping for 5.8 seconds, 2013-12-08 21:47:43
Bad title value '../'
Traceback (most recent call last):
File "E:\py\fixing_redirects.py", line 231, in <module>
main()
File "E:\py\fixing_redirects.py", line 225, in main
workon(page)
File "E:\py\fixing_redirects.py", line 176, in workon
target = page2.getMovedTarget()
File "E:\py\wikipedia.py", line 3126, in getMovedTarget
lastmove = gen.next()['move']
File "E:\py\wikipedia.py", line 7813, in logpages
raise BadTitle
pywikibot.exceptions.BadTitle
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=58505
Web browser: ---
Bug ID: 58505
Summary: KeyError in _getEditPage, invalid '*' key on site 'ko'
Product: Pywikibot
Version: compat (1.0)
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: info(a)gno.de
Classification: Unclassified
Mobile Platform: ---
>>> Fixing redirects on wikipedia:ko <<<
Retrieving special page...
Retrieved 63 redirects from special page.
>>> Coding rule <<<
Traceback (most recent call last):
File "C:\Pywikipedia\compat\redirect.py", line 1078, in <module>
main()
File "C:\Pywikipedia\compat\redirect.py", line 1069, in main
bot.run()
File "C:\Pywikipedia\compat\redirect.py", line 951, in run
self.fix_double_redirects()
File "C:\Pywikipedia\compat\redirect.py", line 685, in fix_double_redirects
self.fix_1_double_redirect(redir_name)
File "C:\Pywikipedia\compat\redirect.py", line 743, in fix_1_double_redirect
targetPage = newRedir.getRedirectTarget()
File "C:\Pywikipedia\compat\wikipedia.py", line 3163, in getRedirectTarget
self.get()
File "C:\Pywikipedia\compat\wikipedia.py", line 790, in get
expandtemplates=expandtemplates)
File "C:\Pywikipedia\compat\wikipedia.py", line 877, in _getEditPage
if isinstance(lastRev['*'], basestring):
KeyError: '*'
c:\Pywikipedia\compat>
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55230
Web browser: ---
Bug ID: 55230
Summary: Using non-ascii file path causes UnicodeDecodeError
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/1370/
Reported by: valhallasw
Created on: 2011-10-26 20:35:33
Subject: Using non-ascii file path causes UnicodeDecodeError
Original description:
\[user@denix eskarcha\]$ python2 login.py
unicode test: triggers problem \#3081100
Password for user Eskarcha on chakra:en:
Logging in to chakra:en as Eskarcha via API.
Traceback \(most recent call last\):
File "login.py", line 436, in <module>
main\(\)
File "login.py", line 432, in main
loginMan.login\(\)
File "login.py", line 319, in login
cookiedata = self.getCookie\(api\)
File "login.py", line 243, in getCookie
self.site.updateCookies\(L, self.sysop\)
File "/home/user/proxectos/chakra/documentación/eskarcha/wikipedia.py", line
5193, in updateCookies
self.\_setupCookies\(self.\_cookies\[index\], sysop\)
File "/home/user/proxectos/chakra/documentación/eskarcha/wikipedia.py", line
5164, in \_setupCookies
f = open\(config.datafilepath\('login-data', filename\), 'w'\)
File "/home/user/proxectos/chakra/documentación/eskarcha/config.py", line 505,
in datafilepath
return makepath\(os.path.join\(base\_dir, \*filename\)\)
File "/usr/lib/python2.7/posixpath.py", line 71, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 39:
ordinal not in range\(128\)
\[user@denix eskarcha\]$ python2 version.py
Pywikipedia \[http\] trunk/pywikipedia \(r9675, 2011/10/26, 08:57:14\)
Python 2.7.1 \(r271:86832, Jul 24 2011, 00:49:56\)
\[GCC 4.5.3\]
config-settings:
use\_api = True
use\_api\_login = True
unicode test: triggers problem \#3081100
Moving the pywikipediabot directory to an ascii path works as workaround.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55037
Web browser: ---
Bug ID: 55037
Summary: featured.py small improvement
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
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/feature-requests/304/
Reported by: yfdyh000
Created on: 2012-04-09 21:37:23
Subject: featured.py small improvement
Original description:
Remove already exist \{\{Link GA\}\} when featured.py added \{\{Link FA\}\}
For example:
\- \{\{Link GA|en\}\}
\+ \{\{Link FA|en\}\}
It may be necessary to avoid editor confusion.
--
You are receiving this mail because:
You are the assignee for the bug.