User:Gifted9/autowikibrowser: Difference between revisions

no edit summary
No edit summary
 
(26 intermediate revisions by 2 users not shown)
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 picture guide.
 
if you have requests, drop them below, in the [[#new requests]] section
 
=toot oriole=
[[File:Musicnotewallcharm.png]] [[File:LilkinzorioleavatarOrioleavatar.png]]
 
# download the program per their instructions: https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser#(2)_Download
# '''options''' > '''preferences''' > '''site''' > <nowiki>set project as custom and website page as http://webkinzpictureguide.shoutwikiwebkinzguide.com/w/ </nowiki>
# '''file''' > '''log in/profiles''' > log in with your normal credentials
# left side: load the pages you want to change here. ipaste typicallya usespecific mypage '''watchlist'''or list of pages you want to edit, or '''wikisearchspecial (text)pages''' for> specific edits, orsource: '''specialall pages''' to seeload theall variousmainspace pages infor [[special:specialpages]]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'''
Line 25 ⟶ 23:
=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://webkinzpictureguide.shoutwikiwebkinzguide.com/w/index.php?title=(Item_Guide)_Wheels_%26_Games&curid=31338&diff=58161&oldid=58160
 
# '''options''' tab > '''find and replace''' checked > '''advanced settings'''
Line 36:
 
=== task: remove reftags from numbered external links ===
example: http://webkinzpictureguide.shoutwikiwebkinzguide.com/w/index.php?title=(Item_Guide)_Wheels_%26_Games&curid=31338&diff=58169&oldid=58161
 
# '''options''' tab > '''find and replace''' checked > '''advanced settings'''
Line 44:
 
=== task: remove #comment from wkn external links ===
example: http://webkinzpictureguide.shoutwikiwebkinzguide.com/w/index.php?title=(Item_Guide)_Webkinz_Newz&curid=29752&diff=58181&oldid=58157
 
# '''options''' tab > '''find and replace''' checked > '''advanced settings'''
Line 72:
 
==task: create collection page from scratch==
example: [[:category: Wacky Zingoz & Zangoz]], [[Wacky Zingoz & Zangoz Collection]] & [[:Category: Bunk Bed]], [[Bunk Bed 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.
 
:alternatively, see these two pages that each contain half of the visual master list as plaintext transclusions: [[user:gifted9/autowikibrowser/all items]] & [[user:gifted9/autowikibrowser/all items2]]. it's useless to autowikibrowser, but may be useful for regular searching & replacing
 
# 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)
Line 128 ⟶ 126:
# 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 <nowiki>{{under construction}}</nowiki> template at the top of the page
 
=== appendix a: edits in file namespace per user ===
{{NUMBEROFFILES}} total files. it should add up to more than 100% as it's any edit to a file namespace page, not just uploads. data taken 2021-11-05
 
{|class="purpletable sortable" width="60%"
|- align="left"
!contribs in file namespace
!username
!notes
|-
|557
|gifted9
|mostly adding categories or rotations
|-
|5135
|choircutie
|x
|-
|2168
|boper911
|x
|-
|11231
|loopy
|x
|-
|7405
|DisneyPrincess
|x
|-
|914
|Rose Quartz
|x
|-
|940
|littleleaf32
|x
|-
|1573
|bepsy
|x
|-
|73
|migrubbs
|mostly pets and theme previews
|-
|86
|tulaash
|mostly mp3s
|-
|27
|imthinking101
|mostly characters
|-
|307
|mcorrcow1160
|mostly icons, stationery, quizzy's archives
|-
|33
|draven
|x
|-
!
!
!
|}
 
===task: create collection page from all in category===
Line 220 ⟶ 152:
== task: create an item guide page skeleton from its picture guide page ==
 
example: [[User:Gifted9/autowikibrowser testing/pic to item]], [http://webkinzpictureguide.shoutwikiwebkinzguide.com/w/index.php?title=User:Gifted9/autowikibrowser/pic_to_item&diff=60325&oldid=60245| diff]
 
# '''options''' tab > '''find and replace''' checked > '''advanced settings'''
Line 262 ⟶ 194:
|| <code><nowiki>[[(Picture Guide) $1 | >> Click here to view pictures of these items]]\n</nowiki></code> || yes
|}
 
pages that need a skeleton:
 
[[(Item Guide) Ganz eStore Promo Gift With Purchase]]
 
===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/pet(item toguide) item2005 pets]]
 
* preparation: copy & paste picture guide pages in correct subsection of item guide page
Line 350 ⟶ 278:
update the <nowiki>{{wpg</nowiki>-formatted collection pages to the new table format. this requires a minimum of three edits
 
example: [http://webkinzpictureguide.shoutwikiwebkinzguide.com/w/index.php?title=Vehicles_Collection&diff=60236&oldid=59518| vehicle step 1], [http://webkinzpictureguide.shoutwikiwebkinzguide.com/w/index.php?title=Vehicles_Collection&diff=60237&oldid=60236| vehicle step 2], [http://webkinzpictureguide.shoutwikiwebkinzguide.com/w/index.php?title=Wallpaper_Collection&diff=60264&oldid=60263| wallpaper edit 1], [http://webkinzpictureguide.shoutwikiwebkinzguide.com/w/index.php?title=Wallpaper_Collection&diff=60267&oldid=60266| wallpaper edit 2], [http://webkinzpictureguide.shoutwikiwebkinzguide.com/w/index.php?title=Wallpaper_Collection&diff=60332&oldid=60267| wallpaper edit 3], [http://webkinzpictureguide.shoutwikiwebkinzguide.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
Line 408 ⟶ 335:
 
pages that still need reformatting:
 
[[Food Collection]]
 
[[Lamp Collection]]
 
[[Plants Collection]]
 
[[Windows Collection]]
 
[[Black Clothing Collection]]
 
[[Red Clothing Collection]]
 
[[Gray Clothing Collection]]
 
[[Gold Clothing Collection]]
 
[[Brown Clothing Collection]]
 
[[Blue Clothing Collection]]
 
[[Rainbow Clothing Collection]]
 
[[Purple Clothing Collection]]
 
[[Pink Clothing Collection]]
 
[[Orange Clothing Collection]]
 
[[Green Clothing Collection]]
 
[[Webkinz Birthstone Pets]]
Line 452 ⟶ 353:
 
[[Hat Collection]]
 
[[Yellow Clothing Collection]]
 
[[White Clothing Collection]]
 
[[Silver Clothing Collection]]
 
===variation: promo kinz===
Line 571 ⟶ 466:
 
==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"
|-
Line 607 ⟶ 506:
| 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
 
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=
Line 614 ⟶ 535:
== 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)
Line 651 ⟶ 572:
==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.
 
Line 660 ⟶ 582:
 
'''item to pic'''
 
load all articles that have prefix "(Item Guide)"
 
advanced find and replace, regex checked
 
find: <code>=
find: <code>\[\[\(Picture Guide\) (.+)\|\>\>(.+)pic(.+)\]\]</code>
\[\[\(Picture( |_)Guide\)(.+)\|(.+)\]\]</code>
 
replace: <code>=
replace: <code>[(Picture Guide) $1|>> Click here to see the Picture Guide for this section.]]</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=
Line 674 ⟶ 629:
[[Special:NewPages]]
https://www.mediawiki.org/wiki/API:Protect
https://webkinzpictureguide.shoutwikiwebkinzguide.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://webkinzpictureguide.shoutwikiwebkinzguide.com/w/index.php?title=User%3AGifted9%2Fautowikibrowser_testing&type=revision&diff=57857&oldid=57856
 
[[User:Gifted9/autowikibrowser testing/item to pic]]
 
 
[[User:Gifted9/autowikibrowser/item to pic]]
=new requests=
<sup>i am ready to receive The Inquiries</sup>