Branch: refs/heads/master
Home:
https://github.com/MediaWiki-Bot/MediaWiki-Bot
Commit: c43c6bb8d735cec90686d3c2e16624c3527e4204
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/c43c6bb8d735cec90686d3c2e16624c3527e4204
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-06-16 (Mon, 16 Jun 2014)
Changed paths:
M t/29-get_log.t
Log Message:
-----------
Add new "logpage" param in expected log output
Should resolve spurious test failures like
http://www.cpantesters.org/cpan/report/2891fd46-ee10-11e3-b9aa-c8db72305bfd
Commit: 4642ad3d3008655f162747c4ab39f85acf82b662
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/4642ad3d3008655f162747c4ab39f85acf82b662
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-07-15 (Tue, 15 Jul 2014)
Changed paths:
M Changes
M lib/MediaWiki/Bot.pm
M t/42-expandtemplates.t
Log Message:
-----------
Use new prop parameter in expandtemplates
http://lists.wikimedia.org/pipermail/mediawiki-api-announce/2014-June/000058.html
Fixes gh-58. Thanks to fhocutt for reporting this issue.
Commit: fc1442a9503fea766d59832cf9c82574248ca7a7
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/fc1442a9503fea766d59832cf9c82574248ca7a7
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-08-01 (Fri, 01 Aug 2014)
Changed paths:
M Changes
M lib/MediaWiki/Bot.pm
M t/00-init.t
M t/01-api_error.t
M t/02-login.t
M t/03-get_text.t
M t/04-edit.t
M t/05-revert.t
M t/06-get_history.t
M t/07-unicode.t
M t/08-get_last.t
M t/09-update_rc.t
M t/10-what_links_here.t
M t/11-get_pages_in_category.t
M t/12-linksearch.t
M t/13-get_namespace_names.t
M t/14-get_pages_in_namespace.t
M t/15-count_contributions.t
M t/16-last_active.t
M t/17-was_blocked.t
M t/18-is_blocked.t
M t/19-get_pages.t
M t/20-assertion.t
M t/21-get_allusers.t
M t/22-get_id.t
M t/23-list_transclusions.t
M t/24-purge_page.t
M t/25-sitematrix.t
M t/26-diff.t
M t/27-prefixindex.t
M t/28-search.t
M t/29-get_log.t
M t/30-was_g_blocked.t
M t/31-is_g_blocked.t
M t/32-was_locked.t
M t/33-is_locked.t
M t/34-secure.t
M t/35-get_protection.t
M t/36-email.t
M t/37-move.t
M t/38-test_image_exists.t
M t/39-image_usage.t
M t/40-upload.t
M t/41-get_users.t
M t/42-expandtemplates.t
M t/43-recentchanges.t
M t/44-patrol.t
M t/45-contributions.t
M t/46-usergroups.t
M t/47-global_image_usage.t
M t/48-get_image.t
M t/49-get_all_categories.t
Log Message:
-----------
Fix up user agent strings
- Add a link to the default UA per request: RT #94885
- Warn when the UA isn't sufficiently customized, and encourage
devs to provide an 'operator'
- Add a link to the test suite's UAs
Fixes gh-61, RT #94885, gh-66
Commit: d204b14b5aae0c0fb4999ea716b0847554c1fcd4
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/d204b14b5aae0c0fb4999ea716b0847554c1fcd4
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-08-01 (Fri, 01 Aug 2014)
Changed paths:
M lib/MediaWiki/Bot.pm
M t/13-get_namespace_names.t
Log Message:
-----------
Refactor extraction of namespace aliases
This was always pretty hairy, because the response is split between
the "namespacealiases" and "namespaces" sections, and you have to
merge them.
This replaces the loop with a doubple-map that may be clearer,
because this shows the two steps separately. n is small enough (~4
for most wikis) that we don't care about efficiency. Comments have
also been added.
Addresses gh-64 in part.
Commit: 3ebf2dd81ae1505054d8c58dfffee2eda3f2b462
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/3ebf2dd81ae1505054d8c58dfffee2eda3f2b462
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-08-19 (Tue, 19 Aug 2014)
Changed paths:
M Changes
M lib/MediaWiki/Bot.pm
A lib/MediaWiki/Bot/Constants.pm
M t/05-revert.t
M t/07-unicode.t
M t/17-was_blocked.t
M t/18-is_blocked.t
M t/20-assertion.t
M t/31-is_g_blocked.t
M t/32-was_locked.t
M t/34-secure.t
M t/38-test_image_exists.t
M t/40-upload.t
Log Message:
-----------
Use constants instead of magic numbers
Create a library of importable constants, and use them in place
of hardcoded magic numbers, which were being used for boolean
return values (changing this might be overkill), namespace
numbers, and certain status information like the nonexistence
of a wiki page and the (non-boolean) file status.
Fixes gh-59.
Commit: 0bf12045d75204a4e5791f37e50d32f62e7d5ab3
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/0bf12045d75204a4e5791f37e50d32f62e7d5ab3
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-08-19 (Tue, 19 Aug 2014)
Changed paths:
M lib/MediaWiki/Bot.pm
Log Message:
-----------
Convert loops to maps so they're more comprehensible
Commit: 30860b1a3efc97c197914a380377f852e10366df
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/30860b1a3efc97c197914a380377f852e10366df
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-08-19 (Tue, 19 Aug 2014)
Changed paths:
M lib/MediaWiki/Bot.pm
Log Message:
-----------
Escape URLs containing regex metacharacters
Commit: a4f7ff45c28e2263a375e13c2d60d6376f38434c
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/a4f7ff45c28e2263a375e13c2d60d6376f38434c
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-08-19 (Tue, 19 Aug 2014)
Changed paths:
M lib/MediaWiki/Bot.pm
Log Message:
-----------
Catch when a CAPTCHA has been encountered
This doesn't give you any way to deal with the CAPTCHA yet, but
it can let you know what happened. Since CAPTCHAs aren't a "real"
error condition, they're presented differently, and we didn't
understand that, leaving no error information in the Bot object's
error attribute. Now, we add a specific error constant and provide
the data needed to proceed in the details. The next step is to
augment the edit method with a way to accept both the ID and the
solution, and retry properly. It might also be interesting to try
an automatic interactive retry option.
Commit: 6a7227eb5fc8b95c77e0bb00db57366feced311a
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/6a7227eb5fc8b95c77e0bb00db57366feced311a
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-08-19 (Tue, 19 Aug 2014)
Changed paths:
A .proverc
Log Message:
-----------
Set some common options for prove
In particular, specify tests which shouldn't run in parallel. The
tests identified as "seq" will always be run sequentially, while
all others are eligible for parallel execution. Specify -jN to
run N test jobs.
Commit: d776213936b127f45ca026601b908a30dc9abd8f
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/d776213936b127f45ca026601b908a30dc9abd8f
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-08-19 (Tue, 19 Aug 2014)
Changed paths:
M t/04-edit.t
Log Message:
-----------
Also skip editing tests when a CAPTCHA is encountered
Commit: 5fcb0aa179559bed435deabb7abd38693c6e2ffb
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/5fcb0aa179559bed435deabb7abd38693c6e2ffb
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-08-22 (Fri, 22 Aug 2014)
Changed paths:
M Changes
M lib/MediaWiki/Bot.pm
M t/04-edit.t
Log Message:
-----------
Let devs solve CAPTCHAs if needed
edit will now return false but use a specific error code, ERR_CAPTCHA,
when a CAPTCHA has been encountered. The error details begin with
'captcharequired', and a special 'captcha' key is added with data
regarding the CAPTCHA which must be solved.
After interaction with a human, the edit can be retried, adding
the new captcha_id and captcha_solution parameters (in the
new hashref call style).
Fixes gh-2
Commit: cd9fe395cda14b15164708a3dde97e94d854c3db
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/cd9fe395cda14b15164708a3dde97e94d854c3db
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-08-22 (Fri, 22 Aug 2014)
Changed paths:
M Changes
M lib/MediaWiki/Bot.pm
Log Message:
-----------
Don't edit the operator's talk page if edit encounters errors
This is bad because
- this is fragile -- the edit routines don't do proper error handling
- this is annoying
- this might encourage operators to omit the operator parameter
to the constructor to avoid getting these notices
- this removes control of error handling from the developer
- this only deals with errors encountered while editing
Just remove it and let devs do the right thing.
Fixes gh-68
Commit: 6afb1edae64ab2f7806b2c0964e3fc59e10a5fab
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/6afb1edae64ab2f7806b2c0964e3fc59e10a5fab
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-09-01 (Mon, 01 Sep 2014)
Changed paths:
M Changes
M lib/MediaWiki/Bot.pm
M t/44-patrol.t
Log Message:
-----------
Use new method for getting tokens
https://lists.wikimedia.org/pipermail/mediawiki-api-announce/2014-August/000063.html
Commit: 9d9e5eb414f8dcc602712602acf5ec14db29a642
https://github.com/MediaWiki-Bot/MediaWiki-Bot/commit/9d9e5eb414f8dcc602712602acf5ec14db29a642
Author: Mike Doherty <
mi...@mikedoherty.ca>
Date: 2014-09-01 (Mon, 01 Sep 2014)
Changed paths:
M Build.PL
M Changes
M Makefile.PL
M README
M README.mkdn
Log Message:
-----------
Released 5.006000
Compare:
https://github.com/MediaWiki-Bot/MediaWiki-Bot/compare/ca8947ac0ff3...9d9e5eb414f8