User talk:MarkJaroski/WWW-Mediawiki-Client

I see this is in your TODO list, but an attempt to bump it up the queue: would there be any possibility of adding image upload in the near future? I'm trying to figure out how I could bulk upload country flags/maps to the Japanese Wikivoyage, but the whole "can't upload without logging in" thing is a pain. (WT-en) Jpatokal 00:13, 14 Jul 2005 (EDT)


 * OK, I'll bump it up. I don't know how soon I'll be able to work on it though. -- (WT-en) Mark 05:12, 14 Jul 2005 (EDT)


 * Never mind, I managed to whip pywikipediabot's upload script into shape. (WT-en) Jpatokal 12:09, 15 Jul 2005 (EDT)

Stupid characters
How do I use mvs with Rome/Campo de' Fiori? --(WT-en) elgaard 11:45, 15 Jul 2005 (EDT)


 * This worked:

mkdir Rome mvs update "Rome/Campo_de'_Fiori.wiki"
 * 1) make an edit

mvs commit -M -s reword "Rome/Campo_de'_Fiori.wiki"


 * -- (WT-en) Mark 12:21, 15 Jul 2005 (EDT)

Extra Linefeeds
Great program Mark! Using 0.28 and have it working except when I update an existing page, it adds linefeeds to the .wiki page and then when I commit the changes back to the server it places these linefeeds in. I am not sure where within the Client.pm this extra linefeed is being created. I can not see it in the do_update call. Any help would be appreciated. FYI, using Fedora linux as the mvs client OS.


 * -- ((WT-en) Smcnaught) 17:54, 10 April 2006 (EDT)

I resolved the issue by changing the following: sub _merge { my ($self, $filename, $ref, $server, $local) = @_; $ref = VCS::Lite->new('ref', "\n", "$ref\n"); $server = VCS::Lite->new('server', "\n", "$server\n"); $local = VCS::Lite->new('local', "\n", "$local\n"); return scalar $ref->merge($server, $local)->text("\n"); } to: (removing the linefeed - not fully tested but appears to be working properly now.) sub _merge { my ($self, $filename, $ref, $server, $local) = @_; $ref = VCS::Lite->new('ref', "\n", "$ref"); $server = VCS::Lite->new('server', "\n", "$server"); $local = VCS::Lite->new('local', "\n", "$local"); return scalar $ref->merge($server, $local)->text(""); } I am not sure if this is related to Windows installation vs linux but just wanted to put an update on the issue. ((WT-en) Smcnaught) 19:38, 10 April 2006 (EDT)


 * I think that the extra linefeed snuck in in the last verion. Thanks for the patch.  As for windows vs. Linux, I don't know, I've never tried it on Windows.  It probably won't work since I haven't been so careful about using portibility libs.  I figured that if someone wanted it to work on Windows they'd send a patch.  -- (WT-en) Mark 03:32, 11 April 2006 (EDT)


 * The patch by suppressing the carriage return doesn't fully pass the perl test of merge because the "conflict" lines are no more separated by a blank line as in the merged.wiki example file.

In order to pass, the merged.wiki should be patched itself. But I am not sure I should do that because the output is less elegant as it was. --(WT-en) NBrouard 12:07, 16 May 2006 (EDT)


 * OK. I'm having the same problem on a new machine.  I'll have a solution shortly. -- (WT-en) Mark 04:39, 17 May 2006 (EDT)


 * Mark, have you been able to resolve this issue? I would like to tie mvs to an ircbot and have it update the channel when certain wiki change but can't with this current bug.  I will dig into it tomorrow and see if I am able to resolve the issue but just wanted to follow up with you to see if there is anything new on your side.  I will update you if I have any success. -- ((WT-en) Smcnaught) 02:33, 1 August 2006 (EDT)


 * Yes! there's been a new version up on CPAN for about a month. Sorry I forgot to update this space.  -- (WT-en) Mark 04:51, 1 August 2006 (EDT)

Problems with german umlaute
Hi, i am just testing the mvs prog and i really would like to use it, but i am having problems with special characters (like german "Umlaute"). Instead of "fünftgrößte" mvs is making "fÃ¼nftgrÃ¶Ãte" out of it. Do you have any hints, why? I am using Linux, perl 5.8.0, libwww-perl 5.8.05, mvs 0.31 --84.57.23.194 13:04, 17 December 2006 (EST)


 * Is that in the article text or in the title?


 * If it's in the article text then the answer is pretty simple, you just have to have your editor encode the text as UTF-8. If it's in the title I'm not sure.  It definetly works for me though, and I use non-ascii characters all the time. -- (WT-en) Mark 17:39, 17 December 2006 (EST)


 * Thx for your answer. Today i updated my perl-system from the ground (cleaned the system of all perl modules and perl and reinstalled it again from source)). I am not sure, where the problem was, (maybe still an old, trouble-making module or bad perl installation....formerly when i installed perl, my system wasnt running in UTF-8 mode), but the problem ist gone and it is working now. So maybe this helps anyone, who has similar troubles.--84.57.47.130 04:13, 18 December 2006 (EST)

Bug in articles with a delete record ?
hallo, i think articles, which got deleted once, cannot get commits with mvs anymore. For a new task with my bot i tried to use your mediawiki software, but i got a problem. I wanted to update all population data in the infobox of the bavarian municipials (in the german wikipedia), but in around 200 articles (of ~2000 alltogether) the commit didnt work. mediawiki.errors file and Article names, which didnt work. --141.84.136.27 07:47, 27 June 2007 (EDT)