Thehelpfulone is having trouble with this task, and without having AWB in front of me, I can't tell what's going wrong. Please see if you can figure out how to do this:
I need you to create two link lists for me...
Starting with User:The Transhumanist/Country outlines, and using AWB's list filter, filter out all the pages that include "= Administrative divisions of ".
(notice the equals sign - er, heading code. This should catch all the headings, regardless of how many equals signs they have.)
The resulting list will be the country outlines that are missing that section.
Post the resulting list on my talk page.
Again, starting with User:The Transhumanist/Country outlines, and using AWB's list filter, filter out all the pages that include "= Municipalities of ".
The resulting list will be the country outlines that are missing that section.
Post the resulting list on my talk page.
Good luck.
Have fun.
Thank you.
The Transhumanist 23:23, 22 February 2009 (UTC)
(If you can find a simpler way to do this, please let me know).
The purpose of this task is to add
(where x is the country's name)
immediately before
OK, here we go...
On the pages listed at User:The Transhumanist/Country outlines, do the following:
Replace:
* [[International rankings of
with:
{{subst:User:The Transhumanist/Sandbox08}}
(Note: without the "nowiki" codes)
Replace:
{{PAGENAME}}
with:
{{subst:PAGENAME}}
(Deprecated by updated sandbox)
There's 2 parts to this pass (can be done simultaneously):
Replace:
Name of Wikipedia:WikiProject Outline of knowledge/Drafts/Outline of
with:
Name of
(note: there's a space at the end of both of those strings)
and Replace:
Name of Topic outline of
with
Name of
(note: there's a space at the end of both of those strings)
Good luck.
Have fun.
The Transhumanist 01:59, 24 February 2009 (UTC)
P.S.: in the future, I assume I can state the goal without having to include the steps? :) The Transhumanist 02:04, 24 February 2009 (UTC)
For all of these, the quotes are not included in the search or replace strings.
Using User:The Transhumanist/Country outlines as your input list, please do the following:
Search for "|Adjective]]:" and replace with "|Adjectival]](s):"
Search for "|Adjective]]s:" and replace with "|Adjectival]](s):"
Search for "* Population:" and replace with "* [[Population of ]]:"
Search for "* Area:" and replace with "* [[Area of ]]:"
Note that the population and area tasks above are intentionally incomplete. Somebody else will be filling in the country names into those links. Also, there is a space character after the word "of".
Good luck.
Have fun.
And thank you.
The Transhumanist 00:19, 8 February 2009 (UTC)
Do these after you do the above tasks, because some of the search strings below won't even exist until you finish the tasks above.
The following tasks require the use of the regex feature of AWB, because the search and replace strings include the beginning of a new line within them. Look at the wiki-code to get the strings, since they may contain links. The regex code for a new line is "\n" (backslash n). To use regex you need to have the regex box checked in AWB.
Please replace:
th]]
with:
th most populous country]]
and please replace:
nd]]
with:
nd most populous country]]
and please replace:
rd]]
with:
rd most populous country]]
and please replace:
st]]
with:
st most populous country]]
and please replace:
th]]
with:
th largest country]]
and please replace:
nd]]
with:
nd largest country]]
and please replace:
rd]]
with:
rd largest country]]
and please replace:
st]]
with:
st largest country]]
Unfortunately, I don't know how to use regex. If you can't figure it out, someone on the AWB discussion page or at
WP:VPT could probably help you.
The Transhumanist
00:41, 8 February 2009 (UTC)
find="(th|nd|rd|st)(\]\])(\r\n?|\n)(\* \[\[Area of \]\]:)" replace="$1 most populous country$2$3$4" find="(th|nd|rd|st)(\]\])(\r\n?|\n)(\* \[\[:commons:Atlas of )" replace="$1 largest country$2$3$4"
Here's a simple minor task:
In the country outlines (at User:The Transhumanist/Country outlines) please change the double colon (::) with a single colon (:).
The Transhumanist 23:27, 12 February 2009 (UTC)
I think I've figured out a way to automate the completion of at least this link.
But before you start, I have a question for you: can regex handle multiple search/replaces, where the replaces share a match sequence used in one but not all of the searches?
Where "x" is the country's name, in the country outlines please search for:
And replace with:
Related to the question above and as part of the same regex (using the x match string), if it is possible, please search for:
And replace with:
Scratch that. We've found an easier way to do this, using AWB in a two-pass search/replace.
Replace
and
respectively with
{{subst:User:The Transhumanist/Sandbox04}}
and
{{subst:User:The Transhumanist/Sandbox06}}
(Of course, leave out the "nowiki" codes).
Replace:
and
with:
and
Note that there is a blank space at the end of both the search and replace strings!
Good luck, have fun.
The Transhumanist 23:35, 21 February 2009 (UTC)
Hi there! Well, I've been doing numerous tasks for your counry outline project (which I think I'm going to join now) using AWB, which I have quite enjoyed, and I've noticed that I'm taking a lot of time doing edits that really don't require any thinking, just pressing the save button. So I'm making an AWB bot account for these repetitive tasks that I periodically take on. Yes, I'm hoping that User:Robert SkyBot will be up and running momentarily. I'm letting you know so that you can take full advantage of an automated bot who is at the moment fully dedicated to your project. The bot won't be able to help you with any tasks that require human input before deciding whether to make an edit, but it can perform repetitive tasks like sorting all of the country outlines or moving everything to a new category. So, let me know if you need something, and I hope I'll be able to serve your project more efficiently with this new bot account. Robert Skyhawk So sue me! ( You'll lose) 04:57, 7 February 2009 (UTC)
In AWB, do you know how to do search/replaces using REGEX? (See also: WP:REGEX).
Some of the search/replaces I need done have more than one line in them. That is, the search string resides on more than one line at the same time. I think the regex code for this is \n ("New line"). I believe it is equivalent to "carriage return / line feed".
/n should also be useful for indicating search strings that directly precede a particular line, or that are at the beginning of a line.
I look forward to your reply.
The Transhumanist 23:47, 7 February 2009 (UTC)
Bot approval aside...
Using AWB's regex feature and regex wildcards, you should be able to search for the country name on each country outline using a single search string, even though the country name differs on every outline.
Please take a look, and see if you can accomplish that. Perhaps Wikipedia:AutoWikiBrowser/Regular expression and WP:REGEX will be of help.
I have lots of search/replaces that include the country name.
I look forward to your reply with great anticipation.
The Transhumanist 01:35, 8 February 2009 (UTC)
This change is creating red links in Country outlines. What's going to be? -- Zlerman ( talk) 17:18, 8 February 2009 (UTC)
Hi. Just wanted to let you know that I've got a RegEx string figured out, and I'm starting on the second task you gave me ( here). Meanwhile, I have the bot flag so it'll all be automated from here out. Let me know if you have any questions/concerns. Robert Skyhawk So sue me! ( You'll lose) 02:16, 12 February 2009 (UTC)
Thehelpfulone is having trouble with this task, and without having AWB in front of me, I can't tell what's going wrong. Please see if you can figure out how to do this:
I need you to create two link lists for me...
Starting with User:The Transhumanist/Country outlines, and using AWB's list filter, filter out all the pages that include "= Administrative divisions of ".
(notice the equals sign - er, heading code. This should catch all the headings, regardless of how many equals signs they have.)
The resulting list will be the country outlines that are missing that section.
Post the resulting list on my talk page.
Again, starting with User:The Transhumanist/Country outlines, and using AWB's list filter, filter out all the pages that include "= Municipalities of ".
The resulting list will be the country outlines that are missing that section.
Post the resulting list on my talk page.
Good luck.
Have fun.
Thank you.
The Transhumanist 23:23, 22 February 2009 (UTC)
(If you can find a simpler way to do this, please let me know).
The purpose of this task is to add
(where x is the country's name)
immediately before
OK, here we go...
On the pages listed at User:The Transhumanist/Country outlines, do the following:
Replace:
* [[International rankings of
with:
{{subst:User:The Transhumanist/Sandbox08}}
(Note: without the "nowiki" codes)
Replace:
{{PAGENAME}}
with:
{{subst:PAGENAME}}
(Deprecated by updated sandbox)
There's 2 parts to this pass (can be done simultaneously):
Replace:
Name of Wikipedia:WikiProject Outline of knowledge/Drafts/Outline of
with:
Name of
(note: there's a space at the end of both of those strings)
and Replace:
Name of Topic outline of
with
Name of
(note: there's a space at the end of both of those strings)
Good luck.
Have fun.
The Transhumanist 01:59, 24 February 2009 (UTC)
P.S.: in the future, I assume I can state the goal without having to include the steps? :) The Transhumanist 02:04, 24 February 2009 (UTC)
For all of these, the quotes are not included in the search or replace strings.
Using User:The Transhumanist/Country outlines as your input list, please do the following:
Search for "|Adjective]]:" and replace with "|Adjectival]](s):"
Search for "|Adjective]]s:" and replace with "|Adjectival]](s):"
Search for "* Population:" and replace with "* [[Population of ]]:"
Search for "* Area:" and replace with "* [[Area of ]]:"
Note that the population and area tasks above are intentionally incomplete. Somebody else will be filling in the country names into those links. Also, there is a space character after the word "of".
Good luck.
Have fun.
And thank you.
The Transhumanist 00:19, 8 February 2009 (UTC)
Do these after you do the above tasks, because some of the search strings below won't even exist until you finish the tasks above.
The following tasks require the use of the regex feature of AWB, because the search and replace strings include the beginning of a new line within them. Look at the wiki-code to get the strings, since they may contain links. The regex code for a new line is "\n" (backslash n). To use regex you need to have the regex box checked in AWB.
Please replace:
th]]
with:
th most populous country]]
and please replace:
nd]]
with:
nd most populous country]]
and please replace:
rd]]
with:
rd most populous country]]
and please replace:
st]]
with:
st most populous country]]
and please replace:
th]]
with:
th largest country]]
and please replace:
nd]]
with:
nd largest country]]
and please replace:
rd]]
with:
rd largest country]]
and please replace:
st]]
with:
st largest country]]
Unfortunately, I don't know how to use regex. If you can't figure it out, someone on the AWB discussion page or at
WP:VPT could probably help you.
The Transhumanist
00:41, 8 February 2009 (UTC)
find="(th|nd|rd|st)(\]\])(\r\n?|\n)(\* \[\[Area of \]\]:)" replace="$1 most populous country$2$3$4" find="(th|nd|rd|st)(\]\])(\r\n?|\n)(\* \[\[:commons:Atlas of )" replace="$1 largest country$2$3$4"
Here's a simple minor task:
In the country outlines (at User:The Transhumanist/Country outlines) please change the double colon (::) with a single colon (:).
The Transhumanist 23:27, 12 February 2009 (UTC)
I think I've figured out a way to automate the completion of at least this link.
But before you start, I have a question for you: can regex handle multiple search/replaces, where the replaces share a match sequence used in one but not all of the searches?
Where "x" is the country's name, in the country outlines please search for:
And replace with:
Related to the question above and as part of the same regex (using the x match string), if it is possible, please search for:
And replace with:
Scratch that. We've found an easier way to do this, using AWB in a two-pass search/replace.
Replace
and
respectively with
{{subst:User:The Transhumanist/Sandbox04}}
and
{{subst:User:The Transhumanist/Sandbox06}}
(Of course, leave out the "nowiki" codes).
Replace:
and
with:
and
Note that there is a blank space at the end of both the search and replace strings!
Good luck, have fun.
The Transhumanist 23:35, 21 February 2009 (UTC)
Hi there! Well, I've been doing numerous tasks for your counry outline project (which I think I'm going to join now) using AWB, which I have quite enjoyed, and I've noticed that I'm taking a lot of time doing edits that really don't require any thinking, just pressing the save button. So I'm making an AWB bot account for these repetitive tasks that I periodically take on. Yes, I'm hoping that User:Robert SkyBot will be up and running momentarily. I'm letting you know so that you can take full advantage of an automated bot who is at the moment fully dedicated to your project. The bot won't be able to help you with any tasks that require human input before deciding whether to make an edit, but it can perform repetitive tasks like sorting all of the country outlines or moving everything to a new category. So, let me know if you need something, and I hope I'll be able to serve your project more efficiently with this new bot account. Robert Skyhawk So sue me! ( You'll lose) 04:57, 7 February 2009 (UTC)
In AWB, do you know how to do search/replaces using REGEX? (See also: WP:REGEX).
Some of the search/replaces I need done have more than one line in them. That is, the search string resides on more than one line at the same time. I think the regex code for this is \n ("New line"). I believe it is equivalent to "carriage return / line feed".
/n should also be useful for indicating search strings that directly precede a particular line, or that are at the beginning of a line.
I look forward to your reply.
The Transhumanist 23:47, 7 February 2009 (UTC)
Bot approval aside...
Using AWB's regex feature and regex wildcards, you should be able to search for the country name on each country outline using a single search string, even though the country name differs on every outline.
Please take a look, and see if you can accomplish that. Perhaps Wikipedia:AutoWikiBrowser/Regular expression and WP:REGEX will be of help.
I have lots of search/replaces that include the country name.
I look forward to your reply with great anticipation.
The Transhumanist 01:35, 8 February 2009 (UTC)
This change is creating red links in Country outlines. What's going to be? -- Zlerman ( talk) 17:18, 8 February 2009 (UTC)
Hi. Just wanted to let you know that I've got a RegEx string figured out, and I'm starting on the second task you gave me ( here). Meanwhile, I have the bot flag so it'll all be automated from here out. Let me know if you have any questions/concerns. Robert Skyhawk So sue me! ( You'll lose) 02:16, 12 February 2009 (UTC)