Wesalius added a comment.
In T197841#4398572, @Xqt wrote:
I see. In that case a section header should be implemented too.
I agree. pagefromfile.py is already capable of appending to top or bottom, might be reusedTASK DETAILhttps://phabricator.wikimedia.org/T197841EMAIL
Xqt triaged this task as "High" priority.
TASK DETAILhttps://phabricator.wikimedia.org/T198800EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Aklapper, pywikibot-bugs-list, Xqt, Dvorapa, Andrewjhill, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis,
Xqt added a comment.
Looks it comes from upstream. Isn’t it? A duplicate filter like filter_unique would help.TASK DETAILhttps://phabricator.wikimedia.org/T198800EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Aklapper, pywikibot-bugs-list, Xqt,
zhuyifei1999 added a comment.
In T198817#4398554, @Dvorapa wrote:
First of all, the file should have correct Pywikibot license.
That's a non-issue. I sent this quick-and-dirty script to FSF so they can use it whatever they want. If license is a concern, the licenses allows re-publishing under a
Xqt added a comment.
I see. In that case a section header should be implemented too.TASK DETAILhttps://phabricator.wikimedia.org/T197841EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Xqt, Zoranzoki21, Aklapper, Framawiki, Wesalius,
Wesalius added a comment.
In T197841#4398566, @Xqt wrote:
What would be the reason to keep the outdated list? Isn’t it better to look at version history’s difference?
Sometime I need a list of content of multiple categories, listifying them to one output with -append option would make it
Xqt removed a project: Easy.Xqt added a comment.
What would be the reason to keep the outdated list? Isn’t it better to look at version history’s difference?
Is there any delimiter needed between those lists e. g. a section header? How to proceed if the older entry does not have a delimiter
Xqt added a comment.
Can you please give me the lines needed for these scripts to do the same things as:
That would be slightly different but can be used with:
$ echo "{{-start-}}" > Test.wiki
$ echo "‘‘‘Test‘‘‘" >> Test.wiki
$ echo "Hello world" >> Test.wiki
$ echo "{{-stop-}}" >> Test.wiki
Xqt closed this task as "Resolved".
TASK DETAILhttps://phabricator.wikimedia.org/T198812EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Wesalius, XqtCc: gerritbot, Aklapper, Wesalius, pywikibot-bugs-list, Andrewjhill, Gaboe420, Versusxo, Majesticalreaper22,
David_Hedlund added a comment.
Finally for this purpose we already have pagefromfile.py or a little bit easier add_text.py. You can also use basic.py, which has the same functionality as add_text.py, but contains everything the proper Pywikibot script should have (so it is left here as an example
Dvorapa added a comment.
First of all, the file should have correct Pywikibot license. Also the args should be in the same format like in other scripts (-summary) and there should be handled other args added (like "These args are not supported by this script: %s"). You can upload your file
David_Hedlund added a comment.
In T198817#4398418, @Zoranzoki21 wrote:
In T198817#4398417, @David_Hedlund wrote:
In T198817#4398415, @Zoranzoki21 wrote:
@David_Hedlund Please don`t remove projects without reason. Thanks!
Excuse me, what did I remove? I just improved the text.
F23328191:
Zoranzoki21 added a comment.
In T198817#4398417, @David_Hedlund wrote:
In T198817#4398415, @Zoranzoki21 wrote:
@David_Hedlund Please don`t remove projects without reason. Thanks!
Excuse me, what did I remove? I just improved the text.
F23328191: T198817 phabricator.pngTASK
David_Hedlund added a comment.
In T198817#4398415, @Zoranzoki21 wrote:
@David_Hedlund Please don`t remove projects without reason. Thanks!
Excuse me, what did I remove? I just improve the text.TASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL
Zoranzoki21 added projects: Pywikibot-core, Pywikibot-Other-scripts.Zoranzoki21 added a comment.
@David_Hedlund Please don`t remove projects without reason. Thanks!TASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL
David_Hedlund updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...$ echo "Hello world" > testTest.wiki
$ python pwb.py simpleedit.py "The edit summary" "The page title" test"Test" Test.wiki
TASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL
David_Hedlund removed projects: Pywikibot-Other-scripts, Pywikibot-core.David_Hedlund added a comment.
I should note that I need to edit directory.fsf.org (not Wikipedia).
However, editarticle.py reads: "Edit a Wikipedia article with your favourite editor."
What is the simplest way to use
Aklapper added a comment.
scripts/editarticle.py is not simple enough to make edits (or create pages).
Please explain why you think so. Thanks!TASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: AklapperCc:
Wesalius renamed this task from "Hint the user to use the -overwrite option when output already has content" to "Hint the user to use the -force option when output already has content".
TASK DETAILhttps://phabricator.wikimedia.org/T198812EMAIL
Zoranzoki21 added a comment.
Hi, you think on listing as:
* A
* B
* C
instead of listing as A B C?TASK DETAILhttps://phabricator.wikimedia.org/T197841EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Zoranzoki21Cc: Zoranzoki21, Aklapper, Framawiki, Wesalius,
Wesalius triaged this task as "Normal" priority.Wesalius updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...'Use -overwriteforce option to overwrite the output page.')...TASK DETAILhttps://phabricator.wikimedia.org/T198812EMAIL
Zoranzoki21 added a project: Pywikibot-Other-scripts.
TASK DETAILhttps://phabricator.wikimedia.org/T198812EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Wesalius, Zoranzoki21Cc: gerritbot, Aklapper, Wesalius, pywikibot-bugs-list, Andrewjhill, Gaboe420,
Zoranzoki21 added subscribers: Framawiki, Dvorapa, Xqt, Zoranzoki21.Zoranzoki21 added projects: Pywikibot-core, Pywikibot-Other-scripts.Zoranzoki21 added a comment.Herald added a subscriber: pywikibot-bugs-list.
I really no know what is not ok with that script. Can you add more details what is
gerritbot added a comment.
Change 443860 had a related patch set uploaded (by Wesalius; owner: Wesalius):
[pywikibot/core@master] Added more useful output on overwrite fail
https://gerrit.wikimedia.org/r/443860TASK DETAILhttps://phabricator.wikimedia.org/T198812EMAIL
gerritbot added a comment.
Change 443859 abandoned by Wesalius:
Added more useful output on overwrite fail
Reason:
accidentaly added a different file
https://gerrit.wikimedia.org/r/443859TASK DETAILhttps://phabricator.wikimedia.org/T198812EMAIL
gerritbot added a comment.
Change 443859 had a related patch set uploaded (by Wesalius; owner: Wesalius):
[pywikibot/core@master] Added more useful output on overwrite fail
https://gerrit.wikimedia.org/r/443859TASK DETAILhttps://phabricator.wikimedia.org/T198812EMAIL
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T198812EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Wesalius, gerritbotCc: gerritbot, Aklapper, Wesalius, pywikibot-bugs-list, Andrewjhill, Gaboe420, Versusxo,
Wesalius created this task.Wesalius added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONWhen user tries to output djvutext.py to a page that already has content, pwb states
pywikibot.output('Page %s already exists, not adding!' % page)
Even
Wesalius added a comment.
In T196851#4397442, @Xqt wrote:
In T196851#4396737, @Wesalius wrote:
when listifying, the script outputs affected pages fine, when moving categories, there is no output
What output do you expect? Could you give an example.
Number of pages moved (analogy to number of
Dvorapa updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...[ ] store the oauth credentials in the Travis-CI secure environment variables for rep [[https://travis-ci.org/wikimedia/pywikibot-core|`wikimedia/pywikibot-core``]]...TASK
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T198801EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, gerritbotCc: gerritbot, Aklapper, Xqt, pywikibot-bugs-list, Andrewjhill, Gaboe420, Versusxo,
gerritbot added a comment.
Change 443849 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [IMPR] Allow terminating the bot generator
https://gerrit.wikimedia.org/r/443849TASK DETAILhttps://phabricator.wikimedia.org/T198801EMAIL
Xqt created this task.Xqt added projects: Pywikibot-core, Pywikibot-redirect.py.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONC:\pwb\GIT\core>pwb.py redirect double -total:1
Retrieving double redirect special page...
Retrieving 14 pages from wikipedia:de.
>>> AFVBY <<<
Xqt triaged this task as "Low" priority.Xqt claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T198801EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: Aklapper, Xqt, pywikibot-bugs-list, Andrewjhill, Magul, Tbscho, MayS, Mdupont, JJMC89,
Dvorapa updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTIONAfter years I have not seen this occured it is behaving again. Try e.g. `python pwb.py replace -regex -nocase "http.*?iupac\.org\/.*?Red_?Book.*?\.pdf"
Dvorapa updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTIONAfter years I have not seen this occured it is behaving again. Try e.g. `python pwb.py replace -regex -nocase "http.*?iupac\.org\/.*?Red_?Book.*?\.pdf"
revi removed revi as the assignee of this task.
TASK DETAILhttps://phabricator.wikimedia.org/T115305EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: reviCc: Reception123, VcamX, NDKilla, Southparkfan, pywikibot-bugs-list, revi, Aklapper, jayvdb, Andrewjhill,
Dvorapa created this task.Dvorapa added projects: Pywikibot-core, Pywikibot-pagegenerators.py.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONAfter years I have not seen this occured it is behaving again. Try e.g. python pwb.py replace -regex -nocase
Dalba added a comment.
In T198778#4397631, @Dvorapa wrote:
Still failing on this. When the cache will be invalided?
My edit was only an hour ago. If you are testing this locally, try removing the apicache-py3/apicache-py2 from the tests directory.TASK
Dvorapa added a comment.
Still failing on this. When the cache will be invalided?TASK DETAILhttps://phabricator.wikimedia.org/T198778EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dalba, DvorapaCc: Dvorapa, Aklapper, pywikibot-bugs-list, Dalba, Andrewjhill,
Dvorapa added a comment.
Probably should be easily solved with https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/395154/TASK DETAILhttps://phabricator.wikimedia.org/T70659EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: Dvorapa, gerritbot,
Dvorapa added a comment.
I've seen number of occurences not only in beta, but also in other projects with lower language count.TASK DETAILhttps://phabricator.wikimedia.org/T198778EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Dalba, DvorapaCc: Dvorapa,
Dalba added a comment.
Mmm, I don't remember seeing this exact issue, but if there are more occurrences of this error, then we should perhaps disable this test on beta cluster. Feel free to reopen if you see one.TASK DETAILhttps://phabricator.wikimedia.org/T198778EMAIL
gerritbot added a comment.
Change 443832 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [IMPR] derive ImageTransferBot from SingleSiteBot
https://gerrit.wikimedia.org/r/443832TASK DETAILhttps://phabricator.wikimedia.org/T196851EMAIL
Dvorapa added a comment.
Okay, but have in mind this is occuring time to time. Probably you're right and the problem is only in the outdated cache hopefully.TASK DETAILhttps://phabricator.wikimedia.org/T198778EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:
matej_suchanek closed this task as "Resolved".matej_suchanek removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T198780EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Wesalius, matej_suchanekCc: gerritbot, Aklapper, Wesalius,
Xqt removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T70659EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: gerritbot, Aklapper, jayvdb, Ricordisamoa, pywikibot-bugs-list, Mpaa, Magul, Tbscho, MayS, Mdupont, JJMC89,
Xqt closed this task as "Resolved".
TASK DETAILhttps://phabricator.wikimedia.org/T198726EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Zoranzoki21, XqtCc: gerritbot, Aklapper, pywikibot-bugs-list, Ninjastrikers, Gaboe420, Versusxo, Majesticalreaper22,
Xqt added a comment.
In T196851#4396737, @Wesalius wrote:
when listifying, the script outputs affected pages fine, when moving categories, there is no output
What output do you expect? Could you give an example.TASK DETAILhttps://phabricator.wikimedia.org/T196851EMAIL
Dalba closed this task as "Resolved".Dalba claimed this task.Dalba added a comment.
I tried to reproduce the issue on other pages, but my attempt was not successful. Then I made an edit on Wikipedia:Administration followed by a revert. Now the wrong interwiki link in the API result is gone.
It
Dalba changed the task status from "Resolved" to "Invalid".
TASK DETAILhttps://phabricator.wikimedia.org/T198778EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis,
Dalba closed this task as "Resolved".
TASK DETAILhttps://phabricator.wikimedia.org/T198723EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Dvorapa, Aklapper, pywikibot-bugs-list, Dalba, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci,
gerritbot added a comment.
Change 443812 merged by jenkins-bot:
[pywikibot/core@master] Added more useful output on overwrite fail
https://gerrit.wikimedia.org/r/443812TASK DETAILhttps://phabricator.wikimedia.org/T198780EMAIL
Xqt triaged this task as "Normal" priority.
TASK DETAILhttps://phabricator.wikimedia.org/T198780EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Wesalius, XqtCc: gerritbot, Aklapper, Wesalius, pywikibot-bugs-list, Gaboe420, Versusxo, Majesticalreaper22,
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T198780EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Wesalius, gerritbotCc: gerritbot, Aklapper, Wesalius, pywikibot-bugs-list, Gaboe420, Versusxo, Majesticalreaper22,
gerritbot added a comment.
Change 443812 had a related patch set uploaded (by Wesalius; owner: Wesalius):
[pywikibot/core@master] Added more useful output on overwrite fail
https://gerrit.wikimedia.org/r/443812TASK DETAILhttps://phabricator.wikimedia.org/T198780EMAIL
gerritbot added a comment.
Change 443770 merged by jenkins-bot:
[pywikibot/core@master] TestPageObject.test_talk_page: Handle redirected maintalk
https://gerrit.wikimedia.org/r/443770TASK DETAILhttps://phabricator.wikimedia.org/T198723EMAIL
Dalba added a comment.
The failure is happening when testing the language links of Wikipedia:Administration page.
There is a [[af:Wikipedia:Administrasie]] in the wikitext. It is not treated as a language link on the wiki but a red link.
However, the API returns it as a language link:
58 matches
Mail list logo