Karol007
|
Hi Karol007, you may have noticed that your bot, KamikazeBot (talk) has been blocked by User: NawlinWiki because he/she did not approve of the name. Please see the bot's talk page for more. Joshua Issac (talk) 14:35, 18 July 2008 (UTC)
Re: Re: Odp:KamikazeBot
editHi Karol, I've unblocked KamikazeBot on the English Wikipedia, since you certainly have control of the account per this page. If you want KamikazeBot to edit as a bot on the English Wikipedia, you must get it approved at Wikipedia:Bots/Requests for approval. Good luck. Graham87 04:39, 1 May 2010 (UTC)
Re:CSVLoader
editI am glad you are using CSVLoader on Polish Wikipedia. Can you give me a example (diff?) of what you are trying to do? Also give me the data file for the example. Thanks. — Ganeshk (talk) 00:41, 4 May 2010 (UTC)
- Thanks for the files. I am able to understand what you are trying to do. CSVLoader was not designed to update existing content. It was designed add new content, like add an infobox if the article does not have one already (using prepend option). Add a stub template at the end of the article (using append option). And add brand new articles. I will look into adding update feature to the program. I don't know when I will be finished though. I need to learn regular expressions for that. I remember Portugese Wikipedia using AWB to translate English articles using regular expressions. See this settings file. Sorry, I have not been of much help. — Ganeshk (talk) 03:34, 4 May 2010 (UTC)
- I have been working on your requirement. It is simpler than I previously thought. It involves changing the AWB's Find and Replace function to use values from the CSV file. I will get back to you as soon as I get the change ready. Regards, — Ganeshk (talk) 03:45, 5 May 2010 (UTC)
- I have released a new version, 1.0.0.8. Please download from the CSVLoader page. I have added my test example here. Please test and let me know if you have any questions. — Ganeshk (talk) 04:28, 6 May 2010 (UTC)
Please check out these images. I used the Find and Relace box to add the parameters. Please feel free to contact me with any questions. — Ganeshk (talk) 23:30, 6 May 2010 (UTC)
- Please post the data file and settings file that you are using. That will help me understand what is going wrong? — Ganeshk (talk) 03:11, 7 May 2010 (UTC)
I was able to edit the parameter. Here are the changes I did:
1) In Find and replace, I fixed the regex and checked the regex box,
Find: jasność(\ *)\=(\ *)\w*(,|\.)\w* Replace: jasność = ##a##
You will need to use the parameter in the replace box for this to work.
2) Removed the "create lists" box on CSVLoader settings. It does not apply here.
3) Changed the "list seperator" to "^".
Here is the xml settings file:
<?xml version="1.0"?> <AutoWikiBrowserPreferences xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:space="preserve" Version="5.0.2.0"> <Project>wikipedia</Project> <LanguageCode>pl</LanguageCode> <CustomProject /> <PHP5>false</PHP5> <List> <ListSource>Szablon:Bibliografia</ListSource> <SelectedProvider>WhatTranscludesPageAllNSListProvider</SelectedProvider> <ArticleList /> </List> <FindAndReplace> <Enabled>true</Enabled> <IgnoreSomeText>false</IgnoreSomeText> <IgnoreMoreText>false</IgnoreMoreText> <AppendSummary>false</AppendSummary> <AfterOtherFixes>false</AfterOtherFixes> <Replacements> <Replacement> <Find>jasność(\ *)\=(\ *)\w*(,|\.)\w*</Find> <Replace>jasność = ##a##</Replace> <Comment /> <IsRegex>true</IsRegex> <Enabled>true</Enabled> <Minor>false</Minor> <RegularExpressionOptions>IgnoreCase</RegularExpressionOptions> </Replacement> </Replacements> <AdvancedReps /> <SubstTemplates /> <IncludeComments>false</IncludeComments> <ExpandRecursively>false</ExpandRecursively> <IgnoreUnformatted>true</IgnoreUnformatted> </FindAndReplace> <Editprefs> <GeneralFixes>false</GeneralFixes> <Tagger>false</Tagger> <Unicodify>false</Unicodify> <Recategorisation>0</Recategorisation> <NewCategory>WP?</NewCategory> <NewCategory2 /> <ReImage>0</ReImage> <ImageFind /> <Replace /> <SkipIfNoCatChange>true</SkipIfNoCatChange> <RemoveSortKey>false</RemoveSortKey> <SkipIfNoImgChange>false</SkipIfNoImgChange> <AppendText>false</AppendText> <Append>true</Append> <Text /> <Newlines>0</Newlines> <AutoDelay>0</AutoDelay> <SupressTag>true</SupressTag> <RegexTypoFix>false</RegexTypoFix> </Editprefs> <General> <AutoSaveEdit> <Enabled>false</Enabled> <SavePeriod>30</SavePeriod> <SaveFile /> </AutoSaveEdit> <SelectedSummary>test</SelectedSummary> <Summaries> <string>test</string> </Summaries> <PasteMore> <string /> <string /> <string /> <string /> <string /> <string /> <string /> <string /> <string /> <string /> </PasteMore> <FindText /> <FindRegex>false</FindRegex> <FindCaseSensitive>false</FindCaseSensitive> <WordWrap>true</WordWrap> <ToolBarEnabled>true</ToolBarEnabled> <BypassRedirect>true</BypassRedirect> <AutoSaveSettings>false</AutoSaveSettings> <noSectionEditSummary>false</noSectionEditSummary> <restrictDefaultsortAddition>false</restrictDefaultsortAddition> <restrictOrphanTagging>false</restrictOrphanTagging> <noMOSComplianceFixes>false</noMOSComplianceFixes> <syntaxHighlightEditBox>false</syntaxHighlightEditBox> <highlightAllFind>false</highlightAllFind> <PreParseMode>false</PreParseMode> <NoAutoChanges>false</NoAutoChanges> <OnLoadAction>0</OnLoadAction> <DiffInBotMode>true</DiffInBotMode> <Minor>false</Minor> <AddToWatchlist>2</AddToWatchlist> <TimerEnabled>false</TimerEnabled> <SortListAlphabetically>false</SortListAlphabetically> <AddIgnoredToLog>false</AddIgnoredToLog> <EditToolbarEnabled>false</EditToolbarEnabled> <filterNonMainSpace>false</filterNonMainSpace> <AutoFilterDuplicates>false</AutoFilterDuplicates> <FocusAtEndOfEditBox>true</FocusAtEndOfEditBox> <scrollToUnbalancedBrackets>false</scrollToUnbalancedBrackets> <TextBoxSize>10</TextBoxSize> <TextBoxFont>Courier New</TextBoxFont> <LowThreadPriority>false</LowThreadPriority> <Beep>false</Beep> <Flash>false</Flash> <Minimize>false</Minimize> <LockSummary>false</LockSummary> <SaveArticleList>true</SaveArticleList> <SuppressUsingAWB>false</SuppressUsingAWB> <AddUsingAWBToActionSummaries>false</AddUsingAWBToActionSummaries> <IgnoreNoBots>false</IgnoreNoBots> <ClearPageListOnProjectChange>false</ClearPageListOnProjectChange> <SortInterWikiOrder>true</SortInterWikiOrder> <ReplaceReferenceTags>true</ReplaceReferenceTags> <LoggingEnabled>true</LoggingEnabled> </General> <SkipOptions> <SkipNonexistent>true</SkipNonexistent> <Skipexistent>false</Skipexistent> <SkipWhenNoChanges>false</SkipWhenNoChanges> <SkipSpamFilterBlocked>false</SkipSpamFilterBlocked> <SkipInuse>false</SkipInuse> <SkipWhenOnlyWhitespaceChanged>false</SkipWhenOnlyWhitespaceChanged> <SkipOnlyGeneralFixChanges>true</SkipOnlyGeneralFixChanges> <SkipOnlyMinorGeneralFixChanges>false</SkipOnlyMinorGeneralFixChanges> <SkipOnlyCasingChanged>false</SkipOnlyCasingChanged> <SkipIfRedirect>false</SkipIfRedirect> <SkipIfNoAlerts>false</SkipIfNoAlerts> <SkipDoes>false</SkipDoes> <SkipDoesNot>false</SkipDoesNot> <SkipDoesText>{{Do Commons</SkipDoesText> <SkipDoesNotText>\{\{Navbox</SkipDoesNotText> <Regex>true</Regex> <CaseSensitive>false</CaseSensitive> <AfterProcessing>false</AfterProcessing> <SkipNoFindAndReplace>false</SkipNoFindAndReplace> <SkipMinorFindAndReplace>false</SkipMinorFindAndReplace> <SkipNoRegexTypoFix>false</SkipNoRegexTypoFix> <SkipNoDisambiguation>false</SkipNoDisambiguation> <SkipNoLinksOnPage>false</SkipNoLinksOnPage> <GeneralSkipList /> </SkipOptions> <Module> <Enabled>false</Enabled> <Language>C# 2.0</Language> <Code> public string ProcessArticle(string ArticleText, string ArticleTitle, int wikiNamespace, out string Summary, out bool Skip) { Skip = false; Summary = "test"; ArticleText = "test \r\n\r\n" + ArticleText; return ArticleText; }</Code> </Module> <ExternalProgram> <Enabled>false</Enabled> <Skip>false</Skip> <Program>io.txt</Program> <Parameters /> <PassAsFile>true</PassAsFile> <OutputFile>io.txt</OutputFile> </ExternalProgram> <Disambiguation> <Enabled>false</Enabled> <Link /> <Variants /> <ContextChars>20</ContextChars> </Disambiguation> <Logging> <LogVerbose>false</LogVerbose> <LogWiki>false</LogWiki> <LogXHTML>false</LogXHTML> <UploadYN>false</UploadYN> <UploadAddToWatchlist>false</UploadAddToWatchlist> <UploadOpenInBrowser>false</UploadOpenInBrowser> <UploadToWikiProjects>false</UploadToWikiProjects> <DebugUploading>false</DebugUploading> <UploadMaxLines>1000</UploadMaxLines> <LogFolder /> <UploadJobName /> <UploadLocation /> <LogCategoryName /> </Logging> <Special> <namespaceValues> <int>0</int> <int>1</int> <int>2</int> <int>3</int> <int>4</int> <int>5</int> <int>6</int> <int>7</int> <int>8</int> <int>9</int> <int>10</int> <int>11</int> <int>12</int> <int>13</int> <int>14</int> <int>15</int> <int>100</int> <int>101</int> </namespaceValues> <remDupes>true</remDupes> <sortAZ>true</sortAZ> <filterTitlesThatContain>false</filterTitlesThatContain> <filterTitlesThatContainText /> <filterTitlesThatDontContain>false</filterTitlesThatDontContain> <filterTitlesThatDontContainText>Szablon:Szablon nawigacyjny</filterTitlesThatDontContainText> <areRegex>false</areRegex> <opType>0</opType> <remove /> </Special> <Tool> <ListComparerUseCurrentArticleList>0</ListComparerUseCurrentArticleList> <ListSplitterUseCurrentArticleList>0</ListSplitterUseCurrentArticleList> <DatabaseScannerUseCurrentArticleList>0</DatabaseScannerUseCurrentArticleList> </Tool> <Plugin> <PluginPrefs> <Name>CSV Loader</Name> <PluginSettings> <anyType xsi:type="PrefsKeyPair"> <Name>TextMode</Name> <Setting xsi:type="xsd:string">Append</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>InputText</Name> <Setting xsi:type="xsd:string" /> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>ColumnHeaders</Name> <Setting xsi:type="xsd:string">##full_name##~##a##~##e##~##i##~##om##~##w##~##q##~##ad##~##per_y##~##data_arc##~##condition_code##~##n_obs_used##~##n_del_obs_used##~##n_dop_obs_used##~##H##</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>Skip</Name> <Setting xsi:type="xsd:boolean">false</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>Separator</Name> <Setting xsi:type="xsd:string">~</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>CreateLists</Name> <Setting xsi:type="xsd:boolean">false</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>ListSeparator</Name> <Setting xsi:type="xsd:string">^</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>FindReplace</Name> <Setting xsi:type="xsd:boolean">true</Setting> </anyType> </PluginSettings> </PluginPrefs> <PluginPrefs> <Name>WoRMS</Name> <PluginSettings> <anyType xsi:type="PrefsKeyPair"> <Name>ArticlePage</Name> <Setting xsi:type="xsd:string" /> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>Export</Name> <Setting xsi:type="xsd:boolean">true</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>SpeciesSeparator</Name> <Setting xsi:type="xsd:string">^</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>Classification</Name> <Setting xsi:type="xsd:boolean">true</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>SearchTaxa</Name> <Setting xsi:type="xsd:string" /> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>MarineOnly</Name> <Setting xsi:type="xsd:boolean">true</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>FoundOnly</Name> <Setting xsi:type="xsd:boolean">true</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>AcceptedOnly</Name> <Setting xsi:type="xsd:boolean">true</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>SpeciesOnly</Name> <Setting xsi:type="xsd:boolean">true</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>SearchGenera</Name> <Setting xsi:type="xsd:boolean">false</Setting> </anyType> <anyType xsi:type="PrefsKeyPair"> <Name>TaxonRank</Name> <Setting xsi:type="xsd:string">Species</Setting> </anyType> </PluginSettings> </PluginPrefs> </Plugin> </AutoWikiBrowserPreferences>
Hope that helps. — Ganeshk (talk) 00:23, 8 May 2010 (UTC)
- Glad to hear that it worked. You may want to go into Advanced Find and use the Regex tester to make sure it handles all scenarios. And then copy paste the regex back to the simple find and replace option. For example, can it handle, 2,000.837. The current regex may not handle that well. A lot depends on the regex to be correct for the article to be updated correctly. Hope that is clear. You do wake up very early...very unlike me :) — Ganeshk (talk) 03:58, 8 May 2010 (UTC)
KamikazeBot
editKamikazeBot undid my change in TDMA. I removed a wrong link to a sister wiki (moved it to Time division multiple access where it belongs) and the bot adds it back. --Muhandes (talk) 12:44, 16 June 2010 (UTC)
- Thanks for taking care of it. --Muhandes (talk) 07:34, 17 June 2010 (UTC)
Thanks for your contribution to WikiPedia.
Phonetically, hi:आरगलूर is more appropriate translation for Aragalur (ta:ஆறகழூர்) as compared to hi:अरगलूर. Can you please adjust your bot accordingly please. Pinecar (talk) 03:58, 25 June 2010 (UTC)
Re: CSVloader
editHi Karol, I will need some screenshots to understand what you mean by losing all rows. Imgur uploads will do. — Ganeshk (talk) 02:23, 31 December 2011 (UTC)
- The advanced settings function is not a simple fix. I will add it to the to-do list and let you know once it is implemented. I am glad you are still using the loader program. Happy New Year! — Ganeshk (talk) 13:01, 31 December 2011 (UTC)
Wikimania Barnstar
editWikimania Barnstar | |
It was great to see you at Wikimania 2012! --evrik (talk) 19:09, 15 July 2012 (UTC) |