Hi,
Thanks for the great job. I used it last year for creating redirects and it was a great help.
What I need to do now is to replace some bad links in some articles with the good one. So in each line of my CSV file I have page_title,old_link, new_link and in Find & Replace window I gave ##old_link## for Find and ##new_link## for Replace with. I get no error, but at the end replacement doesn't occur. It is surprising that after starting and opening a page (with No changes), if I open Find & Replace window I see the correct links loaded from the CSV file for the current page, meaning that everything goes well except for just replacing. Could you please help me with this? Saeidpourbabak ( talk) 21:46, 23 October 2018 (UTC)
Hi Balaji, thanks for your update on the CSVLoader page. I am always glad to hear that the plugin continues to be helpful. It has been 10 years since I developed the tool. Can you explain in more detail on how you used the tool on Tamil Wikisource? Thanks, — Ganeshk ( talk) 22:16, 12 September 2018 (UTC)
Hello. I use AWB v6.1.0.1. I want to make some find and replace using CSVLoader; I want to change the input of |link=
in {{
Taxonomy}} template subpages so it will use correct titles, to be specific. To get this, I made a replace rule to replace link=(.*?)
with link=##correcttitle##
. I enabled CSVLoader, imported my CSV file, defined the header and started the AWB, so the expected result, for example, is to replace link=Aaadonta
with link=آدونتا
(the article's title in fawiki), but instead, it returns link=آآدونتاAaadonta
. I can't really figure out why this happens, can anyone help? Thanks.
Ahmad
talk 12:42, 20 September 2019 (UTC)
Hi. I'm using CSVLoader for the first time. I am using it on Wikisource, where I have hundreds of headers to replace, so it looks like the ideal tool for that. I have a CSV file - I chose format "CSV (MS-DOS)" in Excel - which is 2 columns wide. There are no column headings in the file itself - the first data row is row 1. The first column is a series of 368 article names. The second column contains the correct fully formed header for each specific article and I have a single, very simple search/replace, which is:
Search:
<noinclude><pagequality level="1" user="Mjbot" /><div class=pagetext>{{sidenotes begin}}{{USStatHeader | side = | volume= 33 | congress=Fifty-Eighth | congress word=FIFTY EIGHTH| session=2nd | chapter= | year=1904 | page= }}</noinclude>
Replace:
##field##
Unfortunately, in the article defined at A1, instead of replacing the search field with the contents of cell B1, it replaces it with the actual text ##field##. If I click skip, it then again attempts to replace the next matching header with the string ##field##. I have also tried the replacement field as [[##field##]], but that is then used as the actual replacement text instead. In the Column Headers box in CSVLoader I have ##article##,##field##. I do not have Regex checked in the search/replace box. When I do, the replace text is often multiple instances of ##field##.
My AWB version is 5.10.1.0, my CSVLoader version is 1.0.0.18 (I think...)
Is anybody able to help, please? Thank you. CharlesSpencer ( talk) 12:13, 8 October 2019 (UTC)
User:Ganeshk/sandbox~<noinclude><pagequality level="3" user="CharlesSpencer" /><div class=pagetext>{{sidenotes begin}}{{USStatHeader | side = left | volume= 33 | congress=Fifty-Eighth | congress word=FIFTY EIGHTH| session=2nd | chapter=1120-1124 | year=1904 | page=1524}}</noinclude>~<noinclude><pagequality level="3" user="Ganeshk" /><div class=pagetext>{{sidenotes begin}}{{USStatHeader | side = left | volume= 33 | congress=Fifty-Eighth | congress word=FIFTY EIGHTH| session=2nd | chapter=1120-1124 | year=1904 | page=1524}}</noinclude>
Hi, I've opened a task at Phabricator. -- Hispano76 ( talk) 17:12, 29 February 2020 (UTC)
Hi,
Thanks for the great job. I used it last year for creating redirects and it was a great help.
What I need to do now is to replace some bad links in some articles with the good one. So in each line of my CSV file I have page_title,old_link, new_link and in Find & Replace window I gave ##old_link## for Find and ##new_link## for Replace with. I get no error, but at the end replacement doesn't occur. It is surprising that after starting and opening a page (with No changes), if I open Find & Replace window I see the correct links loaded from the CSV file for the current page, meaning that everything goes well except for just replacing. Could you please help me with this? Saeidpourbabak ( talk) 21:46, 23 October 2018 (UTC)
Hi Balaji, thanks for your update on the CSVLoader page. I am always glad to hear that the plugin continues to be helpful. It has been 10 years since I developed the tool. Can you explain in more detail on how you used the tool on Tamil Wikisource? Thanks, — Ganeshk ( talk) 22:16, 12 September 2018 (UTC)
Hello. I use AWB v6.1.0.1. I want to make some find and replace using CSVLoader; I want to change the input of |link=
in {{
Taxonomy}} template subpages so it will use correct titles, to be specific. To get this, I made a replace rule to replace link=(.*?)
with link=##correcttitle##
. I enabled CSVLoader, imported my CSV file, defined the header and started the AWB, so the expected result, for example, is to replace link=Aaadonta
with link=آدونتا
(the article's title in fawiki), but instead, it returns link=آآدونتاAaadonta
. I can't really figure out why this happens, can anyone help? Thanks.
Ahmad
talk 12:42, 20 September 2019 (UTC)
Hi. I'm using CSVLoader for the first time. I am using it on Wikisource, where I have hundreds of headers to replace, so it looks like the ideal tool for that. I have a CSV file - I chose format "CSV (MS-DOS)" in Excel - which is 2 columns wide. There are no column headings in the file itself - the first data row is row 1. The first column is a series of 368 article names. The second column contains the correct fully formed header for each specific article and I have a single, very simple search/replace, which is:
Search:
<noinclude><pagequality level="1" user="Mjbot" /><div class=pagetext>{{sidenotes begin}}{{USStatHeader | side = | volume= 33 | congress=Fifty-Eighth | congress word=FIFTY EIGHTH| session=2nd | chapter= | year=1904 | page= }}</noinclude>
Replace:
##field##
Unfortunately, in the article defined at A1, instead of replacing the search field with the contents of cell B1, it replaces it with the actual text ##field##. If I click skip, it then again attempts to replace the next matching header with the string ##field##. I have also tried the replacement field as [[##field##]], but that is then used as the actual replacement text instead. In the Column Headers box in CSVLoader I have ##article##,##field##. I do not have Regex checked in the search/replace box. When I do, the replace text is often multiple instances of ##field##.
My AWB version is 5.10.1.0, my CSVLoader version is 1.0.0.18 (I think...)
Is anybody able to help, please? Thank you. CharlesSpencer ( talk) 12:13, 8 October 2019 (UTC)
User:Ganeshk/sandbox~<noinclude><pagequality level="3" user="CharlesSpencer" /><div class=pagetext>{{sidenotes begin}}{{USStatHeader | side = left | volume= 33 | congress=Fifty-Eighth | congress word=FIFTY EIGHTH| session=2nd | chapter=1120-1124 | year=1904 | page=1524}}</noinclude>~<noinclude><pagequality level="3" user="Ganeshk" /><div class=pagetext>{{sidenotes begin}}{{USStatHeader | side = left | volume= 33 | congress=Fifty-Eighth | congress word=FIFTY EIGHTH| session=2nd | chapter=1120-1124 | year=1904 | page=1524}}</noinclude>
Hi, I've opened a task at Phabricator. -- Hispano76 ( talk) 17:12, 29 February 2020 (UTC)