- Original Nachricht
Von: Bináris wikipo...@gmail.com
An: Pywikibot discussion list pywikibot@lists.wikimedia.org
Datum: 03.08.2015 22:59
Betreff: Re: [pywikibot] Help me get back to business
Thank you for the answer!
2015-08-03 16:41 GMT+02:00 Amir Ladsgroup
- Original Nachricht
Von: Bináris wikipo...@gmail.com
An: i...@gno.de
Datum: 11.08.2015 22:02
Betreff: Re: [pywikibot] Replace.py + template + toggle
2015-08-11 21:26 GMT+02:00 i...@gno.de:
Just an untested idea.
You may use
pwb.py listpages -ref:Template
What was the reason for this fork and was is intended for the future of it? How
is it usable with the current framework? Are the given scripts to be removed
from it? And why the separation between framework and user script was abandoned
there.
Greetings
xqt
A better way would be to commit some patches. There are a lot of proposals
which have minor changes and could be approved quickly.
best
xqt
- Original Nachricht
Von: Amir Ladsgroup
An: Pywikibot discussion list
Datum:
On first 4 pages we have more than 50 patches to review or to submit whereas
additional 40 has to be improved and are waiting for the committer or author
(or any other coder who adopts that code ;)
Best
xqt
- Original Nachricht
Von: Amir Ladsgroup
An:
Hi Hannes,
> quite figure out whether there is a solution on the API side. Also, I
> didnt quite know where to post the patches, so I made a github pull
> request
The easiest way to commit a patch is using the gerrit patch uploader. You'll
found it there:
Exceptions aren't ignored but it looks like a bad idea to assume templates or
links with that snippet:
if item[n] == '{': inTemplate.append(True) elif item[n] == '[':
inLink.append(True)
One idea would be using Page.templatesWithParam() and recombine the template
source.
Best
Xqt
> Am
Hi folks,
looking at the current travis builds [1] core 2.0 branch looks deprecated. A
lot of bug fixes aren't ported back; last commits are few months old. It is
more and more difficult to synchronize 2.0 with master branch or keep the bot
up to date. Any ideas?
Best
xqt
[1]
- Original Nachricht
Von: Jan Dudík
An: Pywikibot discussion list
Datum: 08.08.2016 23:09
Betreff: Re: [pywikibot] Vital sign
> I am only user, not developer. And it seems to me there is many changes
> around some
- Original Nachricht
Von: Strainu
An: Pywikibot discussion list
Datum: 07.08.2016 20:16
Betreff: Re: [pywikibot] Vital sign
> 016-08-07 19:27 GMT+03:00 Daniel Glus :
> > On Aug 7, 2016 12:16 PM,
> Am 08.08.2016 um 04:03 schrieb Daniel Glus :
>
> Strainu writes:
> > Regarding the proposed solutions, I am wary of the WMF "taking over"
> > the development of pwb (call me old fashion if you like, but I'm still
> > not over 2014). Also, more
- Original Nachricht
Von: Bináris <wikipo...@gmail.com>
An: Pywikibot discussion list <pywikibot@lists.wikimedia.org>
Datum: 24.08.2016 07:39
Betreff: Re: [pywikibot] Crying about wrong namespace names
> 2016-08-23 8:18 GMT+02:00 info <i...@gno.de>
- Original Nachricht
Von: Jan Dudík
An: Pywikibot discussion list
Datum: 08.08.2016 23:09
Betreff: Re: [pywikibot] Vital sign
>
> I reported many bugs on interwiki.py (which is still used in wiktionary),
> some of them
> 2016-08-30 0:17 GMT+02:00 info <i...@gno.de>:
>
> > 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 transiti
Could you geve us your family and site you worked on. And the result of pwb.py
version
Thanks
xqt
- Original Nachricht
Von: Bud
An: "pywikibot@lists.wikimedia.org"
Datum: 10.09.2016 02:54
Betreff: [pywikibot] Newbie Q:
ks as I try to get back to the
> development somehow.
>
Would be great.
Best
xqt
> 2016-09-17 6:23 GMT+02:00 info <i...@gno.de>:
>>
>> Currently all builds are broken, mainly due to
>> https://phabricator.wikimedia.org/T145484
>> but I have no g
Currently all builds are broken, mainly due 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 :
>
> What do these messages
I think unlink.py should be able to unlink files.
Best xqt
> Am 17.09.2016 um 20:53 schrieb MarcoAurelio :
>
> Hello,
>
> Does pywikibot in core have any script to remove links to deleted images
> locally? Something like CommonsDelinker, but for local use.
>
> I'm
> Am 21.10.2016 um 06:11 schrieb :
>
> How do I get my nonWMF wiki family into the families that are shipped with
> the core build of pywikibot? We are an open education project and there are
> already wikis such as "battlestarwiki" or "anarchopedia"
pywikibot compat is broken since mediawiki release 1.28 due to login error. [1]
Deprecation of compat was announced long time ago [2][3][4][5][and some
others]. I guess it is time to close this branch now.
Anyway if one wants to fix this breaker, do it. Personally I would not like to
I use tortoiseSVN too. This is the way to get the master branch:
1. Right-Click inside your Folder which should contain the local repository
2. Choose SVN checkout
3. URL of repository is https://github.com/wikimedia/pywikibot-core/trunk
4. overwrite your checkout directory if needed
5. Keep
Please be aware that requests package is required for pwb 3.0 instead of
external httplib2 submodule.
Thanks Merlijn for this change.
Best
xqt
> Am 05.04.2017 um 10:22 schrieb Merlijn van Deen (valhallasw)
> :
>
> Hello all,
>
> Per
I think it does not care as long as we got following tests from TravisCI
Best
xqt
> Am 08.08.2017 um 06:11 schrieb Bináris :
>
> So what does this message mean and how to interpret it, and what is the next
> step? I followed the links and the only information I got was
Normally it does not care. The result is for automatic script_tests I think.
Greetings
xqt
> Am 16.05.2017 um 18:41 schrieb 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,
Thanks a lot!
xqt
> "Merlijn van Deen (valhallasw)" hat am 30. Mai 2017 um
> 07:55 geschrieben:
>
> Sorry, that's my fault. While trying to figure out the Travis issue
> yesterday, I tried to get an overview of the different branches using git log
> --graph
The page title could be invalid. But I’m fortunately we don’t know the title
yet and have to find out. I had wrong database entries in past which gave such
an exception I guess. Better file a phabricator task for this issue.
Best
xqt
Von meinem iPhone gesendet
> Am 18.06.2018 um 22:22 schrieb
Hi folks,
a new stable release 3.0.20180603 was deployed which is available at pypi (as
side package without scripts) or from our repository with the tag
"3.0.20180603". The following changes where made since 3.0.20180505:
* Move main categories to top in cosmetic_changes
* shell.py always
Thanks for your proposal but the easiest way for this case is to modify the
edit filter to enable such edits. Check bot group, username and edit summary to
allow the change.
Best
xqt
Von meinem iPhone gesendet
Am 04.06.2018 um 02:06 schrieb Yusuke Matsubara :
>> I think how to notify the
Hi folks,
a new stable release 3.0.20180770 was deployed which is available at pypi (as
side package without scripts) or from our repository with the tag
"3.0.20180710". The following changes where made since 3.0.20180603:
* Enable any LogEntry subclass for each logevent type (T199013)
*
Hi Strainu,
this is already known and I am working on it, see T208292.
Maybe I have to hurry up with it.
Best
xqt
> Strainu hat am 18. Januar 2019 um 23:48 geschrieben:
>
>
> Hi there,
>
> I'm trying to run scripts/imagcopy.py like this:
>
> python3 pwb.py scripts/imagecopy.py
You can try it but it is not ready to go now.
Would be great if you can give me some hints for improvements
Best
Xqt
> Am 19.01.2019 um 15:53 schrieb Strainu :
>
> Thanks, I haven't searched deep enough it seems. I'll download your
> patch and give it a try.
>
> Strainu
>
> În sâm., 19 ian.
Hi Harald,
thank you for your contribution. The easiest way to submit it is using the
Gerrit Patch Uploader.
Best
> Am 05.12.2018 um 18:38 schrieb Jon Harald Søby :
>
> Thanks! Done, but I kept the Pywikibot team credit, since most of the "frame"
> of the script is based off of other scripts
> Am 05.12.2018 um 14:21 schrieb Bináris :
>
> Great! But you should write your own name into the copyright line.
There is a CREDITS file for it
Best
xqt
> ___
> pywikibot mailing list
> pywikibot@lists.wikimedia.org
>
There 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áris :
>
> Hi
Hi all,
a new stable release 3.0.20190301 was deployed which is available at pypi (as
side package without scripts) or from our repository with the tag
"3.0.20190301".
With this release Python 2.7.2 and 2.7.3 support has been dropped. Python 2.7.4
- 2.7.15 and Python 3.4-3.7 are still working
Hi folks,
due to an deep impact of vandalism a lot of patches for review are damaged.
I have set the repository to read-only for now until that abusing user has been
stopped.
Is somebody able to revert all these changes in a simple way or via bot?
Greetings
xqt
You may use solve_disambiguations.py to change links. It also works for any
link. There is a sample in the doc string how to do it.
Best
xqt
> Am 20.02.2019 um 01:05 schrieb John Bray :
>
> I have many pages for people who have variant forms of their names, with
> redirects in place. I'd
Hi folks,
a new stable release "3.0.20190430" was deployed which is available at pypi (as
side package without scripts) or from our repository with the tags
"3.0.20190430" and "stable".
Please note that the last release is always tagged with the "stable" tag. For
production systems you
See https://phabricator.wikimedia.org/T221801
Best
xqt
> Am 05.12.2018 um 18:50 schrieb Maarten Dammers :
>
> Who is coming? I plan to go.
>
> Maarten
> Forwarded Message
> Subject: [Wikitech-l] Wikimedia Hackathon 2019: Registration Open!
> Date: Tue, 4 Dec 2018
Hi folks,
a new stable release "3.0.20190722" was deployed which is available at pypi (as
side package without scripts) or from our repository with the tags
"3.0.20190430" and "stable". There was a long time between this stable branch
and the previous one. The main reason was the
One posioility is to extract interwiki links from a Page.text by using
textlib.getLanguageLinks(); interwikidata.py uses that method. The other way is
using Page.langlinks(), Page.iterlanglinks() or Site.pagelanglinks() which uses
the API and they should still work.
Best
xqt
> masti
> Am 30.03.2020 um 23:15 schrieb Maarten Dammers :
>
> Hi AntiCompositeNumber,
>
> On 30-03-20 19:35, AntiCompositeNumber wrote:
>>> When did Pywikibot become a package manager?
>> It's not a package manager, it just expects certain dependencies. If
>> you checked your installed packages
Hi.
Seems your mylang assignment must be:
mylang = 'fancyclopedia'
This creates Site('fancyclopedia', 'fancyclopedia')
as default.
Best
xqt
> Am 21.05.2020 um 18:14 schrieb AntiCompositeNumber
> :
>
> Can you link to the site you are using, and provide the Pywikibot
> family
Hi folks,
a new stable release 5.0 will be deployed soon. There are some important points
with this release:
- Support for MediaWiki < 1.19 has been dropped. Support for LTS 1.19 and above
will be kept until fandom wikis were updated
- A lot of methods and classes which are deprecated for 5
ll enough, as I've lost
> confidence in ImageTransfer.
>
>> On Fri, 9 Oct 2020 at 19:19, wrote:
>>
>> Hi John,
>>
>> the bot found an api error with code uploaddisabled and the given info
>> message. This is on the site side and there is nothing on py
Hi John,
the bot found an api error with code uploaddisabled and the given info message.
This is on the site side and there is nothing on pywikibot side what can be
done I guess.
The deprecation warning does not care yet. Normally you should not see it by
the default configuration
Hi Larry,
there are two way to use Pywikibot as a side package:
1. add a user-config.py in your /variant folder. A minimal sample can be found
at
https://gerrit.wikimedia.org/r/plugins/gitiles/pywikibot/core/+/88f22977fd186d888c4d9e8cbac11d76e87bd607/user-config.py.sample
2. or set a
Hi Vivek and Arshdeep Singh,
your are very welcomed to contribute to pywikibot.
For the first steps follow these links YiFei Zhu mentioned below. There are
related links for commit access, tutorials using our gerrit code review
workflow, and coding style guides.
You may find some "good first
Hi Jean-Frederic,
strings are allowed for the textlib.categoryFormat. But are you trying to run
pywikibot 4.0+ with Python 2? The related code line is
xqt e4115af 2020-07-24 11:31:05 +0200 [diff] [blame] 1539
if isinstance(category, str)
Obviously this check fails for your
I meant:
from __future__ import unicode_literals
xqt
> Am 23.08.2020 um 10:05 schrieb i...@gno.de:
>
>
> Digging a bit more. I guess you are still using Python 2. There was a change
> made in 3.0.30190430 due to T219095 which expects unicode strings for
> categoryFormat but 'B' is a str
Digging a bit more. I guess you are still using Python 2. There was a change
made in 3.0.30190430 due to T219095 which expects unicode strings for
categoryFormat but 'B' is a str in Python 2. Either you have to use the u
prefix like u'B' or you have to add this line on top of your scripts:
Again me.
The breaking change was made unintentionally in
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/498727/
but solved a lot of problems of mixed used with Python 2 and 3. Refer the
comments on bottom of that patch for further information.
Sorry for this. I would be glad if I could
xqt
> Am 22.05.2020 um 15:10 schrieb masti :
>
> Is there any outlook about when WikiData API will be working again?
> I can understand throttling write operations but my bots are struggling to
> get simple info lie a template interwikis :(
>
> Retrieving 1 pages from wik
Hi,
in January removed CR+2 rights for all those members who were inactive on
pywikibot repository for many years. I am fine with re-granting this right then.
Best
xqt
> Am 03.07.2020 um 18:20 schrieb Maarten Dammers :
>
> Hi Russell,
>
>> On 03-07-2020 16:19, Russell Blau wrote:
>> It has
Yes other things are important too. How can the review process be implemented.
I made some PR at github an it is painfull: checkout the repository to a local
working copy, create a new branch for the changes, fork the repository at
github, submit the changes to the fork, create a pull request,
Isn’t this decided already as I have read Wikitech-l Digest, Vol 204, Issue 7?
No glue what this means for us and our infrastructure. Surely we would have a
lot of work to follow this change or get another solution running. (Haven’t we
a discussion about it 4 years ago?) And only a few active
Update:
Python 3.8.5 was released recently which solves this bug.
Best
xqt
> Am 19.07.2020 um 12:10 schrieb i...@gno.de:
>
> Hi all,
>
> for those of us who use Python's IDLE for developing: there is a known bug in
> Python 3.8.4 (issue 41300) which sometimes prevents saving a script file.
Hi all,
for those of us who use Python's IDLE for developing: there is a known bug in
Python 3.8.4 (issue 41300) which sometimes prevents saving a script file. Not
sure whether this is Windows only. To solve this you may
- use another editor
- add a BOM to the file , e. g. via notepad++ but do
Either you have no ‘delete' right or you aren’t logged in or you are logged
with a different user. Check it with the shell:
>>> site = Pywikibot.Site()
>>> site.has_right('delete')
Should be True
Best
xqt
> Am 11.06.2021 um 14:13 schrieb ישראל קלר :
>
>
> I sysop there. What could be the
Perhaps the doc need a hint for it?
Best
Xqt
> Am 10.06.2021 um 12:17 schrieb MarcoAurelio :
>
> Hi,
>
>> El lun, 7 jun 2021 a las 17:43, escribió:
>>
>> You also can give pairs of templates with template.py I think
>>
>> Best
>> xqt
>>
>
> Tested that and indeed passing pairs of
You also can give pairs of templates with template.py I think
Best
xqt
> Am 07.06.2021 um 17:34 schrieb MarcoAurelio :
>
> Hello Bináris,
>
> Thanks for your reply.
>
> Yes, I thought first about the bash/shell file with a bunch of
> template.py commands but like you said, it's not very
Hello all,thank you very much for the kind words.There are so many ideas but so less time.But some of them will become true.Here some important changes coming soon:- Async chunck Uploads was implemented, contribs by Zhuyifei1999 and InductiveLoad)- After a very long time compat's output cache is
Hi Binaris,
login2.py wasn’t shipped with compat. The login implementation looks like
MediaWiki 1.27 and the current one has changed a lot. Probably it does not work
anymore with compat.
Best
xqt
Von meinem iPhone gesendet
> Am 02.06.2021 um 07:14 schrieb Bináris :
>
>
> Hi John,
> I
Hi Zoran.I uploaded a patch which solved that issue of T284373.Can you review it?Bestxqthttps://phabricator.wikimedia.org/T284373https://gerrit.wikimedia.org/r/c/pywikibot/core/+/698322/ Von: Zoran Dori Gesendet: 05.06.2021 17:49An: Pywikibot discussion list Betreff: [pywikibot] Error while
Hi
> Am 06.06.2021 um 18:34 schrieb Zoran Dori :
>
> Hello,
> thank you very much for making the patch.
>
> I can't test it anymore, but it looks good to me.
>
> BTW, what do you think about my suggestion?
> https://phabricator.wikimedia.org/T284373#7136264
>
About the NoPageError? It is a
> Am 03.06.2021 um 07:40 schrieb 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?
Current release of Wikimedia cluster is
Hi,
> Am 03.06.2021 um 11:22 schrieb Bináris :
>
> OK, I am going to start with that, and thank you very much!
> To convert 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
>
Oh there are a lot of other issues too by I guess you are familiar enough with
that stuff.
Best
xqt
> Am 03.06.2021 um 11:24 schrieb 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,
Hi Binaris,
I remember there was an issue but I am not able to investigate into this
matter. The compat branch is very outdated and does only support Python 2. My
Python developing version is 3.9, the production system runs with 3.7 and for
some reason I have also 3.5 installed which is the
Hi,
yes there is a manual about this:
https://www.mediawiki.org/wiki/Manual:Pywikibot/compat-to-core_conversion
The compat2core script was archived in meantime but it can still be used. It
also can restored to the supported scripts. Pleas also use the task noted there
for any help.
Best
xqt
Please be aware that other csrf tokens will be removed with mw 1.37 an can lead
the compat release to fail.
Best
xqt
> Am 02.06.2021 um 22:55 schrieb i...@gno.de:
>
> Hi,
>
> yes there is a manual about this:
>
> https://www.mediawiki.org/wiki/Manual:Pywikibot/compat-to-core_conversion
>
Hi,
this is not a script but a package which can be used by your own script. But
probably a good reason to reimplement Pywikibot compat’s spellchecker with it
Best
xqt
> Am 10.07.2021 um 06:51 schrieb Basudev Krishna :
>
>
> Hi help please,
> I can use all of the Mediawiki Python bot
Hi,
your Pywikibot looks outdated. Either setup a user-config.py like the sample
here [1] or update your Pywikibot; never Version does not require it but it is
recommended.
Best
xqt
[1]
Hi folks,
a new stable release 6.0 will be deployed soon. There are some important points
with this release, currently implemented in master branch:
Breaking changes:
- Support for MediaWiki < 1.23 will been dropped after fandom wikis updated
most platforms to MW 1.33. (T268979)
-
Solution submitted. Will upload it to pypi shortly. Thanks to Merlijn for
review.
Best
xqt
> Am 28.02.2021 um 12:18 schrieb i...@gno.de:
>
> I opened T275981 for it.
>
> Best
> xqt
>
>>> Am 27.02.2021 um 14:27 schrieb Merlijn van Deen (valhallasw)
>>> :
>>>
>>
>> Hi André,
>>
>>
I opened T275981 for it.
Best
xqt
> Am 27.02.2021 um 14:27 schrieb Merlijn van Deen (valhallasw)
> :
>
>
> Hi André,
>
> Looking at
> https://github.com/wikimedia/pywikibot/blob/master/pywikibot/i18n.py#L6, it
> sounds to me like in principe the core Pywikibot code should never call
>
Hi folks,a new stable release 6.1.0 was published yesterday. There are some important points with this release:Dependencies---Either mwparserfromhell or wikitextparser package are strictly recommended. They will become mandatory with the next release. Please follow the instructions
Hi Ugo,could you please either update the current Pywikibot master which tells the installed setuptools version or use the following code snippet to get it: from setuptools Import __version__ as v print(v)What is your installed setuptools then?Bestxqt Von: Ugo Chima Gesendet: 20.08.2021 11:13An:
I think this is already solved with https://gerrit.wikimedia.org/r/c/pywikibot/core/+/709124Anyway it is always important to Show Python and Pywikibot versions if reporting a bug.Bestxqt Von: klaus.sei...@arcor.deGesendet: 17.08.2021 10:51An: Basudev Krishna ,Pywikibot discussion list Betreff: AW:
Hi,
looks like
https://phabricator.wikimedia.org/T242083
and it occurred when wikibase had high traffic.
Best
xqt
> Am 12.08.2021 um 20:26 schrieb Zoran Dori :
>
>
> Hi,
> today my brain is doing very good job. :D
>
> There is a task about this. https://phabricator.wikimedia.org/T288724
>
Hi GoEThe,
I’ve seen you are importing the the NoReferencesBot but you does not use it.
addReferences() is not a function but a class method. You have either to
localise the framework script (or open a Phabricator task for it) or you have
to subclass the bot if the behaviour is very different
Hi Joseph,
is it your private wikibase family?
Perhaps it is this issue then:
https://phabricator.wikimedia.org/T288724
Best xqt
> Am 03.12.2021 um 17:29 schrieb Ugo Chima :
>
> Joseph
___
pywikibot mailing list -- pywikibot@lists.wikimedia.org
To
Hi folks,regarding to your contributions and comments here some thoughts:Currently Python 3.5.0+ is supported with stable version. With Pywikibot 7.0 Python version 3.5.0 - 3.5.2 are no longer supported due insufficient import support and other problems which could not be solved easily. [1] On the
Hi Maarten,
thank you for you feedback. There is the same "redundancy" in some Page methods
which calls the corresponding site method and I wouldn’t drop one over the
other. Page methods have a higher tier than Site methods which calls api
functions and finally the comms functions.
Hi Ugo,
this is an API warning and not a Pywikibot issue. Seems the
wikibase-validator-bad-prefix info message is not localised via translatewiki.
I propose to file a bug at Phabricator.
xqt
> Am 06.03.2022 um 22:49 schrieb Ugo Chima :
>
>
> Hello everyone,
> Please I
Hi Chima,
site:lang is not a valid site. I would expect wikidata:wikidata in the
exception message. What is your command line and on which site are you running
the script?
Best
xqt
> Am 24.02.2022 um 02:35 schrieb Ugo Chima :
>
>
> Good morning everyone
> Please anyone have any Idea why I
Seems this mail hasn’t passed.
xqt
> Am 19.02.2022 um 18:48
>
>
>
> Hi Maarten,
>
> I've restored all removed pagegenerators functions.
> https://doc.wikimedia.org/pywikibot/master/api_ref/pywikibot.html#pywikibot.pagegenerators.AllpagesPageGenerator
> Other functions may follow
there was no trouble with it and now you are prepared for the next failure
Best
xqt
> Am 15.02.2022 um 10:54 schrieb Ian Watt :
>
> Hi xqt
>
> Apologies. This fell off my radar.
>
> With Pattypan becoming available again, it meant that the familiar route to
> uploading images was again
Hi all,a new stable release Pywikibot 7 will be deployed at the end of this month.There are a lot important points with this release, currently implemented in master branch:Python Plattform:-Pywkibot support of Python 3.5.0 - 3.5.2 will be dropped. The minimum plattformrequired is
Hi Chima,
your local Wiki seem to be a Wikibase and as the exception suggest the method
is not defined for this site type.
Best
xqt
> Am 26.02.2022 um 17:13 schrieb Ugo Chima :
>
>
> Hi Xqt
>
>> On Thu, Feb 24, 2022, 08:02 Ugo Chima wrote:
>> Hello Xqt,
>> Thank you for replying,
>>
You can’t run that script on a Wikibase, you have to run it on a client.
Von meinem iPhone gesendet
> Am 27.02.2022 um 21:34 schrieb Ugo Chima :
>
>
> Thanks once again,
> But what method should I use then, because I know that this happens on
> wikidata so I believe it can happen external as
Hi all,a new stable release Pywikibot 7.1 has been deployed. What is new with this release?Improvements:- guwwiki and shnwikivoyage are supported- FilePage has a new property file_is_used to determine whether a file is used on a the given site- TextExtracts extension is supported. It can be used
Hi Ian,
a real test would be fine and enough for me. There are automatic tests for the
code. You can copy the script from here [1]. To prevent real changes you may
use the -simulate option when calling the script.
Best
xqt
[1]
Hi Ian,
data_ingestion.py is still available but is not tested. There might be some
breaking changes since 5.6 and 7.0 which can cause the script failing.
Either you have to pretend the archive folder when calling the script or add
the path to user_script_paths in your user-config.py [1].
You
Hi Ian,
I’ve recovered this script. Are you able to review it? [1]
There is a known issue due to a wrong migration from compat to core but the
script should work anyway.
Best
xqt
[1] https://gerrit.wikimedia.org/r/c/pywikibot/core/+/757889
> Am 28.01.2022 um 11:15 schrieb Ian Watt :
>
>
Pywikibot was developed since 2003; a rewrite was made 2013. It comes with a
bulk of ready to use scripts, high level bot templates for very fast
development of own bot scripts.
Pywikibot has global command line options for settings, which can be used for
all script through the pwb wrapper
Hi all,a new stable release Pywikibot 7.4 was deployed yesterday. What is new with it?- the pypi package also supports built (wheel) distribution [1]- api write actions was updated- a memento module was added to fix the memento_client package [2]- Flow board topic continuation of iterating reverse
Hi,
currently you can’t see the tags because this property is not retrieved. You
have to modify the APISite.usercontribs() method to get it.
https://doc.wikimedia.org/pywikibot/master/_modules/pywikibot/site/_generators.html#GeneratorsMixin.usercontribs
Please create a Phabricator task for
Hi all,a new stable release Pywikibot 7.3 has been deployed yesterday. What is new with it?- kcg-wiki is supported- pagegenerators.GeneratorFactory provides an is_preloading attribute if pages are preloades. Refer [1] how to use it.- counter statistics are printed for all counters (T307834) [2]-
Hi all,a new stable release Pywikibot 7.5 was deployed. What is new with it?- blkwiki is supported- a new time module was added [1]- Fully ISO8601 and POSIX format support with Timestamp [2]- wbparsevalue API support was added [3]- harvest_template script was improved and supports time values [4]
1 - 100 of 149 matches
Mail list logo