[Pywikipedia-bugs] [Maniphest] [Reopened] T337045: cosmetic_changes.py: ServerError: HTTPConnectionPool: Max retries exceeded with url: /w/api.php (Caused by ConnectTimeoutError, 'Connection to wikisp

2023-06-30 Thread Meno25
Meno25 reopened this task as "Open".
Meno25 added a comment.


  Still not merged. Gate pipeline build failed due to failure of test_http_504 
(tests.http_tests.TestHttpStatus) 


TASK DETAIL
  https://phabricator.wikimedia.org/T337045

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt, Meno25
Cc: Xqt, Aklapper, alaa, pywikibot-bugs-list, Meno25, Isabelladantes1983, 
Themindcoder, Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, 
PotsdamLamb, Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, 
Beast1978, Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, 
CucyNoiD, Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, 
MayS, Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, 
Avicennasis, mys_721tx, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Updated] T340804: `allrevisions=False` in XmlDump returns earliest revision, not latest

2023-06-30 Thread gerritbot
gerritbot added a project: Patch-For-Review.

TASK DETAIL
  https://phabricator.wikimedia.org/T340804

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Aklapper, pywikibot-bugs-list, ElSeiver, Isabelladantes1983, Themindcoder, 
Adamm71, Jersione, Hellket777, LisafBia6531, 786, Biggs657, PotsdamLamb, 
Jyoo1011, JohnsonLee01, Juan90264, SHEKH, Dijkstra, Alter-paule, Beast1978, 
Un1tY, Khutuck, Zkhalido, Hook696, Kent7301, joker88john, Viztor, CucyNoiD, 
Wenyi, Gaboe420, Giuliamocci, Cpaulf30, Af420, Bsandipan, Tbscho, MayS, 
Lewizho99, Mdupont, JJMC89, Maathavan, Dvorapa, Altostratus, Neuronton, 
Avicennasis, mys_721tx, Xqt, jayvdb, Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Commented On] T340804: `allrevisions=False` in XmlDump returns earliest revision, not latest

2023-06-30 Thread gerritbot
gerritbot added a comment.


  Change 934432 had a related patch set uploaded (by ElSeiver; author: 
ElSeiver):
  
  [pywikibot/core@master] Make `allrevisions=False` in XmlDump return latest 
revision
  
  https://gerrit.wikimedia.org/r/934432

TASK DETAIL
  https://phabricator.wikimedia.org/T340804

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: gerritbot
Cc: Aklapper, pywikibot-bugs-list, ElSeiver, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, 
Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org


[Pywikipedia-bugs] [Maniphest] [Created] T340804: `allrevisions=False` in XmlDump returns earliest revision, not latest

2023-06-30 Thread ElSeiver
ElSeiver created this task.
ElSeiver added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  `xmlreader.XmlDump` has a boolean parameter `allrevisions` that states "If 
True, parse all revisions instead of only the latest one." If False, it calls 
the function `._parse_only_latest()` in `.parse()`. However, two issues arise:
  
  1. As written, `._parse_only_latest()` yields the first matching revision 
found without comparing `revisionid` to other candidates. In the case of the 
test suite and my own separate wikidump, this returns the //earliest// revision 
of the page, not the latest.
  
  2. The accompanying test, `tests.xml_reader_tests.test_XmlDumpFirstRev()`, 
specifies that it indeed tests loading the first revision. While the test is 
currently passing, it would be more helpful to match the function and instead 
check that it returns the //latest// revision.
  
  PR to follow shortly!

TASK DETAIL
  https://phabricator.wikimedia.org/T340804

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: ElSeiver
Cc: Aklapper, pywikibot-bugs-list, ElSeiver, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, jayvdb, 
Masti, Alchimista
___
pywikibot-bugs mailing list -- pywikibot-bugs@lists.wikimedia.org
To unsubscribe send an email to pywikibot-bugs-le...@lists.wikimedia.org