Javasatu:Subpages: Perbedaan antara revisi

Dari Wiki Javasatu
Loncat ke navigasi Loncat ke pencarian
(Created page with "{{Pp|small=yes}} {{Pp-move-indef}} {{redirect|WP:SP}} {{redirect|WP:SUB|template substitution|Wikipedia:Substitution}} {{for|sections of long articles spun off into their own articles leaving summaries in their place|Wikipedia:Summary style}} {{subcat guideline|editing guideline|Subpages|WP:SP|WP:SUB}} {{Guideline list}} Except in the main namespace (article namespace), where the subpage feature ha...")
 
Tidak ada ringkasan suntingan
 
Baris 2: Baris 2:
{{Pp-move-indef}}
{{Pp-move-indef}}
{{redirect|WP:SP}}
{{redirect|WP:SP}}
{{redirect|WP:SUB|template substitution|Wikipedia:Substitution}}
{{redirect|WP:SUB|template substitution|Wiki Javasatu:Substitution}}
{{for|sections of long articles spun off into their own articles leaving summaries in their place|Wikipedia:Summary style}}
{{for|sections of long articles spun off into their own articles leaving summaries in their place|Wikipedia:Summary style}}
{{subcat guideline|editing guideline|Subpages|WP:SP|WP:SUB}}
{{subcat guideline|editing guideline|Subpages|WP:SP|WP:SUB}}
{{Guideline list}}
{{Guideline list}}
Except in the main [[Wikipedia:Namespace|namespace]] ([[Wikipedia:Main namespace|article namespace]]), where the [[mw:Help:Subpages|subpage feature]] has been disabled in the English Wikipedia, '''subpages''' are pages separated with a "/" (a [[slash (punctuation)|slash]]) from their 'parent' page.  
Except in the main [[Wiki Javasatu:Namespace|namespace]] ([[Wiki Javasatu:Main namespace|article namespace]]), where the [[mw:Help:Subpages|subpage feature]] has been disabled in the English Wikipedia, '''subpages''' are pages separated with a "/" (a [[slash (punctuation)|slash]]) from their 'parent' page.  


Making a new ''<nowiki>[[link]]</nowiki>'' 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 ''<nowiki>[[Parentpage/Subpage]]</nowiki>''.  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 navigation|breadcrumb]]) to the higher levels of the page.
Making a new ''<nowiki>[[link]]</nowiki>'' 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 ''<nowiki>[[Parentpage/Subpage]]</nowiki>''.  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 navigation|breadcrumb]]) to the higher levels of the page.
Baris 13: Baris 13:
# Test pages, following the rules of the sandbox.
# Test pages, following the rules of the sandbox.
# User subpages—making extra pages within your own user namespace, e.g. ''<nowiki>[[User:Example/Draft of article]]</nowiki>'' or ''<nowiki>[[User:Example/About me]]</nowiki>''.
# User subpages—making extra pages within your own user namespace, e.g. ''<nowiki>[[User:Example/Draft of article]]</nowiki>'' or ''<nowiki>[[User:Example/About me]]</nowiki>''.
# [[Wikipedia:WikiProject|WikiProject]] subpages—for project-specific [[Wikipedia:Templates|templates]], discussion, or guidelines pages.
# [[Wiki Javasatu:WikiProject|WikiProject]] subpages—for project-specific [[Wiki Javasatu:Templates|templates]], discussion, or guidelines pages.
# [[Wikipedia:Portal|Portal]] subpages—for Portal-specific templates and content.
# [[Wiki Javasatu:Portal|Portal]] subpages—for Portal-specific templates and content.
# Dividing up Wikipedia process pages (e.g., [[Wikipedia:Articles for deletion]]) which would otherwise get too big to be easily used.
# Dividing up Wikipedia process pages (e.g., [[Wiki Javasatu:Articles for deletion]]) which would otherwise get too big to be easily used.
# [[Wikipedia:Template documentation|Documentation subpages for templates]].
# [[Wiki Javasatu:Template documentation|Documentation subpages for templates]].
# Talk page archiving—both article Talk and User_talk pages are typically archived by moving discussion to numbered subpages.  This allows the discussion to still be searchable, rather than requiring a hunt through the [[Wikipedia:Page history|page history]].
# Talk page archiving—both article Talk and User_talk pages are typically archived by moving discussion to numbered subpages.  This allows the discussion to still be searchable, rather than requiring a hunt through the [[Wiki Javasatu:Page history|page history]].
# Talk page adjuncts, such as an article's [[Template:Todo|''/to do'' list]] or the ''/Comments'' pages used for [[WP:GAR|Good Article review]]. A particularly long and complicated ''{{tl|ArticleHistory}}'' may also be put on an ''/ArticleHistory'' transclude page.
# Talk page adjuncts, such as an article's [[Template:Todo|''/to do'' list]] or the ''/Comments'' pages used for [[WP:GAR|Good Article review]]. A particularly long and complicated ''{{tl|ArticleHistory}}'' may also be put on an ''/ArticleHistory'' transclude page.
# Temporary subpages in Talk namespace, usually formatted ''<nowiki>[[Talk:Example Article/Temp]]</nowiki>'' or [[Wikipedia:Workpages|''<nowiki>[[Talk:Example Article/Dumping ground]]</nowiki>'']], for example the kind of "/Temp" pages that can be created from [[Template:Copyvio]], which allow editors to begin creating an entirely new article from scratch while the copyright violation is being resolved.<br /> Avoid additional incoming and outward links that would make it appear as if this "/Temp" page is part of the encyclopedia: that is, in the case the Copyvio template is used, only this template, applied in article namespace, can link to the "/Temp" article from article or "main" namespace. See [[#Disallowed uses|Disallowed uses]] below for further recommendations on how to avoid creating the impression a "/Temp" page is an encyclopedia page.  Other common variants are ''<nowiki>[[Talk:Example Article/Draft]]</nowiki>'' and ''<nowiki>[[Talk:Example Article/Sandbox]]</nowiki>''. Such temp pages are also sometimes used for template and Wikipedia-namespace development.
# Temporary subpages in Talk namespace, usually formatted ''<nowiki>[[Talk:Example Article/Temp]]</nowiki>'' or [[Wiki Javasatu:Workpages|''<nowiki>[[Talk:Example Article/Dumping ground]]</nowiki>'']], for example the kind of "/Temp" pages that can be created from [[Template:Copyvio]], which allow editors to begin creating an entirely new article from scratch while the copyright violation is being resolved.<br /> Avoid additional incoming and outward links that would make it appear as if this "/Temp" page is part of the encyclopedia: that is, in the case the Copyvio template is used, only this template, applied in article namespace, can link to the "/Temp" article from article or "main" namespace. See [[#Disallowed uses|Disallowed uses]] below for further recommendations on how to avoid creating the impression a "/Temp" page is an encyclopedia page.  Other common variants are ''<nowiki>[[Talk:Example Article/Draft]]</nowiki>'' and ''<nowiki>[[Talk:Example Article/Sandbox]]</nowiki>''. Such temp pages are also sometimes used for template and Wikipedia-namespace development.


== Disallowed uses ==
== Disallowed uses ==
# Writing a [[WP:POVFORK|content fork to avoid NPOV]].
# Writing a [[WP:POVFORK|content fork to avoid NPOV]].
# Writing drafts of major article revisions, e.g., ''<nowiki>[[Example Article/Temp]]</nowiki>'' in the main namespace, as you can get there accidentally using [[Special:Random]]—write these in the talk namespace, e.g. ''<nowiki>[[Talk:Example Article/Temp]]</nowiki>''. See [[Wikipedia:Workpages]] for detail. Also, avoid incoming and outward links regarding such "Talk:.../Temp" page that might create the impression this is an encyclopedia page before it is, e.g.:
# Writing drafts of major article revisions, e.g., ''<nowiki>[[Example Article/Temp]]</nowiki>'' in the main namespace, as you can get there accidentally using [[Special:Random]]—write these in the talk namespace, e.g. ''<nowiki>[[Talk:Example Article/Temp]]</nowiki>''. See [[Wiki Javasatu:Workpages]] for detail. Also, avoid incoming and outward links regarding such "Talk:.../Temp" page that might create the impression this is an encyclopedia page before it is, e.g.:
#* surround "category" links by "nowiki" tags, so that the temp page doesn't show up in a non-project category ''as if'' it were an article, example: <nowiki><nowiki>[[Category:Incredibly smart people]]</nowiki></nowiki>. The "nowiki" tags should be removed only when the "temp" content is moved to its place in article namespace. (This is an ''outward link'' example.) Another solution: put a colon before word "Category", for example, write <nowiki>[[:Category:Shamanism]]</nowiki> instead of <nowiki>[[Category:Shamanism]]</nowiki>. In this case, [[:Category:Shamanism|it will be still linkable]], but it will prevent the subpage from appearing on category pages.
#* surround "category" links by "nowiki" tags, so that the temp page doesn't show up in a non-project category ''as if'' it were an article, example: <nowiki><nowiki>[[Category:Incredibly smart people]]</nowiki></nowiki>. The "nowiki" tags should be removed only when the "temp" content is moved to its place in article namespace. (This is an ''outward link'' example.) Another solution: put a colon before word "Category", for example, write <nowiki>[[:Category:Shamanism]]</nowiki> instead of <nowiki>[[Category:Shamanism]]</nowiki>. In this case, [[:Category:Shamanism|it will be still linkable]], but it will prevent the subpage from appearing on category pages.
#* don't create navigational templates that make it appear as if this temp page is part of a series of encyclopedia articles, for example, don't do this: <nowiki>"... | [[John I of Doeland]] | [[Talk:John II of Doeland/Temp|John II of Doeland]] | [[John III of Doeland]] | ..."</nowiki>. (this is an ''incoming link'' example).
#* don't create navigational templates that make it appear as if this temp page is part of a series of encyclopedia articles, for example, don't do this: <nowiki>"... | [[John I of Doeland]] | [[Talk:John II of Doeland/Temp|John II of Doeland]] | [[John III of Doeland]] | ..."</nowiki>. (this is an ''incoming link'' example).
#* Draft pages mistakenly created in the main namespace should be moved as appropriate, or deleted if they are inactive and redundant to the main article.
#* Draft pages mistakenly created in the main namespace should be moved as appropriate, or deleted if they are inactive and redundant to the main article.
# Using subpages for permanent content that is meant to be part of the encyclopedia.
# Using subpages for permanent content that is meant to be part of the encyclopedia.
# Pasting copies of copyrighted reliable sources to [[Wikipedia:WikiProject Resource Exchange|"share" with other editors]].  [[WP:COPYVIO|Copyright violations]] are not permitted on '''any''' page in Wikipedia.
# Pasting copies of copyrighted reliable sources to [[Wiki Javasatu:WikiProject Resource Exchange|"share" with other editors]].  [[WP:COPYVIO|Copyright violations]] are not permitted on '''any''' page in Wikipedia.


==Using subpages==
==Using subpages==
Baris 88: Baris 88:
== Wikipedia namespaces that do not have sub-pages ==
== Wikipedia namespaces that do not have sub-pages ==


The MediaWiki software (which runs Wikipedia) supports selectively allowing or disallowing the creation of subpages in various [[Wikipedia:Namespace|namespaces]].
The MediaWiki software (which runs Wikipedia) supports selectively allowing or disallowing the creation of subpages in various [[Wiki Javasatu:Namespace|namespaces]].


The following namespaces in English Wikipedia do ''not'' have the subpage feature:  
The following namespaces in English Wikipedia do ''not'' have the subpage feature:  
Baris 105: Baris 105:


==History of subpages==
==History of subpages==
Subpages were originally used on Wikipedia to differentiate between subjects to create topical hierarchies of articles, but this proved unworkable because articles tend to belong in more than one hierarchy. The present system of [[Wikipedia:disambiguation|disambiguation]] was adopted instead, and the [{{fullurl:Wikipedia:Do not use subpages|oldid=2836167}} Wikipedia:Do not use subpages] policy had to be rigorously enforced and retroactively applied.  Since 2004, the [[Wikipedia:category|category system]] has supported hierarchical organization while still allowing an article to belong to multiple categories.
Subpages were originally used on Wikipedia to differentiate between subjects to create topical hierarchies of articles, but this proved unworkable because articles tend to belong in more than one hierarchy. The present system of [[Wiki Javasatu:disambiguation|disambiguation]] was adopted instead, and the [{{fullurl:Wikipedia:Do not use subpages|oldid=2836167}} Wikipedia:Do not use subpages] policy had to be rigorously enforced and retroactively applied.  Since 2004, the [[Wiki Javasatu:category|category system]] has supported hierarchical organization while still allowing an article to belong to multiple categories.


The subpage titles that became redirects when mainspace subpages were moved, are to be left alone ({{Section link|WP:RFD#K4}}), in case there are any existing links on external pages pointing to them.
The subpage titles that became redirects when mainspace subpages were moved, are to be left alone ({{Section link|WP:RFD#K4}}), in case there are any existing links on external pages pointing to them.
Baris 127: Baris 127:
* {{tl|Workpage}}
* {{tl|Workpage}}
* [[Help:Userspace draft]]
* [[Help:Userspace draft]]
* [[Wikipedia:Subpages to be moved]]
* [[Wiki Javasatu:Subpages to be moved]]
* [[Wikipedia:Userfication]]
* [[Wiki Javasatu:Userfication]]
* [[Wikipedia:Naming conventions (long lists)]]
* [[Wiki Javasatu:Naming conventions (long lists)]]
* [[Wikipedia:Editors are not mindreaders]]—Essay encouraging editors to create articles first in user space.
* [[Wiki Javasatu:Editors are not mindreaders]]—Essay encouraging editors to create articles first in user space.
* [[Wikipedia:Articles with slashes in title]]
* [[Wiki Javasatu:Articles with slashes in title]]
* [[Wikipedia:Do not use subpages]], a guideline from 2004 when subpages in article space were possible
* [[Wiki Javasatu:Do not use subpages]], a guideline from 2004 when subpages in article space were possible


{{Wikipedia policies and guidelines}}
{{Wikipedia policies and guidelines}}

Revisi terkini sejak 22 September 2023 16.26

Lua error in Modul:Effective_protection_level at line 63: attempt to index field 'TitleBlacklist' (a nil value).

Templat:Guideline list Except in the main namespace (article namespace), where the subpage feature has been disabled in the English Wikipedia, 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.

Allowed uses[sunting sumber]

  1. Test pages, following the rules of the sandbox.
  2. User subpages—making extra pages within your own user namespace, e.g. [[User:Example/Draft of article]] or [[User:Example/About me]].
  3. WikiProject subpages—for project-specific templates, discussion, or guidelines pages.
  4. Portal subpages—for Portal-specific templates and content.
  5. Dividing up Wikipedia process pages (e.g., Wiki Javasatu:Articles for deletion) which would otherwise get too big to be easily used.
  6. Documentation subpages for templates.
  7. Talk page archiving—both article Talk and User_talk pages are typically archived by moving discussion to numbered subpages. This allows the discussion to still be searchable, rather than requiring a hunt through the page history.
  8. Talk page adjuncts, such as an article's /to do list or the /Comments pages used for Good Article review. A particularly long and complicated {{ArticleHistory}} may also be put on an /ArticleHistory transclude page.
  9. Temporary subpages in Talk namespace, usually formatted [[Talk:Example Article/Temp]] or [[Talk:Example Article/Dumping ground]], for example the kind of "/Temp" pages that can be created from Template:Copyvio, which allow editors to begin creating an entirely new article from scratch while the copyright violation is being resolved.
    Avoid additional incoming and outward links that would make it appear as if this "/Temp" page is part of the encyclopedia: that is, in the case the Copyvio template is used, only this template, applied in article namespace, can link to the "/Temp" article from article or "main" namespace. See Disallowed uses below for further recommendations on how to avoid creating the impression a "/Temp" page is an encyclopedia page. Other common variants are [[Talk:Example Article/Draft]] and [[Talk:Example Article/Sandbox]]. Such temp pages are also sometimes used for template and Wikipedia-namespace development.

Disallowed uses[sunting sumber]

  1. Writing a content fork to avoid NPOV.
  2. Writing drafts of major article revisions, e.g., [[Example Article/Temp]] in the main namespace, as you can get there accidentally using Special:Random—write these in the talk namespace, e.g. [[Talk:Example Article/Temp]]. See Wiki Javasatu:Workpages for detail. Also, avoid incoming and outward links regarding such "Talk:.../Temp" page that might create the impression this is an encyclopedia page before it is, e.g.:
    • surround "category" links by "nowiki" tags, so that the temp page doesn't show up in a non-project category as if it were an article, example: <nowiki>[[Category:Incredibly smart people]]</nowiki>. The "nowiki" tags should be removed only when the "temp" content is moved to its place in article namespace. (This is an outward link example.) Another solution: put a colon before word "Category", for example, write [[:Category:Shamanism]] instead of [[Category:Shamanism]]. In this case, it will be still linkable, but it will prevent the subpage from appearing on category pages.
    • don't create navigational templates that make it appear as if this temp page is part of a series of encyclopedia articles, for example, don't do this: "... | [[John I of Doeland]] | [[Talk:John II of Doeland/Temp|John II of Doeland]] | [[John III of Doeland]] | ...". (this is an incoming link example).
    • Draft pages mistakenly created in the main namespace should be moved as appropriate, or deleted if they are inactive and redundant to the main article.
  3. Using subpages for permanent content that is meant to be part of the encyclopedia.
  4. Pasting copies of copyrighted reliable sources to "share" with other editors. Copyright violations are not permitted on any page in Wikipedia.

Using subpages[sunting sumber]

Finding subpages[sunting sumber]

Templat:Also

The "All pages with prefix" report from Special:PrefixIndex shows subpages.

The "Search" report from Special:Search similarly uses a prefix search parameter to show subpages. For example: Templat:Space Templat:Sl. Templat:Space

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 Templat:Sl.

Wikipedia namespaces that do not have sub-pages[sunting sumber]

The MediaWiki software (which runs Wikipedia) supports selectively allowing or disallowing the creation of subpages in various namespaces.

The following namespaces in English Wikipedia do not have the subpage feature:

  • Main
    • This namespace (which is where articles reside) does not have this feature turned on because strictly hierarchical organisation of articles is discouraged, and other distinctions are better made by placing pages in other namespaces (e.g. discussions go in "Talk:", and templates in "Template:").
  • File: Unnecessary, and hierarchy among files is bad.
  • MediaWikiTemplat:Why

However, the corresponding talk namespaces for the above spaces do allow subpages.

All other namespaces allow subpages. You can create a subpage simply by linking to the name of the subpage, prefixed with a slash (e.g. [[/Archive]]).

Slashes in article titles[sunting sumber]

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.

History of subpages[sunting sumber]

Subpages were originally used on Wikipedia to differentiate between subjects to create topical hierarchies of articles, but this proved unworkable because articles tend to belong in more than one hierarchy. The present system of disambiguation was adopted instead, and the Wikipedia:Do not use subpages policy had to be rigorously enforced and retroactively applied. Since 2004, the category system has supported hierarchical organization while still allowing an article to belong to multiple categories.

The subpage titles that became redirects when mainspace subpages were moved, are to be left alone (WP:RFD § K4), in case there are any existing links on external pages pointing to them.

Notes[sunting sumber]

  1. To add a Subpages link to your Tools in the sidebar, add this line:
    mw.util.addPortletLink ('p-tb', wgServer+wgArticlePath.replace("$1", "Special:PrefixIndex/"+mw.config.values.wgPageName+"/"), 'Subpages');

    to your Common.js page and purge per the instructions at the top of the page.

See also[sunting sumber]

Templat:Wikipedia glossary Note that older discussions of subpages are generally concerned with articles named as subpages of other articles; this is no longer done.

In Meta[sunting sumber]

In Wikipedia[sunting sumber]

Templat:Wikipedia policies and guidelines