Re: [pywikibot] Help me get back to business

2015-08-04 Thread Bináris
Thank both of you, Andre and xqt! 2015-08-04 10:50 GMT+02:00 i...@gno.de: I personally use 3 remaining schripts in compat and fix known bugs for it as long as I am unable to merge to core due to known problems. Can you tell me which are these scripts and what functions are missing from

Re: [pywikibot] Replace.py + template + toggle

2015-08-11 Thread Bináris
to check the talk pages of articles with certain templates such as e.g. {{SN}}. -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

[pywikibot] Warning users with document.write in their javascripts

2015-08-06 Thread Bináris
: https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/documentwritewarning.py -- 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
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 <wikipo...@gmail.com>

Re: [pywikibot] Regex for chemicals

2016-08-10 Thread Bináris
erty:P274 > This should be another 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

[pywikibot] Vital sign

2016-08-07 Thread Bináris
How is it possible that I haven't got any mail from this list since January? Is it dead or have I dropped out? -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

Re: [pywikibot] Vital sign

2016-08-07 Thread Bináris
What concerns the original issue, I found the error in my filters. Due to interaction of new list name and old filters, all the mails were automatically archived and tagged with Pywikibot-bugs. Did I already told that I hate to spend my time with updating the working environment all the time

[pywikibot] Next generation text replacements

2016-08-07 Thread Bináris
ne the next generation of text replacements. And now I finally found the correct subject at the last sentence of my message. :-) -- Bináris ___ pywikibot mailing list pywikibot@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot

[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

[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] Where is int2month(num) and int2month_short(num)?

2016-08-31 Thread Bináris
2016-08-30 14:48 GMT+02:00 <i...@gno.de>: > [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

Re: [pywikibot] Space adding/removing

2016-09-01 Thread Bináris
rk. > Hope on your help, thanks > > > > > -- > Кирилл Хохлов/Kirill Khokhlov > > ___ > pywikibot mailing list > pywikibot@lists.wikimedia.org > https://lists.wikimedia.org/mailman/listinfo/pywikibot > > -- Binári

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

2016-09-01 Thread Bináris
ill find Pywiki there 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 <valhall...@arctus.nl>: > http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikiparser/ How to find this in the current mess? It leads to https://phabricator.wikimedia.org/diffusion/ --

[pywikibot] Movepages.py bug

2016-09-01 Thread Bináris
, 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 ___ pywikibot mailing list pywikibot@lists.wikimedia.org

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

2016-08-30 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

Re: [pywikibot] Vital sign

2016-08-31 Thread Bináris
fort to familiarie myself with 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 SV

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

2016-09-14 Thread Bináris
orm 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] 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 <wikipo...@gmail.com>: > 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 >

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

2016-09-14 Thread Bináris
it is already working. I asked before searching, sorry. -- 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
CI for Private Projects > <https://travis-ci.com?utm_source=build_email_footer_campaign=travis-ci.org_medium=email> > could be your new best friend! > > _______ > Pywikibot-commits mailing list > pywikibot-comm...@lists.wikimedia.org > https://lists.wikimedia.org/mailma

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

2016-09-16 Thread Bináris
e to > https://phabricator.wikimedia.org/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 <wikipo...@gmail.com>: > > What do these messages mean, and what is

Re: [pywikibot] Crying about wrong namespace names

2016-08-23 Thread Bináris
E.g. self.namespaces[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.wikimedia.org htt

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...@gno.de>: > 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. --

[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

[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 <aklap...@wikimedia.org>: > 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

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

2017-05-16 Thread Bináris
> > Setting up a BotPassword is easy though and https://mediawiki.org/ > wiki/Manual:Pywikibot/BotPasswords describes how to use it with > pywikibot. > > /André > > > On 16 May 2017 18:14, "Bináris" <wikipo...@gmail.com> wrote: > > I think there is a lo

Re: [pywikibot] Login failed and aborted

2017-05-15 Thread Bináris
2017-05-15 23:53 GMT+02:00 Bináris <wikipo...@gmail.com>: > 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. > &

Re: [pywikibot] Outdated manual

2017-05-15 Thread Bináris
2017-05-16 0:01 GMT+02:00 Pion <pio...@gmail.com>: > 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.

Re: [pywikibot] Login failed and aborted

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

Re: [pywikibot] Outdated manual

2017-05-16 Thread Bináris
nks with > tags to prevent 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 ___

Re: [pywikibot] Replace.py breaks

2017-05-16 Thread Bináris
is a bit > out of date. > > /André > > On 16 May 2017 15:25, "Bináris" <wikipo...@gmail.com> wrote: > >> 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

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

2017-05-29 Thread Bináris
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 <wikipo...@gmail.com> wrote: > >> Hi, >> hel

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] RFC: Counting ans saving replacements in replace.py

2017-09-04 Thread Bináris
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

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

2017-09-04 Thread Bináris
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 mailing list pywikibot@lists.wikimedia.org https

[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

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:

[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

[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] asynchronous put on core

2018-08-29 Thread Bináris
to 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

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

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

2019-11-27 Thread Bináris
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 mailing list

[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

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

2021-06-08 Thread Bináris
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 _

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] Re: Login with compat

2021-06-01 Thread Bináris
sword 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 > the error would let me narrow it down. > > On Tue, Jun 1,

[pywikibot] Login with compat

2021-06-01 Thread Bináris
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 email

[pywikibot] Re: Login with compat

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

[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-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-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
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
vert 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-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] 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 list

[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 : > > > >  > >

[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

[pywikibot] Moderator please

2023-08-22 Thread Bináris
Who is the moderator here? I sent a message with a small picture that was not avoidable to show the problem and it got stuck. Please, help. -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at https

[pywikibot] I get mad of replace.py, please help

2023-08-22 Thread Bináris
? I try to attach a small creenshot: two articles are correct, the 3rd one is totally bad. [image: kép.png] -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org Public archives at https://lists.wikimedia.org/hyperkitty/list/pywikibot

[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: 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] Re: New Pywikibot 7.7 release

2022-10-12 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] 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: Working with wikitables

2022-12-22 Thread Bináris
William Avery ezt írta (időpont: 2022. dec. 22., Cs, 11:12): > FWIW, I wrote a bot script to sort some tables a while ago. > > > https://bitbucket.org/WilliamAvery/wikipythonics/src/master/draftPickSortBot.py > Thank you, I will test it! ___ pywikibot

[pywikibot] Use re.fullmatch instead of $ at the end of regex

2022-12-26 Thread Bináris
more Python-specific regexes, the Pywikibot users and AWB uers may be able to help each other less on bot owners' noticeboards. This is not a critics, just a point of view which may worth to consider. -- Bináris ___ pywikibot mailing list -- pywikibot

[pywikibot] Re: Getting started

2022-12-28 Thread Bináris
ot@lists.wikimedia.org > To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org > -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: 2FA

2022-12-17 Thread Bináris
Thank you! Amir Sarabadani ezt írta (időpont: 2022. dec. 17., Szo, 11:43): > Yes but they could simply set a bot password instead and that's the > correct way to do it anyway regardless of 2fa or not. > > Go to Special:BotPasswords > > Bináris schrieb am Sa., 17. Dez. 2022, 1

[pywikibot] 2FA

2022-12-17 Thread Bináris
I wrote a script which requires admin rights. Someone told he couldn't use it because Pywikibot does not supoort 2FA login. Is that correct? -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email

[pywikibot] Re: 2FA

2022-12-17 Thread Bináris
Great, thank you! :-) ezt írta (időpont: 2022. dec. 17., Szo, 15:02): > Hi Bináris, > > Pywikibot master (8.0) does support 2FA. Just login with your sysop > account. You will be asked for the password and after that for the 2FA > token. > > ⚓ T186274 Enable 2FA

[pywikibot] Page views

2022-12-17 Thread Bináris
At left of articles there is a page information link, which shows recent page views on a diagram. Can I get these page views numerically by Pywikibot? -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email

[pywikibot] Re: Page views

2022-12-18 Thread Bináris
Click https://hu.wikipedia.org/w/index.php?title=Erfurti_latrinabaleset=info Ctrl F "Megtekintések száma az elmúlt 30 napban" Click on the number next to it Gives pop-up diagram Pywikibot.ico Description: Binary data ___ pywikibot mailing list --

[pywikibot] Re: Error when trying to log in

2022-12-18 Thread Bináris
ezt írta (időpont: 2022. dec. 18., V, 9:22): > It is 1.38.4 > That is not too old, the problem should be elsewhere. ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: Page views

2022-12-18 Thread Bináris
Thanks! Meanwhile Xqt created https://phabricator.wikimedia.org/T325473. ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: Error when trying to log in

2022-12-17 Thread Bináris
quot;wgRelevantPageName":"Special:ApiHelp","wgRelevantArticleId":0,"wgIsProbablyEditable":false,"wgRelevantPageIsProbablyEditable":false,"wgVisualEditor":{"pageLanguageCode":"en","pageLanguageDir":"ltr","pageVariantFallbacks":"en"},"wgNoticeProject":"all", > > ... > > > So it seems that it can access the page, but is not parsing it correctly > for some reason. Anyone know what the issue is? > > ___ > pywikibot mailing list -- pywikibot@lists.wikimedia.org > To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org > -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: Working with wikitables

2022-12-21 Thread Bináris
I don't find the description of objects and available tags in documentation, can you help me? Are there cells, rows, columns, headings? ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to

[pywikibot] Re: Pywikibot documentation

2022-12-21 Thread Bináris
nsubscribe send an email to pywikibot-le...@lists.wikimedia.org > -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Working with wikitables

2022-12-21 Thread Bináris
Do we have anything to exclude tables from page text? I read mwparserfromhell doc, but did not find. -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Handling import errors

2022-12-21 Thread Bináris
this mismatch that mwparserfromhell is either a module or an Exception, is there any advantage of this solution? -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: Do I need pwb.py?

2022-11-18 Thread Bináris
of Pywikibot would be the secret agent which is consuming my device. :-) Thank you again! -- Bináris Pywikibot.ico Description: Binary data ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: Logins

2022-11-28 Thread Bináris
Yes. BinBot is the bot account and Bináris is the admin account. The second login throws out the previous one. Respectively: c:\Pywikibot>python pwb.py -user:Bináris login -all ERROR: wikipedia:* is not a valid site, please remove it from your user-config Password for user Bináris on wikipedia

[pywikibot] Re: Logins

2022-11-28 Thread Bináris
I made a workaround so that I don't heve to log in all the time. :-) swap.bat is: ren other.lwp temp.lwp ren pywikibot.lwp other.lwp ren temp.lwp pywikibot.lwp del temp.lwp So I have to type swap and everything is fine. But I still don't know if I have to use both accounts in one script. In

[pywikibot] Re: Logins

2022-11-28 Thread Bináris
I found BinBot only in pywikibot.lwp. Now I have logged in again as Bináris with the above command. pywikibot.lwp (with ctrl f) contains Bináris, but does not contain BinBot. For some reason only one user is in it at a time. ___ pywikibot mailing list

[pywikibot] Re: Logins

2022-11-29 Thread Bináris
Thank you! How does pwb work for you without .py? ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: pywikibot is making a mockery of my tests

2022-11-29 Thread Bináris
OK, thank you, that's a correct answer, and means that the question was valid. :-) ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send an email to pywikibot-le...@lists.wikimedia.org

[pywikibot] Re: pywikibot is making a mockery of my tests

2022-11-29 Thread Bináris
. nov. 29., K, 17:37): > Oh yes. Please, please break every single script written by every user, > just so we can have perfect capitalization style. > > -- > *From:* Bináris > *Sent:* Tuesday, November 29, 2022 11:32 AM > *To:* Pywikibot discus

[pywikibot] Re: pywikibot is making a mockery of my tests

2022-11-29 Thread Bináris
Roy Smith ezt írta (időpont: 2022. nov. 29., K, 17:26): > Ah, I've got this. The problem is that pywikibot.Site isn't a class, it's > a factory function that returns cached instances of APISite. > Should it not have a lower case name in this case?

[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? -- Bináris

[pywikibot] Re: Do I need pwb.py?

2022-11-17 Thread Bináris
ezt írta (időpont: 2022. nov. 17., Cs, 8:19): > There is no disadvantage known when using it. > Thank you! But, there is. I have a special case, because I suffer with a low space storage device. I know, this is my fault, but anyway, it IS a problem (although I regularly free up space, something

[pywikibot] Re: Do I need pwb.py?

2022-11-17 Thread Bináris
To the prevoius: The snake bites its own tail, we say here. There are a lot of logging errors because the script could not log the previous error. But it should not have logged anything, only perform a task, and write on screen and modify a page on wiki. In MY script nothing uses the device.

[pywikibot] Logins

2022-11-28 Thread Bináris
Where are the logins stored? In compat they had an obvious directory. Now I searched it a lot, but did not find. Whenever I run login.py, the previous account is thrown out, so I cannot comfortably use two accounts. Is it on purpose? -- Bináris

[pywikibot] Re: Page protection for limited time

2022-11-27 Thread Bináris
Thank you! Dalba ezt írta (időpont: 2022. nov. 27., V, 14:49): > Hi Bináris! > Time can be passed through the `kwargs` as `expiry` keyword to > APISite.protect > <https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.site.html#pywikibot.site._apisite.APISite.protect&g

[pywikibot] Page protection for limited time

2022-11-27 Thread Bináris
Hi, in https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.page.html#page.BasePage.protect I don't see the time. Can we block for infinity only? -- Bináris ___ pywikibot mailing list -- pywikibot@lists.wikimedia.org To unsubscribe send

[pywikibot] Re: Page protection for limited time

2022-11-27 Thread Bináris
Of course I meant protect, not block. Bináris ezt írta (időpont: 2022. nov. 27., V, 13:23): > Hi, > in > https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.page.html#page.BasePage.protect > I don't see the time. Can we block for infinity only? > > -- > Bi

[pywikibot] Can't log in as admin

2022-11-27 Thread Bináris
python pwb.py -nolog -user:Bináris userpageprotect.py python pwb.py -nolog -user:"Bináris" userpageprotect.py Neither asks for my password when the script wants to protect a page. (The script is own development.) Instead I get: pywikibot.exceptions.UserRightsError: User "None

[pywikibot] Re: Can't log in as admin

2022-11-27 Thread Bináris
Storno, I had to run login.py directly. But I still have the question: if I edit pages with my regular bot account, and one of them is protected, what will happen? Can I switch to my sysop account? Bináris ezt írta (időpont: 2022. nov. 27., V, 13:42): > python pwb.py -nolog -user:Biná

[pywikibot] Re: Pruning category search?

2023-01-20 Thread Bináris
Roy Smith ezt írta (időpont: 2023. jan. 14., Szo, 19:15): > Is there a way to recurse through a category, but excluding specific > sub-cats? For example, I want to find all the templates in > [[Category:People and person infobox templates]], except that I don't want > to recurse into

[pywikibot] SVN install vs i18n

2023-01-30 Thread Bináris
Hi, I followed https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation/SVN#Download_Pywikibot_with_TortoiseSVN_for_Windows_user At the last step I get SVN error: C:\Pywikibot\scripts\i18n The node 'C:\Pywikibot\scripts\i18n' was not found. What i the next step? -- Bináris

[pywikibot] Re: Tortoise SVN installs an old version

2023-01-30 Thread Bináris
I wanted to put a warning on the page, but it does not let me save it for some silly translation issues. I give it up, somebody will be happy that I can't edit a simple page after 16 years of being a Wikipedian. ___ pywikibot mailing list --

  1   2   >