# do not edit -- automatically generated by arch changelog # arch-tag: automatic-ChangeLog--mark@sdf-eu.org--arch/WWW-Mediawiki-Client--0.25 #
2006-07-01 17:55:03 GMT Mark Jaroski <mark@geekhive.net> patch-49

Summary
Fixed an errant test failure in wikitravel related urls.

2006-06-29 15:46:45 GMT Mark Jaroski <mark@geekhive.net> patch-49

Summary
Removed file t/files/.mediawiki which was errently causing the server tests to be run for users who had not set up a server.

2006-06-27 07:01:15 GMT Mark Jaroski <mark@geekhive.net> patch-48

Summary
Fixed a number of bugs from RT, and one that I found.

2005-06-06 13:12:06 GMT Mark Jaroski <mark@geekhive.net> patch-47

Summary
Fixed a couple of minor bugs, added documentation
Revision
WWW-Mediawiki-Client--0.25--patch-47

Fixed two bugs that had to do with dependencies, including changing the version number of URI required to 1.31, and added a use Encode line. Added to the documentation to highlight differences.

-mark

modified files:
ChangeLog Makefile.PL bin/mvs lib/WWW/Mediawiki/Client.pm

2005-06-03 15:16:58 GMT Mark Jaroski <mark@geekhive.net> patch-46

Summary
added encoding field
Revision
WWW-Mediawiki-Client--0.25--patch-46

Some Mediawiki servers use encodings other than UTF-8. For these servers it's necessary to detect the encoding and use it for uploading content.

modified files:
bin/mvs lib/WWW/Mediawiki/Client.pm

2005-05-30 14:00:48 GMT Mark Jaroski <mark@geekhive.net> patch-45

Summary
added hack to correct UTF-8 file upload problem
Revision
WWW-Mediawiki-Client--0.25--patch-45

Added a hack to correct a problem with multibyte characters in URL::Encode which is used when uploading data through LWP.

modified files:
lib/WWW/Mediawiki/Client.pm

2005-05-30 07:24:31 GMT Mark Jaroski <mark@geekhive.net> patch-44

Summary
got rid of wide character warnings
Revision
WWW-Mediawiki-Client--0.25--patch-44

Perl issues "wide character" warnings when writing UNICODE to non-unicode streams and filehandles. This fixes that. I worry that it's broken iso-8859-1 support though.

modified files:
bin/mvs lib/WWW/Mediawiki/Client.pm t/client.t

2005-05-28 13:12:49 GMT Mark Jaroski <mark@geekhive.net> patch-43

Summary
added documentation for using a PROXY
Revision
WWW-Mediawiki-Client--0.25--patch-43

Added documentation on how configure mvs to work with an http proxy.

modified files:
ChangeLog bin/mvs

2005-05-27 16:02:08 GMT Mark Jaroski <mark@geekhive.net> patch-42

Summary
fixed update output, got rid of utf8 warning
Revision
WWW-Mediawiki-Client--0.25--patch-42

I had messed up the update output by leaving it dependant on the @files variable even when it was empty because that is now being done within the library.

modified files:
bin/mvs lib/WWW/Mediawiki/Client.pm

2005-05-27 14:55:54 GMT Mark Jaroski <mark@geekhive.net> patch-41

Summary
a little more about images
Revision
WWW-Mediawiki-Client--0.25--patch-41

modified files:
TODO

2005-05-27 14:37:05 GMT Mark Jaroski <mark@geekhive.net> patch-40

Summary
added documentation for ENV variables
Revision
WWW-Mediawiki-Client--0.25--patch-40

modified files:
TODO bin/mvs

2005-05-26 14:04:46 GMT Mark Jaroski <mark@geekhive.net> patch-39

Summary
Credit for Adrian
Revision
WWW-Mediawiki-Client--0.25--patch-39

Patches applied:

modified files:
lib/WWW/Mediawiki/Client.pm

new patches:
wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-30

2005-05-25 19:17:07 GMT Mark Jaroski <mark@geekhive.net> patch-38

Summary
fixed two POD errors, and a warning for commands with no status
Revision
WWW-Mediawiki-Client--0.25--patch-38

modified files:
ChangeLog bin/mvs

2005-05-25 15:53:30 GMT Mark Jaroski <mark@geekhive.net> patch-37

Summary
took out introspection
Revision
WWW-Mediawiki-Client--0.25--patch-37

I replaced the introspection methods with a simple call to list_wiki_files in do_update().

modified files:
lib/WWW/Mediawiki/Client.pm

2005-05-25 15:35:57 GMT Mark Jaroski <mark@geekhive.net> patch-36

Summary
CONSTANTS and style tidying
Revision
WWW-Mediawiki-Client--0.25--patch-36

Some of the new code is in Adrian's style, which is fine on it's own, but it's probably better to be consistant here.

modified files:
bin/mvs lib/WWW/Mediawiki/Client.pm

2005-05-25 10:01:35 GMT Mark Jaroski <mark@geekhive.net> patch-35

Summary
droped export_path, fixed problem with do_update retval
Revision
WWW-Mediawiki-Client--0.25--patch-35

It's possible to reach the Special:Export page using the wiki_path field, so I've dropped the extra field as redundant, and a possible source of bugs. I've also changed the way the status field works (returns a hashref instead of a list) and so eliminated the failures which had recently been introduced in t/server.t

modified files:
bin/mvs lib/WWW/Mediawiki/Client.pm t/server.t

2005-05-24 20:16:04 GMT Mark Jaroski <mark@geekhive.net> patch-34

Summary
bug fixes for Adrian's changes
Revision
WWW-Mediawiki-Client--0.25--patch-34

Patches applied:

modified files:

     bin/mvs lib/WWW/Mediawiki/Client.pm
     lib/WWW/Mediawiki/Client/Exceptions.pm

new patches:

     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-17
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-18
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-19
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-20
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-21
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-22
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-23
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-24
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-25
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-26
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-27
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-28
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-29

2005-05-24 20:07:41 GMT Mark Jaroski <mark@geekhive.net>        patch-33
Summary
Better use of information from Mediawiki server, from Adrian Irving-Beer
Revision
WWW-Mediawiki-Client--0.25--patch-33

Patches applied:

modified files:

     lib/WWW/Mediawiki/Client.pm
     lib/WWW/Mediawiki/Client/Exceptions.pm t/client.t
     t/exceptions.t t/mvs.t t/server.t

new patches:

     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-13
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-14
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-15
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-16

2005-05-24 20:04:34 GMT Mark Jaroski <mark@geekhive.net>        patch-32
Summary
previw support from Adrian Irving-Beer
Revision
WWW-Mediawiki-Client--0.25--patch-32

Patches applied:

modified files:
bin/mvs lib/WWW/Mediawiki/Client.pm

new patches:

     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-10
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-11
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-12

2005-05-24 20:00:05 GMT Mark Jaroski <mark@geekhive.net>        patch-31
Summary
added clean command from Adrian Irving-Beer
Revision
WWW-Mediawiki-Client--0.25--patch-31

Patches applied:

modified files:
lib/WWW/Mediawiki/Client.pm

new patches:
wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-9

2005-05-24 19:57:01 GMT Mark Jaroski <mark@geekhive.net> patch-30

Summary
Special:Export support from Adrian Irving-Beer
Revision
WWW-Mediawiki-Client--0.25--patch-30

Patches applied:

modified files:
ChangeLog bin/mvs lib/WWW/Mediawiki/Client.pm

new patches:

     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-4
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-5
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-6
     wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-7

2005-05-24 09:30:44 GMT Mark Jaroski <mark@geekhive.net>        patch-29
Summary
error check for non-exception errors
Revision
WWW-Mediawiki-Client--0.25--patch-29

Patches applied:

modified files:
bin/mvs

new patches:
wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-3

2005-05-24 09:20:56 GMT Mark Jaroski <mark@geekhive.net> patch-28

Summary
No-read test fails for root or fakeroot, skip it.
Revision
WWW-Mediawiki-Client--0.25--patch-28

Applied patch from Adrian Irving-Beer <wisq@wisq.net>. This test was failing as root, which is a problem when building a debian package.

modified files:
t/client.t

new patches:
wisq@wisq.net--2004/libwww-mediawiki-client-perl--devo--0.25--patch-1

2005-05-22 14:25:33 GMT Mark Jaroski <mark@geekhive.net> patch-27

Summary
applied patch from Sébastien Aperghis
Revision
WWW-Mediawiki-Client--0.25--patch-27

Here is a documentation patch that corrects the =head1 NAME of one of the modules so that it appears correctly.

Thanks Sébastien!

modified files:
ChangeLog lib/WWW/Mediawiki/Client/Exceptions.pm

2005-05-19 09:40:37 GMT Mark Jaroski <mark@geekhive.net> patch-26

Summary
documentation for new exception
Revision
WWW-Mediawiki-Client--0.25--patch-26

Added documentation for the CommitException.

modified files:
lib/WWW/Mediawiki/Client/Exceptions.pm

2005-05-16 16:21:35 GMT Mark Jaroski <mark@geekhive.net> patch-25

Summary
created exception for spam filter response
Revision
WWW-Mediawiki-Client--0.25--patch-25

If the page you are trying to commit contains a URL which trips the spam filter the page cannot be commited. The client now recogizes this situation and throws an appropriate exception.

modified files:

     bin/mvs lib/WWW/Mediawiki/Client.pm
     lib/WWW/Mediawiki/Client/Exceptions.pm

2005-05-16 09:22:07 GMT Mark Jaroski <mark@geekhive.net>        patch-24
Summary
simplified reporting
Revision
WWW-Mediawiki-Client--0.25--patch-24

Made the reporting just a tiny bit friendlier.

modified files:
bin/mvs

2005-05-11 12:27:19 GMT Mark Jaroski <mark@geekhive.net> patch-23

Summary
documented switch to VCS::Lite
Revision
WWW-Mediawiki-Client--0.25--patch-23

Documented the switch to VCS::Lite

modified files:
bin/mvs lib/WWW/Mediawiki/Client.pm

2005-05-08 09:38:19 GMT Mark Jaroski <mark@geekhive.net> patch-22

Summary
credits
Revision
WWW-Mediawiki-Client--0.25--patch-22

Credit for bug reports and feedback.

modified files:
bin/mvs lib/WWW/Mediawiki/Client.pm

2005-05-08 09:21:00 GMT Mark Jaroski <mark@geekhive.net> patch-21

Summary
added credits and listinfo
Revision
WWW-Mediawiki-Client--0.25--patch-21

Added credits and mailing list information

modified files:
bin/mvs lib/WWW/Mediawiki/Client.pm

2005-05-06 15:45:46 GMT Mark Jaroski <mark@geekhive.net> patch-20

Summary
fixed major merge bug
Revision
WWW-Mediawiki-Client--0.25--patch-20

There have been merge problems all along with Algorithm::Diff::Apply, in that it sometimes would loose the local changes, in trying to abstract away conflicts. I had tried Algorithm::Merge, but that was even worse, since it completely destroyed files. So now we are on VCS::Lite, which seems to work better.

modified files:
Makefile.PL lib/WWW/Mediawiki/Client.pm t/files/merged.wiki

2005-05-06 14:05:26 GMT Mark Jaroski <mark@geekhive.net> patch-19

Summary
documentation and bugfix
Revision
WWW-Mediawiki-Client--0.25--patch-19

Fixed a bug in which update was not getting default values. Updated the perldoc for mvs.

modified files:
bin/mvs lib/WWW/Mediawiki/Client.pm t/files/example.mediawiki

2005-05-04 16:14:29 GMT Mark Jaroski <mark@geekhive.net> patch-18

Summary
Fixed pagename bug
Revision
WWW-Mediawiki-Client--0.25--patch-18

Fixed a bug in which an error would be thrown even though a page was successfully downloaded.

modified files:
lib/WWW/Mediawiki/Client.pm t/client.t

2005-05-03 16:25:30 GMT Mark Jaroski <mark@geekhive.net> patch-17

Summary
mvs works again
Revision
WWW-Mediawiki-Client--0.25--patch-17

I'm in the process now of doing monkey testing, and using my observations to write new tests.

modified files:
bin/mvs lib/WWW/Mediawiki/Client.pm t/server.t

2005-05-03 10:51:33 GMT Mark Jaroski <mark@geekhive.net> patch-16

Summary
All tests passing
Revision
WWW-Mediawiki-Client--0.25--patch-16

Both the client and server tests are all passing now. Documented the Exception classes. Now I just have to finish the wrapper script.

modified files:

     Makefile.PL lib/WWW/Mediawiki/Client.pm
     lib/WWW/Mediawiki/Client/Exceptions.pm t/files/merged.wiki
     t/server.t

2005-05-03 08:27:26 GMT Mark Jaroski <mark@geekhive.net>        patch-15
Summary
server conflict check works again
Revision
WWW-Mediawiki-Client--0.25--patch-15

The do_commit method now correctly throws an exception if the version on the server has changed. I went back to taking down the server version and comparing it. I was hoping to have the server make the decision by sending it the wpEditTime field, that however seems to be a struggle, and is in some ways more error prone than doing the comparison.

That said there is still the tiny chance of somebody making a change during the few cycles between our comparison and our upload. That's a race condition, so if sending the date can be made reliable then that's the way to do it.

modified files:
lib/WWW/Mediawiki/Client.pm t/server.t

2005-05-02 16:25:50 GMT Mark Jaroski <mark@geekhive.net> patch-14

Summary
more tests, site_url -> host
Revision
WWW-Mediawiki-Client--0.25--patch-14

site_url is DEPRECATED NOW, to be replaced by host.

modified files:
lib/WWW/Mediawiki/Client.pm t/server.t

2005-05-02 08:16:03 GMT Mark Jaroski <mark@geekhive.net> patch-13

Summary
do_update tested
Revision
WWW-Mediawiki-Client--0.25--patch-13

The basic server tests for do_update (and do_commit) are working now. I still have to do some more exception testing, and try to find and test any boundary conditions.

modified files:

     lib/WWW/Mediawiki/Client.pm
     lib/WWW/Mediawiki/Client/Exceptions.pm t/client.t
     t/files/example.mediawiki t/files/merged.wiki t/server.t

2005-04-29 16:14:17 GMT Mark Jaroski <mark@geekhive.net>        patch-12
Summary
more test wiki files
Revision
WWW-Mediawiki-Client--0.25--patch-12

new files:

     t/files/.arch-ids/Main_Page.html.id
     t/files/.arch-ids/Main_Page.wiki.id t/files/Main_Page.html
     t/files/Main_Page.wiki

2005-04-29 16:13:42 GMT Mark Jaroski <mark@geekhive.net>        patch-11
Summary
Worked out mechanism for server tests
Revision
WWW-Mediawiki-Client--0.25--patch-11

new files:

     t/files/.arch-ids/example.mediawiki.id
     t/files/example.mediawiki

modified files:

     lib/WWW/Mediawiki/Client.pm
     lib/WWW/Mediawiki/Client/Exceptions.pm t/client.t
     t/exceptions.t t/server.t {arch}/=tagging-method

2005-04-28 17:38:04 GMT Mark Jaroski <mark@geekhive.net>        patch-10
Summary
Finished tests
Revision
WWW-Mediawiki-Client--0.25--patch-10

I've written all of the tests I've thought of so far, and gotten the code to pass them. Seems like a good place to stop for just now.

modified files:

     lib/WWW/Mediawiki/Client.pm
     lib/WWW/Mediawiki/Client/Exceptions.pm t/client.t

2005-04-28 15:07:07 GMT Mark Jaroski <mark@geekhive.net>        patch-9
Summary
Added tests for all accessors
Revision
WWW-Mediawiki-Client--0.25--patch-9

I've finished the accessor tests and fixed some bugs found while writing them.

modified files:

     lib/WWW/Mediawiki/Client.pm
     lib/WWW/Mediawiki/Client/Exceptions.pm t/client.t
     t/files/merged.wiki

2005-04-28 09:07:10 GMT Mark Jaroski <mark@geekhive.net>        patch-8
Summary
Added tests
Revision
WWW-Mediawiki-Client--0.25--patch-8

Added a few client-only tests, and ideas for a bunch more.

modified files:
ChangeLog lib/WWW/Mediawiki/Client.pm t/client.t

2005-04-27 16:15:44 GMT Mark Jaroski <mark@geekhive.net> patch-7

Summary
added $lang test
Revision
WWW-Mediawiki-Client--0.25--patch-7

Added first test of $lang... fails so far

modified files:
t/client.t

2005-04-27 15:42:06 GMT Mark Jaroski <mark@geekhive.net> patch-6

Summary
All of the old tests pass
Revision
WWW-Mediawiki-Client--0.25--patch-6

There are a lot more tests to be written, but at least now all of the old tests are passing.

modified files:

     ChangeLog lib/WWW/Mediawiki/Client.pm t/client.t t/server.t
     {arch}/=tagging-method

2005-04-26 18:52:39 GMT Mark Jaroski <mark@geekhive.net>        patch-5
Summary
code complete (I think)
Revision
WWW-Mediawiki-Client--0.25--patch-5

The library is now roughly code-complete. I still have to do all of the tests.

modified files:

     ChangeLog lib/WWW/Mediawiki/Client.pm
     lib/WWW/Mediawiki/Client/Exceptions.pm

2005-04-26 17:47:10 GMT Mark Jaroski <mark@geekhive.net>        patch-4
Summary
added watch attr
Revision
WWW-Mediawiki-Client--0.25--patch-4

Added support for adding or removing a page to/from user's watchlist.

modified files:
lib/WWW/Mediawiki/Client.pm

2005-04-25 16:25:05 GMT Mark Jaroski <mark@geekhive.net> patch-3

Summary
More work on newly exposed methods
Revision
WWW-Mediawiki-Client--0.25--patch-3

Added more documentation for the newly exposed methods. Also encorporated the upload method into do_commit, and changed the way that conflicts are detected. Previously the local version, server version, and reference version of a page was compared. Now the mtime stamp of the reference file gets sent up to the server as the edit time so that the server can tell us if there is a conflict.

modified files:
lib/WWW/Mediawiki/Client.pm {arch}/=tagging-method

2005-04-25 10:53:01 GMT Mark Jaroski <mark@geekhive.net> patch-2

Summary
method documentation
Revision
WWW-Mediawiki-Client--0.25--patch-2

Started documenting newly exposed methods. Simplified upload.

modified files:
lib/WWW/Mediawiki/Client.pm

2005-04-24 15:08:24 GMT Mark Jaroski <mark@geekhive.net> patch-1

Summary
added real exceptions, started overhaul of API
Revision
WWW-Mediawiki-Client--0.25--patch-1

The tree is decidedly broken at this point, but I'm commiting anyhow as a checkpoint. So far I've done this:

TODO before this is stable and releasable:

new files:
t/.arch-ids/exceptions.t.id t/exceptions.t

modified files:

     ChangeLog bin/mvs lib/WWW/Mediawiki/Client.pm
     lib/WWW/Mediawiki/Client/Exceptions.pm t/client.t t/mvs.t
     t/server.t

renamed files:

     t/.arch-ids/live.t.id
       ==> t/.arch-ids/server.t.id
     t/live.t
       ==> t/server.t

2005-04-19 16:18:35 GMT Mark Jaroski <mark@geekhive.net>        base-0
Summary
New archive
Revision
WWW-Mediawiki-Client--0.25--base-0

In preparation for some major changes in error handling I've created a new archive at http://mark.sdf-eu.org/arch/. This is the initial import.

new files:

     ChangeLog Makefile.PL README TODO bin/mvs
     lib/WWW/Mediawiki/Client.pm
     lib/WWW/Mediawiki/Client/Exceptions.pm t/client.t
     t/files/local.wiki t/files/merged.wiki t/files/paris.html
     t/files/paris.wiki t/files/reference.wiki t/files/server.wiki
     t/live.t t/mvs.t