[pywikibot] Do I need pwb.py?

2022-11-16 Thread Bináris
Hi, I write scripts, mostly for temporary tasks. I understand, that pwb.py handles arguments and logs and finds my script in /scripts/userscripts. Most of these scripts don't excpect arguments, the task is wired in. So is there any advantage of using pwb.py in this case? -- Bi

[pywikibot] Re: How to analyze block logs?

2022-11-02 Thread Bináris
Roy Smith ezt írta (időpont: 2022. nov. 2., Sze, 18:19): > There's a bunch of block reason templates such as {{blocked proxy}}, > {{webhostblock}}, etc. They don't always get used, but they're good things > to look for before you fall back to just comment_text like '%proxy%' > This works for huw

[pywikibot] Re: How to analyze block logs?

2022-11-02 Thread Bináris
Roy, thank you! This is great! My version is https://quarry.wmcloud.org/query/68559 Next step is to try to use it with Pywikibot as Xqt said. ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists

[pywikibot] How to analyze block logs?

2022-11-01 Thread Bináris
, but after expiration they are likely to be still open, and need revision. Do we have a clever tool for this? How would you begin the task? -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot

[pywikibot] Re: FlaggedPagesGenerator

2022-10-17 Thread Bináris
Thank you! ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] FlaggedPagesGenerator

2022-10-17 Thread Bináris
be prohibited by communities on unflagged pages. -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: New Pywikibot 7.7 release

2022-10-11 Thread Bináris
On the page https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation may the warning " The last version of the zip-file is currently (14 July 2022) broken, it contains __metadata__.py instead of version string." be removed? ___ pywikibot mailing list

[pywikibot] Re: Pywikibot/pagefromfile.py only import 19 pages

2021-06-08 Thread Bináris
t; The server may be down. > Status code: 200 > > ___ > pywikibot mailing list -- pywikibot@lists.wikimedia.org > To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org > -- Bináris

[pywikibot] Re: Replace multiple template names per page

2021-06-07 Thread Bináris
MarcoAurelio ezt írta (időpont: 2021. jún. 7., H, 16:18): > (e.g. just replace the template name leaving brakets > and parameters untouched i.e. {{template|1=parameter}}). > This is the easiest case if only the template names change and there are no nested templates. That's what replace.py is fo

[pywikibot] Adminbacklog

2021-06-04 Thread Bináris
Hi, once I saw a page on enwiki called adminbacklog. I would like to make a similar page on huwiki. It'll be refreshed by bot. Is it worth any effort to make an international backlogbot, or quite hopeless? -- Bináris ___ pywikibot mailing

[pywikibot] Re: Login with compat

2021-06-03 Thread Bináris
‪‫שלום אורי דנינו‬‎ ezt írta (időpont: 2021. jún. 4., P, 0:38):‬ > (if I understood the conversation, I didn't read everything) > Manual here: > > https://m.mediawiki.org/wiki/Manual:Pywikibot/Installation#Install_Pywikibot > Thank you! ___ pywikibot m

[pywikibot] Re: Login with compat

2021-06-03 Thread Bináris
Oh, I got it... c:\Python37\Lib\site-packages\pywikibot\ Sucha an obscure place! Can I just move it to root? Ha can I set it up for SVN or git, where is the source? Bináris ezt írta (időpont: 2021. jún. 3., Cs, 13:51): > The manual says: > > pip install pywikibot > > Pip say

[pywikibot] Re: Login with compat

2021-06-03 Thread Bináris
The manual says: pip install pywikibot Pip says "Successfully installed pywikibot-6.3.0." But WHERE did it install? ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: Login with compat

2021-06-03 Thread Bináris
ezt írta (időpont: 2021. jún. 3., Cs, 11:20): > Hi Binaris, > > btw compat is for Python 2 only. > > Hi, no problem with that, I have to add some parentheses and remove u from front of strings.I use both Python branches (2 now only for co

[pywikibot] Re: Login with compat

2021-06-03 Thread Bináris
t my own replace.py is much easier than to add all features to community version. Now I have to return from far, far to understand the new concepts and being a developer again. Additionally, I failed to install Python 3.9 on my Win7, it requires >=8.1. No I am installing 3,7 and I hope it wil

[pywikibot] Re: Login with compat

2021-06-02 Thread Bináris
ezt írta (időpont: 2021. jún. 2., Sze, 23:05): > Please be aware that other csrf tokens will be removed with mw 1.37 an can > lead the compat release to fail. > Thank you! When is 1.37 due? -- Bináris ___ pywikibot mailing list --

[pywikibot] Re: Login with compat

2021-06-02 Thread Bináris
27;] + > "+\\" > except: > pass > > Thank yo so much, the bot is working again! :-)) ** *##JOHN IS THE GOD PERSONALLY! ##* *##

[pywikibot] Re: Login with compat

2021-06-02 Thread Bináris
Is there a manual to rewrite comat scripts to Pywikibot? ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: Login with compat

2021-06-01 Thread Bináris
nly. Otherwise it runs without error and says: Login failed. Wrong password or CAPTCHA answer? John ezt írta (időpont: 2021. jún. 1., K, 21:51): > What error message are you getting? I patched that locally when it > happened and I cannot reference a clean copy of compat any more. Knowing

[pywikibot] Re: Login with compat

2021-06-01 Thread Bináris
which is the default > environment on tools. > > The only way I can support you is to re-implement the missing > functionality. Where is the lag in core? What are you missing? > > Best > xqt > > > Am 01.06.2021 um 08:51 schrieb Bináris : > > > >  > > Hi f

[pywikibot] Login with compat

2021-06-01 Thread Bináris
were forcedly logged out, and now I cannot use my bot. Has anything happened since [1]? Or can you give me any hint, how to begin to solve it on my own? -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an ema

Re: [pywikibot] Thank you Xqt

2021-05-08 Thread Bináris
Ooohyeee! Congratulations and big, big, big thank you! And also thanks to Legotkm for noticing it. ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

[pywikibot] Fwd: BREAKING CHANGE: schema update, xml dumps

2019-11-27 Thread Bináris
FORWARD to other lists as you deem appropriate. Thanks! Ariel Glenn ___ Wikitech-l mailing list wikitec...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l -- Bináris ___ pywikibot ma

Re: [pywikibot] accessibility feature addition

2019-11-14 Thread Bináris
dards > that actually work consistently and for all users. > www.mediawiki.org > > ___ > pywikibot mailing list > pywikibot@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/pywikibot > -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] new contributor(s)

2019-10-17 Thread Bináris
l n00bs can do). > > Have a nice day! > > Morgan11235 > ___ > pywikibot mailing list > pywikibot@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/pywikibot > -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] Removing unused redirects

2019-01-28 Thread Bináris
:UnusedRedirects > > be the way to go? > > John > ___ > pywikibot mailing list > pywikibot@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/pywikibot > -- Bináris ___ pywikibot mailing list

Re: [pywikibot] New script: Change page language

2018-12-05 Thread Bináris
Great! But you should write your own name into the copyright line. Pywikibot team comes in additionally, when someone makes modifications. ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] [Announcement] Pywikibot Core can now be Indexed/Searched by Codesearch

2018-10-09 Thread Bináris
Thank you, Derick! ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

[pywikibot] Helper script for Check Wikipedia Project

2018-09-26 Thread Bináris
, but its output is prepared for use as a pagegenerator in Pywikibot. Have fun! https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/checkwiki.py -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman

Re: [pywikibot] Replace.py: very slow reading from XML dump

2018-09-17 Thread Bináris
2018-09-16 22:03 GMT+02:00 Bináris : > The bot scanned the latest huwiki dump for 14 hours(!). (Not the whole > dump, I used -xmlstart.) It went through 820 thousand pages and found 240+ > matches (I displayed every 10th match). > Then the bot worked further 30-40 minutes to chec

Re: [pywikibot] Replace.py: very slow reading from XML dump

2018-09-17 Thread Bináris
2018-09-17 9:03 GMT+02:00 Bináris : > We enhance textlib.py so that replaceExcept() will have a new parameter. > This will make replaceExcept() to use a search rather than a replace. *This > is the good solution.* In this case the function could return a dummy > text which differs f

Re: [pywikibot] Replace.py: very slow reading from XML dump

2018-09-17 Thread Bináris
is another issue with that generator: it always checks for > replacements but does not apply them which means replacements are always > done twice which might slow down the run too. I think we should open a > Phabricator task for it. > Best > Xqt > > Am 16.09.2018 um 22:03 schrieb Biná

[pywikibot] Replace.py: very slow reading from XML dump

2018-09-16 Thread Bináris
plied in this time.) Guess the result! 62 out of 240 remained. This means that the bigger part of these 14 hours went into /dev/null. Now I realize how much time I wasted in the past 10 years. :-( I am sure that passing namespaces to XmlDumpReplacePageGe

Re: [pywikibot] [Pywikipedia-l] Urlencoded section titles

2018-09-12 Thread Bináris
e spelling correction task, and run this replacement on that collection before spelling corrections. 2011-08-10 10:28 GMT+02:00 Merlijn van Deen : > Hi Binaris, > > 2011/8/10 Bináris > >> No, it is not really; if you edit the section >> <http://hu.wikipedia.org/w/index.p

Re: [pywikibot] asynchronous put on core

2018-08-29 Thread Bináris
be saved? In compat the > number was up to 60. > > /Steen > > > ___ > pywikibot mailing list > pywikibot@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/pywikibot > -- Bináris

[pywikibot] Fwd: MultiContent Revisions and changes to the XML dumps

2018-08-02 Thread Bináris
for background; feel free to supplement this list if you have such links. Ariel ___ Wikitech-l mailing list wikitec...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l -- Bináris

Re: [pywikibot] Archivebot fails on abuse filter

2018-06-03 Thread Bináris
2018-06-03 22:23 GMT+02:00 Martin Urbanec : > > Well, failed sliently? Again, I run the same bot in cs.wiki and this is > what I can see in logs. > Yes, that's what I wrote in the initial letter with a link to the log. For me, this is quite silent. But your example shows something important: Dalb

Re: [pywikibot] Archivebot fails on abuse filter

2018-06-03 Thread Bináris
2018-06-03 18:41 GMT+02:00 Martin Urbanec : > I think that Pywikibot's save method should allow explicit overriding of a > warning raised by abuse filter. It shouldn't be the default state, but it > should be possible. Anyway, having a bot regulary hitting AF isn't a good > idea - talk with an adm

Re: [pywikibot] Archivebot fails on abuse filter

2018-06-03 Thread Bináris
2018-06-03 19:21 GMT+02:00 Dalba : > IIRC, you can catch the error and try to save the page again. The page > will be saved this time. > Generally this wouldn't be a good idea for all the bots (in framework), but actually for archivebot I don't see any risk in doing so, as it only copies existing

[pywikibot] Archivebot fails on abuse filter

2018-06-03 Thread Bináris
-- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

[pywikibot] Ordered list of disambiguation pages

2018-02-26 Thread Bináris
e to count. As we often don't correct references in talk namespaces, we don't want to count them. Now we have a list that is useful to choose the subejct of botwork. -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https

Re: [pywikibot] Mass hiding

2018-02-24 Thread Bináris
Thank you for the useful idea! 2018-02-24 6:54 GMT+01:00 info : > > > > Am 23.02.2018 um 20:26 schrieb Bináris : > > > > We would have done this 10 years ago if it was so simple. You may be > fortunate enough to have few experience with LTAs. > > Better

Re: [pywikibot] Mass hiding

2018-02-23 Thread Bináris
bruary 2018 at 17:57, Bináris wrote: > >> We have a long term vandal who finds his pleasure in decorating user >> pages with obscene pictures, and users often want them to be hiden from >> page history. >> >> Can Pywikibot do this for me? I would give the user name of

[pywikibot] Mass hiding

2018-02-23 Thread Bináris
name) of the versions. Of course, with admin rigths. -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] How to avoid edit conflicts?

2018-02-17 Thread Bináris
I mean lasts 30 hours, so I *really *don't want edit conflicts, and I got 2 during tests, because of frequent edits. 2018-02-17 12:12 GMT+01:00 Bináris : > Hi, > > I have > target = pywikibot.Page(site, uploadPage) > oldtext = target.get() > > target.put(pre

[pywikibot] How to avoid edit conflicts?

2018-02-17 Thread Bináris
get() and put()? Is it useful to reinstantiate the page? Is it useful to give a second chance to put() in case of edit conflict, or loop it? -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo

[pywikibot] RFC: Counting and saving replacements in replace.py

2017-09-04 Thread Bináris
It needs some memory, but by this point only pairs of the actual page are stored. Unless you explicitely create a huge list with all the occuring pairs, which is not neccessary, it won't cause a problem. -- Bináris -- Bináris ___ pywikibot mai

[pywikibot] RFC: Counting ans saving replacements in replace.py

2017-09-04 Thread Bináris
licitely create a huge list with all the occuring pairs, which is not neccessary, it won't cause a problem. -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] [Pywikibot-commits] Canceled: wikimedia/pywikibot-core#4227 (master - a481391)

2017-08-07 Thread Bináris
t; Travis CI for Private Projects > <https://travis-ci.com?utm_source=build_email_footer&utm_campaign=travis-ci.org&utm_medium=email> > could be your new best friend! > > _______ > Pywikibot-commits mailing list > pywikibot-comm...@lists.

Re: [pywikibot] archivebot.py improvements

2017-06-23 Thread Bináris
le it properly, and by that time we can still use the older version. -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] [Pywikibot-commits] Failed: wikimedia/pywikibot-core#4083 (3.0.20170521 - 6ccd35d)

2017-05-29 Thread Bináris
ed > > In other words, while build 4082 and 4084 tested a current build, build > 4083 tested an old build, with bugs that had already been fixed. > > tl;dr: git ¯\_(ツ)_/¯ > > Merlijn > > On 29 May 2017 at 07:52, Bináris wrote: > >> Hi, >> help me, how is it po

Re: [pywikibot] [Pywikibot-commits] Failed: wikimedia/pywikibot-core#4083 (3.0.20170521 - 6ccd35d)

2017-05-28 Thread Bináris
ate Projects > <https://travis-ci.com?utm_source=build_email_footer&utm_campaign=travis-ci.org&utm_medium=email> > could be your new best friend! > > _______ > Pywikibot-commits mailing list > pywikibot-comm...@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/py

Re: [pywikibot] Getting code review flowing again

2017-05-25 Thread Bináris
We are on a really bad track. ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

[pywikibot] Fwd: [Wikitech-l] Fwd: [Affiliates] Recognition of the Wikimedia Tool Developers Group

2017-05-22 Thread Bináris
g https://lists.wikimedia.org/mailman/listinfo/affiliates ___ Wikitech-l mailing list wikitec...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l -- Bináris ___ pywikibot maili

Re: [pywikibot] Răspuns: Login failed and aborted

2017-05-16 Thread Bináris
onment to > the point that I have stopped actively supporting development/usage of it. > > On Tue, May 16, 2017 at 6:38 PM, Bináris wrote: > >> I think, login should be the most based, maintained, stable and >> documented part of the bot, and very simple for newcomers. Wi

Re: [pywikibot] Răspuns: Login failed and aborted

2017-05-16 Thread Bináris
d https://mediawiki.org/ > wiki/Manual:Pywikibot/BotPasswords describes how to use it with > pywikibot. > > /André > > > On 16 May 2017 18:14, "Bináris" wrote: > > I think there is a lot to develop here both in software and documentation. > As I am not the fo

Re: [pywikibot] Replace.py breaks

2017-05-16 Thread Bináris
nd try again? 2017-05-16 20:56 GMT+02:00 André Costa : > Did you install the i18n module? > https://mediawiki.org/wiki/Manual:Pywikibot/i18n > > (Or is that bundled in the PyPI release?) > > It used to be mentioned on the "installation" page but that one is a bit > ou

[pywikibot] Returned Boolean in main()

2017-05-16 Thread Bináris
What is the role of return False/True in main() of the scripts? I want to install an option where the script outputs a notice, then terminates. This is not an error, this is a feature. Which is the correct value: True or False? -- Bináris

Re: [pywikibot] Login failed and aborted

2017-05-16 Thread Bináris
Manual:Bot_passwords > > Cheers, > Morten > > On 16 May 2017 at 06:04, Bináris wrote: > >> This is a nice conservation. :-) >> >> I tried to log in with one of my bots interactively via web browser, and >> after login I got a screen stating my password was

[pywikibot] Replace.py breaks

2017-05-16 Thread Bináris
Hi, after a miserable login process I tried to do my first edit with core (latest version). Not very surprisingly, I couldn't. I tried to enter a search-replace pair, then enter to continue. What's wrong? c:\Pywikibot>pwb replace.py -page:user:BinBot/semmi Please enter the text that should be repl

Re: [pywikibot] Login failed and aborted

2017-05-16 Thread Bináris
k again at any time? 2017-05-16 11:13 GMT+02:00 Bináris : > > > 2017-05-16 0:31 GMT+02:00 Bináris : > >> >> >> 2017-05-15 23:53 GMT+02:00 Bináris : >> >>> Hi, >>> >>> I downloaded core and try to use it. >>> What is difference

Re: [pywikibot] Login failed and aborted

2017-05-16 Thread Bináris
2017-05-16 0:31 GMT+02:00 Bináris : > > > 2017-05-15 23:53 GMT+02:00 Bináris : > >> Hi, >> >> I downloaded core and try to use it. >> What is difference between "ERROR: Login failed (Aborted)." and "ERROR: >> Login failed (Failed)."?

Re: [pywikibot] Outdated manual

2017-05-16 Thread Bináris
revent further confusion. > Thank you. I don't understand the concept, being https a web protocol. Once a resource is not reachable via https on web, only with git, should it not have another protocol? -- Bináris ___ pywikibot mailing list pyw

Re: [pywikibot] Login failed and aborted

2017-05-15 Thread Bináris
2017-05-15 23:53 GMT+02:00 Bináris : > Hi, > > I downloaded core and try to use it. > What is difference between "ERROR: Login failed (Aborted)." and "ERROR: > Login failed (Failed)."? > > None of them is what I want. > > > I think the first

Re: [pywikibot] Outdated manual

2017-05-15 Thread Bináris
2017-05-16 0:01 GMT+02:00 Pion : > git clone https://gerrit.wikimedia.org/r/pywikibot/core , right? > All right, I thought once something is clickable in a documentation, it should lead somewhere, but I was obviously wrong. -- Bináris ___ pyw

[pywikibot] Login failed and aborted

2017-05-15 Thread Bináris
Hi, I downloaded core and try to use it. What is difference between "ERROR: Login failed (Aborted)." and "ERROR: Login failed (Failed)."? None of them is what I want. -- Bináris ___ pywikibot mailing list pywikibot@lists

Re: [pywikibot] Outdated manual

2017-05-15 Thread Bináris
I clicked on it and I got "Not found". 2017-05-15 23:33 GMT+02:00 Andre Klapper : > On Mon, 2017-05-15 at 20:57 +0200, Bináris wrote: > > can someone fix outdated URLs here? > > https://www.mediawiki.org/wiki/Manual:Pywikibot/Gerrit#URLs > > Would you first expl

[pywikibot] Outdated manual

2017-05-15 Thread Bináris
Hi, can someone fix outdated URLs here? https://www.mediawiki.org/wiki/Manual:Pywikibot/Gerrit#URLs -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] [Pywikibot-commits] Errored: wikimedia/pywikibot-core#3629 (master - a94994f)

2016-09-16 Thread Bináris
g/T145484 > but I have no glue how to solve it. > > There are some other failures. In consequence they should be fixed. > > Best > xqt > > Am 16.09.2016 um 11:26 schrieb Bináris : > > What do these messages mean, and what is the consequence? I see that a lot > o

Re: [pywikibot] [Pywikibot-commits] Errored: wikimedia/pywikibot-core#3629 (master - a94994f)

2016-09-16 Thread Bináris
n=travis-ci.org&utm_medium=email> > could be your new best friend! > > _______ > Pywikibot-commits mailing list > pywikibot-comm...@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/pywikibot-commits > > -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] How to redirect replace.py (compat) to a file?

2016-09-14 Thread Bináris
king. I asked before searching, sorry. -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] How to redirect replace.py (compat) to a file?

2016-09-14 Thread Bináris
Windows 7 2016-09-14 11:12 GMT+02:00 Bináris : > I use replace.py blahblah foo bar > something.txt > > something.txt will only contain some irrelevant lines, but the essential > information output by the script still comes to the screen (without > colours). That'

[pywikibot] How to redirect replace.py (compat) to a file?

2016-09-14 Thread Bináris
ted form with colour codes and everything that is in my way.) -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] Story points on Phabricator

2016-09-12 Thread Bináris
This was just a qeustion. I try to understand the system. (As far as I suceeded, this marks rather difficulty then priority.) 2016-09-12 15:47 GMT+02:00 Andre Klapper : > On Mon, 2016-09-12 at 14:27 +0200, Bináris wrote: > > I found this field on Phabricator, and googled it. The first

Re: [pywikibot] Movepages.py bug

2016-09-12 Thread Bináris
2016-09-01 18:25 GMT+02:00 Bináris : > Hi, > > movepages,py in compat has a bug when renaming files: > ERROR: {u'servedby': u'mw1235', u'error': {u'info': u'You do not have > permission to move files.', u'*': u'Se

[pywikibot] Story points on Phabricator

2016-09-12 Thread Bináris
Hi, I found this field on Phabricator, and googled it. The first match is https://agilefaq.wordpress.com/2007/11/13/what-is-a-story-point/ After reading this, the question is: do we have any policy or any need or wish about the usage of story points? -- Bináris

Re: [pywikibot] [Pywikipedia-l] Template parsing code

2016-09-02 Thread Bináris
2016-09-02 10:34 GMT+02:00 Andre Klapper : > See https://phabricator.wikimedia.org/T66848#1195047 > > Thank xou! ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] [Pywikipedia-l] Template parsing code

2016-09-01 Thread Bináris
and we don't want them to reach the main page of Phabricator. -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] [Pywikipedia-l] Template parsing code

2016-09-01 Thread Bináris
2012-01-24 8:55 GMT+01:00 Merlijn van Deen : > http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikiparser/ How to find this in the current mess? It leads to https://phabricator.wikimedia.org/diffusion/ -- Bináris ___ pywikibot mailing l

[pywikibot] Movepages.py bug

2016-09-01 Thread Bináris
ode': u'cantmovefile'}} instead of asking for an admin account. (Anyway, as far as it trickily does not allow to log in with my admin account, it's *secko jedno*. But this is still a bug.) Is it solved n core? Shell I post a bug for compat only or for both? -- Bináris _

Re: [pywikibot] Space adding/removing

2016-09-01 Thread Bináris
u'.?\. .?'), > But that's don't work. > Hope on your help, thanks > > > > > -- > Кирилл Хохлов/Kirill Khokhlov > > _______ > pywikibot mailing list > pywikibot@lists.wikimedia.org > https://l

Re: [pywikibot] Where is int2month(num) and int2month_short(num)?

2016-08-31 Thread Bináris
2016-08-30 14:48 GMT+02:00 : > [1] https://gerrit.wikimedia.org/r/#/c/221645/ > Sorry for that, I don't understand this result. -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailm

Re: [pywikibot] Vital sign

2016-08-31 Thread Bináris
h gerrit, so this was not worth again? It would be so nice to deal with effective working instead of changing work environments just as underpants all the time. The best choice would STILL be to take Pywikibot back to SourceForge and SVN... -- Bináris

Re: [pywikibot] Where is int2month(num) and int2month_short(num)?

2016-08-29 Thread Bináris
2016-08-30 0:17 GMT+02:00 info : > Yes it is recommended to split library parts from split parts. The problem > might be that nobody knows which script parts are reused by private scripts. > We already did such transitions in the past. 1. Creating new library. 2. Archivebot takes the patterns fro

Re: [pywikibot] Where is int2month(num) and int2month_short(num)?

2016-08-29 Thread Bináris
Deen (valhallasw) < valhall...@arctus.nl>: > int2month was refactored into a cleaner interface in > > https://github.com/wikimedia/pywikibot-compat/commit/ > 9b35c093b6afb573782489acdac3ccbb6b0562ac > > On 29 August 2016 at 19:45, Bináris wrote: > >> Hi, &g

[pywikibot] Where is int2month(num) and int2month_short(num)?

2016-08-29 Thread Bináris
Hi, this is a compat question. In archivebot.py there were these functions earlier and now I see they aren't any more. Where are they, or what is their current name? I imported archivebot to another script and it stopped. -- Bináris ___ pywi

Re: [pywikibot] Vital sign

2016-08-24 Thread Bináris
ew. Here: https://gerrit.wikimedia.org/r/#/c/306409/ I see that jenkins-bot gave a +2. So the bot has the right to do it? In which cases? -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] Crying about wrong namespace names

2016-08-23 Thread Bináris
espaces[90] = { 'hu': u'TĂ©ma', but the bot recognizes it as Téma (which is the correct spelling). How is that possible? I didn't dare to edit after this. -- Bináris ___ pywikibot mailing list pywikibot@lists.wi

Re: [pywikibot] Crying about wrong namespace names

2016-08-23 Thread Bináris
Thank you for the answers, now it's clear. 2016-08-23 8:18 GMT+02:00 info : > I did it once a week in past or more until I switched to core completely. I remember, in those times I still watched notifications from SVN. -- Bináris ___ p

Re: [pywikibot] Transcluding templates in a category

2016-08-22 Thread Bináris
2016-08-22 16:12 GMT+02:00 Bináris : > Hi, > https://hu.wikipedia.org/wiki/Kateg%C3%B3ria:Telep%C3%BCl% > C3%A9sek_infoboxsablonjai > this category contains infobox templates of settlements. > > How can I run replace.py on articles that transclude any of these > templates

[pywikibot] Transcluding templates in a category

2016-08-22 Thread Bináris
Hi, https://hu.wikipedia.org/wiki/Kateg%C3%B3ria:Telep%C3%BCl%C3%A9sek_infoboxsablonjai this category contains infobox templates of settlements. How can I run replace.py on articles that transclude any of these templates? -- Bináris ___ pywikibot

[pywikibot] Crying about wrong namespace names

2016-08-21 Thread Bináris
will I experience? When I work on 2000 pages, the bot yields this almost important message at every 60 pages and floods my screen. Also it spends my time with checking this at every 60 pages. I never understood this behaviour. -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

[pywikibot] List of TLDs

2016-08-16 Thread Bináris
Do we have a function that returns known TLDs? -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] Next generation text replacements

2016-08-11 Thread Bináris
the first case it is very hard to catch id without catching title. (I thought of lookbehinds, but they require fixed number of characters.) If I could mark the group after id= and exclude that group without excluding .*? after title, that would be great. 2016-08-07 19:41 GMT+02:00 Bináris : >

Re: [pywikibot] Regex for chemicals

2016-08-09 Thread Bináris
ther kind of chemical formulae, but I will test it. What is ☐? I never knew that WD stored regexes, but I like it. -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] Regex for chemicals

2016-08-09 Thread Bináris
not matching. > Good idea! Why did I not find it out myself? :-) So nobody had one ready-to-use. -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] Regex for chemicals

2016-08-09 Thread Bináris
No, I don't want to exclude whole pages, just the formula strings themselves. 2016-08-10 6:07 GMT+02:00 info : > Couldn't you match against a set of categories? > > Best > xqt > > > > Am 09.08.2016 um 19:4

[pywikibot] Regex for chemicals

2016-08-09 Thread Bináris
Hi, does anyone have a good regex for chemical formulae? These samples below were found with \d,\d,\d\S+-\d-\S+ which seems pretty good in not matching falses (every match is OK), but I don't know how many matches are left out. Do you know a better onee without false positives? Template occurrence

Re: [pywikibot] Vital sign

2016-08-07 Thread Bináris
Call me dumb, but what do +2 and -2 exactly mean? ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] Vital sign

2016-08-07 Thread Bináris
2016-08-07 19:05 GMT+02:00 Bináris : > I just listen, as I was stuck somewhere at Bugzilla and SVN and compat, > and couldn't return as developer since that (although I have ideas what to > do). That's not correct, I wanted to say Sourceforge and SV

<    1   2   3   >