User talk:Nichalp/Archive61

Re:CSV
Nichalp, The input file is the CSV file. You will have to enter the column headers in the CSV file. This allows for the headers to be user-defined. You can call them whatever you want (with the ## symbols) and use them many times in the text of the article. Use a simple text file to start with; check if you can open it in Notepad. What is the error you are getting? Regards, Ganeshk  ( talk ) 12:08, 6 August 2008 (UTC)

Try the example with the following CSV data:

Regards, Ganeshk  ( talk ) 12:15, 6 August 2008 (UTC)

I am guessing you added the column headers to the file. If yes, remove the column headers from the file (the file will only have data). The column headers will be added in the following screen. Regards, Ganeshk  ( talk ) 12:33, 6 August 2008 (UTC)

hi there
Thanks for popping a message. Nice to know that someone notices you when you're not around. :-) Myself, I'm a bit busy these days as I'm in the process of starting a new business. probably when the venture is successfully running i'll have more (idle) time than before :D meanwhile i see u've done pretty well here. Way to go! --Idleguy (talk) 10:02, 7 August 2008 (UTC)

Perl
Yes. I can check. --GDibyendu (talk) 10:03, 8 August 2008 (UTC)
 * How to get the libraries used in the perl file? like LWP:Simple etc.? --GDibyendu (talk) 11:10, 8 August 2008 (UTC)
 * I could not try it on a linux machine yet. So, just now, I was trying commenting out LWP etc. which I don't have on this machine and using print statements. What I see is that $currentfile is not defined.

pasting the file content and output in comment tags here. <!--
 * 1) !/usr/bin/perl
 * 2) Upload script by Nicholas (User:Nichalp) to upload multiple image files and meta tag them.
 * 3) Developed for Wikimedia Commons
 * 4) Based on the Upload script by Erik Möller (User:Eloquence)
 * 5) Note: Before usage, create an account on http://commons.wikimedia.org/
 * 6) Set the username and password below:
 * 1) Note: Before usage, create an account on http://commons.wikimedia.org/
 * 2) Set the username and password below:

$username = ""; $password = "";


 * 1) Then run the script on the command line using
 * 2) $ perl nichalp.pl dirname
 * 3) where dirname/ is the name of a directory containing the files to
 * 4) be uploaded, and a file named wp.csv
 * 1) where dirname/ is the name of a directory containing the files to
 * 2) be uploaded, and a file named wp.csv


 * 1) We need these libraries. They should be part of a standard Perl
 * 2) distribution.

$ignore_login_error=0; $docstring="Please read nichalp.pl for documentation.\n"; my $dir=$ARGV[0] or die "Syntax: perl nichalp.pl directory\n$docstring";

$dir=~s|\\|/|gi;
 * 1) Make Unix style path

$sep=$/; $/="/"; chomp($dir); $/=$sep;
 * 1) Remove trailing slashes

open(FILELIST,"<$dir/wp.csv") or die "Could not find file list at $dir/wp.csv.\n$docstring"; ; #<-- skips first line
 * 1) Now try to get the list of files

while() { $line= $_; chomp($line); $line=~tr/"//d; #removes the double quotes	($iname,$idescr,$idate,$ipermission,$iothers,$lat,$long,$region,$rtype,$geo_heading,$cat1) = split ',', $line;


 * 1) separates the csv values into fields
 * 2) print "iname=$iname, idescr=$idescr, idate=$idate, ipermission=$ipermission, iothers=$iothers, lat=$lat, long=$long,

region=$region, rtype=$rtype, geo_heading=$geo_heading, cat1=$cat1\n";

$metatext= "==Summary==\n\n\n\n\n==Licensing==\n
 * 1) stores wikisyntax in a string

\n\n\n\n\n\n"; print "metatext=\n$metatext\n";	if($currentfile) {		$file{$currentfile}.="\n\n".$metatext; print "iname=$iname\n";	# Abort the whole batch if this file doesn't exist.               if(!-e "$dir/$iname") {                        die "Could not find $dir/$iname. Uploading no files.\n"                      }  	} }  my @ns_headers = (   'User-Agent' => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20041107 Firefox/1.0',   'Accept' => 'image/gif, image/x-xbitmap, image/jpeg,         image/pjpeg, image/png, */*',   'Accept-Charset' => 'iso-8859-1,*,utf-8',   'Accept-Language' => 'en-US',  );
 * 1) my $browser=LWP::UserAgent->new;


 * 1) $browser->cookie_jar( {} );

$response=print ("http://commons.wikimedia.org/w/index.php?title=Special:Userlogin&action=submitlogin", @ns_headers, Content=>[wpName=>$username,wpPassword=>$password,wpRemember=>"1",wpLoginAttempt=>"Log in"]);


 * 1) After logging in, we should be redirected to another page.
 * 2) If we aren't, something is wrong.
 * 3) if($response->code!=302 && !$ignore_login_error) {
 * 4)        print
 * 5) "We weren't able to login. This could have the following causes:
 * 6) * The username ($username) or password may be incorrect.
 * 7)  Solution: Edit upload.pl and change them.
 * 8) * The Wikimedia Commons software has been upgraded.
 * 9)  Solution: Go to http://commons.wikimedia.org/wiki/Commons:File_upload_service
 * 10)  and get a new version of the upload script.
 * 11) * You are trying to hack this script for other wikis. The wiki you
 * 12)  are uploading to has cookie check disabled.
 * 13)  Solution: Try setting \$ignore_login_error to 1.
 * 14) Regardless, we will now try to write the output from the server to
 * 15) $dir/debug.txt....\n\n";
 * 16)        open(DEBUG,">$dir/debug.txt") or die "Could not write file.\n";
 * 17)        print DEBUG $response->as_string;
 * 18)        print
 * 19) "This seems to have worked. Take a look at the file for further information or
 * 20) send it to moeller AT scireview DOT de if you need help debugging the script.\n";
 * 21)        close(DEBUG);
 * 22)        exit 1;
 * }
 * 1)        close(DEBUG);
 * 2)        exit 1;
 * }

foreach $key(keys(%file)) { print "Uploading $key to the Wikimedia Commons. Description:\n"; print $file{$key}."\n". "-" x 75. "\n"; uploadfile: $eckey=encode('utf8',$key); if($eckey ne $key) { symlink("$key","$dir/$eckey"); }       $response=$browser->post("http://commons.wikimedia.org/wiki/Special:Upload",        @ns_headers,Content_Type=>'form-data',Content=>        [                wpUploadFile=>["$dir/$eckey"],                wpUploadDescription=>encode('utf8',$file{$key}),                wpUploadAffirm=>"1",                wpUpload=>"Upload file",                wpIgnoreWarning=>"1"        ]); push @responses,$response->as_string; if($response->code!=302 && $response->code!=200) { print "Upload failed! Will try again. Output was:\n"; print $response->as_string; goto uploadfile; } else { print "Uploaded successfully.\n"; }              }

print "Everything seems to be OK. Log will be written to $dir/debug.txt.\n"; open(DEBUG,">$dir/debug.txt") or die "Could not write file.\n"; print DEBUG @responses; -->

HTH. --GDibyendu (talk) 15:33, 12 August 2008 (UTC)
 * One minor change is needed as shown here.


 * Basically, = will assign value and eq/ne will test for equality/inequality. After that it seems to work fine for coordinate value "d" or "dms" or "". --GDibyendu (talk) 17:23, 21 August 2008 (UTC)

Re:Template request
Nicholas, I noticed your request to AreJay. I tried fixing it. Is that what you were looking for? Please do test it though. Regards, Ganeshk  ( talk ) 12:53, 8 August 2008 (UTC)


 * Hi, it's working now. You had coded it perfectly, it was only missing one pair of {} for the  param in the Density/sqkm column. Also went ahead and added Density/sqmi for the template.  Thanks  AreJay (talk) 17:02, 8 August 2008 (UTC)


 * You can see it working here. Thanks AreJay (talk) 17:03, 8 August 2008 (UTC)

Hey
Hey! Sudden change in Userpage??? The Bene Israel question is great. My guess is if I were a Mumbaikar, I would have got it :) Or, if I had the time to search thoroughly most of the Mumbai Suburban Railway stations, I would have got it :) Anyway, how are you?--Dwaipayan (talk) 22:17, 8 August 2008 (UTC)

District template
I am not sure I understand what you are trying to do here. My guess is you are trying to create table of district values. If this is case, there is no need for variables in the template. You would your have your Perl program to create values (constants) on the table. Regards, Ganeshk  ( talk ) 17:10, 10 August 2008 (UTC)
 * Please check User:Ganeshk/Infobox. Notice the use of a calculation routine (User:Ganeshk/Calculate). This way you don't have to create 70 place-holders in the template. Regards, Ganeshk  ( talk ) 03:05, 11 August 2008 (UTC)
 * I was able understand your implementation now. It is kind of similar to how archivebox works. For the commas to show up, you will need to use formatnum function (it was used on WP:IIJ). You can see it in action at Ganeshk/sandbox7 that uses the template, Ganeshk/sandbox6. Can you update your Perl program to render the lines with the formatnum on them? It would be tedious to do that manually. Regards, Ganeshk  ( talk ) 23:06, 12 August 2008 (UTC)

Concerning In Africa
I understand where you come from, but my actions stem, I think, from a few fundamental differences in outlook from your entirely legitimate stance on this. For one matter, nobody is ever forced to post a page before it is ready to stand on its own two legs. In my experience, far more often than not, a page that starts out a ramshackle and unfeasible mess tends to stay that way. If someone is concerned about their page being deleted before they've bolstered it enough to be more deletion-proof, nobody twisted their arm to jump the gun on it. You have a point on unclarity toward newbies, but the template itself (on the page and on the author's talk page) sums up the problem and what to do about it pretty directly and thoroughly. I'll be more than happy to provide this user a link to a lil' essay page I threw together, WP:DELNOM, which contains some advice geared toward new users who are facing page deletion nominations. If you think that essay is worth a darn, you're welcome and encouraged to refer others to it. Anyway, thanks for communicating your views on this to me! I think we disagree on this at a root level, but it never hurts to compare notes, so to speak. - Vianello (talk) 06:09, 12 August 2008 (UTC)
 * I see the legitimacy in your rebuttal, and you've made some solid points I'll definitely be contemplating. However, the unfortunate truth of how a lot of "junk" articles stay junk isn't really ameliorated by anyone's "disappointment". We see a lot of rags-to-riches stories with articles (to really twist a metaphor half to death here), but often, if it's not even clear what someone was doing and/or there's no apparent info available, nobody can expand on the subject, and when the original author doesn't appear poised to do so either, there's not much left to do. Of course, giving more time would appear to be your answer to this, and I see how that's probably preferable. I try to assume good faith, but I don't always assume diligence, and that may be something I should do more often. Thanks for sharing your thoughts! - Vianello (talk) 19:56, 12 August 2008 (UTC)

Gate of Mercy Synagogue
Here's some info that may fit into the Gate of Mercy Synagogue article:, ,. -- Suntag (talk) 17:30, 13 August 2008 (UTC)

History of Mumbai
I have developed the Ancient period section of the article from http://www.maharashtra.gov.in/english/gazetteer/greater_bombay/history.html#1 There may be many spelling mistakes, and other prose issues. I'm not much bothered about the prose currently. Will you please copyedit the section. Please direct any suggestions to my talk page. You are free to modify the section, delete trivia anything......Thanks, Kensplanet (talk) 17:36, 15 August 2008 (UTC)

My RfA
Nichalp, thank you for your contribution to the discussion at my recent RfA. I liked your questions, and if you have any feedback about my answers I would welcome that. If ever you have any concerns about my actions, adminly or otherwise, don't hesitate to let me know. Best wishes, Paul Erik  (talk) (contribs) 17:26, 17 August 2008 (UTC)

Additions to Template:Infobox Person
I can clearly see that you have the rights to edit this template could you please add my suggestion to the template as I had previously attempted to do.--Lucy-marie (talk) 18:20, 17 August 2008 (UTC)
 * Note to Nichalp, there's no consensus to add this field. The Rambling Man (talk) 18:38, 17 August 2008 (UTC)

Rambling man stop stalking me. Nichalp could you please explain why you thought it necessary to add your requested field when I questioned the necessity of the field.--Lucy-marie (talk) 20:14, 17 August 2008 (UTC)
 * Thank you for your considered and frank response, I am willing to wait ten days and see if any more comments are posted either for or against. If nothing further happens could you please add the field to the template as I do not have the necessary privileges to edit this template.--Lucy-marie (talk) 19:38, 18 August 2008 (UTC)
 * As it has been a week can you please ad the requested information to the template.--Lucy-marie (talk)20:03, 23 August 2008 (UTC)

deal with this guy please
. If an absolutely ignorant guy who can't write a meaningful sentence starts reverting to maintain his COI articles... Uzhuthiran (talk) 17:40, 18 August 2008 (UTC)
 * With that ignoramus? I know you are joking [at the famous process's expense if not mine]. Uzhuthiran (talk) 14:31, 22 August 2008 (UTC)
 * I think you understand who is ignoramus by this time...here, here and here. -- Avinesh  T  10:09, 1 September 2008 (UTC)

Information Technology in India
I have just finished rewriting Information Technology in India. If/when you find time then any comments/suggestions on the article talk page would be welcome. Regards, JSR (talk) 06:51, 20 August 2008 (UTC)


 * Also take a look at the rewritten Indian Media. Comments/suggestions on the article talk page welcome :-) JSR (talk) 16:37, 22 August 2008 (UTC)

Edit summary
I agree I didn't use Edit Summary initially in the History of Mumbai article. But if you check the History now (http://en.wikipedia.org/w/index.php?title=History%20of%20Mumbai&action=history), all my edits have edit summary. You are talking about this article, right? Kensplanet (talk) 15:37, 20 August 2008 (UTC)

Re:Result
I got 7 kts 3 from Sem-I and 4 from Sem-II But I am sure that I'll clear that in Revaluation!!! And now there is new rule of 5 Kts. And I have taken Provisional Admission. I'll be Editing Wikipedia, But now I'll no more edit it as an wiki-addict but as an a normer Editor :( -- Suyogaerospace talk to me! 14:13, 22 August 2008 (UTC) Thanks for inquring abt my result

TUSC token 8da4b90dda29c5aba6de8a7bd3a9ccae
I am now proud owner of a TUSC account!

What the hell is this? TUSC token 668959b1babc7848908772a254216976
What is this?? TUSC token 668959b1babc7848908772a254216976 I followed the link from your talk page and landed over here what is this -- Suyogaerospace talk to me! 12:11, 23 August 2008 (UTC)

Can you lock Jammu and Kashmir
Users 65.46.174.198, 84.13.77.213 and others are edit warring. Some claims were changed, while the citations were retained which can be very misleading. I am invariant under co-ordinate transformations (talk) 03:41, 25 August 2008 (UTC)

INRConvert bug
Hi, sorry wasn't able to get back to you sooner, since I was on vacation. I'll take a look at the issue sometime this evening. Hope everything else is going well! Thanks AreJay (talk) 17:03, 25 August 2008 (UTC)


 * Hi Nichalp, I've fixed the formatting bug in INRConvert. Please let me know if the issue still persists.  BTW, didn't know you did Perl programming too...I can code in a bunch of languages (almost all self-taught), but I gave up halfway trying to teach myself Perl out of sheer frustration :) Looking forward to seeing what your script does...do let me know when it's ready.


 * BTW, this discussion might interest you. Thanks AreJay (talk) 03:14, 27 August 2008 (UTC)

Boycott
Yeah, I was never much of a Boycott man meself, either. --Dweller (talk) 19:46, 26 August 2008 (UTC)

Script
Wow!! Very useful tool...I was looking for something like this to upload images when I was on a mass Dubai-related article creation drive. One thing I noticed in the log was that it was recursing the "Description" section several times for some images, but not on others. Looking to the future, one idea I had was when all bugs are ironed out, we can create a HTML front-end to this on the toolserver...that way users can just obtain the CSV file, add data to it, and then just upload that one file. The script can read the CSV file and mass upload the images specified. Top-notch job so far! Thanks AreJay (talk) 18:00, 27 August 2008 (UTC)
 * Haha! I'm very tempted now to get into the act myself and write some scripts. I'll need a few weeks to "re-learn" Perl though, since it's been so long.  The HTML front-end was just a thought...matter of fact, it's probably better without the front end.  Front-ending it would make it too user friendly and would put a tremendous burden on system resources, with hundreds of images being uploaded simultaneously. BTW, just curious...did you use any online reference guide for Perl? Thanks AreJay (talk) 00:17, 29 August 2008 (UTC)
 * Thanks!! AreJay (talk) 14:27, 29 August 2008 (UTC)

The Art Of Writing FAs
I have tried but failed. What do you think I lack? Prose... is certainly one of them. Can you tell me how do you go about writing. Some DOs and DON'Ts? --KnowledgeHegemonyPart2 06:19, 29 August 2008 (UTC)


 * Wow what TAWFA (Hindi:Gift)!!! I guess you should put this somewhere more prominent so that more people can read it.


 * Thanks :) =Nichalp   «Talk»=  17:17, 29 August 2008 (UTC)

Indian agriculture
I have just finished rewriting Indian agriculture. Make sure to read it whenever you find the time :-) JSR (talk) 13:43, 30 August 2008 (UTC)

India states template
Can you direct me to the noticeboard where this has to be discussed ? For now, is it okay if we include native names as mentioned in the beginning of each states individual article ? Also, I have edited the India history section to include the Ahoms (my last discussion post was more than a day ago), please let me know if you find it appropriate.I am invariant under co-ordinate transformations (talk) 04:26, 31 August 2008 (UTC)

North East addition to history
I changed 2 things from your edit,
 * 1) 1)The Ahoms were clearly in the North East, East India would mean Bengal which was under Mughal control.
 * 2) 2)The Twipras although significant for their longevity and their current relevance, do not figure as prominently as the Ahoms since the Ahoms directly confronted the Mughals and ruled over a larger kingdom. So I think we should only mention the Ahoms who were very influential in the NE. I am invariant under co-ordinate transformations (talk) 03:40, 1 September 2008 (UTC)

History of Mumbai
Thankyou for your kind words. If you check the article, I have developed 4 sections now. Ancient Era, Medieval Era, Portuguese era, and 21st century. What bothers me is that the portuguese period just speaks of churches. I am planning to start the most important sections British Era and Post-independence era soon. Please keep on adding Images. Any suggestions or details please direct them on the article Talk page. Thanks, Kensplanet (talk) 10:11, 2 September 2008 (UTC)


 * Hi there. Well, at first glance, I can tell you that the article is in error regarding the etymology of the toponym "Bombaim", insisting on a thesis ("Bom Bahia") that has no basis on onomastic sources (and doesn't make sense to Portuguese speakers, I assure you). As to the Portuguese period, I'll try to find something on my history books. Regards, Gabbhh (talk) 21:20, 2 September 2008 (UTC)

Unified login
Do you mean those guys breaking their unified login (i.e. loads of them) or those guys trying to unify (i.e. not too many at all)? I think you mean the latter, right? The Rambling Man (talk) 17:34, 2 September 2008 (UTC)
 * Fair enough, I understand. Feel free (if you don't mind!) to fix up those requests which meet your parameters as I'm off out for the evening.  Thanks for the heads-up, by the way, much appreciated.  The more we can keep the CHU backlog down, the better.  The Rambling Man (talk) 18:11, 2 September 2008 (UTC)
 * I'd suggest, if you don't mind, we (all 'crats) agree on a way forward with this (it shouldn't be too hard) so we don't tread on each other's toes... The Rambling Man (talk) 22:11, 2 September 2008 (UTC)

Hoysala empire
No obligation, of course, but I notice your review stopped about halfway through, at the place where I had stopped copyediting. I've just finished copyediting the whole thing, and I can support with caveats after Dinesh deals with a few issues, in case you want to go farther, and in case you want to support or oppose. Again, I have no connection to the article (and don't even know much about the subject) other than as a copyeditor. (Feel free to reply here, or on my page, or not at all.) - Dan Dank55 (send/receive) 20:05, 2 September 2008 (UTC)

Tan Merry S. -> ESCapade
Please see: com.wk id.wk for diff? Thanks. Tan Merry S. (talk) 11:53, 3 September 2008 (UTC)
 * Username is changed. Thank you. ESCapade (talk) 05:23, 4 September 2008 (UTC)