Difference between revisions of "Template:Editnotices/Page/Module:Asbox"

From blackwiki
Jump to navigation Jump to search
imported>Codehydro
(done)
imported>Codehydro
(shorten)
 
(12 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|header = Attention
 
|header = Attention
 
|headerstyle = font-size:150%
 
|headerstyle = font-size:150%
|text =  This module behaves differently depending on namespace and whether it is on a subpage. Do not rely on [[Template:Asbox/testcases]] (which is in template space and a subpage) since emulations of template/article space may not fully capture non-template and non-subpage behavior.
+
|text =  Module output depends on namespace and whether it's on a subpage. Do not rely solely on [[Template:Asbox/testcases]] (a subpage in template space) as non-subpage/article space emulations may not capture all area-specific behaviors. Before making your edit live, perform the following test on all pages listed. While tedious, this module affects approximately 2 million pages, so even a tiny oversight may mean massive miscategorization. To test, enter each title in the field under 'Preview page with this module' (below edit summary). Compare preview and live versions. '''Remember to compare category links''' at the bottom of both.
 
+
*[[Template:Asbox/testcases]]
The following is a list of actions to be done before saving an edit that is not a correction of a typo. While tedious, it is essential since the module is live on approximately 2 million pages, so even the smallest oversight may cause massive miscategorization.
+
*[[User:Codehydro/Asbox userspace testcase]]
# Make sure you are previewing in [[Module:Asbox/sandbox]] to avoid accidentally clicking 'save page' instead of 'preview'.
+
*[[Template:Stub]]
# Check if [[Template:Asbox/sandbox]] is invoking [[Module:Asbox/sandbox]]. (Sometimes it is set to the pre-module version of Asbox during tests)
+
*[[Template:Geography-stub]]
# Preview [[Template:Asbox/testcases]] and review each item to ensure inconsistencies, if any, are intentional.
+
*Any article in [[:Category:Geography_stubs]]
# Open in new tab and preview [[User:Codehydro/Asbox userspace testcase]]. Compare preview and live versions of each item.
+
*[[Template:Østfold-geo-stub]]
# Don't forget to check categorization on the bottom of the live and preview versions of page to ensure they match, or that any inconsistencies are expected.
+
*Any article in [[:Category:Østfold geography stubs]].
# Repeat the previous two steps on [[Template:Stub]], which is the root stub template (any errors on this template may cascade to all stubs)
 
# Repeat both steps on at least one (non-testcase) [[Category:Top-level stub categories|top-level]] stub template (e.g. {{t|Geography-stub}})
 
# Repeat the last step on a live page that trancludes that template (e.g. any page in [[Category:Geography_stubs]])
 
# Repeat the repeated steps of the last two steps on at least one subordinate stub template (e.g. {{t|Østfold-geo-stub}})
 
# Considering repeating all of the above steps. This time, try to find a different template for steps 6 and 7
 
# Remember to perform follow-up actions (below) after the edit.
 
 
 
Follow-up actions:
 
# Open a live article that transcludes a top-level stub template and, in another tab, open [[:Category:Stub message templates needing attention]] and check that the article page is not listed.
 
# If listed, fix problem and look for a live article with a top-level {{t|stub}} that is not already in the attention category. Keep both tabs open.
 
# Open a third tab that is a duplicate of the article and perform a [[null edit]] on this tab.  (Purging is not enough; make sure not to refresh the first tab)
 
# Purge the attention category and make sure the article doesn't appear. If it does, fix the problem.
 
# Find a new page near the bottom of [[Special:NewPages]] that is a stub but does not have a stub tag. (Pick one not edited within an hour to avoid edit conflicts)
 
# Add <code><nowiki><!--start test of stub maintenance categories; will fix shortly-->{{#invoke|Asbox|main}}<!--end test--></nowiki></code> to new article.
 
# Check attention category. Page should appear there.<br>{{*}} If it does not appear, perform a [[null edit]] on the article, purge the category, and check again. If it still does not appear, undo the test edit and check module code.<br>{{*}} If it does appear, replace with appropriate subordinate stub tag.
 
# Remember to revisit the attention category over next few days to ensure no correct pages appear there.
 
 
 
Thank you for your contribution!  —[[User:Codehydro|<font color="#aaaaaa" face="Unicode" style="font-size:12pt;">'''Code'''</font>]][[User talk:Codehydro|<font color="#5577aa">'''Hydro'''</font>]] 18:45, 8 February 2015 (UTC)
 
 
}}
 
}}

Latest revision as of 21:55, 9 February 2015