https://bugzilla.wikimedia.org/show_bug.cgi?id=55029
Web browser: --- Bug ID: 55029 Summary: Run in -async mode, the logs sequence mess Product: Pywikibot Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: legoktm.wikipedia@gmail.com Classification: Unclassified Mobile Platform: ---
Originally from: http://sourceforge.net/p/pywikipediabot/feature-requests/315/ Reported by: yfdyh000 Created on: 2012-07-15 10:53:38 Subject: Run in -async mode, the logs sequence mess Original description: In asynchronous mode, recommended to wait for the same page update details full output, then insert other information. "Updating links on page [[xx:XXX]]" should not be inserted into the middle of the Continuous log. The "Changes to be made:" of Same page should be with a continuous output.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55029
--- Comment #1 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- That does not make any sense to me. If we have to wait for the update so we can have the output from the script and from the async save routine in the same place, the entire advantage of async saving is gone!
https://bugzilla.wikimedia.org/show_bug.cgi?id=55029
--- Comment #2 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- Oh. The following idea feasible?
Suppose a situation: # max_queue_size = 10 ... # The current waiting put queue is 9 Getting 60 pages from wikipedia:en... # Add 10+ pages to the put queue at same time # The current waiting put queue is 19+ ======Post-processing [[en:xxx]]====== "Updating links on page [[en:xxx]]." 10+ ... "Updating page [[en:xxx]] via API" 10+ "Getting 60 pages from wikipedia:de..." ......
https://bugzilla.wikimedia.org/show_bug.cgi?id=55029
--- Comment #3 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- What you want is not really clear to me, but I suppose you want to let the bot stall when there are 10 pages waiting to be saved?
What would be the use case for that?
https://bugzilla.wikimedia.org/show_bug.cgi?id=55029
--- Comment #4 from Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com --- I mean is all associated pages of a page as a unit to output and updates, rather than each page as a unit.
https://bugzilla.wikimedia.org/show_bug.cgi?id=55029
Kunal Mehta (Legoktm) legoktm.wikipedia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://sourceforge.net/p/p | |ywikipediabot/feature-reque | |sts/315
https://bugzilla.wikimedia.org/show_bug.cgi?id=55029
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jayvdb@gmail.com, | |yfdyh000@gmail.com
--- Comment #5 from John Mark Vandenberg jayvdb@gmail.com --- Is this a enhancement for core or compat?
pywikipedia-bugs@lists.wikimedia.org