User:Gifted9/autowikibrowser
i hate doing anything manually that i could potentially automate and you probably do too, so here are some instructions to use autowikibrowser on webkinz picture guide.
toot oriole
- download the program per their instructions: https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser#(2)_Download
- options > preferences > site > set project as custom and website page as http://webkinzpictureguide.shoutwiki.com/w/ according to: http://www.shoutwiki.com/wiki/Help:AutoWikiBrowser#Linking_to_your_wiki
- file > log in/profiles > log in with your normal credentials
- left side: make list source: select anything, then search in textbox to load your desired pages up
- middle: toggle settings in any of the four tabs, per the below instructions or your own settings
- start tab > start button will run awb and present the suggested changes. review in the top pane, and if satisfactory, click save
other places to rtfm
https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser - autowikibrowser's documentation
http://www.shoutwiki.com/wiki/Help:AutoWikiBrowser - shoutwiki's documentation
https://regex101.com/ - formats and explains regex to human eyes
hypothesis successful
the following are tasks i've successfully configured with awb. duplicate these instructions to do the same.
task: replace a whole wkn external url with a number according to vanilla wiki formatting
- options tab > find and replace checked > advanced settings
- new rule > regular expression checked
- in find textbox, write
([^[])https://webkinznewz.ganzworld.com/(.+?)(''|)</ref>
- in replace textbox, write
$1[https://webkinznewz.ganzworld.com/$2]$3</ref>
task: remove reftags from numbered external links
- options tab > find and replace checked > advanced settings
- new rule > regular expression checked
- in find textbox, write
<ref>\[http(.+)\]</ref>
- in replace textbox, write
[http$1]
task: remove #comment from wkn external links
- options tab > find and replace checked > advanced settings
- new rule > regular expression checked
- in find textbox, write
https://webkinznewz.ganzworld.com/(.+)#comments
- in replace textbox, write
https://webkinznewz.ganzworld.com/$1
task: add rotated views in gallery to file page
this is a two-step process to add rotated views to every file in category: rotatable
- make list source: category, category: rotatable > make list
- more tab > append/prepend text enabled checked, append selected
- write the following in the textbox
==Rotated Views== <gallery> %%title%%nw.png %%title%%sw.png %%title%%se.png %%title%%ne.png </gallery>
repeat step 1, then do the following
- options tab > find and replace checked > advanced settings
- new rule > regular expression checked
- in find textbox, write
File:(.+).png(nw|sw|se|ne).png
- in replace textbox, write
$1$2.png
testing in progress
the below items are in progress, use at your own risk
task: create an item guide page skeleton from its picture guide page
User:Gifted9/autowikibrowser testing/pic to item
difference between pic and item: http://webkinzpictureguide.shoutwiki.com/w/index.php?title=User%3AGifted9%2Fautowikibrowser_testing&type=revision&diff=57855&oldid=57854
task: create a picture guide page from its item guide page
difference between item and pic: http://webkinzpictureguide.shoutwiki.com/w/index.php?title=User%3AGifted9%2Fautowikibrowser_testing&type=revision&diff=57857&oldid=57856
User:Gifted9/autowikibrowser testing/item to pic
task: replace all duplicate single references with a multireference
User:Gifted9/autowikibrowser testing/singleref to multiref
duplicate unnamed references and duplicate named references are vanilla features in general fixes https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/General_fixes#Duplicate_Named_References_(DuplicateNamedReferences)
"The article must already have at least one named reference (to avoid a 'change in citation style' in the article per WP:CITEVAR). This means at least one named ref in short format (<ref name=a/>) as a full named ref by itself does not cause any references to display as combined."
find: \<ref\>This item was available on the \[\[\(Picture_Guide\)_(Mobile_Wheel_of_Wow|Community_Codes|Balloon_Darts)_Archive\#(.+?)\]\]\<\/ref\>{1}
\<ref\>This item was available on the \[\[\(Picture_Guide\)_(Mobile_Wheel_of_Wow|Community_Codes|Balloon_Darts)_Archive\#(.+?)\]\]\<\/ref\>{2,}
replace: <ref name="(.+?)"\/>This item was available on the [[(Picture_Guide)_($1$2$3)_(.+?)]]</ref>{1}
<ref name="$2"/>{2}