Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template talk:PrefixIndex

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
(Redirected from Template talk:PrefixIndex/testcases)
Latest comment: 11 years ago by Jenks24 in topic Requested move 18 June 2015

Requested move 18 June 2015

[edit]
The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review. No further edits should be made to this section.

The result of the move request was: moved. Jenks24 (talk) 02:52, 6 July 2015 (UTC)Reply



Draft:PrefixIndexListedTemplate:PrefixIndex

Draft:PrefixIndexListed/docTemplate:PrefixIndex/doc
Draft:PrefixIndexListed/sandboxTemplate:PrefixIndex/sandbox
Draft:PrefixIndexListed/testcasesTemplate:PrefixIndex/testcases

– New template with better functionality (explained at WP:VPT#Draft:PrefixIndexListed). 103.6.158.193 (talk) 18:15, 18 June 2015 (UTC)Reply

This is a contested technical request (permalink). EdJohnston (talk) 19:30, 18 June 2015 (UTC)Reply
Thanks for creating the documentation. I was not aware that the |columns= param could be used within {{Special:PrefixIndex}}. (How did you known that?) Since we don't have any help page for PrefixIndex, most users aren't aware of that either which makes it worth having this as a template. Templates can have documentation pages whereas the original markup doesn't have any. (If you have time, consider starting the page Help:PrefixIndex.) 103.6.158.193 (talk) 07:51, 19 June 2015 (UTC)Reply
Good points here. I see that <ul class="listify"> is the magic that adds the bullets. The idea of transcluding something in "special" namespace, like {{Special:PrefixIndex}} is brilliant. I hadn't thought of that. Seems that the WMF "documents" this at Wikipedia talk:Special:PrefixIndex: {{Special:Diff/578487437}} Special:Diff/578487437 – Hey, why isn't that transcluding? Is there a list anywhere of specials that transclude? Wbm1058 (talk) 13:11, 19 June 2015 (UTC)Reply
A number of special pages can be transcluded whereas a number of them can't be. A few in the former category include Special:AllPages, Special:WhatLinksHere, Special:RecentChanges, Special:NewPages and even Special:Contributions (wow, that can be used for very real stalking on others!). It is through the transclusions of PrefixIndex that backlog pages such as WP:Requested moves/Old AFC submissions and WP:Requested moves/Misplaced XfDs are built. On the other hand, Special:History, Special:Diff and others can't be transcluded. They just show up as links if you try to transclude them. But actually, I think it is inappropriate to call these "transclusions" at all, since these "transclusions" can't be expanded through Special:ExpandTemplates. 103.6.158.193 (talk) 15:06, 19 June 2015 (UTC)Reply
Thanks. I see information also at Wikipedia:Transclusion § Special pages. Wbm1058 (talk) 20:06, 20 June 2015 (UTC)Reply
OK, Special:PrefixIndex has a columns parameter, but per the {{div col}} documentation, defining a specific number of columns is deprecated. Wrapping in {{div col}} lets us specify the column width, which produces a variable number of columns depending on the reader's screen size. Wbm1058 (talk) 13:43, 19 June 2015 (UTC)Reply
Just noticed another difference. {{div col}} sorts vertically down column 1, then column 2, etc. The special sorts horizontally. Wbm1058 (talk) 13:57, 19 June 2015 (UTC)Reply

The above discussion is preserved as an archive of a requested move. Please do not modify it. Subsequent comments should be made in a new section on this talk page or in a move review. No further edits should be made to this section.