Skip to content

Releases: cluebotng/cluebot3

v1.0.13

15 Nov 17:23
Compare
Choose a tag to compare
Bump wikipedia lib - fix auth

v1.0.12

15 Nov 17:19
Compare
Choose a tag to compare
Update deps - assert auth on wikimedia

v1.0.11

26 Oct 08:46
6752b4f
Compare
Choose a tag to compare
Merge pull request #8 from cluebotng/loop-auth

Authenticate in the work loop

v1.0.10

18 Oct 16:55
Compare
Choose a tag to compare
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

18 Oct 15:49
Compare
Choose a tag to compare
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

18 Oct 15:01
ee5f21d
Compare
Choose a tag to compare
Merge pull request #7 from cluebotng/correct-login-behaviour

Correct login behaviour

v1.0.7

18 Oct 14:47
Compare
Choose a tag to compare
Bump wikipedia to 1.0.4 - fixes warning/error logging

v1.0.6

18 Oct 14:37
87fc757
Compare
Choose a tag to compare
Merge pull request #6 from cluebotng/migrate-to-wikipedia-lib

Migrate to wikipedia lib

v1.0.5

16 Oct 20:27
542899c
Compare
Choose a tag to compare
Merge pull request #4 from DamianZaremba/cleanup-revisions-warnings

Wikipedia::revisions - specify `rvslots`

v1.0.4

12 Oct 21:19
Compare
Choose a tag to compare
Correct lib includes