User:Gifted9/autowikibrowser: Difference between revisions
No edit summary |
No edit summary |
||
(388 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
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 guide |
|||
i have a hypothesis that i could write a macro for autowikibrowser to create an item guide page from its corresponding picture guide page, or vice versa, so i'm trying to do that on this page. https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser |
|||
=toot oriole= |
|||
<br> anything below here is hodgepodge and miscellany |
|||
[[File:Musicnotewallcharm.png]] [[File:Orioleavatar.png]] |
|||
# download the program per their instructions: https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser#(2)_Download |
|||
difference between pic and item: http://webkinzpictureguide.shoutwiki.com/w/index.php?title=User%3AGifted9%2Fautowikibrowser_testing&type=revision&diff=57855&oldid=57854 |
|||
# '''options''' > '''preferences''' > '''site''' > <nowiki>set project as custom and website page as http://webkinzguide.com/w/ </nowiki> |
|||
# '''file''' > '''log in/profiles''' > log in with your normal credentials |
|||
# left side: load the pages you want to change here. paste a specific page or list of pages you want to edit, or '''special pages''' > source: '''all pages''' to load all mainspace pages for a sweep. '''ctrl-shift-a''' to keep the list alphabetized, '''ctrl-shift-u''' to remove duplicates |
|||
# middle: toggle settings in any of the four tabs, per instructions in the [[#success]] subheading |
|||
# '''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= |
|||
== bleep bloop == |
|||
[[Webkinz Item Guide | >> Click here to return to the Item Guide's main page]] |
|||
https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser - autowikibrowser's documentation |
|||
==Party Food== |
|||
[[(Picture_Guide)_Party_Packs#Party_Food| >> Click here to view pictures of these items]] |
|||
http://www.shoutwiki.com/wiki/Help:AutoWikiBrowser - shoutwiki's documentation |
|||
{|class="pinktable sortable" width="60%" |
|||
|- align="left" |
|||
https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Find_and_replace find and replace keywords, including %%title%% |
|||
!Name |
|||
!First Available |
|||
https://regex101.com/ - formats and explains regex to human eyes |
|||
!Last Available |
|||
!Tradeable |
|||
=success= |
|||
the following are tasks i've successfully configured with awb. duplicate these instructions to do the same. |
|||
as processes are modular, the settings in this documentation may differ from my real configuration - [https://drive.google.com/file/d/1-330w5Ebj9fwMcW62JwqHwmA2ZiUzUDv/view?usp=share_link see here] for my live default.xml file |
|||
==task: beautify external urls== |
|||
=== task: replace a whole wkn external url with a number according to vanilla wiki formatting === |
|||
example: http://webkinzguide.com/w/index.php?title=(Item_Guide)_Wheels_%26_Games&curid=31338&diff=58161&oldid=58160 |
|||
# '''options''' tab > '''find and replace''' checked > '''advanced settings''' |
|||
# '''new rule''' > '''regular expression''' checked |
|||
# in '''find''' textbox, write <code><nowiki>([^[])https://webkinznewz.ganzworld.com/(.+?)(''|)</ref></nowiki></code> |
|||
# in '''replace''' textbox, write <code><nowiki>$1[https://webkinznewz.ganzworld.com/$2]$3</ref></nowiki></code> |
|||
=== task: remove reftags from numbered external links === |
|||
example: http://webkinzguide.com/w/index.php?title=(Item_Guide)_Wheels_%26_Games&curid=31338&diff=58169&oldid=58161 |
|||
# '''options''' tab > '''find and replace''' checked > '''advanced settings''' |
|||
# '''new rule''' > '''regular expression''' checked |
|||
# in '''find''' textbox, write <code><nowiki><ref>\[http(.+)\]</ref></nowiki></code> |
|||
# in '''replace''' textbox, write <code><nowiki>[http$1]</nowiki></code> |
|||
=== task: remove #comment from wkn external links === |
|||
example: http://webkinzguide.com/w/index.php?title=(Item_Guide)_Webkinz_Newz&curid=29752&diff=58181&oldid=58157 |
|||
# '''options''' tab > '''find and replace''' checked > '''advanced settings''' |
|||
# '''new rule''' > '''regular expression''' checked |
|||
# in '''find''' textbox, write <code><nowiki>https://webkinznewz.ganzworld.com/(.+)#comments</nowiki></code> |
|||
# in '''replace''' textbox, write <code><nowiki>https://webkinznewz.ganzworld.com/$1</nowiki></code> |
|||
== 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, '''prepend''' selected |
|||
# write the following in the textbox <syntaxhighlight lang="python"> |
|||
==Rotated Views== |
|||
<gallery> |
|||
%%title%%nw.png |
|||
%%title%%sw.png |
|||
%%title%%se.png |
|||
%%title%%ne.png |
|||
</gallery></syntaxhighlight> |
|||
repeat step 1, then do the following |
|||
# '''options''' tab > '''find and replace''' checked > '''advanced settings''' |
|||
# '''new rule''' > '''regular expression''' checked |
|||
# in '''find''' textbox, write <code><nowiki>File:(.+).png(nw|sw|se|ne).png</nowiki></code> |
|||
# in '''replace''' textbox, write<code><nowiki>File:$1$2.png</nowiki></code> |
|||
==task: create collection page from scratch== |
|||
example: [[:category: Wacky Zingoz & Zangoz]], [[Wacky Zingoz & Zangoz Collection]] |
|||
:'''process 1: add category to applicable files''' |
|||
: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 by browsing through picture guide or the visual master list. |
|||
# at the bottom left, make list '''source''': special page > '''make list''' > on the popup, '''source:''' all pages > '''namespace:''' file > ok (do not search source: all pages - it only brings up mainspace pages) |
|||
# this will only load the alphabetical first 25,000 files, to somewhere in the "surf..." range. to load the remaining files, repeat step 1, but enter "surf" into '''pages''' on the popup |
|||
# '''filter''' > under '''title''', ensure '''keep titles containing:''' is checked, then write the keyword in the textbox > '''apply''' |
|||
# scroll through the file list manually remove any files you can see do not belong to the collection |
|||
# in the middle, '''more''' tab > '''categories''' dropdown: '''add category:''' > write the keyword in the textbox |
|||
# add any files that visually belong to the category but do not contain the keyword |
|||
# '''start''' tab > '''start''' > click '''save''' for each file |
|||
:'''process 2: prepare collection page''' |
|||
# return to wpg and create a new blank page as a destination for the collection page |
|||
# return to awb. make list '''source''': category, '''category''': your category > '''make list''' |
|||
# select one of the list, '''ctrl-a''' to highlight all, '''ctrl-c''' to copy |
|||
# on the collection page in wpg, '''ctrl-v''' to paste. save the page |
|||
:'''process 3: fill out table skeleton''' |
|||
# return to awb > '''options''' tab > '''find and replace''' checked > '''advanced settings''' |
|||
# '''new rule''' > '''regular expression''' checked |
|||
# in '''find''' <code>File:(.+).png</code> |
|||
# in '''replace''' textbox, write <syntaxhighlight lang="python"> |
|||
|- |
|- |
||
|[[File:$1.png]] |
|||
|Bag of Party Popcorn |
|||
<br>$1 |
|||
|2010 May |
|||
|x |
|||
|2020 August |
|||
| |
|x |
||
|- |
|- |
||
</syntaxhighlight> |
|||
|Chocolate Covered Carrot |
|||
# '''more''' tab > append/prepend text '''enabled''' checked, '''prepend''' selected |
|||
|2011 March |
|||
# write the following in the textbox <syntaxhighlight lang="python"> |
|||
|2021 April<ref>This item was available on the [[(Picture_Guide)_Mobile_Wheel_of_Wow_Archive#Mar_10-Apr_6|Mobile Wheel of WOW]]</ref> |
|||
{| class="greentable" width="70%" |
|||
|Yes |
|||
|- align="left" |
|||
|- |
|||
!Item |
|||
|Creepy Cookie |
|||
!Availability |
|||
|2011 September |
|||
!Tradeable |
|||
|2020 August |
|||
</syntaxhighlight> |
|||
|Yes |
|||
# '''start''' tab > '''start''' |
|||
|- |
|||
# in the '''bottom right pane''', scroll all the way down and copy & paste the following: <syntaxhighlight lang="python"> |
|||
|Glass of Eggnog |
|||
|2011 November |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Party Ice Cream Cone |
|||
|2011 June |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Party Snow Cone |
|||
|2010 May |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Piece of Black Forest Space Cake |
|||
|2010 May |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Piece of Cheerleader Cheesecake |
|||
|2010 May |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Piece of Chocolate |
|||
|2011 February |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Piece of Clown Cake |
|||
|2010 May |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Piece of Moonberry Magic Cake |
|||
|2010 May |
|||
|2020 August |
|||
|Yes |
|||
|- |
|- |
||
! |
! |
||
! |
! |
||
! |
! |
||
! |
|||
|- |
|||
|} |
|} |
||
{{Collector Pages}} |
|||
<references/> |
|||
[[Category:Collector Page]]</syntaxhighlight> |
|||
:'''process 4: fill out table muscles and skin''' |
|||
==Party Jellybeans== |
|||
# the names will be in Itemfullname format, you will need to manually correct them to Item Full Name format. unless you have a custom webkinz dictionary to reference, this is not automatable |
|||
[[(Picture_Guide)_Party_Packs#Party_Jellybeans| >> Click here to view pictures of these items]] |
|||
# you will need to manually correct any formatting errors and fill in availability and tradeability in each of the "x" placeholders. you may be able to automate certain simple substitutions or repeat errors |
|||
{|class="pinktable sortable" width="60%" |
|||
# once finished, remove the <nowiki>{{under construction}}</nowiki> template at the top of the page |
|||
===task: create collection page from all in category=== |
|||
a variation of process 3 for the [[Rotatable Collection]] |
|||
# '''find''' <code>File:(.+).png</code> |
|||
# '''replace''' textbox, write <syntaxhighlight lang="python"> |
|||
|- |
|||
|[[File:$1.png]] |
|||
<br>$1 |
|||
|[[File:$1nw.png]][[File:$1sw.png]][[File:$1se.png]][[File:$1ne.png]] |
|||
</syntaxhighlight> |
|||
# '''more''' tab > append/prepend text '''enabled''' checked, '''prepend''' selected |
|||
# write the following in the textbox <syntaxhighlight lang="python"> |
|||
{{Under Construction}} |
|||
{| class="greentable" width="70%" |
|||
|- align="left" |
|||
!Item |
|||
!Rotations |
|||
</syntaxhighlight> |
|||
# in the '''bottom right pane''', scroll all the way down and copy & paste the following: <syntaxhighlight lang="python"> |
|||
|- |
|||
! |
|||
! |
|||
|}</syntaxhighlight> |
|||
== task: create an item guide page skeleton from its picture guide page == |
|||
example: [[User:Gifted9/autowikibrowser/pic to item]], [http://webkinzguide.com/w/index.php?title=User:Gifted9/autowikibrowser/pic_to_item&diff=60325&oldid=60245| diff] |
|||
# '''options''' tab > '''find and replace''' checked > '''advanced settings''' |
|||
# click '''new rule''' to create the rules per the below table |
|||
{| class="wikitable" width=60% |
|||
|- |
|||
! rule number !! find textbox !! replace textbox !! regular expression checked |
|||
|- |
|||
| 1 || <code><nowiki>{{WPG(3|4|6|)</nowiki></code> || <syntaxhighlight lang="python">\n{|class="pinktable sortable" width="60%" |
|||
|- align="left" |
|- align="left" |
||
!Name |
!Name |
||
Line 88: | Line 167: | ||
!Last Available |
!Last Available |
||
!Tradeable |
!Tradeable |
||
</syntaxhighlight> || yes |
|||
|- |
|- |
||
| 2 || <code><nowiki>{{Picture Guide}}</nowiki></code> || <code><nowiki>{{Item Guide}}</nowiki></code> || no |
|||
|Christmas Jellybean Pile |
|||
|2011 November |
|||
|2019 December |
|||
|Yes |
|||
|- |
|||
|Halloween Jellybean Pile |
|||
|2011 September |
|||
|2019 October |
|||
|Yes |
|||
|- |
|||
|Jellybeans |
|||
|2005 April |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Jellybeans Pile |
|||
|2011 October |
|||
|2020 August |
|||
|Yes |
|||
|- |
|- |
||
| 3 || <code><nowiki>{{!}}\[\[File:(?:.+).png\]\]<br>(.+)</nowiki></code> || <syntaxhighlight lang="python">- |
|||
|Summer Jellybean Pile |
|||
|$1 |
|||
|2011 June |
|||
|x |
|||
|2020 August |
|||
| |
|x |
||
|x</syntaxhighlight> || yes |
|||
|- |
|||
|Winter Jellybean Pile |
|||
|2012 January |
|||
|2019 March |
|||
|Yes |
|||
|- |
|||
|Christmas Jar of Jellybeans |
|||
|2011 November |
|||
|2019 December |
|||
|Yes |
|||
|- |
|||
|Halloween Jar of Jellybeans |
|||
|2011 September |
|||
|2019 October |
|||
|Yes |
|||
|- |
|||
|Jar of Super Jellybeans |
|||
|2005 April |
|||
|Current |
|||
|Yes |
|||
|- |
|||
|Poncho Jellybeans |
|||
|2011 March |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Spring Jar of Jellybeans |
|||
|2011 March |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Summer Jar of Jellybeans |
|||
|2011 June |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Valentine Jar of Jellybeans |
|||
|2012 February |
|||
|2020 February |
|||
|Yes |
|||
|- |
|||
|Winter Jar of Jellybeans |
|||
|2011 January |
|||
|2020 March |
|||
|Yes |
|||
|- |
|- |
||
| 4 || <code><nowiki>\n}}\n</nowiki></code> || <syntaxhighlight lang="python">\n|- |
|||
! |
! |
||
! |
! |
||
Line 165: | Line 184: | ||
|- |
|- |
||
|} |
|} |
||
</syntaxhighlight> |
|||
|| yes |
|||
==Party Loot Bag Prizes== |
|||
[[(Picture_Guide)_Party_Packs#Party_Loot_Bag_Prizes| >> Click here to view pictures of these items]] |
|||
{|class="pinktable sortable" width="60%" |
|||
|- align="left" |
|||
!Name |
|||
!First Available |
|||
!Last Available |
|||
!Tradeable |
|||
|- |
|- |
||
| 5 || <code><nowiki>[[Webkinz Picture Guide | >> Click here to return to the Picture Guide's main page]]</nowiki></code> |
|||
|Party Loot Bag |
|||
|| <code><nowiki>[[Webkinz Item Guide | >> Click here to return to the Item Guide's main page]]</nowiki></code> |
|||
|2010 May |
|||
|| no |
|||
|2021 September<ref>This item was available as a Community Code</ref> |
|||
|No |
|||
|- |
|- |
||
| 6 || <code><nowiki>\[\[\(Item Guide\) (.+) \| >> Click here to view when these items were last available\]\]\n</nowiki></code> |
|||
|Balloon Cake Pop |
|||
|| <code><nowiki>[[(Picture Guide) $1 | >> Click here to view pictures of these items]]\n</nowiki></code> || yes |
|||
|2015 June |
|||
|} |
|||
|2021 April<ref>This item was available by clicking on a floating balloon to help prepare for the parade</ref> |
|||
|Yes |
|||
===task: create pet item guide skeleton from its picture guide page=== |
|||
|- |
|||
a variation for the [[(Item Guide) All Pets]] page, from [[(Picture Guide) All Pets]], requiring a minimum of four edits. tested on [[user:gifted9/autowikibrowser/(item guide) 2005 pets]] |
|||
|Blanche Plushy |
|||
|2016 November |
|||
* preparation: copy & paste picture guide pages in correct subsection of item guide page |
|||
|2021 January<ref>This item was available as a [[(Picture_Guide)_Arcade_Game_Challenges#Smoothie_Moves|Arcade Challenge]]</ref> |
|||
* edit 1: enable rules 1 to 5, disable all else, run and save, click '''+''' to reload the same page |
|||
|Yes |
|||
* edit 2: enable rules 6 and 7, disable all else, run and save, click '''+''' to reload the same page |
|||
|- |
|||
* edit 3: manually fill in availability and month released |
|||
|Bouquet of Balloons |
|||
* edit 4: enable rule 8, disable all else, run and save |
|||
|2010 May |
|||
|2020 August |
|||
{| class="wikitable" width=60% |
|||
|Yes |
|||
|- |
|||
|Cardboard Crown |
|||
|2013 April |
|||
|2021 April<ref>This item was available on the [[(Picture_Guide)_Wheel_of_Wow_Archive#Mar_10-Apr_6|Wheel of WOW]]</ref> |
|||
|Yes |
|||
|- |
|||
|Cupcake Lamp |
|||
|2017 June |
|||
|2021 March<ref>This item was available on the [[(Picture_Guide)_Wheel_of_Wow_Archive#Feb_10-Mar_9|Wheel of WOW]]</ref> |
|||
|Yes |
|||
|- |
|||
|Dancing Shoes |
|||
|2010 May |
|||
|2020 August |
|||
|Yes |
|||
|- |
|- |
||
! rule number !! find textbox !! replace textbox !! regular expression checked |
|||
|Face Paint |
|||
|2010 May |
|||
|2020 August |
|||
|Yes |
|||
|- |
|- |
||
| 1 || <code><nowiki>{{WPG4 |
|||
|Jumbo Sunglasses |
|||
</nowiki></code> || <syntaxhighlight lang="python">{|class="bluetable sortable" width="100%" |
|||
|2010 May |
|||
|-align="left" |
|||
|2021 May<ref>This item was available on the [[(Picture_Guide)_Wheel_of_Wow_Archive#Apr_7-May_4|Wheel of WOW]]</ref> |
|||
!Pet Name |
|||
|Yes |
|||
!PSI |
|||
!PSF |
|||
!Pet Type |
|||
!Release Date </syntaxhighlight>|| no |
|||
|- |
|- |
||
| 2 || <code><nowiki>{{Picture Guide}}</nowiki></code> || <code><nowiki>{{Item Guide}}</nowiki></code> || no |
|||
|Mr. Moo Plushy |
|||
|2015 June |
|||
|2021 April<ref>This item was available as a [[(Picture_Guide)_Trophy_Challenges#Cash_Cow_2|Trophy Challenge]]</ref> |
|||
|Yes |
|||
|- |
|- |
||
| 3 || <code><nowiki>[[Webkinz Picture Guide | >> Click here to return to the Picture Guide's main page]]</nowiki></code> |
|||
|Paper Tiara |
|||
|| <code><nowiki>[[Webkinz Item Guide | >> Click here to return to the Item Guide's main page]]</nowiki></code> |
|||
|2013 April |
|||
|| no |
|||
|2020 August |
|||
|Yes |
|||
|- |
|- |
||
| 4 || <syntaxhighlight lang="python">\|{{!}}\[\[File:(?:.+)avatar.png\]\]<br>(.+) |
|||
|Party Cap |
|||
\|{{!}}\[\[File:(?:.+)giftbox.png\]\]<br>(?:.+) |
|||
|2010 May |
|||
\|{{!}}\[\[File:(?:.+).png\]\]<br>(.+) |
|||
|2021 May<ref>This item was available on the [[(Picture_Guide)_Wheel_of_Deluxe_Archive#Apr_7-_May_4|Wheel of Deluxe]]</ref> |
|||
\|{{!}}\[\[File:(?:.+).png\]\]<br>(.+)</syntaxhighlight> || |
|||
|Yes |
|||
<syntaxhighlight lang= "python" >\n|- |
|||
|- |
|||
|$1 |
|||
|Party Ice Pop |
|||
|$2 |
|||
|2010 May |
|||
|$3 |
|||
|2020 August |
|||
| |
|x |
||
|y </syntaxhighlight> |
|||
|- |
|||
|| yes |
|||
|Party Mat |
|||
|2010 May |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Party Place Setting |
|||
|2010 May |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Party Poster |
|||
|2010 May |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Party Snow Globe |
|||
|2016 November |
|||
|2021 March<ref>This item was available on the [[(Picture_Guide)_Mobile_Wheel_of_Wow_Archive#Feb_10-Mar_9|Mobile Wheel of WOW]]</ref> |
|||
|Yes |
|||
|- |
|||
|Pink Feathered Mask |
|||
|2015 June |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Pizza Palace Pizza |
|||
|2017 June |
|||
|2021 August<ref>This item was available on the [[(Picture_Guide)_Mobile_Wheel_of_Wow_Archive#Jul_28-Aug_24|Mobile Wheel of WOW]]</ref> |
|||
|Yes |
|||
|- |
|||
|Shiny Party Balloons |
|||
|2016 November |
|||
|2021 March<ref>This item was available on the [[(Picture_Guide)_Wheel_of_Deluxe_Archive#Feb_10-Mar_9|Wheel of Deluxe]]</ref> |
|||
|Yes |
|||
|- |
|||
|Slice of Pizza |
|||
|2017 June |
|||
|2020 August |
|||
|Yes |
|||
|- |
|||
|Tap Dancing Shoes |
|||
|2010 May |
|||
|2020 November<ref>This item was available on the [[(Picture_Guide)_Wheel_of_Deluxe_Archive#Oct_21-Nov_18|Wheel of Deluxe]]</ref> |
|||
|Yes |
|||
|- |
|- |
||
| 5 || <code><nowiki>\n}}\n</nowiki></code> || <syntaxhighlight lang="python">\n|- |
|||
! |
|||
! |
! |
||
! |
! |
||
Line 290: | Line 242: | ||
! |
! |
||
|- |
|- |
||
|} |
|||
|Banquet Burger |
|||
</syntaxhighlight> |
|||
|2010 May |
|||
|| yes |
|||
|2017 June |
|||
|Yes |
|||
|- |
|||
|Chocolate Zingoz |
|||
|2010 May |
|||
|2013 March |
|||
|Yes |
|||
|- |
|- |
||
| 6 || <syntaxhighlight lang="python">\|(.+), (Lil Kinz|Small Signature|Signature|Endangered|[[Promo Kinz]]) |
|||
|Cotton Candy |
|||
\|(.+) |
|||
|2013 April |
|||
\|(.+) |
|||
|2016 November |
|||
\|x</syntaxhighlight> |
|||
|Yes |
|||
|| <syntaxhighlight lang="python">|$1 |
|||
|- |
|||
|$3 |
|||
|Dunce Cap |
|||
|$4 |
|||
|2010 May |
|||
|$2</syntaxhighlight> |
|||
|2013 March |
|||
|| yes |
|||
|Yes |
|||
|- |
|||
|Festive Fruit Punch |
|||
|2010 May |
|||
|2017 June |
|||
|Yes |
|||
|- |
|||
|Gummy Balloons |
|||
|2010 May |
|||
|2017 June |
|||
|Yes |
|||
|- |
|||
|Magic W Face Sticker |
|||
|2010 May |
|||
|2021 July<ref>This item was available on the [[(Picture_Guide)_Wheel_of_Deluxe_Archive#Jun_30-Jul_27|Wheel of Deluxe]]</ref>; Originally retired 2017 June |
|||
|Yes |
|||
|- |
|||
|Party Banner |
|||
|2010 May |
|||
|2017 June |
|||
|Yes |
|||
|- |
|||
|Party Pop |
|||
|2010 May |
|||
|2016 November |
|||
|Yes |
|||
|- |
|||
|Sparkler |
|||
|2010 May |
|||
|2021 September<ref>This item was available as a Community Code</ref>; Originally retired 2017 June |
|||
|Yes |
|||
|- |
|||
|Spring Jellybeans |
|||
|2011 March |
|||
|2016 June |
|||
|Yes |
|||
|- |
|||
|Zum Balloon |
|||
|2010 May |
|||
|2013 March |
|||
|Yes |
|||
|- |
|- |
||
| 7 || <syntaxhighlight lang="python">\|- |
|||
! |
! |
||
! |
! |
||
! |
! |
||
! |
! |
||
! |
|||
\|- |
|||
\|}(\n|) |
|||
===(.+)===(\n|) |
|||
{\|class="bluetable sortable" width="100%" |
|||
\|-align="left" |
|||
!Pet Name |
|||
!PSI |
|||
!PSF |
|||
!Pet Type |
|||
!Release Date</syntaxhighlight> || ''leave blank'' || yes |
|||
|- |
|- |
||
|} |
|} |
||
<references/> |
|||
==task: update collection page format== |
|||
==Party Packs== |
|||
update the <nowiki>{{wpg</nowiki>-formatted collection pages to the new table format. this requires a minimum of three edits |
|||
[[(Picture_Guide)_Party_Packs#Party_Packs| >> Click here to view pictures of these items]] |
|||
{|class="pinktable sortable" width="60%" |
|||
example: [http://webkinzguide.com/w/index.php?title=Vehicles_Collection&diff=60236&oldid=59518| vehicle step 1], [http://webkinzguide.com/w/index.php?title=Vehicles_Collection&diff=60237&oldid=60236| vehicle step 2], [http://webkinzguide.com/w/index.php?title=Wallpaper_Collection&diff=60264&oldid=60263| wallpaper edit 1], [http://webkinzguide.com/w/index.php?title=Wallpaper_Collection&diff=60267&oldid=60266| wallpaper edit 2], [http://webkinzguide.com/w/index.php?title=Wallpaper_Collection&diff=60332&oldid=60267| wallpaper edit 3], [http://webkinzguide.com/w/index.php?title=Wallpaper_Collection&diff=60336&oldid=60335| wallpaper edit 4], [[Bed Collection]], [[Border Buildings Collection]], [[Cottages Collection]], [[Flooring Collection]], [[Storage Collection]] |
|||
* '''options''' tab > '''find and replace''' checked > '''advanced settings''' > click '''new rule''' to create the rules per the below table, ensure '''regular expression''' is checked for all |
|||
* edit 1: enable rules 1, 2, 3, and 4 disable all else, run and save, click '''+''' to reload the same page |
|||
* edit 2: manually correct formatting errors and fill in availability in each of the "x" placeholders |
|||
* edit 3: enable rule 5, disable all else, run and save |
|||
{| class="wikitable" width=60% |
|||
|- |
|||
! rule number !! find textbox !! replace textbox |
|||
|- |
|||
| 1 || <code><nowiki>{{WPG(?:3|4|6|)</nowiki></code> || <syntaxhighlight lang="python">\n{|class="pinktable sortable" width="60%" |
|||
|- align="left" |
|- align="left" |
||
!Name |
!Name |
||
!Availability |
|||
!First Available |
|||
!Last Available |
|||
!WShop Price |
|||
!Tradeable |
!Tradeable |
||
</syntaxhighlight> |
|||
|- |
|- |
||
| 2 || <code><nowiki>\|{{!}}\[\[File:(.+).png\]\]<br>(?:''')(.+)(?:''')<br>(.+)</nowiki></code> || <syntaxhighlight lang="python"> |
|||
|Beach Party Room Pack |
|||
|2010 May |
|||
|2020 August |
|||
|1,000 KC |
|||
|No |
|||
|- |
|- |
||
|[[File:$1.png]] |
|||
|Big Top Party Room Pack |
|||
<br>$2 |
|||
|2010 May |
|||
|$3 |
|||
|2020 August |
|||
|x</syntaxhighlight> |
|||
|1,000 KC |
|||
|No |
|||
|- |
|- |
||
| 3 || <code><nowiki>(|\|{{!}})\n}}</nowiki></code> || <syntaxhighlight lang="python"> |
|||
|Birthday Girl Party Pack |
|||
\n|- |
|||
|2010 May |
|||
! |
|||
|2020 August |
|||
! |
|||
|750 KC |
|||
! |
|||
|No |
|||
|} |
|||
</syntaxhighlight> |
|||
|- |
|- |
||
|4 || <code><nowiki>\|{{!}}\[\[File:(.+).png\]\]<br>(?:'''|)(.+)(?:'''|)</nowiki></code> || <syntaxhighlight lang="python"> |
|||
|Birthday Boy Party Pack |
|||
|2010 May |
|||
|2020 August |
|||
|750 KC |
|||
|No |
|||
|- |
|- |
||
|[[File:$1.png]] |
|||
|Blockbuster Party Room Pack |
|||
<br>$2 |
|||
|2010 May |
|||
|x |
|||
|2020 August |
|||
|x |
|||
|1,000 KC |
|||
</syntaxhighlight> |
|||
|No |
|||
|- |
|- |
||
|5 || <syntaxhighlight lang="python">\|- |
|||
|Cheerleader Party Room Pack |
|||
! |
|||
|2010 May |
|||
! |
|||
|2020 August |
|||
! |
|||
|1,000 KC |
|||
| |
\|} |
||
==(?:.+)== |
|||
{\|class="pinktable sortable" width="60%" |
|||
\|- align="left" |
|||
!Name |
|||
!Availability |
|||
!Tradeable |
|||
</syntaxhighlight> || ''leave blank'' |
|||
|} |
|||
pages that still need reformatting: |
|||
[[Lamp Collection]] |
|||
[[Windows Collection]] |
|||
[[Webkinz Birthstone Pets]] |
|||
[[Next Pets]] |
|||
[[Rockerz Pets]] |
|||
[[Signature Pets]] |
|||
[[Webkinz Zodiac Pets]] |
|||
[[Shoes Collection]] |
|||
[[Hat Collection]] |
|||
===variation: promo kinz=== |
|||
[[Promo Kinz]] - remove psf and psi |
|||
==task: restore wi page== |
|||
this process is significantly more modular than the rest, since webkinz insider's filenaming standards were not as stringent and the source code may not be available |
|||
examples: [[Pink Furniture Collection]], [[Purple Furniture Collection]], [[Red Furniture Collection]], [[Plushie KinzStyle Clothing]], [[Jellybean Challenge]] |
|||
this requires a minimum of four edits |
|||
* preparation: manually copy & paste wi source code or regular page onto the destination wpg page |
|||
* in awb, '''options''' tab > '''find and replace''' checked > '''advanced settings''' > click '''new rule''' to create the rules per the below table, ensure '''regular expression''' is checked for all of them |
|||
* edit 1: enable rules 1 and 2, disable all else, run and save, click '''+''' to reload the same page |
|||
* edit 2: if images are already uploaded to wpg, enable rule 3, disable all else, run and save, click '''+''' to reload the same page. if they are not, you will need to upload them yourself with standard nomenclature - see [[user:boper911/autohotkey]] for help |
|||
* edit 3: manually add == to the end of any section titles |
|||
* edit 4: enable rules 4, 5, and 6, disable all else, run and save |
|||
* manually fix formatting errors or incorrect filenames |
|||
{| class="wikitable" |
|||
|- |
|- |
||
! rule number !! find !! replace !! apply no. of times |
|||
|Christmas House Party Pack |
|||
|2011 November |
|||
|2019 December |
|||
|750 KC |
|||
|No |
|||
|- |
|- |
||
| 1 || <code><nowiki>(.+)\.png(?: |)</nowiki></code> || ''leave blank'' || 1 |
|||
|Christmas Party Room Pack |
|||
|2011 November |
|||
|2019 December |
|||
|1,000 KC |
|||
|No |
|||
|- |
|- |
||
| 2 || <code>\n\n</code> || <code>\n</code> || 10 |
|||
|Enchanted Party Room Pack |
|||
|2010 May |
|||
|2020 August |
|||
|1,000 KC |
|||
|No |
|||
|- |
|- |
||
| 3 || <code>(.+)</code> || <code><nowiki>|{{!}}[[File:{{lc:$1}}.png]]<br>$1</nowiki></code> || 1 |
|||
|Garden Party Pack |
|||
|2010 May |
|||
|2020 August |
|||
|750 KC |
|||
|No |
|||
|- |
|- |
||
| 4 || <code><nowiki>File:{{lc:(.+) (.+)}}.png</nowiki></code> || <code><nowiki>File:{{lc:$1$2}}.png</nowiki></code> || 10 |
|||
|Halloween House Party Pack |
|||
|2011 September |
|||
|2019 October |
|||
|750 KC |
|||
|No |
|||
|- |
|- |
||
| 5 || <code><nowiki>File:\{\{lc:(.+)[.'](.+)\}\}.png</nowiki></code> || <code>File:{{lc:$1$2}}.png</code> || 1 |
|||
|Halloween Party Room Pack |
|||
|2011 September |
|||
|2019 October |
|||
|1,000 KC |
|||
|No |
|||
|- |
|- |
||
| 6 || <code><nowiki>\|\{\{\!\}\}\[\[File\:\{\{lc:==(.+)==\}\}.png\]\]<br>(?:.+)</nowiki></code> || <syntaxhighlight lang="python>}} |
|||
|Pizza Party Pack |
|||
==$1== |
|||
|2010 May |
|||
{{WPG</syntaxhighlight> || 1 |
|||
|2020 August |
|||
|} |
|||
|750 KC |
|||
|No |
|||
==task: alphabetize tables and subheadings== |
|||
there's neither a vanilla nor an easy way to cascade alphabetize, but this method makes me want to jump into a volcano the least. page needs to be fully fleshed out and formatted before this works - alphabetization is the last step. requires awb and microsoft excel, autohotkey is optional |
|||
testing on [[user:gifted9/autowikibrowser/alphabetize]] |
|||
examples: [[Vehicles Collection]], [[Border Buildings Collection]], [[Cottages Collection]], [[Wallpaper Collection]] |
|||
* in awb, pull up the page to alphabetize and apply these advanced find & replace rules, regex on |
|||
{| class="wikitable" |
|||
|- |
|- |
||
! find !! replace |
|||
|Space Party Room Pack |
|||
|2010 May |
|||
|2020 August |
|||
|1,000 KC |
|||
|No |
|||
|- |
|- |
||
| <syntaxhighlight lang="python">\|\[\[File:(.+).png\]\]<br>(.+) |
|||
|Spring Celebration Party Room Pack |
|||
\|(.+) |
|||
|2011 March |
|||
\|(Yes|No) |
|||
|2020 August |
|||
\|-</syntaxhighlight> || <syntaxhighlight lang="python">|[[File:$1.png]]<br>$2 ¶|$3 ¶|$4 ¶|-</syntaxhighlight> |
|||
|1,000 KC |
|||
|No |
|||
|- |
|- |
||
|<syntaxhighlight lang="python">\|- |
|||
|Spring Fling House Party Pack |
|||
! |
|||
|2011 March |
|||
! |
|||
|2020 August |
|||
! |
|||
|750 KC |
|||
| |
\|- |
||
\|} |
|||
===(.+)=== |
|||
{\|class="greentable sortable" width="60%" |
|||
\|- align="left" |
|||
!Name |
|||
!Availability |
|||
!Tradeable |
|||
\|-</syntaxhighlight> || <syntaxhighlight lang="python">|- ¶! ¶! ¶! ¶|- ¶|} ¶===$1=== ¶{|class="greentable sortable" width="60%" ¶|- align="left" ¶!Name ¶!Availability ¶!Tradeable ¶|-</syntaxhighlight> |
|||
|} |
|||
* don't save. cut & paste entire plaintext, except for any categories, templates, or headers, at right panel to cell a1 in empty excel spreadsheet |
|||
* highlight the rows of each section that needs to be alphabetized, then alt-h, s, s to alphabetize, shift-alt-right to group, up, ctrl-x, right, ctrl-v to paste header in new column (or use an autohotkey script to do it). repeat until finished. ensure "summary rows below detail" is not selected |
|||
* highlight column b, sort a to z, expand selection |
|||
* cut and paste all excel text back into destination wpg page, and save |
|||
* in awb, pull up the page and apply the following regular find & replace rule, regex on: find <code> ¶</code> replace <code><nowiki> /n</nowiki></code> |
|||
==task: replace all instances of "ganz estore" to "estore"== |
|||
# at the bottom left, make list '''source''': special page > '''make list''' > on the popup, '''source:''' all pages > ok |
|||
# delete all pages except the ones with "ganz estore" in the title |
|||
# on options tab, ensure "apply general fixes" is selected, and on skip tab, ensure none of the checkboxes are selected |
|||
# on |
|||
- move pages to same but minus "ganz," no redirect |
|||
- if no (item guide) or (picture guide) prefix, add {{lowercase}} template |
|||
- sweep all 1300 pages, any instance of "ganz estore" is replaced with "estore" |
|||
- clear cache and manually review cat:pages with broken file links for any missed instances |
|||
==task: convert plaintext table to wpg standard== |
|||
i construct tables by collecting data in all-lowercase in excel and rely on this to bring it up to mainspace standard |
|||
* convert your excel spreadsheet to a wikitable using excel2wiki[https://excel2wiki.toolforge.org/index.php], and paste this onto a new page |
|||
* in awb, '''options''' tab > '''find and replace''' checked > '''advanced settings''' > click '''new rule''' to create the rules per the below table, ensure '''regular expression''' is checked for all of them |
|||
* edit 1: enable both rules, run and save, click '''+''' to reload the same page |
|||
* edit 2: run the find and replace rule in [[user:gifted9/autowikibrowser#task: capitalize every word]] |
|||
* manually fix formatting errors or incorrect filenames |
|||
{| class="wikitable" |
|||
|- |
|- |
||
! rule number !! find !! replace !! apply no. of times |
|||
|Summer Fun House Party Pack |
|||
|2011 June |
|||
|2020 August |
|||
|750 KC |
|||
|No |
|||
|- |
|- |
||
| 1 || <syntaxhighlight lang="python"><nowiki>\|- |
|||
|Tea Party Pack |
|||
\| (.+) \|\|</syntaxhighlight></code> || <syntaxhighlight lang="python"><nowiki>|- |
|||
|2010 May |
|||
| [[File:$1.png]]<br>$1 ||</syntaxhighlight></code> || 1 |
|||
|2020 August |
|||
|750 KC |
|||
|No |
|||
|- |
|- |
||
| 2 || <code>\[\[File:(.+) (.+)\.png\]\]</code> || <code>[[File:$1$2.png]]</code> || 10 |
|||
|Valentine's Day House Party Pack |
|||
|2012 February |
|||
|2020 February |
|||
|750 KC |
|||
|No |
|||
|- |
|- |
||
|} |
|||
|Valentine's Day Party Room Pack |
|||
|2012 February |
|||
==task: capitalize every word== |
|||
|2020 February |
|||
* in awb, '''options''' tab > '''find and replace''' checked > '''advanced settings''' > click '''new rule''', name it "capitalize every word," and leave it blank |
|||
|1,000 KC |
|||
* create 26 subrules under this rule, where subrule 1 has find: " a" and replace: " A", subrule 2 has find: " b" and replace: " B", etc until the entire alphabet is covered. this is the most blunt way to capitalize, and will surely produce false positives and negatives that you will need to manually adjust. ensure the page you need edited has only the parts that require every word capitalized - you can use a talk or user page as a holding pen for this |
|||
|No |
|||
* ensure all subrules are enabled, and the use the "enabled" checkmark on the parent rule as the master control for all of them |
|||
==task: add wallpaper and flooring previews== |
|||
===add to collection page=== |
|||
[[Wallpaper Collection]], [[Flooring Collection]] |
|||
# after the wallpaper and flooring previews are located, [[user:boper911/autohotkey#gimp mass crop to content.ahk|cropped]], and [[user:boper911/autohotkey#variation: wallpaper or flooring|uploaded]], ensure their naming conventions are standardized to fit the master item |
|||
# in awb, pull up the collection page to which previews should be added. note that it must already be sorted and in table format |
|||
# '''options''' tab > '''find and replace''' checked > '''advanced settings''' > click '''new rule''', name it "add wallpaper and flooring previews," and leave it blank |
|||
# create the following subrules. ensure all as well as its parent rule are enabled |
|||
# '''start''' tab > '''start''' > review changes, click '''save''' |
|||
{| class="wikitable" |
|||
|- |
|- |
||
! rule number !! find !! replace !! regular expression checked |
|||
|Winter House Party Pack |
|||
|2011 January |
|||
|2020 August |
|||
|750 KC |
|||
|No |
|||
|- |
|- |
||
| 1 || <syntaxhighlight>!Name |
|||
|Winter Party Room Pack |
|||
!Availability |
|||
|2011 January |
|||
!Tradeable</syntaxhighlight> || <syntaxhighlight>!Name |
|||
|2020 August |
|||
!Availability |
|||
|1,000 KC |
|||
!Tradeable |
|||
|No |
|||
!Small |
|||
!Medium |
|||
!Large</syntaxhighlight> || no |
|||
|- |
|||
| 2 || <syntaxhighlight>\|\[\[File:(.+).png\]\]<br>(.+) |
|||
\|(.+) |
|||
\|(.+) |
|||
\|-</syntaxhighlight> || <syntaxhighlight>|[[File:$1.png]]<br>$2 |
|||
|$3 |
|||
|$4 |
|||
|[[File:$1small.png|150px]] |
|||
|[[File:$1medium.png|200px]] |
|||
|[[File:$1large.png|300px]] |
|||
|-</syntaxhighlight> || yes |
|||
|- |
|- |
||
| 3 || <syntaxhighlight>|}</syntaxhighlight> || <syntaxhighlight>! |
|||
! |
! |
||
! |
! |
||
|}</syntaxhighlight> || no |
|||
! |
|||
! |
|||
! |
|||
|- |
|- |
||
| 4 || <code>width="70%"</code> || <code>width="100%"</code> || no |
|||
|} |
|} |
||
===add to individual flooring and wallpaper file pages=== |
|||
---- |
|||
this requires two edits per page, because page appending happens after find and replace. forked from rotatable |
|||
[[Webkinz Item Guide | >> Click here to return to the Item Guide's main page]] |
|||
process 1 |
|||
# make list of wall & floor file pages, pull up in awb |
|||
# '''more''' tab > append/prepend text '''enabled''' checked, '''prepend''' selected |
|||
# write the following in the textbox <syntaxhighlight lang="python"> |
|||
[[File:%%title%%large.png|800px]] |
|||
[[File:%%title%%medium.png|600px]] |
|||
[[File:%%title%%small.png|400px]] |
|||
</syntaxhighlight> |
|||
process 2 |
|||
# pull up the pages you just edited via user contribs > your username. ensure list > keep alphabetized is not checked, so it sorts chronologically |
|||
# '''options''' tab > '''find and replace''' checked > '''advanced settings''' |
|||
# '''new rule''' > '''regular expression''' checked |
|||
# in '''find''' textbox, write <code><nowiki>File:(.+).png(large|medium|small).png</nowiki></code> |
|||
# in '''replace''' textbox, write<code><nowiki>File:$1$2.png</nowiki></code> |
|||
=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: replace all duplicate single references with a multireference == |
|||
[[User:Gifted9/autowikibrowser/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) |
|||
<nowiki>"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."</nowiki> |
|||
find: <code><nowiki>\<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,}</nowiki></code> |
|||
replace: <code><nowiki><ref name="(.+?)"\/>This item was available on the [[(Picture_Guide)_($1$2$3)_(.+?)]]</ref>{1} |
|||
<ref name="$2"/>{2}</nowiki></code> |
|||
==task: standardize collection page availability for sort optimization== |
|||
find: <code>|$2, $1</code> |
|||
replace: <code>\|(.+^>)(Adventure Park Quest|Winterfest|Berry Fest|Collection |Deluxe (?:Monthly Challenge|Challenge|Day|Clothing)|Challenge[^s]|Exclusive|Growing Garden Seeds|Holiday Gift (?:Bag)|Media Promotion|Wacky Zingoz Celebration|(?:Super )Mystery Bag|Pet Specific Item|PSI|Mystery Stocking|Trading Card(?:s|)|Trophy|WShop|Jumbleberry (?:Fields)|Fall Fest|(?:Ms. Birdy's )Christmas Countdown|Player Appreciation Day|Floaty Event|)</code> |
|||
common errors in reg f&r |
|||
psi / pet specific item |
|||
trading card / trading cards |
|||
mystery bag / super mystery bag |
|||
wshop/estore case |
|||
jumbleberry / jumbleberry fields |
|||
challenges > challenge |
|||
pet of the month / pet of the month exclusive |
|||
growing garden seeds > growing seeds mystery box |
|||
==task: standardize wpg and wig connections== |
|||
'''pic to item''' |
|||
load all articles that have prefix "(Picture Guide)" - will have some false positives b/c archives etc. |
|||
advanced find and replace, regex checked |
|||
find: <code>\[\[\(Item Guide\) (.+)\|(.+)\]\]</code> |
|||
replace: <code>[(Item Guide) $1|>> Click here to see the Item Guide for this section.]]</code> |
|||
'''item to pic''' |
|||
load all articles that have prefix "(Item Guide)" |
|||
advanced find and replace, regex checked |
|||
find: <code>= |
|||
\[\[\(Picture( |_)Guide\)(.+)\|(.+)\]\]</code> |
|||
replace: <code>= |
|||
[[(Picture Guide)$2|>> Click here to see the Picture Guide for this section.]]</code> |
|||
ensure genfixes is not checked or it'll mess up the references |
|||
'''top: item to pic''' |
|||
find: <code>Click here to return to the Item Guide's main page\]\]</code> |
|||
replace<Click here to return to the Item Guide's main page]] |
|||
[[%%title%% |>> Click here to see the Picture Guide for this section.]]</code> |
|||
simultaneously: |
|||
find: <code>Item Guide(.+)Click here to see the Picture Guide for this section</code> |
|||
replace: <code> Picture Guide$1Click here to see the Picture Guide for this section</code> |
|||
very blunt, you need to manually fix false positives |
|||
reload articles, add connective tissue |
|||
[add |
|||
==task: standardize common references== |
|||
This item was available on the [[Wheel of X]] |
|||
This item was available as a [[Community Code]] / [[Host Gift]] |
|||
This item was available from a [[Deluxe Monthly Challenge]] / [[Seasonal Challenge]] / [[Trophy Challenge]] |
|||
This item was available from an [[Arcade Challenge]] |
|||
This item is available from a [[Current Challenge]] / [[Mega Challenge]] |
|||
This item was available from [[Peek-a-Newz]] / [[Balloon Darts]] / [[Token Balloon Darts]] |
|||
This item is craftable as an [[Object Recipe]] This item is available as an [[Object Recipe]] |
|||
=abandoned= |
|||
==task: automatically protect new pages in mainspace== |
|||
[[Special:NewPages]] |
|||
https://www.mediawiki.org/wiki/API:Protect |
|||
https://webkinzguide.com/w/api.php?action=help&modules=protect |
|||
== task: create a picture guide page from its item guide page == |
|||
difference between item and pic: http://webkinzguide.com/w/index.php?title=User%3AGifted9%2Fautowikibrowser_testing&type=revision&diff=57857&oldid=57856 |
|||
[[User:Gifted9/autowikibrowser/item to pic]] |
Latest revision as of 12:32, 3 October 2023
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 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://webkinzguide.com/w/
- file > log in/profiles > log in with your normal credentials
- left side: load the pages you want to change here. paste a specific page or list of pages you want to edit, or special pages > source: all pages to load all mainspace pages for a sweep. ctrl-shift-a to keep the list alphabetized, ctrl-shift-u to remove duplicates
- middle: toggle settings in any of the four tabs, per instructions in the #success subheading
- 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://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Find_and_replace find and replace keywords, including %%title%%
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.
as processes are modular, the settings in this documentation may differ from my real configuration - see here for my live default.xml file
task: beautify external urls
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, prepend 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
File:$1$2.png
task: create collection page from scratch
example: category: Wacky Zingoz & Zangoz, Wacky Zingoz & Zangoz Collection
- process 1: add category to applicable files
- 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 by browsing through picture guide or the visual master list.
- at the bottom left, make list source: special page > make list > on the popup, source: all pages > namespace: file > ok (do not search source: all pages - it only brings up mainspace pages)
- this will only load the alphabetical first 25,000 files, to somewhere in the "surf..." range. to load the remaining files, repeat step 1, but enter "surf" into pages on the popup
- filter > under title, ensure keep titles containing: is checked, then write the keyword in the textbox > apply
- scroll through the file list manually remove any files you can see do not belong to the collection
- in the middle, more tab > categories dropdown: add category: > write the keyword in the textbox
- add any files that visually belong to the category but do not contain the keyword
- start tab > start > click save for each file
- process 2: prepare collection page
- return to wpg and create a new blank page as a destination for the collection page
- return to awb. make list source: category, category: your category > make list
- select one of the list, ctrl-a to highlight all, ctrl-c to copy
- on the collection page in wpg, ctrl-v to paste. save the page
- process 3: fill out table skeleton
- return to awb > options tab > find and replace checked > advanced settings
- new rule > regular expression checked
- in find
File:(.+).png
- in replace textbox, write
|- |[[File:$1.png]] <br>$1 |x |x |-
- more tab > append/prepend text enabled checked, prepend selected
- write the following in the textbox
{| class="greentable" width="70%" |- align="left" !Item !Availability !Tradeable
- start tab > start
- in the bottom right pane, scroll all the way down and copy & paste the following:
|- ! ! ! |} {{Collector Pages}} [[Category:Collector Page]]
- process 4: fill out table muscles and skin
- the names will be in Itemfullname format, you will need to manually correct them to Item Full Name format. unless you have a custom webkinz dictionary to reference, this is not automatable
- you will need to manually correct any formatting errors and fill in availability and tradeability in each of the "x" placeholders. you may be able to automate certain simple substitutions or repeat errors
- once finished, remove the {{under construction}} template at the top of the page
task: create collection page from all in category
a variation of process 3 for the Rotatable Collection
- find
File:(.+).png
- replace textbox, write
|- |[[File:$1.png]] <br>$1 |[[File:$1nw.png]][[File:$1sw.png]][[File:$1se.png]][[File:$1ne.png]]
- more tab > append/prepend text enabled checked, prepend selected
- write the following in the textbox
{{Under Construction}} {| class="greentable" width="70%" |- align="left" !Item !Rotations
- in the bottom right pane, scroll all the way down and copy & paste the following:
|- ! ! |}
task: create an item guide page skeleton from its picture guide page
example: User:Gifted9/autowikibrowser/pic to item, diff
- options tab > find and replace checked > advanced settings
- click new rule to create the rules per the below table
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 |
task: create pet item guide skeleton from its picture guide page
a variation for the (Item Guide) All Pets page, from (Picture Guide) All Pets, requiring a minimum of four edits. tested on user:gifted9/autowikibrowser/(item guide) 2005 pets
- preparation: copy & paste picture guide pages in correct subsection of item guide page
- edit 1: enable rules 1 to 5, disable all else, run and save, click + to reload the same page
- edit 2: enable rules 6 and 7, disable all else, run and save, click + to reload the same page
- edit 3: manually fill in availability and month released
- edit 4: enable rule 8, disable all else, run and save
rule number | find textbox | replace textbox | regular expression checked |
---|---|---|---|
1 | {{WPG4
|
{|class="bluetable sortable" width="100%"
|-align="left"
!Pet Name
!PSI
!PSF
!Pet Type
!Release Date
|
no |
2 | {{Picture Guide}} |
{{Item Guide}} |
no |
3 | [[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 |
4 | \|{{!}}\[\[File:(?:.+)avatar.png\]\]<br>(.+)
\|{{!}}\[\[File:(?:.+)giftbox.png\]\]<br>(?:.+)
\|{{!}}\[\[File:(?:.+).png\]\]<br>(.+)
\|{{!}}\[\[File:(?:.+).png\]\]<br>(.+)
|
\n|-
|$1
|$2
|$3
|x
|y
|
yes |
5 | \n}}\n |
\n|-
!
!
!
!
!
|-
|}
|
yes |
6 | \|(.+), (Lil Kinz|Small Signature|Signature|Endangered|[[Promo Kinz]])
\|(.+)
\|(.+)
\|x
|
|$1
|$3
|$4
|$2
|
yes |
7 | \|-
!
!
!
!
!
\|-
\|}(\n|)
===(.+)===(\n|)
{\|class="bluetable sortable" width="100%"
\|-align="left"
!Pet Name
!PSI
!PSF
!Pet Type
!Release Date
|
leave blank | yes |
task: update collection page format
update the {{wpg-formatted collection pages to the new table format. this requires a minimum of three edits
example: vehicle step 1, vehicle step 2, wallpaper edit 1, wallpaper edit 2, wallpaper edit 3, wallpaper edit 4, Bed Collection, Border Buildings Collection, Cottages Collection, Flooring Collection, Storage Collection
- options tab > find and replace checked > advanced settings > click new rule to create the rules per the below table, ensure regular expression is checked for all
- edit 1: enable rules 1, 2, 3, and 4 disable all else, run and save, click + to reload the same page
- edit 2: manually correct formatting errors and fill in availability in each of the "x" placeholders
- edit 3: enable rule 5, disable all else, run and save
rule number | find textbox | replace textbox |
---|---|---|
1 | {{WPG(?:3|4|6|) |
\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
|
5 | \|-
!
!
!
\|}
==(?:.+)==
{\|class="pinktable sortable" width="60%"
\|- align="left"
!Name
!Availability
!Tradeable
|
leave blank |
pages that still need reformatting:
variation: promo kinz
Promo Kinz - remove psf and psi
task: restore wi page
this process is significantly more modular than the rest, since webkinz insider's filenaming standards were not as stringent and the source code may not be available
examples: Pink Furniture Collection, Purple Furniture Collection, Red Furniture Collection, Plushie KinzStyle Clothing, Jellybean Challenge
this requires a minimum of four edits
- preparation: manually copy & paste wi source code or regular page onto the destination wpg page
- in awb, options tab > find and replace checked > advanced settings > click new rule to create the rules per the below table, ensure regular expression is checked for all of them
- edit 1: enable rules 1 and 2, disable all else, run and save, click + to reload the same page
- edit 2: if images are already uploaded to wpg, enable rule 3, disable all else, run and save, click + to reload the same page. if they are not, you will need to upload them yourself with standard nomenclature - see user:boper911/autohotkey for help
- edit 3: manually add == to the end of any section titles
- edit 4: enable rules 4, 5, and 6, disable all else, run and save
- manually fix formatting errors or incorrect filenames
rule number | find | replace | apply no. of times |
---|---|---|---|
1 | (.+)\.png(?: |) |
leave blank | 1 |
2 | \n\n |
\n |
10 |
3 | (.+) |
|{{!}}[[File:{{lc:$1}}.png]]<br>$1 |
1 |
4 | File:{{lc:(.+) (.+)}}.png |
File:{{lc:$1$2}}.png |
10 |
5 | File:\{\{lc:(.+)[.'](.+)\}\}.png |
File:$1$2.png |
1 |
6 | \|\{\{\!\}\}\[\[File\:\{\{lc:==(.+)==\}\}.png\]\]<br>(?:.+) |
}}
==$1==
{{WPG
|
1 |
task: alphabetize tables and subheadings
there's neither a vanilla nor an easy way to cascade alphabetize, but this method makes me want to jump into a volcano the least. page needs to be fully fleshed out and formatted before this works - alphabetization is the last step. requires awb and microsoft excel, autohotkey is optional
testing on user:gifted9/autowikibrowser/alphabetize
examples: Vehicles Collection, Border Buildings Collection, Cottages Collection, Wallpaper Collection
- in awb, pull up the page to alphabetize and apply these advanced find & replace rules, regex on
find | replace |
---|---|
\|\[\[File:(.+).png\]\]<br>(.+)
\|(.+)
\|(Yes|No)
\|-
|
|[[File:$1.png]]<br>$2 ¶|$3 ¶|$4 ¶|-
|
\|-
!
!
!
\|-
\|}
===(.+)===
{\|class="greentable sortable" width="60%"
\|- align="left"
!Name
!Availability
!Tradeable
\|-
|
|- ¶! ¶! ¶! ¶|- ¶|} ¶===$1=== ¶{|class="greentable sortable" width="60%" ¶|- align="left" ¶!Name ¶!Availability ¶!Tradeable ¶|-
|
- don't save. cut & paste entire plaintext, except for any categories, templates, or headers, at right panel to cell a1 in empty excel spreadsheet
- highlight the rows of each section that needs to be alphabetized, then alt-h, s, s to alphabetize, shift-alt-right to group, up, ctrl-x, right, ctrl-v to paste header in new column (or use an autohotkey script to do it). repeat until finished. ensure "summary rows below detail" is not selected
- highlight column b, sort a to z, expand selection
- cut and paste all excel text back into destination wpg page, and save
- in awb, pull up the page and apply the following regular find & replace rule, regex on: find
¶
replace/n
task: replace all instances of "ganz estore" to "estore"
- at the bottom left, make list source: special page > make list > on the popup, source: all pages > ok
- delete all pages except the ones with "ganz estore" in the title
- on options tab, ensure "apply general fixes" is selected, and on skip tab, ensure none of the checkboxes are selected
- on
- move pages to same but minus "ganz," no redirect - if no (item guide) or (picture guide) prefix, add template - sweep all 1300 pages, any instance of "ganz estore" is replaced with "estore" - clear cache and manually review cat:pages with broken file links for any missed instances
task: convert plaintext table to wpg standard
i construct tables by collecting data in all-lowercase in excel and rely on this to bring it up to mainspace standard
- convert your excel spreadsheet to a wikitable using excel2wiki[1], and paste this onto a new page
- in awb, options tab > find and replace checked > advanced settings > click new rule to create the rules per the below table, ensure regular expression is checked for all of them
- edit 1: enable both rules, run and save, click + to reload the same page
- edit 2: run the find and replace rule in user:gifted9/autowikibrowser#task: capitalize every word
- manually fix formatting errors or incorrect filenames
rule number | find | replace | apply no. of times |
---|---|---|---|
1 | <nowiki>\|-
\| (.+) \|\|
|
<nowiki>|-
| [[File:$1.png]]<br>$1 ||
|
1 |
2 | \[\[File:(.+) (.+)\.png\]\] |
File:$1$2.png |
10 |
task: capitalize every word
- in awb, options tab > find and replace checked > advanced settings > click new rule, name it "capitalize every word," and leave it blank
- create 26 subrules under this rule, where subrule 1 has find: " a" and replace: " A", subrule 2 has find: " b" and replace: " B", etc until the entire alphabet is covered. this is the most blunt way to capitalize, and will surely produce false positives and negatives that you will need to manually adjust. ensure the page you need edited has only the parts that require every word capitalized - you can use a talk or user page as a holding pen for this
- ensure all subrules are enabled, and the use the "enabled" checkmark on the parent rule as the master control for all of them
task: add wallpaper and flooring previews
add to collection page
Wallpaper Collection, Flooring Collection
- after the wallpaper and flooring previews are located, cropped, and uploaded, ensure their naming conventions are standardized to fit the master item
- in awb, pull up the collection page to which previews should be added. note that it must already be sorted and in table format
- options tab > find and replace checked > advanced settings > click new rule, name it "add wallpaper and flooring previews," and leave it blank
- create the following subrules. ensure all as well as its parent rule are enabled
- start tab > start > review changes, click save
rule number | find | replace | regular expression checked |
---|---|---|---|
1 | !Name
!Availability
!Tradeable |
!Name
!Availability
!Tradeable
!Small
!Medium
!Large |
no |
2 | \|\[\[File:(.+).png\]\]<br>(.+)
\|(.+)
\|(.+)
\|- |
|[[File:$1.png]]<br>$2
|$3
|$4
|[[File:$1small.png|150px]]
|[[File:$1medium.png|200px]]
|[[File:$1large.png|300px]]
|- |
yes |
3 | |} |
!
!
!
|} |
no |
4 | width="70%" |
width="100%" |
no |
add to individual flooring and wallpaper file pages
this requires two edits per page, because page appending happens after find and replace. forked from rotatable
process 1
- make list of wall & floor file pages, pull up in awb
- more tab > append/prepend text enabled checked, prepend selected
- write the following in the textbox
[[File:%%title%%large.png|800px]] [[File:%%title%%medium.png|600px]] [[File:%%title%%small.png|400px]]
process 2
- pull up the pages you just edited via user contribs > your username. ensure list > keep alphabetized is not checked, so it sorts chronologically
- options tab > find and replace checked > advanced settings
- new rule > regular expression checked
- in find textbox, write
File:(.+).png(large|medium|small).png
- in replace textbox, write
File:$1$2.png
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: replace all duplicate single references with a multireference
User:Gifted9/autowikibrowser/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: standardize collection page availability for sort optimization
find: |$2, $1
replace: \|(.+^>)(Adventure Park Quest|Winterfest|Berry Fest|Collection |Deluxe (?:Monthly Challenge|Challenge|Day|Clothing)|Challenge[^s]|Exclusive|Growing Garden Seeds|Holiday Gift (?:Bag)|Media Promotion|Wacky Zingoz Celebration|(?:Super )Mystery Bag|Pet Specific Item|PSI|Mystery Stocking|Trading Card(?:s|)|Trophy|WShop|Jumbleberry (?:Fields)|Fall Fest|(?:Ms. Birdy's )Christmas Countdown|Player Appreciation Day|Floaty Event|)
common errors in reg f&r
psi / pet specific item
trading card / trading cards
mystery bag / super mystery bag
wshop/estore case
jumbleberry / jumbleberry fields
challenges > challenge
pet of the month / pet of the month exclusive
growing garden seeds > growing seeds mystery box
task: standardize wpg and wig connections
pic to item
load all articles that have prefix "(Picture Guide)" - will have some false positives b/c archives etc.
advanced find and replace, regex checked
find: \[\[\(Item Guide\) (.+)\|(.+)\]\]
replace: [(Item Guide) $1|>> Click here to see the Item Guide for this section.]]
item to pic
load all articles that have prefix "(Item Guide)"
advanced find and replace, regex checked
find: =
\[\[\(Picture( |_)Guide\)(.+)\|(.+)\]\]
replace: =
>> Click here to see the Picture Guide for this section.
ensure genfixes is not checked or it'll mess up the references
top: item to pic
find: Click here to return to the Item Guide's main page\]\]
replace<Click here to return to the Item Guide's main page]]
>> Click here to see the Picture Guide for this section.
simultaneously:
find: Item Guide(.+)Click here to see the Picture Guide for this section
replace: Picture Guide$1Click here to see the Picture Guide for this section
very blunt, you need to manually fix false positives
reload articles, add connective tissue
[add
task: standardize common references
This item was available on the Wheel of X This item was available as a Community Code / Host Gift This item was available from a Deluxe Monthly Challenge / Seasonal Challenge / Trophy Challenge This item was available from an Arcade Challenge This item is available from a Current Challenge / Mega Challenge This item was available from Peek-a-Newz / Balloon Darts / Token Balloon Darts This item is craftable as an Object Recipe This item is available as an Object Recipe
abandoned
task: automatically protect new pages in mainspace
Special:NewPages https://www.mediawiki.org/wiki/API:Protect https://webkinzguide.com/w/api.php?action=help&modules=protect
task: create a picture guide page from its item guide page
difference between item and pic: http://webkinzguide.com/w/index.php?title=User%3AGifted9%2Fautowikibrowser_testing&type=revision&diff=57857&oldid=57856