Bharatpedia:Subpage: Difference between revisions
WikiDwarfBOT (talk | contribs) m (→top: clean up, replaced: Wikipedia: → Bharatpedia: (2)) |
WikiDwarfBOT (talk | contribs) m (robot:, replaced: wp: → BP: (9)) |
||
Line 6: | Line 6: | ||
The "'''All pages with prefix'''" report from [[Special:PrefixIndex]] shows subpages. | The "'''All pages with prefix'''" report from [[Special:PrefixIndex]] shows subpages. | ||
* Select "Page information" from Tools (in the sidebar). Then select the link about "subpages". | * Select "Page information" from Tools (in the sidebar). Then select the link about "subpages". | ||
* Or navigate to {{space}} <kbd>Special:PrefixIndex/''[[ | * Or navigate to {{space}} <kbd>Special:PrefixIndex/''[[BP:pgn|fullpagename]]''/</kbd> {{space}} by way of the search box. For example, {{space}} <kbd>[[Special:PrefixIndex/BP: manual of style/]]</kbd> {{space}} or {{space}} <kbd>[[Special:PrefixIndex/BP: Manual of Style/]]</kbd>. | ||
* Or visit the Special:PrefixIndex page, and run the report from there. One way to get there is through [[Special:SpecialPages]] in Tools (in the sidebar). | * Or visit the Special:PrefixIndex page, and run the report from there. One way to get there is through [[Special:SpecialPages]] in Tools (in the sidebar). | ||
* Or to save a click you can add a {{code|Subpages}} link to your version of Tools. | * Or to save a click you can add a {{code|Subpages}} link to your version of Tools. | ||
The "'''Search'''" report from [[Special:Search]] similarly uses a ''[[H:S#Parameters|prefix]]'' search parameter to show subpages. | The "'''Search'''" report from [[Special:Search]] similarly uses a ''[[H:S#Parameters|prefix]]'' search parameter to show subpages. | ||
For example: {{space}} <kbd>{{nowrap|{{sl|prefix: | For example: {{space}} <kbd>{{nowrap|{{sl|prefix:BP: manual of style}}}}</kbd>. {{space}} | ||
Comparing the two: | Comparing the two: | ||
* Both reports can run with any number of initial characters as the "prefix" of the [[ | * Both reports can run with any number of initial characters as the "prefix" of the [[BP:pgn|pagename]], so excluding the final slash / character only adds the one pagename. | ||
* Only the "All pages with prefix" report shows subpages that are redirects. (The prefix search parameter does not find redirects.) | * Only the "All pages with prefix" report shows subpages that are redirects. (The prefix search parameter does not find redirects.) | ||
* Only the "Search" report is ''not'' case sensitive. (''Prefix'' is not case sensitive, ''PrefixIndex'' is.) | * Only the "Search" report is ''not'' case sensitive. (''Prefix'' is not case sensitive, ''PrefixIndex'' is.) | ||
* Both reports accept [[ | * Both reports accept [[BP:ns#Aliases|namespace alias]]es in the fullpagename. | ||
* From a ''content'' point of view, rather than from a page name point of view, both reports require separate runs for each redirect. | * From a ''content'' point of view, rather than from a page name point of view, both reports require separate runs for each redirect. | ||
Line 39: | Line 39: | ||
|style=vertical-align:top | | |style=vertical-align:top | | ||
* Other | * Other | ||
** {{sl| | ** {{sl|BP: intitle:infoboxes|infoboxes}} | ||
** {{sl|talk: intitle:archive|archive}} | ** {{sl|talk: intitle:archive|archive}} | ||
** {{sl|category: intitle:subpage intitle:redirects|related categories}} | ** {{sl|category: intitle:subpage intitle:redirects|related categories}} | ||
Line 46: | Line 46: | ||
=== Slashes in article titles === | === Slashes in article titles === | ||
{{shortcut| | {{shortcut|BP:TITLESLASH}} | ||
Some topics have a slash in the name, and should be named accordingly—''e.g.'' [[OS/2]] or [[Providence/Stoughton Line]]. Care should be taken with the corresponding [[ | Some topics have a slash in the name, and should be named accordingly—''e.g.'' [[OS/2]] or [[Providence/Stoughton Line]]. Care should be taken with the corresponding [[BP:Talk page|talk pages]], though, as subpages ''are'' enabled in talk space—for example, [[Talk:OS/2]] is treated by the software as a subpage of [[Talk:OS]]. |
Revision as of 15:03, 28 February 2022
Except in the main namespace (article namespace), subpages are pages separated with a "/" (a slash) from their 'parent' page.
Making a new [[link]] that begins with a / (slash) is the common way to start a subpage. The page to which this link points is considered "subordinate" to its host page, and is titled and linked as [[Parentpage/Subpage]]. It is possible to create a subpage of a subpage (or a sub-subpage). At the top of each subpage or sub-subpage, you can find a backlink (a.k.a. breadcrumb) to the higher levels of the page.
Finding subpages
The "All pages with prefix" report from Special:PrefixIndex shows subpages.
- Select "Page information" from Tools (in the sidebar). Then select the link about "subpages".
- Or navigate to Special:PrefixIndex/fullpagename/ by way of the search box. For example, Special:PrefixIndex/BP: manual of style/ or Special:PrefixIndex/BP: Manual of Style/.
- Or visit the Special:PrefixIndex page, and run the report from there. One way to get there is through Special:SpecialPages in Tools (in the sidebar).
- Or to save a click you can add a
Subpages
link to your version of Tools.
The "Search" report from Special:Search similarly uses a prefix search parameter to show subpages. For example: prefix:BP: manual of style.
Comparing the two:
- Both reports can run with any number of initial characters as the "prefix" of the pagename, so excluding the final slash / character only adds the one pagename.
- Only the "All pages with prefix" report shows subpages that are redirects. (The prefix search parameter does not find redirects.)
- Only the "Search" report is not case sensitive. (Prefix is not case sensitive, PrefixIndex is.)
- Both reports accept namespace aliases in the fullpagename.
- From a content point of view, rather than from a page name point of view, both reports require separate runs for each redirect.
To keep an active display of subpages, see {{list subpages}}. To keep a link to an "All pages..." report, use {{subpages}} or [[Special:PrefixIndex]]. To keep a link to a "Search" report, use a {{search link}}.
Outside of a single page name, there is no direct method for finding subpages. Standard subpagenames are searchable using the intitle parameter.
There are a few categories that track some types of subpages.
Slashes in article titles
Some topics have a slash in the name, and should be named accordingly—e.g. OS/2 or Providence/Stoughton Line. Care should be taken with the corresponding talk pages, though, as subpages are enabled in talk space—for example, Talk:OS/2 is treated by the software as a subpage of Talk:OS.