Re: [Toolserver-l] A new tool request - find a translator

2011-09-12 Thread Ryan Kaldari
Thank you Magnus. This is exactly what I wanted! Ryan Kaldari On Mon, Sep 12, 2011 at 1:20 PM, Magnus Manske wrote: > There you go: > http://toolserver.org/~magnus/transparent.php > > Magnus > > > On Mon, Sep 12, 2011 at 8:18 PM, Ryan Kaldari wrote: >> Could someone write a tool that allows me

Re: [Toolserver-l] Problem with randomly missing user database

2011-09-12 Thread Krinkle
It seems to randomly work and not work on refresh. it worked a few times for me then, after refresh, it only shows "Unknown database 'u_dcoetzee'". Perhaps related to a periodic script screwing up the connection, or one of the webservers being configured differently (load balanced). -- Krinkle

Re: [Toolserver-l] Problem with randomly missing user database

2011-09-12 Thread DaB.
Hello, At Monday 12 September 2011 23:02:37 DaB. wrote: > About half the time when loading this page, I receive this error message: > > Unknown database 'u_dcoetzee' > > Source is here: > # Connect to database $toolserver_mycnf = parse_ini_file("/home/".get_current_user()."/.my.cnf"); $db = mys

Re: [Toolserver-l] A new tool request - find a translator

2011-09-12 Thread Jan Luca
Maybe you can use TS-I18N [1][2][3] to use translatewiki.net for translating into many languages if you want this. Best regards, Jan [1] https://translatewiki.net/wiki/Translating_talk:Toolserver [2] http://toolserver.org/~intuition [3] https://wiki.toolserver.org/view/Toolserver_Intuition -

[Toolserver-l] Problem with randomly missing user database

2011-09-12 Thread Derrick Coetzee
Hi all, I have a script here: http://toolserver.org/~dcoetzee/contributionsurveyor/ which accesses a user database u_dcoetzee. Example result page: http://toolserver.org/~dcoetzee/contributionsurveyor/survey.php?user=Ernestobelmonte About half the time when loading this page, I receive this er

Re: [Toolserver-l] A new tool request - find a translator

2011-09-12 Thread Krinkle
See also: http://translatewiki.net/wiki/Category:User_languages Not all native speakers want to or can translate into their language from English, but users in such category on translatewiki.net are more likely to be translators. – Krinkle 2011/9/12 Ryan Kaldari > Could someone write a tool t

Re: [Toolserver-l] A new tool request - find a translator

2011-09-12 Thread Magnus Manske
There you go: http://toolserver.org/~magnus/transparent.php Magnus On Mon, Sep 12, 2011 at 8:18 PM, Ryan Kaldari wrote: > Could someone write a tool that allows me to search for the most > recently active users on a certain project who speak a certain > language (or combination of languages) na

[Toolserver-l] A new tool request - find a translator

2011-09-12 Thread Ryan Kaldari
Could someone write a tool that allows me to search for the most recently active users on a certain project who speak a certain language (or combination of languages) natively? The user language categories seem to exist on most projects, so it seem like you could use those: http://en.wikipedia.org

Re: [Toolserver-l] Hiphop php

2011-09-12 Thread John
The toolserver runs a Solaris John On Mon, Sep 12, 2011 at 1:44 PM, Mike Dupont wrote: > Hi there, > I have been asked to help with the porting of media wiki to hiphopphp and > setting up an example, > it requires a large amount of cpu and disk and would like to know if we can > use the toolser

[Toolserver-l] Hiphop php

2011-09-12 Thread Mike Dupont
Hi there, I have been asked to help with the porting of media wiki to hiphopphp and setting up an example, it requires a large amount of cpu and disk and would like to know if we can use the toolserver for development? This is for compiling and testing, not a full deployment, I would like to see if

Re: [Toolserver-l] Announcement - XSaLT: XSL/XSLT Simple and Lightweight Tool

2011-09-12 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > btw.: ...is the pywikipedia framework's 'getUrl' safe in this > sence? Just for information: no it is not! The following works: >>> print site.getUrl("file:///etc/passwd", no_hostname = True) (this could be an issue for other homebrew bots blindly

Re: [Toolserver-l] Announcement - XSaLT: XSL/XSLT Simple and Lightweight Tool

2011-09-12 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 12.09.2011 16:43, schrieb Merlijn van Deen: > On 12 September 2011 16:00, Dr. Trigon > wrote: > > So this "IOError: [Errno 2] No such file or directory: ..." was > NOT triggered because of an not existing file, BUT beca

Re: [Toolserver-l] Announcement - XSaLT: XSL/XSLT Simple and Lightweight Tool

2011-09-12 Thread Merlijn van Deen
On 12 September 2011 16:00, Dr. Trigon wrote: > So this "IOError: [Errno 2] No such file or directory: ..." was NOT > triggered because of an not existing file, BUT because of the syntax > not accepted. I do not want to state that there is no possibility to > cheat this way, but the obvious one s

Re: [Toolserver-l] Announcement - XSaLT: XSL/XSLT Simple and Lightweight Tool

2011-09-12 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 12.09.2011 14:21, schrieb DaB.: > Hello, At Monday 12 September 2011 14:21:05 DaB. wrote: >> "/home/drtrigon/xslt/../../dab/text.xml" as path, it returns an >> "IOError: [Errno 2] No such file or directory: ..." > > which is true. There is no text

Re: [Toolserver-l] Announcement - XSaLT: XSL/XSLT Simple and Lightweight Tool

2011-09-12 Thread DaB.
Hello, At Monday 12 September 2011 14:21:05 DaB. wrote: > "/home/drtrigon/xslt/../../dab/text.xml" as path, it returns an > "IOError: [Errno 2] No such file or directory: ..." which is true. There is no text.xml-file in my home. It was just an example. Sincerly, DaB. -- Userpage: [[:w:de:User:D

Re: [Toolserver-l] Announcement - XSaLT: XSL/XSLT Simple and Lightweight Tool

2011-09-12 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 12.09.2011 13:43, schrieb DaB.: > to prevent something like > > "../../dab/text.xml" as parameter with would result in > > "/home/drtrigon/xslt/"../../dab/text.xml" which would result to > > "/home/dab/text.xml" Yes I assumed something similar,

Re: [Toolserver-l] Announcement - XSaLT: XSL/XSLT Simple and Lightweight Tool

2011-09-12 Thread DaB.
Hello, At Monday 12 September 2011 13:41:09 DaB. wrote: > Sorry that answer confuses me; "check that xslt is only composed by > alphanumeric characters" is just a second (more paranoid) check to be > very sure? to prevent something like "../../dab/text.xml" as parameter with would result in "/h

Re: [Toolserver-l] Announcement - XSaLT: XSL/XSLT Simple and Lightweight Tool

2011-09-12 Thread Peter Körner
Am 12.09.2011 13:33, schrieb Dr. Trigon: from lxml import etree doc = etree.parse(f) xslt_root = etree.XML( open(xslt).read() ) > > so why should there be a problem if the xslt would contain binary > data (which in fact they would not since I have to upload them... ;) I think he reffered

Re: [Toolserver-l] Announcement - XSaLT: XSL/XSLT Simple and Lightweight Tool

2011-09-12 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 11.09.2011 22:59, schrieb Platonides: > Dr. Trigon wrote: >> import os allowed = [item for item in os.listdir('.') if '.xslt' >> in item] if xslt not in allowed: # return some neutral/blank >> message (hiding all sentive data) > > I would check tha

Re: [Toolserver-l] Repositories for bot code

2011-09-12 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I have checked out your code out of SVN and I am playing with it. I > don't think I have commit rights to your repository, so you > shouldn't worry. I'm not worried about the repo, but my home dir on the TS... since I am FULLY trusting all TS-users

Re: [Toolserver-l] Repositories for bot code

2011-09-12 Thread Marcin Cieslak
>> Dr. Trigon wrote: > Can you explain more clearly what you are doing at the moment? > Please DO NOT CHANGE any code in my home!! :) (at least until we > solved all issues!!) I have checked out your code out of SVN and I am playing with it. I don't think I have commit rights to your repository,

Re: [Toolserver-l] Repositories for bot code

2011-09-12 Thread Dr. Trigon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I extracted all files that are not there (there are also some i18n > differences). > > bot_control.py clean_user_sandbox.py Doxyfile dtbext > dtbext/dtbext_pywikibot > dtbext/dtbext_pywikibot/dtbext_exceptions.py > dtbext/dtbext_pywikibot/__init_