User:Gifted9/autowikibrowser: Difference between revisions

no edit summary
No edit summary
 
(114 intermediate revisions by 3 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'''
Line 78:
: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)
: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 searching in browser
# 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'''
# 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)
# scroll through the file list manually remove any files you can see do not belong to the collection
# this will only load the alphabetical first 25,000 files, to somewhere in the "surfi*" range. to load the majority of the remaining files, select user contribs and write the usernames of major file uploaders (see [[#appendix a edits in file namespace per user]])
# filterin >the subject:middle, '''more''' filetab > under'''categories''' title, keepdropdown: titles'''add containingcategory: enabled''' > write the keyword in the textbox > apply
# manually removeadd any files youthat canvisually seebelong to the category but do not belong tocontain the collectionkeyword
# '''start''' tab > '''start''' > click '''save''' for each file
# more tab > categories dropdown: add category > write the keyword in the textbox
# run the program and save
# if you are either thorough or masochistic, you can manually comb through [[special:allpages]] in the file namespace and use your browser's search function for missed files, and add the category manually. if you are neither of those things, skip this step
 
:'''process 2: prepare collection page'''
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===
a variation of process 3 for the [[Rotatable Collection]]
# '''find''' <code>File:(.+).png</code>
# '''new rule''' > '''regular expression''' checked
# '''replace''' textbox, write <syntaxhighlight lang="python">
# in '''find''' <code>File:(.+).png</code>
# in '''replace''' textbox, write <syntaxhighlight lang="python">
|-
|[[File:$1.png]]
Line 213 ⟶ 144:
!Rotations
</syntaxhighlight>
# '''start''' tab > '''start'''
# in the '''bottom right pane''', scroll all the way down and copy & paste the following: <syntaxhighlight lang="python">
|-
Line 222 ⟶ 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'''
# click '''new rule''' six times to create sixthe rules, then enterper the following information into eachbelow ruletable
 
{| class="wikitable" width=60%
Line 264 ⟶ 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/(item guide) 2005 pets]]
 
this requires a minimum of four edits
 
* 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 runsave, click '''+''' to reload the same page
* edit 2: enable rules 6 and 7, disable all else, run and runsave, 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 runsave
 
example: [[user:gifted9/autowikibrowser/pet to item]]
 
# '''options''' tab > '''find and replace''' checked > '''advanced settings'''
# click '''new rule''' seven times to create seven rules, then enter the following information into each rule
 
{| class="wikitable" width=60%
Line 313 ⟶ 232:
|$3
|x
|%%subpagename%%y </syntaxhighlight>
|| yes
|-
Line 337 ⟶ 256:
|| yes
|-
| 7 || <syntaxhighlight lang="python">\|-
| 7 || <code><nowiki>\(item guide\) (20[0-9][0-9]) pets</nowiki></code>
|| <code><nowiki>$1</nowiki></code> || yes
|-
| 8 || <syntaxhighlight lang="python">\|-
!
!
Line 360 ⟶ 276:
 
==task: update collection page format==
this is a two-step process to update the picguide<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=prev60264&oldid=6026460263| wallpaper stepedit 1], [http://webkinzpictureguidewebkinzguide.shoutwikicom/w/index.php?title=Wallpaper_Collection&diff=60267&oldid=60266| wallpaper edit 2], [http://webkinzguide.com/w/index.php?title=Wallpaper_Collection&diff=prev60332&oldid=60267| wallpaper stepedit 23], [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
# click '''new rule''' five times to create five rules. ensure '''regular expression''' is checked for all of them, then enter the following information into each rule
* 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%
Line 371 ⟶ 289:
! 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"
!Name
!Availability
!Tradeable
|-
</syntaxhighlight>
|-
| 2 || <code><nowiki>\|{{!}}\[\[File:(.+).png\]\]<br>(?:''')(.+)(?:''')<br>(.+)</nowiki></code> || <syntaxhighlight lang="python">
|-
|[[File:$1.png]]
<br>$2
|$3
|x</syntaxhighlight>
|-
Line 395 ⟶ 312:
|-
|4 || <code><nowiki>\|{{!}}\[\[File:(.+).png\]\]<br>(?:'''|)(.+)(?:'''|)</nowiki></code> || <syntaxhighlight lang="python">
|-
|[[File:$1.png]]
Line 407 ⟶ 325:
!
\|}
==(?:.+)==
 
{\|class="pinktable sortable" width="60%"
==(.+)==
(.+|)
 
{|class="pinktable sortable" width="60%"
\|- align="left"
!Name
Line 418 ⟶ 333:
</syntaxhighlight> || ''leave blank''
|}
 
# ensure '''enabled''' is selected for rules 1 to 3 and deselected for rules 4 and 5, then exit from the popup, '''start''' tab > '''start''', have the program run, then '''save'''
# on the bottom left panel, click '''+''' to reload the same page
# in '''find and replace''' > '''advanced settings''', ensure '''enabled''' is deselected for rules 1, 2, 3, and 5 and selected for rule 4, then exit from the popup, '''start''' tab > '''start''', have the program run, then '''save'''
# you will need to manually correct formatting errors and fill in availability in each of the "x" placeholders
# return to awb. in '''find and replace''' > '''advanced settings''', ensure '''enabled''' is deselected for rules 1 to 4 and selected for rule 5, then exit from the popup, '''start''' tab > '''start''', have the program run, then '''save'''
 
pages that still need reformatting:
 
[[CottagesLamp Collection]]
 
[[FlooringWindows Collection]]
 
[[Webkinz Birthstone Pets]]
[[Food Collection]]
 
[[LampNext CollectionPets]]
 
[[PlantsRockerz CollectionPets]]
 
[[StorageSignature CollectionPets]]
 
[[WindowsWebkinz CollectionZodiac Pets]]
 
[[Shoes Collection]]
 
[[Hat Collection]]
 
===variation: promo kinz===
 
[[Promo Kinz]] - remove psf and psi
 
==task: scavengerestore 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
copy & paste wi page onto destination wpg page
* preparation: manually copy & paste wi source code or regular page onto the destination wpg page
<nowiki>
* 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
find: <code>(.+)\.png(?: |)</code> replace: nothing
* 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"
find: <code>\n\n</code> replace: <code>\n</code> apply no of times: 10 or so?
|-
! rule number !! find !! replace !! apply no. of times
|-
| 1 || <code><nowiki>(.+)\.png(?: |)</nowiki></code> || ''leave blank'' || 1
|-
| 2 || <code>\n\n</code> || <code>\n</code> || 10
|-
| 3 || <code>(.+)</code> || <code><nowiki>|{{!}}[[File:{{lc:$1}}.png]]<br>$1</nowiki></code> || 1
|-
| 4 || <code><nowiki>File:{{lc:(.+) (.+)}}.png</nowiki></code> || <code><nowiki>File:{{lc:$1$2}}.png</nowiki></code> || 10
|-
| 5 || <code><nowiki>File:\{\{lc:(.+)[.'](.+)\}\}.png</nowiki></code> || <code>File:{{lc:$1$2}}.png</code> || 1
|-
| 6 || <code><nowiki>\|\{\{\!\}\}\[\[File\:\{\{lc:==(.+)==\}\}.png\]\]<br>(?:.+)</nowiki></code> || <syntaxhighlight lang="python>}}
==$1==
{{WPG</syntaxhighlight> || 1
|}
 
==task: alphabetize tables and subheadings==
find: <code>(.+)</code> replace: <code>|{{!}}[[File:{{lc:$1}}.png]]<br>$1</code>
 
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
find: <code>File:{{lc:(.+) (.+)}}.png</code> replace: <code>File:{{lc:$1$2}}.png</code> apply no of times: 10 or so?
 
testing on [[user:gifted9/autowikibrowser/alphabetize]]
find: <code>File:\{\{lc:(.+)[.'](.+)\}\}.png</code> replace: <code>File:{{lc:$1$2}}.png</code>
 
examples: [[Vehicles Collection]], [[Border Buildings Collection]], [[Cottages Collection]], [[Wallpaper Collection]]
add == to end of section titles
 
* in awb, pull up the page to alphabetize and apply these advanced find & replace rules, regex on
find: <code>(.+)==</code> replace: <code>}}
{| class="wikitable"
==$1==
|-
{{WPG</code>
! find !! replace
|-
| <syntaxhighlight lang="python">\|\[\[File:(.+).png\]\]<br>(.+)
\|(.+)
\|(Yes|No)
\|-</syntaxhighlight> || <syntaxhighlight lang="python">|[[File:$1.png]]<br>$2 ¶|$3 ¶|$4 ¶|-</syntaxhighlight>
|-
|<syntaxhighlight lang="python">\|-
!
!
!
\|-
\|}
===(.+)===
{\|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"==
</nowiki>
# 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==
=pending=
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
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
* 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"
== task: create a picture guide page from its item guide page ==
|-
! rule number !! find !! replace !! apply no. of times
|-
| 1 || <syntaxhighlight lang="python"><nowiki>\|-
\| (.+) \|\|</syntaxhighlight></code> || <syntaxhighlight lang="python"><nowiki>|-
| [[File:$1.png]]<br>$1 ||</syntaxhighlight></code> || 1
|-
| 2 || <code>\[\[File:(.+) (.+)\.png\]\]</code> || <code>[[File:$1$2.png]]</code> || 10
|-
|}
 
==task: capitalize every word==
difference between item and pic: http://webkinzpictureguide.shoutwiki.com/w/index.php?title=User%3AGifted9%2Fautowikibrowser_testing&type=revision&diff=57857&oldid=57856
* 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==
[[User:Gifted9/autowikibrowser testing/item to pic]]
===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
|-
| 1 || <syntaxhighlight>!Name
!Availability
!Tradeable</syntaxhighlight> || <syntaxhighlight>!Name
!Availability
!Tradeable
!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
 
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 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 489 ⟶ 546:
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: 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: standardize collection page availability for sort optimization==
Line 518 ⟶ 570:
growing garden seeds > growing seeds mystery box
 
==task: standardize wpg and wig connections==
=new requests=
'''pic to item'''
<sup>i am ready to receive The Inquiries</sup>
 
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]]