zhuyifei1999 added a comment.
@David_Hedlund Everything resolved for you? Can we close this?TASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, zhuyifei1999Cc: gerritbot, zhuyifei1999, saper, Zoranzoki21, Xq
Dalba updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...The appended summary text is:
```
This page was moved from [[wikipedia:de:Benutzer:Xqt/Test]]. It's edit history can be viewed at [[Benutzer:Xqt/Test/edithistory]]
story can be viewed at [[Benutzer:Xqt/Test/edithistor
JJMC89 closed this task as a duplicate of T78152: log entry has no title.
TASK DETAILhttps://phabricator.wikimedia.org/T198934EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: JJMC89Cc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89,
JJMC89 merged a task: T198934: TestLogentryParams.test_BlockEntry fails on hidden titles.
TASK DETAILhttps://phabricator.wikimedia.org/T78152EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, JJMC89Cc: Dalba, Masti, Magul, Shanmugamp7, gerritbot, Xqt, jayvdb
Dalba created this task.Dalba triaged this task as "High" priority.Dalba added projects: Pywikibot-core, Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONhttps://travis-ci.org/wikimedia/pywikibot/jobs/400546127#L
ERROR: test_BlockEntry_dewp (tests.logent
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T198933EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci,
gerritbot added a comment.
Change 444148 had a related patch set uploaded (by Dalba; owner: dalba):
[pywikibot/core@master] WikibaseKnownTypesTests: Add 'wikibase-sense' to unsupported types
https://gerrit.wikimedia.org/r/444148TASK DETAILhttps://phabricator.wikimedia.org/T198933EMAIL PREFERENCESh
Dalba added a project: Pywikibot-Wikidata.
TASK DETAILhttps://phabricator.wikimedia.org/T198933EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: gerritbot, Aklapper, pywikibot-bugs-list, Dalba, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian
Dalba created this task.Dalba added projects: Pywikibot-core, Pywikibot-tests.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONhttps://travis-ci.org/wikimedia/pywikibot/jobs/400546130#L1379
self =
Dalba triaged this task as "High" priority.
TASK DETAILhttps://phabricator.wikimedia.org/T198933EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb,
Xqt added a comment.
In T198817#4401454, @Dvorapa wrote:
Probably also https://www.mediawiki.org/wiki/Manual:Pywikibot/pagefromfile.py needs to be updated with the new parameters
Seems that such tags breaks transclusionsTASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL PREFERENCEShttps:/
Dvorapa added a comment.
Probably also https://www.mediawiki.org/wiki/Manual:Pywikibot/pagefromfile.py needs to be updated with the new parametersTASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DvorapaCc
David_Hedlund added a comment.
In T198817#4401430, @Xqt wrote:
In T198817#4400838, @David_Hedlund wrote:
Exactly, pagefromfile.py can't overwrite pages. It says:
Page Test already exists, not adding!
You may use one of these options:
-appendtopAdd the text to the top of the existing page
Xqt added a comment.
In T198817#4400838, @David_Hedlund wrote:
Exactly, pagefromfile.py can't overwrite pages. It says:
Page Test already exists, not adding!
You may use one of these options:
-appendtopAdd the text to the top of the existing page
-appendbottom Add the text to the bottom of
Stashbot added a comment.
Mentioned in SAL (#wikimedia-operations) [2018-07-05T18:21:19Z] Synchronized wmf-config/Wikibase-production.php: SWAT: [[gerrit:443939|Set dispatchLagToMaxLagFactor to 60 for wikidata]] T194950 (duration: 00m 51s)TASK DETAILhttps://phabricator.wikimedia.org/T194950EMAIL P
gerritbot added a comment.
Change 443939 merged by jenkins-bot:
[operations/mediawiki-config@master] Set dispatchLagToMaxLagFactor to 60 for wikidata
https://gerrit.wikimedia.org/r/443939TASK DETAILhttps://phabricator.wikimedia.org/T194950EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings
David_Hedlund added a comment.
In T198817#4400810, @zhuyifei1999 wrote:
Creating pages is done, overwriting exiting pages... add_text can't replace.
Exactly, pagefromfile.py can't overwrite pages. It says:
Page Test already exists, not adding!TASK DETAILhttps://phabricator.wikimedia.org/T198817
David_Hedlund added a comment.
In T198817#4400175, @gerritbot wrote:
Change 444011 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [IMPR] New options for pagefromfile.py
https://gerrit.wikimedia.org/r/444011
@Xqt Thank you for the patch.TASK DETAILhttps://phabric
gerritbot added a comment.
Change 444011 merged by jenkins-bot:
[pywikibot/core@master] [IMPR] New options for pagefromfile.py
https://gerrit.wikimedia.org/r/444011TASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences
zhuyifei1999 added a comment.
Creating pages is done, overwriting exiting pages... add_text can't replace.TASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, zhuyifei1999Cc: gerritbot, zhuyifei1999, saper, Z
zhuyifei1999 added a comment.
I was suggesting to switch content by dbname, but this can potentially break third-party wikis.TASK DETAILhttps://phabricator.wikimedia.org/T198889EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999Cc: MarcoAurelio, Aklap
MarcoAurelio created this task.MarcoAurelio added a project: Pywikibot-Other-scripts.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONAs discussed with @zhuyifei1999 on IRC, this https://github.com/wikimedia/pywikibot/blob/master/scripts/clean_sandbox.py script would benefit
Dalba added a subscriber: Framawiki.Dalba merged a task: T196875: category.py logging fails with UnicodeEncodeError for Python 3.
TASK DETAILhttps://phabricator.wikimedia.org/T188231EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, DalbaCc: Framawiki, gerri
Dalba closed this task as a duplicate of T188231: listpages logging fails with UnicodeEncodeError.
TASK DETAILhttps://phabricator.wikimedia.org/T196875EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, Framawiki, Dalba, valhallasw, Xqt, pywikib
Dalba added a comment.
I believe the solution to T188231 should also have resolved this one.TASK DETAILhttps://phabricator.wikimedia.org/T196875EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DalbaCc: Aklapper, Framawiki, Dalba, valhallasw, Xqt, pywikibot-bugs
gerritbot added a comment.
Change 444014 merged by jenkins-bot:
[pywikibot/core@master] bot.py: Open RotatingFileHandler with utf-8 encoding
https://gerrit.wikimedia.org/r/444014TASK DETAILhttps://phabricator.wikimedia.org/T188231EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/em
Xqt closed this task as "Resolved".Xqt claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T188231EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: gerritbot, Mpaa, Zoranzoki21, Dalba, Aklapper, pywikibot-bugs-list, valhallasw, Xqt, Gaboe420,
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T188231EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: gerritbot, Mpaa, Zoranzoki21, Dalba, Aklapper, pywikibot-bugs-list, valhallasw, Xqt, Gaboe420, Versusx
gerritbot added a comment.
Change 444014 had a related patch set uploaded (by Dalba; owner: dalba):
[pywikibot/core@master] bot.py: Open RotatingFileHandler with utf-8 encoding
https://gerrit.wikimedia.org/r/444014TASK DETAILhttps://phabricator.wikimedia.org/T188231EMAIL PREFERENCEShttps://phabric
Xqt added a comment.
@valhallasw
@Xqt: could you add a breakpoint/print statement to ... to figure out which stream this is going to? Is this the console or is it trying to log to a file?
I added:
stream = self.stream
print('>>>', msg, '<<<')
stream.write(msg)
with result:
>>> 2018-07-05 18:14
gerritbot added a comment.
Change 444011 had a related patch set uploaded (by Xqt; owner: Xqt):
[pywikibot/core@master] [IMPR] New options for pagefromfile.py
https://gerrit.wikimedia.org/r/444011TASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL PREFERENCEShttps://phabricator.wikimedia.org
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Xqt, gerritbotCc: gerritbot, zhuyifei1999, saper, Zoranzoki21, Xqt, Dvorapa, pywikibot-bugs-list, Framawiki, Aklapp
Xqt triaged this task as "Low" priority.
TASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: zhuyifei1999, saper, Zoranzoki21, Xqt, Dvorapa, pywikibot-bugs-list, Framawiki, Aklapper, David_Hedlund, Magul,
Xqt claimed this task.
TASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: XqtCc: zhuyifei1999, saper, Zoranzoki21, Xqt, Dvorapa, pywikibot-bugs-list, Framawiki, Aklapper, David_Hedlund, Magul, Tbscho, MayS, Mdup
zhuyifei1999 added a comment.
In T198817#4400033, @Xqt wrote:
I am wondering that it is able for Linux because the option parameter -text:"$(cat Test.wiki)" is just a text. No glue why/how the bot can Interpret this as a batch command
It doesn't. That's bash. Double quotes allows interpretation
Dvorapa added a comment.
In T198817#4400033, @Xqt wrote:
Probably Linux only, I do not know, hot to write Windows shell/Powershell command like this
I am wondering that it is able for Linux because the option parameter -text:"$(cat Test.wiki)" is just a text. No glue why/how the bot can Interpret
Xqt added a comment.
Probably Linux only, I do not know, hot to write Windows shell/Powershell command like this
I am wondering that it is able for Linux because the option parameter -text:"$(cat Test.wiki)" is just a text. No glue why/how the bot can Interpret this as a batch commandTASK DETAILht
Dvorapa added a comment.
In T198817#4399968, @Xqt wrote:
It does not (might be it does for others than windows)
Probably Linux only, I do not know, hot to write Windows shell/Powershell command like this (I've found only https://stackoverflow.com/questions/43225925/windows-cmd-pass-output-of-one
Xqt added a comment.
This should work too if page does not exist:
$ echo "Hello world" > Test.wiki
$ python pwb.py add_text -text:"$(cat Test.wiki)" -page:"Test"
It does not (might be it does for others than windows)TASK DETAILhttps://phabricator.wikimedia.org/T198817EMAIL PREFERENCEShttps://pha
Dvorapa updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTIONCurrently there are **1850** warnings:
- more than one target found for cross-reference (157):127): we should be more specific in `@type param: Page` and similar, partially #Upstream as some of these should prefer loca
Dvorapa removed a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T187009EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: DvorapaCc: zhuyifei1999, Zoranzoki21, gerritbot, Aklapper, pywikibot-bugs-list, Dvorapa, Cpaulf30, Ivana_Isadora, J
gerritbot added a comment.
Change 443918 merged by jenkins-bot:
[pywikibot/core@master] site.py: Improve type hints
https://gerrit.wikimedia.org/r/443918TASK DETAILhttps://phabricator.wikimedia.org/T187009EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerrit
zhuyifei1999 closed this task as "Resolved".zhuyifei1999 added a comment.
@.avgas It should land on toolforge nightly at 1 UTC.TASK DETAILhttps://phabricator.wikimedia.org/T198849EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999Cc: gerritbot, Dalba,
zhuyifei1999 added a comment.
In T198817#4399570, @Dvorapa wrote:
I suggest to improve both pagefromfile.py and add_text.py/basic.py:
pagefromfile.py to make the batch uploading as easy as possible. It should be able to read from the stream, from one file or multiple files.
add_text.py/basic.py
gerritbot added a comment.
Change 443957 merged by jenkins-bot:
[pywikibot/core@master] pagegenerators: try..except UnicodeEncodeError on getattr()
https://gerrit.wikimedia.org/r/443957TASK DETAILhttps://phabricator.wikimedia.org/T198849EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/p
Dvorapa added a comment.
In T198817#4399091, @Xqt wrote:
doesn't require files that starts with "{{-start-}}" and ends with "{{-stop-}}" -- we will batch upload 25 000 .wiki files so it will be a tedious task to generate 25 000 files just for this purpose.
You may easily add 25 000 delimited en
Dvorapa added a comment.
I suggest to improve both pagefromfile.py and add_text.py/basic.py:
pagefromfile.py to make the batch uploading as easy as possible. It should be able to read from the stream, from one file or multiple files.
add_text.py/basic.py to make the single page change as easy as
gerritbot added a comment.
Change 443918 had a related patch set uploaded (by Dalba; owner: dalba):
[pywikibot/core@master] site.py: Improve type hints
https://gerrit.wikimedia.org/r/443918TASK DETAILhttps://phabricator.wikimedia.org/T187009EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settin
Dvorapa added a comment.
https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/443761/ fixed some of the "more than one target found for cross-reference" warningsTASK DETAILhttps://phabricator.wikimedia.org/T187009EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To:
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T187009EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: gerritbotCc: zhuyifei1999, Zoranzoki21, gerritbot, Aklapper, pywikibot-bugs-list, Dvorapa, Gaboe420, Versusxo, Maje
Multichill added a comment.
Looks like @Dalba introduced it in https://gerrit.wikimedia.org/r/#/c/pywikibot/core/+/440096/TASK DETAILhttps://phabricator.wikimedia.org/T198849EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999, MultichillCc: gerritbot,
gerritbot added a comment.
Change 443957 had a related patch set uploaded (by Zhuyifei1999; owner: Zhuyifei1999):
[pywikibot/core@master] pagegenerators: try..except UnicodeError on getattr()
https://gerrit.wikimedia.org/r/443957TASK DETAILhttps://phabricator.wikimedia.org/T198849EMAIL PREFERENCES
gerritbot added a project: Patch-For-Review.
TASK DETAILhttps://phabricator.wikimedia.org/T198849EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999, gerritbotCc: gerritbot, Dalba, zhuyifei1999, Aklapper, Multichill, pywikibot-bugs-list, .avgas, Gaboe
.avgas updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...tools.irishbot@tools-bastion-03:~$ python /data/project/shared/pywikipedia/core/scripts/replace.py -regex 'scade alle 23.59 del giorno martedì 3 luglio 2018' 'scade alle 23.59 del giorno giovedì 5 luglio 2018' -page:"
zhuyifei1999 added a subscriber: Dalba.zhuyifei1999 added a comment.
I did this diff:
zhuyifei1999@zhuyifei1999-ThinkPad-X260:~/mw-dev/pywikibot-core$ git diff
diff --git a/pywikibot/pagegenerators.py b/pywikibot/pagegenerators.py
index ec06f313..95cf67dd 100644
--- a/pywikibot/pagegenerators.py
+
zhuyifei1999 added a project: Regression.zhuyifei1999 added a comment.
shell.py uses sys.argv instread of pywikibot.argvu, I'll just ignore that for now since there isn't really a reason to provide non-ascii args to shell.py.TASK DETAILhttps://phabricator.wikimedia.org/T198849EMAIL PREFERENCEShttps
zhuyifei1999 claimed this task.zhuyifei1999 added a comment.
I'm debugging this.TASK DETAILhttps://phabricator.wikimedia.org/T198849EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: zhuyifei1999Cc: zhuyifei1999, Aklapper, Multichill, pywikibot-bugs-list, .avgas,
zhuyifei1999 created this task.zhuyifei1999 added a project: Pywikibot-core.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION@.avgas Encountered this error while using replace.py:
tools.irishbot@tools-bastion-03:~$ python /data/project/shared/pywikipedia/core/scripts/replac
zhuyifei1999 added a comment.
In T198817#4399091, @Xqt wrote:
You may easily add 25 000 delimited entries to that single file and upload them by a single command at once.
Delimiting is a non-solution, unless there are ways to 'escape' delimiters *and* the script can read from non-seekable stream
gerritbot added a comment.
Change 443939 had a related patch set uploaded (by Ladsgroup; owner: Amir Sarabadani):
[operations/mediawiki-config@master] Set dispatchLagToMaxLagFactor to 60 for wikidata
https://gerrit.wikimedia.org/r/443939TASK DETAILhttps://phabricator.wikimedia.org/T194950EMAIL PRE
Xqt added a comment.
doesn't require files that starts with "{{-start-}}" and ends with "{{-stop-}}" -- we will batch upload 25 000 .wiki files so it will be a tedious task to generate 25 000 files just for this purpose.
You may easily add 25 000 delimited entries to that single file and upload
Multichill created this task.Multichill added projects: Pywikibot-core, Pywikibot-Wikidata, Wikidata.Herald added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTIONTo improve the traceability of data imported from Wikimedia projects Wikimedia import URL (https://www.wikidata.org/wiki/Pro
David_Hedlund added a comment.
In T198817#4398574, @zhuyifei1999 wrote:
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,
63 matches
Mail list logo