binbot added a comment.
I didn't contribute to bot.py, but someone will surely explain the reason.TASK DETAILhttps://phabricator.wikimedia.org/T147178EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: gerritbot, matej_suchanek, jeblad, Framawiki
binbot added a comment.
In T147178#3567967, @matej_suchanek wrote:
The funniest fact at the end: this script has sync/async saving swapped, compared to other standard bots. In other words, with -always ([a]) it saves synchronously, in manual mode ([y]) asynchronously.
That's on purpose
binbot added a comment.
In T147178#3568092, @Framawiki wrote:
As this bug is still alive a year later, and it only concerns an output that is not essential, I'll submit a patch to temporary disable it.
Please don't! Something is not always perfect, so do we throw it away totally? Better warn
binbot added a comment.
Some use cases that are not covered by multiple fixes:
The replacement depends on other parts of the same text.
The replacement depends on length of the page (or number of sections) – yes, there is a talk, that a certain replacement should be done on small pages only
binbot added a comment.
Could you provide that custom fix? NOT the screenshot, rather the text.TASK DETAILhttps://phabricator.wikimedia.org/T147178EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: Danmichaelo, Zoranzoki21, Dvorapa, Danny_B, Zppix
binbot added a comment.
Are these all autogenerated docs?TASK DETAILhttps://phabricator.wikimedia.org/T168831EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: binbot, Multichill, jayvdb, valhallasw, Aklapper, Xqt, pywikibot-bugs-list, Ivana_Isadora
binbot added a comment.
OK. Replace.py is very important for me as I heavily use it for multiple purposes, and I am highly interested in its performance. I contributed a lot to the compat version, but now I have troubles both with using the core and with coming back to development, but I will look
binbot added a comment.
In T57078#3337396, @Dvorapa wrote:
-search:'insource://' matches regex inside page content. This is not ideal (doesn't work with ^,$,\s,...), but it usually will do just fine
Why do we need not ideal solutions?TASK DETAILhttps://phabricator.wikimedia.org
binbot added a comment.
In T165911#3296955, @valhallasw wrote:
Not, they don't. The u'' prefix has been allowed since Python 3.3, which was released in 2012. Official support for Python 3.2 was dropped in Feb 2016. There is absolutely no reason to remove them, apart from 'it looks nicer
binbot added a comment.
Then a better piece of advice would be "Remove u only from scripts with no pending changes", wouldn't it? I think a patch only removing us can be revised on express lane.TASK DETAILhttps://phabricator.wikimedia.org/T165911EMAIL PREFERENCEShttps://phabricator.wik
binbot added a comment.
T145604 may be relevant. Is it worth to deal with it in two steps?TASK DETAILhttps://phabricator.wikimedia.org/T147180EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, binbotCc: binbot, Aklapper, pywikibot-bugs-list, jayvdb, XZise
binbot added a comment.
Thank you!TASK DETAILhttps://phabricator.wikimedia.org/T144694EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: PranavAsty, binbotCc: gerritbot, TerraCodes, valhallasw, Aklapper, pywikibot-bugs-list, binbot, MayS, Lewizho99, Mdupont
binbot added a comment.
Hungarian Wikipedia uses this template to prevent the section being archived even if expired:
https://hu.wikipedia.org/wiki/Sablon:F%C3%BCgg%C5%91ben
It may have a parameter.
Currently we use an individual workaround for that, but we woluld like to do
binbot added a comment.
Thank you. You are basically right, but I would prefer not to use -user if the majority of pages can be treated as bot (for keeping recent changes readable).TASK DETAILhttps://phabricator.wikimedia.org/T145383EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel
binbot created this task.binbot added projects: Pywikibot-core, Pywikibot-compat.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONWhen I want to move pages, and the bot has insufficient rights, it throws an error instead of offering the use of my admin account as other
binbot added a comment.
I also don't know how much experience you have with frustrating console encoding problems, but I have suffered from them for years. While saved fixes always worked well, it was not the same with command line arguments. I had really, really many problems with that. Now
binbot added a comment.
I don't believe that listpages.py can handle this funcionality: https://hu.wikipedia.org/wiki/Szerkeszt%C5%91:Bin%C3%A1ris/Fixes_and_functions_HOWTOTASK DETAILhttps://phabricator.wikimedia.org/T144692EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel
binbot added a comment.
I will set up core but that takes more. For the moment I visited https://www.mediawiki.org/wiki/Manual:Pywikibot/Scripts which states: "Compat equivalent: pagegenerators.py and get.py." I also looked into the code and it does not have the complexity of fixes. I
binbot added a comment.
I don't know listpages as I always used compat.
-save/savenew (with flush() after every save) works reliably even for very slow, long search tasks. Even if there is a crush somewhere, or I have to disconnect my computer from network, the result is there, and I can continue
binbot created this task.binbot added projects: Pywikibot-solve-disambiguation.py, Pywikibot-compat-to-core, Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONCompat version has a -first option. With this only first linked title from each line (beginning
binbot added a comment.
See also T144692.TASK DETAILhttps://phabricator.wikimedia.org/T57078EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: binbot, Omegat, Legoktm, Ricordisamoa, pywikibot-bugs-list, Mdupont, JJMC89
binbot edited the task description. (Show Details)
EDIT DETAILS...Without thesethis feature core version is useless for high-volume, repeated work. See also T99365.TASK DETAILhttps://phabricator.wikimedia.org/T144693EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences
binbot added projects: Pywikibot-compat-to-core, Pywikibot-core.
TASK DETAILhttps://phabricator.wikimedia.org/T144693EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: Aklapper, pywikibot-bugs-list, binbot, Mdupont, JJMC89, jayvdb, droid
binbot added projects: Pywikibot-compat-to-core, Pywikibot-core.
TASK DETAILhttps://phabricator.wikimedia.org/T144692EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: Aklapper, pywikibot-bugs-list, binbot, Mdupont, JJMC89, jayvdb, droid
binbot created this task.binbot added a project: Pywikibot-replace.py.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONCompat version has the 'include' key of 'exceptions' dictionary. This makes possible to maintain general exceptions (used for many fixes) at one place
binbot created this task.binbot added a project: Pywikibot-replace.py.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONIn compat replace.py has these options: -save, -savenew, -savexc, -savexcnew
With -save / -savenew the bot will save titles to a file rather than making
binbot added a comment.
I know a workaround for this in compat, but that feature has not been ported to core yet. Hopefully will be soon...
(First round: use replace.py "someregex" "foobar" -save:something.txt, then do the actual replacements with -file:something.
binbot added a comment.
@yuvipanda: You don't have to know Python, you only have to know regexes, and copy the function. Thanks for quoting! However, there is a possibility to enhance the bot with this feature.TASK DETAILhttps://phabricator.wikimedia.org/T134095EMAIL PREFERENCEShttps
binbot added subscribers: Xqt, Zppix.binbot merged a task: T140542: edit counter gives wrong result for replace.py.
TASK DETAILhttps://phabricator.wikimedia.org/T130065EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: Zppix, Xqt, Mpaa, Danny_B
binbot closed this task as a duplicate of T130065: replace.py incorrectly counts number of changes.
TASK DETAILhttps://phabricator.wikimedia.org/T140542EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: binbotCc: Aklapper, Zppix, Xqt, pywikibot-bugs-list
binbot added a comment.
Dear Merlijn
I am sad to remind you that Pywikibot is full of my contributions, even with whole new scripts written by me.
We discussed hundred times on the mailing list, how we fell out of developing at the git/Bugzilla catastrophe. (Not only me, but a few other goood
binbot added a comment.
Merlijn: the rela problem is that on one side developers say "no, nobody declared that core has to implement full funcionality of compat" and on the other side compat issues are automatically set to lowest priority.
I translate this to human language: whoever ne
binbot raised the priority of this task from "Lowest" to "Low".binbot added a comment.
The problem definitely exists. I stull cannot log in with my admin account on huwikipedia.
I do nned the bot to delete plenty of pages, but I can't.
It is a shame that compat users are
binbot created this task.
binbot added a subscriber: binbot.
binbot added a project: Pywikibot-pagegenerators.
Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
I wanted to modify pages that linked to a deleted image. Command:
replace.py -links
Links from which page
binbot added a subscriber: binbot.
TASK DETAIL
https://phabricator.wikimedia.org/T57689
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Omegat, binbot
Cc: binbot, Vituzzu, Aklapper, XZise, gerritbot, Omegat, Ricordisamoa,
Ninovolador, Xqt, jayvdb
binbot added a comment.
There are four similar parameters in compat, and all of them are required for
usability of core. I added them to trunk someday and I use all of them on a
regular base. They are -save, -savenew, -saveexc and -saveexcnew. Other option
is not to deprecate compat
binbot added a comment.
Xsize has the point. :-) I run several regexes within a fix and I don't want to
separate them (details:
http://wikimedia.hu/w/images/9/9b/Efficient_and_flexible_text_manipulation%2C_spelling_correction_and_page_collections_with_Pywikibot.ppt).
Only one of them should
binbot added a comment.
I will check it. However, being able to use the page object in a function gives
much more flexibility.
TASK DETAIL
https://phabricator.wikimedia.org/T109220
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise, binbot
Cc
binbot changed the title from Feature request: pass tha Page object to the fix
in replace.py to Feature request: pass the Page object to the fix in
replace.py.
binbot set Security to None.
TASK DETAIL
https://phabricator.wikimedia.org/T109220
EMAIL PREFERENCES
https
binbot created this task.
binbot added a subscriber: binbot.
binbot added a project: Pywikibot-General.
Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
I propose an enhancement of replace.py (may textlib be also involved?).
When doing text replacements, sometimes
binbot added a comment.
I want to //search //in namespace 1 and //get results// from namespace 0.
Thus I should use -namespace twice which is not possible.
Can your proposal cover this case?
I imagine a clean ToggleGenerator that wraps around any other one.
TASK DETAIL
https
binbot created this task.
binbot added a subscriber: binbot.
binbot added a project: pywikibot-compat.
Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
I use replace.py to collect candidates for working without interacting
Wikipedia (with -xml -save); this saves titles
binbot edited the task description.
binbot triaged this task as High priority.
binbot set Security to None.
TASK DETAIL
https://phabricator.wikimedia.org/T107850
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: binbot
Cc: Aklapper, pywikibot-bugs-list
101 - 143 of 143 matches
Mail list logo