Jump to content

Bharatpedia:Subpage: Difference between revisions

399 bytes removed ,  20 April 2021
no edit summary
(trim)
No edit summary
Line 1: Line 1:
{{Guideline list}}
Except in the main [[Wikipedia:Namespace|namespace]] ([[Wikipedia:Main namespace|article namespace]]), '''subpages''' are pages separated with a "/" (a [[slash (punctuation)|slash]]) from their 'parent' page.  
Except in the main [[Wikipedia:Namespace|namespace]] ([[Wikipedia:Main namespace|article namespace]]), '''subpages''' are pages separated with a "/" (a [[slash (punctuation)|slash]]) from their 'parent' page.  


Line 9: Line 8:
* Or navigate to {{space}} <kbd>Special:PrefixIndex/''[[wp:pgn|fullpagename]]''/</kbd> {{space}} by way of the search box.  For example, {{space}} <kbd>[[Special:PrefixIndex/wp:&nbsp;manual&nbsp;of&nbsp;style/]]</kbd> {{space}} or {{space}} <kbd>[[Special:PrefixIndex/wp:&nbsp;Manual&nbsp;of&nbsp;Style/]]</kbd>.
* Or navigate to {{space}} <kbd>Special:PrefixIndex/''[[wp:pgn|fullpagename]]''/</kbd> {{space}} by way of the search box.  For example, {{space}} <kbd>[[Special:PrefixIndex/wp:&nbsp;manual&nbsp;of&nbsp;style/]]</kbd> {{space}} or {{space}} <kbd>[[Special:PrefixIndex/wp:&nbsp;Manual&nbsp;of&nbsp;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.<ref>
* Or to save a click you can add a {{code|Subpages}} link to your version of Tools.
To add a Subpages link to your Tools in the sidebar,
add this line:
<syntaxhighlight lang="javascript">
mw.util.addPortletLink ('p-tb', wgServer+wgArticlePath.replace("$1", "Special:PrefixIndex/"+mw.config.values.wgPageName+"/"), 'Subpages');
</syntaxhighlight>
to [[Special:MyPage/common.js|your Common.js page]] and purge per the instructions at the top of the page.</ref>


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.