User:Gifted9/autowikibrowser

The most up-to-date image and information guide on Webkinz Classic items, events, and more!

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.

if you have requests, drop them below, in the #new requests section

toot oriole

File:Lilkinzorioleavatar.png

  1. download the program per their instructions: https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser#(2)_Download
  2. options > preferences > site > set project as custom and website page as http://webkinzpictureguide.shoutwiki.com/w/
  3. file > log in/profiles > log in with your normal credentials
  4. left side: load the pages you want to change here. i typically use my watchlist or wikisearch (text) for specific edits, or special pages to see the various pages in special:specialpages. ctrl-shift-a to keep the list alphabetized, ctrl-shift-u to remove duplicates
  5. middle: toggle settings in any of the four tabs, per instructions in the #success subheading
  6. 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

success

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

example: http://webkinzpictureguide.shoutwiki.com/w/index.php?title=(Item_Guide)_Wheels_%26_Games&curid=31338&diff=58161&oldid=58160

  1. options tab > find and replace checked > advanced settings
  2. new rule > regular expression checked
  3. in find textbox, write ([^[])https://webkinznewz.ganzworld.com/(.+?)(''|)</ref>
  4. in replace textbox, write $1[https://webkinznewz.ganzworld.com/$2]$3</ref>

task: remove reftags from numbered external links

example: http://webkinzpictureguide.shoutwiki.com/w/index.php?title=(Item_Guide)_Wheels_%26_Games&curid=31338&diff=58169&oldid=58161

  1. options tab > find and replace checked > advanced settings
  2. new rule > regular expression checked
  3. in find textbox, write <ref>\[http(.+)\]</ref>
  4. in replace textbox, write [http$1]

task: remove #comment from wkn external links

example: http://webkinzpictureguide.shoutwiki.com/w/index.php?title=(Item_Guide)_Webkinz_Newz&curid=29752&diff=58181&oldid=58157

  1. options tab > find and replace checked > advanced settings
  2. new rule > regular expression checked
  3. in find textbox, write https://webkinznewz.ganzworld.com/(.+)#comments
  4. 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

  1. make list source: category, category: rotatable > make list
  2. more tab > append/prepend text enabled checked, append selected
  3. 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

  1. options tab > find and replace checked > advanced settings
  2. new rule > regular expression checked
  3. in find textbox, write File:(.+).png(nw|sw|se|ne).png
  4. in replace textbox, writeFile:$1$2.png

task: create collection page from all in category

example: Rotatable Collection

  1. in wpg, create a new blank page as a destination for the collection page
  2. make list source: category, category: rotatable > make list
  3. select one of the list, ctrl-a to highlight all, ctrl-c to copy
  4. on the collection page in wpg, ctrl-v to paste
  5. return to awb > options tab > find and replace checked > advanced settings
  6. new rule > regular expression checked
  7. in find File:(.+).png
  8. in replace textbox, write
    |-
    |[[File:$1.png]]
    <br>$1
    |[[File:$1nw.png]][[File:$1sw.png]][[File:$1se.png]][[File:$1ne.png]]
    
  9. more tab > append/prepend text enabled checked, append selected
  10. write the following in the textbox
    {| class="greentable" width="70%"
    |- align="left"
    !Item
    !Rotations
    
  11. start tab > start
  12. in the bottom right pane, scroll all the way down and copy & paste the following:
    |-
    !
    !
    |}
    
  13. the names will be in Itemfullname format, you will need to manually correct them to Item Full Name format

task: create collection page from scratch

this only works for collection items that have a searchable keyword in the file name, such as "bunkbed" or "vanity." if the common factor is visual-only, you will need to manually add files to a category

example: category: Wacky Zingoz & Zangoz, Wacky Zingoz & Zangoz Collection & Category: Bunk Bed, Bunk Bed Collection

  1. make list source: special page > make list > on the popup, source: all pages > namespace: file > ok
  2. this will only load the first 25,000 files, to somewhere in the "surfi*" range. install the nolimits plugin
  3. filter > under title, keep titles containing: enabled > write the keyword in the textbox > apply
  4. manually remove any files you can see do not belong to the collection
  5. more tab > categories dropdown: add category > write the keyword in the textbox
  6. run the program and save

you will need to manually comb through the files after "surfi*" to find keyword matches

  1. in wpg, go to special:allpages, namespace file, starting at "surfi". search in your browser for the keyword
  2. if there are few, you can just copy the links to the make list textbox in awb
  3. if there are many, you can save pages as htmls, copy and paste the matched pages from the html to the file list in awb
  4. repeat steps 5 and 6 above

return to wpg and create a new blank page as a destination for the collection page, then in awb:

  1. make list source: category, category: your category > make list
  2. select one of the list, ctrl-a to highlight all, ctrl-c to copy
  3. on the collection page in wpg, ctrl-v to paste
  4. return to awb > options tab > find and replace checked > advanced settings
  5. new rule > regular expression checked
  6. in find File:(.+).png
  7. in replace textbox, write
    |-
    |[[File:$1.png]]
    <br>$1
    |x
    |x
    |-
    
  8. more tab > append/prepend text enabled checked, append selected
  9. write the following in the textbox
    {| class="greentable" width="70%"
    |- align="left"
    !Item
    !Availability
    !Tradeable
    
  10. start tab > start
  11. in the bottom right pane, scroll all the way down and copy & paste the following:
    |-
    !
    !
    !
    |}
    {{Collector Pages}}
    [[Category:Collector Page]]
    
  12. the names will be in Itemfullname format, you will need to manually correct them to Item Full Name format. you will need to manually correct any formatting errors and fill in availability and tradeability in each of the "x" placeholders

task: create an item guide page skeleton from its picture guide page

example: User:Gifted9/autowikibrowser testing/pic to item, diff

  1. options tab > find and replace checked > advanced settings
  2. click new rule six times to create six rules, then enter the following information into each rule
rule number find textbox replace textbox regular expression checked
1 {{WPG(3|4|6|)
\n{|class="pinktable sortable" width="60%"
|- align="left"
!Name
!First Available
!Last Available
!Tradeable
yes
2 {{Picture Guide}} {{Item Guide}} no
3 {{!}}\[\[File:(?:.+).png\]\]<br>(.+)
-
|$1
|x
|x
|x
yes
4 \n}}\n
\n|-
!
!
!
!
|-
|}
yes
5 [[Webkinz Picture Guide | >> Click here to return to the Picture Guide's main page]] [[Webkinz Item Guide | >> Click here to return to the Item Guide's main page]] no
6 \[\[\(Item Guide\) (.+) \| >> Click here to view when these items were last available\]\]\n [[(Picture Guide) $1 | >> Click here to view pictures of these items]]\n yes

pages that need a skeleton:

(Item Guide) Webkinz Next

(Item Guide) Ganz eStore Promo Gift With Purchase

task: update collection page format

this is a two-step process to update the picguide-formatted collection pages to the new table format

example: vehicle step 1, vehicle step 2, wallpaper step 1, wallpaper step 2

  1. options tab > find and replace checked > advanced settings
  2. click new rule four times to create four rules. ensure regular expression is checked for all of them, then enter the following information into each rule
rule number find textbox replace textbox
1 {{WPG
\n{|class="pinktable sortable" width="60%"
|- align="left"
!Name
!Availability
!Tradeable
|-
2 {{!}}\[\[File:(.+).png\]\]<br>(?:''')(.+)(?:''')<br>(.+)
-
|[[File:$1.png]]
<br>$2
|$3
|x
3 (|\|{{!}})\n}}
	
\n
!
!
!
|-
|}
4 \|{{!}}\[\[File:(.+).png\]\]<br>(?:'''|)(.+)(?:'''|)
	
|-
|[[File:$1.png]]
<br>$2
|x
|x
  1. ensure enabled is selected for rules 1 to 3 and deselected for rule 4, then exit from the popup, start tab > start, have the program run, then save
  2. on the bottom left panel, click + to reload the same page
  3. in find and replace > advanced settings, ensure enabled is deselected for rules 1 to 3 and selected for rule 4, then exit from the popup, start tab > start, have the program run, then save
  4. you will need to manually correct formatting errors and fill in availability in each of the "x" placeholders

pages that still need reformatting:

Bed Collection

Border Buildings Collection

Cottages Collection

Flooring Collection

Food Collection

Lamp Collection

Plants Collection

Storage Collection

Windows Collection

pending

the below items are in progress. notes likely look like hodgepodge and miscellany to eyes that are not mine, but more power to you if you can extract anything useful

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}

task: automatically protect new pages in mainspace

Special:NewPages https://www.mediawiki.org/wiki/API:Protect https://webkinzpictureguide.shoutwiki.com/w/api.php?action=help&modules=protect

task: rearrange collection page availability for sort optimization

lorem ipsum

new requests

i am ready to receive The Inquiries