https://bugzilla.wikimedia.org/show_bug.cgi?id=55109
Web browser: ---
Bug ID: 55109
Summary: Multilingual development
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/101/
Reported by: Anonymous user
Created on: 2007-08-06 17:47:39
Subject: Multilingual development
Original description:
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=55007
Web browser: ---
Bug ID: 55007
Summary: missing pagegenerators in rewite branch
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/339/
Reported by: cdpark
Created on: 2013-05-29 03:19:17
Subject: missing pagegenerators in rewite branch
Original description:
Some pagegenerator functions are missing in rewrite branch.
EdittimeFilterPageGenerator\(\)
ImageGenerator\(\)
LogpagesPageGenerator\(\)
PageTitleFilterPageGenerator\(\)
RandomPageGenerator\(\)
RandomRedirectPageGenerator\(\)
UnCategorizedTemplatesGenerator\(\)
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55161
Web browser: ---
Bug ID: 55161
Summary: pageform file and cosmetic changes
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/1545/
Reported by: jandudik
Created on: 2012-11-28 10:51:03
Subject: pageform file and cosmetic changes
Original description:
I tried to made several redirects:
pagefromfile.py -start:XXX -end:XXX -file:hsb.txt -notitle -lang:hsb
where hsb.txt contained
XXX
'''Carex dioica'''
\#REDIRECT\[\[dwójna rězna\]\]
YYY
...
But bot imported article with cosmetic chages and there isn't \#REDIRECT but \#
REDIRECT
http://hsb.wikipedia.org/w/index.php?title=Carex\_dioica&oldid=274441
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55162
Web browser: ---
Bug ID: 55162
Summary: Bot saves big pages but doesn't know that it was saved
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/1543/
Reported by: eugo
Created on: 2012-11-19 09:25:39
Subject: Bot saves big pages but doesn't know that it was saved
Original description:
The bot can edit \(i.e. the edit is actually made\) a huge page \(>900 KB\),
but it gets back an error and cannot proceed:
"""
Updating page \[\[Wikipedia:Bibliotheksrecherche/Anfragen/Archiv/2012\]\] via
API
<urlopen error \[Errno 35\] Resource temporarily unavailable>
WARNING: Could not open 'http://de.wikipedia.org/w/api.php'. Maybe the server
or
your connection is down. Retrying in 1 minutes...
"""
Run the attached script to see this error.
I remember there was a similar problem with Wikimedia's server configuration
some time ago. But I don't know the details anymore...
\---
Pywikipedia \[http\] trunk/pywikipedia \(r10741, 2012/11/18, 20:22:23\)
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 are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55091
Web browser: ---
Bug ID: 55091
Summary: interwiki summary should tell deletion reason
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/183/
Reported by: Anonymous user
Created on: 2009-02-23 18:56:23
Subject: interwiki summary should tell deletion reason
Original description:
If removing a interwiki link, the summary should tell about the reason for this
\(disambig, namespace, missing page\). This would ensure better control of the
bot if its removing links which often leads to problems and some trouble. Some
abbrev. would be ok; sth. like would help:
deleting: de, en \(dg\); fi, fr \(ns\); af, bg \(mp\)
<w:de:User:Xqt>
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55118
Web browser: ---
Bug ID: 55118
Summary: WD data ingestion: support non-wikipedia source
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/1672/
Reported by: valhallasw
Created on: 2013-09-11 16:40:41.290000
Subject: WD data ingestion: support non-wikipedia source
Original description:
https://gerrit.wikimedia.org/r/#/c/82263/1 adds support for non-mysite
wikipedia's, but not wor non-wikipedia's (wiktionaries, etc). Not a huge issue
as long as people add data from wikipedia's, but should be fixed.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55143
Web browser: ---
Bug ID: 55143
Summary: urls ending on a ) incorrectly parsed
Product: Pywikibot
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: normal
Priority: Unprioritized
Component: weblinkchecker.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/bugs/1616/
Reported by: harmenhuizinga
Created on: 2013-04-14 09:25:39
Subject: urls ending on a ) incorrectly parsed
Assigned to: amird
Original description:
$ python version.pyPywikipedia \[http\] trunk/pywikipedia \(r11368, 2013/04/13,
08:16:45, ok\)
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
Weblinks with an \) at the end of the url are handled incorrect by
weblinkchecker. That means that the \) is stripped from the url. See example:
$ python weblinkchecker.py -lang:nl -page:Gebruiker:Smile4ever/test
Getting 1 page from wikipedia:nl...
Waiting for remaining 1 threads to finish, please wait...
\*\[\[Gebruiker:Smile4ever/test\]\] links to
http://nl.wikipedia.org/wiki/Koe\_\(rund - 404 Not Found.
Saving history...
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55305
Web browser: ---
Bug ID: 55305
Summary: swapped meaning of function parameter in movepages.py
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/947/
Reported by: falk_steinhauer
Created on: 2009-05-19 23:23:39
Subject: swapped meaning of function parameter in movepages.py
Original description:
revision 6906 of movepages.py swaps the meaning of the last function parameter
of page.move\(newPageTitle, msg, throttle=True,
leaveRedirect=self.noredirect\).
"leaveRedirect" has the opposite meaning of "noredirect".
When running movepages.py directly the error is compensated, but importing
movepages in own scripts leads to problems with the swapped meaning.
--
You are receiving this mail because:
You are the assignee for the bug.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55164
Web browser: ---
Bug ID: 55164
Summary: Bot incorectly removes categories with parser
functions
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/1539/
Reported by: jandudik
Created on: 2012-11-12 16:54:26
Subject: Bot incorectly removes categories with parser functions
Original description:
https://cs.wiktionary.org/w/index.php?title=Kategorie:Vulg%C3%A1rn%C3%AD\_v…
--
You are receiving this mail because:
You are the assignee for the bug.