Releases: cluebotng/cluebot3
Releases · cluebotng/cluebot3
v1.0.13
v1.0.12
Update deps - assert auth on wikimedia
v1.0.11
Merge pull request #8 from cluebotng/loop-auth Authenticate in the work loop
v1.0.10
archiveprefix - trim extracted value Should fix ``` [2021-10-18 17:44:38] cluebot3.INFO: doarchive(Talk:Tao, Talk:Tao/Archive, %%i, 2160, 2, 5, {{Automatic archive navigator}},{{User:ClueBot III/ArchiveNow}},2,0,0,0,, 75000, 4,) [] [] [2021-10-18 17:44:39] cluebot3.ERROR: listprefix API Error: array ( 'code' => 'badvalue', 'info' => 'Unrecognized value for parameter "apnamespace": .', '*' => 'See https://en.wikipedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes.', ) [] [] ``` Which is being extracted as ``` array(2) { [0]=> string(5) " Talk" [1]=> string(11) "Tao/Archive" } ``` And thus returns a blank string for the namespace.
v1.0.9
Decode html quotes in archiveprefix This should fix ``` [2021-10-18 16:12:02] cluebot3.INFO: doarchive(Talk:Parkinson's law,Talk:Parkinson's law/Archives/,Y,26297,0,0,{{Talkarchive}},{{User:ClueBot III/ArchiveNow}},2,0,0,0,,0,1,) [] [] [2021-10-18 16:12:03] cluebot3.ERROR: listprefix API Error: array ( 'code' => 'invalidtitle', 'info' => 'Bad title "Parkinson's law/Archives/".', '*' => 'See https://en.wikipedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes.', ) [] [] ``` ``` [2021-10-18 16:42:01] cluebot3.INFO: doarchive(Talk:Eaton's,Talk:Eaton's/Archives/,Y,26297,0,0,{{Talkarchive}},{{User:ClueBot III/ArchiveNow}},2,0,0,0,,0,1,) [] [] [2021-10-18 16:42:01] cluebot3.ERROR: listprefix API Error: array ( 'code' => 'invalidtitle', 'info' => 'Bad title "Eaton's/Archives/".', '*' => 'See https://en.wikipedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes.', ) [] [] ``` Where we are basically url encoding the html encoding of the quotes resulting in ``` https://en.wikipedia.org/w/api.php?action=query&list=allpages&apprefix=Parkinson%26%2339%3Bs%20law%2FArchives%2F&apnamespace=1 ``` rather than ``` https://en.wikipedia.org/w/api.php?action=query&list=allpages&apprefix=Parkinson%27s%20law/Archives/&apnamespace=1 ```
v1.0.8
Merge pull request #7 from cluebotng/correct-login-behaviour Correct login behaviour
v1.0.7
Bump wikipedia to 1.0.4 - fixes warning/error logging
v1.0.6
Merge pull request #6 from cluebotng/migrate-to-wikipedia-lib Migrate to wikipedia lib
v1.0.5
Merge pull request #4 from DamianZaremba/cleanup-revisions-warnings Wikipedia::revisions - specify `rvslots`
v1.0.4
Correct lib includes