Difference between revisions of "Help:Starting a new page"
Line 1: | Line 1: | ||
− | [[ | + | One of the [[m:Help:User rights|user rights]] that can be set for a [[Template:Status|user group]] is "createpage", the right to create a new page. A wiki can grant this right for example to all users who are not blocked (this is the [[m:Help:User_rights#Defaults|default]]), or only to those who have logged in. |
− | For | + | The edit page has a link for ''Editing help'', so you won't be lost. For general editing matters and details on the [[w:markup language|markup language]] of the [[Help:Filling the page|wikitext]], see [[Help:Editing]]. ''If you want to experiment, use the [[{{ns:4}}:Sandbox|sandbox]] first.'' Note: Sandbox page is currently blank. The purpose of this blank page it to use as a whiteboard to experiment. |
− | |||
− | |||
− | New pages can be | + | Anyone, including you, can write these help documents at [[m:Help:Contents]], and you are most likely allowed to edit the site, {{SITENAME}} that you are looking at now! Just type a title in the box at the bottom of the page, click "Create article", and start writing. You should probably create a link to the article in a related page; linking to a page is enough to "create" the page! New pages can also be started by following a link to a non-existent page, which likewise launches the edit page. See [[#Starting a page through the URL|Starting a page through the URL]] below. |
+ | |||
+ | == General principles == | ||
+ | |||
+ | * '''[[Help:Searching|Search]]''' to see '''whether''' someone has written a similar page before you start one yourself. Choose the title carefully. | ||
+ | * Review conventions of the project you are working in regarding e.g.: | ||
+ | **naming conventions; see also [[Help:Page name]]. | ||
+ | **whether a separate page is justified; perhaps it is better to add the text to a related page (especially if the text is not very long); that page can always be split later, after it has grown. | ||
+ | **how-to guidance for writing regarding style, content and formatting. E.g. for the Wikipedia project see [[w:Wikipedia:How to write a great article|How to write a great article]]. | ||
+ | <!--If there is an appropriate meta HowTo article, please update above ~~~~ --> | ||
+ | * While creating the page and '''before''' saving it, check the <u>''What links here''</u> link on the creation page. Align the new content with existing links, or change the new title, or fix the other links. | ||
+ | * If nothing points here, the page is isolated. Links to it will need to be added on other pages. | ||
+ | <!-- There is long list of Guiding Principles which could be sited, I think this is the essential few. LarryLACa--> | ||
+ | |||
+ | == Starting a page from a link, or after a search == | ||
+ | |||
+ | To start a new page, you can click a link to the new page. This takes you to [[Help:Editing|edit]] mode of the non-existing blank page, which allows creation. You might not be able to create a new page unless you are logged in. Notably this applies to the English Wikipedia. | ||
+ | Another way to start a new page, on the English Wikipedia, which uses the [[w:MediaWiki:Nogomatch]] option, is to perform a search for the new title with the Go button (as you should have done before). When the search finds nothing, press "create the article". | ||
+ | |||
+ | Links to non-existing pages are common. They are typically created in preparation for creating the page, and/or to encourage other people to do so. | ||
+ | Links are not only convenient for navigation, but also make people aware of the new page (those who read a related page and also those who [[Help:Watching pages|watch]] the related page). | ||
+ | New page links are not really broken, as long as the name correctly identifies the intended content. (A new page link with a "wrong" or misspelled name, or that duplicates content found under another name is "broken". but in a different sense.) | ||
+ | |||
+ | New page links typically look different from links to existing pages. Depending on [[Help:Preferences|settings]], a different color or a question mark is used. (Sometimes links to new pages are called "red links", the display option of one of the settings). Links to non-existent pages are created with <nowiki>[[New page name]]</nowiki> from the wiki editor. (In this case, the empty page "New page name" would be created). | ||
+ | |||
+ | Of course, you can also create the link yourself, in a related page, index page or your user page. However, it may be better to wait with creating links until after creating the new page, especially if the new link replaces one to an existing page. In this case, create the link but press Preview, instead of Save. From preview area, clicking the new link will create the new page (without updating the referring page). | ||
+ | |||
+ | == Starting a page through the URL == | ||
+ | |||
+ | <!-- if you edit only the pagename of an existing URL, is has to be in the same project. Omit 'in the same project'--> | ||
+ | Using the browser address bar to enter a URL to a new page is an easy way to start the new page process. Easier still is | ||
+ | editing the pagename part of a URL for an existing page. Using the URL for the new page displays the default 'no article' message (see [[MediaWiki:Noarticletext]]). The default page has the usual <u>''Edit this page''</u> link, which can be used to begin adding content. | ||
+ | |||
+ | <!-- Can someone add a few words about why this is not recommended? ~~~~ --> | ||
+ | An [[Help:Interwiki links|interwiki link]] to a non-existent page gives the same result, but is not recommended. | ||
+ | |||
+ | To get access to a MediaWiki project page, with the links at the edges but without the superfluous loading of a page, use a bookmark to a non-existing page. The default 'no article' page will display the edge links. | ||
+ | |||
+ | == Creating an empty page == | ||
+ | A '''new page''' is distinguished from a blank page: the latter has a [[Help:Page history|page history]]. However, creating a new page is just like editing a blank page, except that a new page displays the text from [[MediaWiki:Newarticletext]] (which may vary by project). | ||
+ | |||
+ | Occasionally it is useful to create an empty page - For example a template can be made such that, depending on a parameter, it produces either just a standard text or also an additional text. This is done by having it call another template, of which the name is a parameter; one version of the other template contains the additional text, the other version is blank. See [[Help:Advanced templates#Optional_text|optional text]]. | ||
+ | |||
+ | To create an empty page, save a page with the wikitext <nowiki>__END__</nowiki>. This code will not be saved, it just prevents refusal by the system to create an empty page. Alternatively, first create a non-empty page, e.g. with just one character, then edit the page to make it empty. A page with one or more blank spaces at the end, including a page only containing one or more blank spaces, is not possible. | ||
+ | |||
+ | == Creating using a redirect to a sub or supra topic page == | ||
+ | You can use a [[w:Wikipedia:Redirect|redirect]] to create a page and propose expansion. | ||
+ | See: | ||
+ | |||
+ | * [[w:Template:Rstub|Template:Rstub]] | ||
+ | * And the more specific [[w:Template:Rhere|Template:Rhere]] | ||
+ | |||
+ | == Using text from some other editing environment == | ||
+ | |||
+ | Although pasting existing text into the wiki is often the simplest way to start, you may want to [[Help:WordToWiki|try converting from Word or HTML to wiki markup]]. | ||
+ | |||
+ | ==Protecting a page from being created== | ||
+ | It is not really possible to protect a page from being created, but one can create a page with a standard text such as in [[w:en:Template:Deletedpage]] and [[Help:Editing#Page_protection|protect]] that page. Note that sometimes a terminology like "This page should not be created." is used even though for the system the page exists. Therefore it is not suitable for demonstrating a link to a non-existing page. | ||
+ | |||
+ | ==See also== | ||
+ | *[[Help:Inputbox#Preload|Preloading]] | ||
+ | |||
+ | == Inputbox == | ||
+ | 'Create article' takes you to an edit page to enter the new text. Of course, names are important, meaning the title of the page, and un-doing mistakes can take time, so it's always a good idea to do a little homework first. (See [[#General principles|General principles]] above.) | ||
+ | {| width="60%" style="border:1px solid black" | ||
+ | | | ||
+ | <inputbox> | ||
+ | type=create | ||
+ | width=45 | ||
+ | </inputbox> | ||
+ | |} | ||
+ | |||
+ | For making such an inputbox, see [[Help:Inputbox]]. It has additional options such as preloading wikitext into the edit box, and providing explanatory text in the edit page, outside the edit box. |
Latest revision as of 15:49, 7 December 2006
One of the user rights that can be set for a user group is "createpage", the right to create a new page. A wiki can grant this right for example to all users who are not blocked (this is the default), or only to those who have logged in.
The edit page has a link for Editing help, so you won't be lost. For general editing matters and details on the markup language of the wikitext, see Help:Editing. If you want to experiment, use the sandbox first. Note: Sandbox page is currently blank. The purpose of this blank page it to use as a whiteboard to experiment.
Anyone, including you, can write these help documents at m:Help:Contents, and you are most likely allowed to edit the site, MidrangeWiki that you are looking at now! Just type a title in the box at the bottom of the page, click "Create article", and start writing. You should probably create a link to the article in a related page; linking to a page is enough to "create" the page! New pages can also be started by following a link to a non-existent page, which likewise launches the edit page. See Starting a page through the URL below.
Contents
General principles
- Search to see whether someone has written a similar page before you start one yourself. Choose the title carefully.
- Review conventions of the project you are working in regarding e.g.:
- naming conventions; see also Help:Page name.
- whether a separate page is justified; perhaps it is better to add the text to a related page (especially if the text is not very long); that page can always be split later, after it has grown.
- how-to guidance for writing regarding style, content and formatting. E.g. for the Wikipedia project see How to write a great article.
- While creating the page and before saving it, check the What links here link on the creation page. Align the new content with existing links, or change the new title, or fix the other links.
- If nothing points here, the page is isolated. Links to it will need to be added on other pages.
Starting a page from a link, or after a search
To start a new page, you can click a link to the new page. This takes you to edit mode of the non-existing blank page, which allows creation. You might not be able to create a new page unless you are logged in. Notably this applies to the English Wikipedia. Another way to start a new page, on the English Wikipedia, which uses the w:MediaWiki:Nogomatch option, is to perform a search for the new title with the Go button (as you should have done before). When the search finds nothing, press "create the article".
Links to non-existing pages are common. They are typically created in preparation for creating the page, and/or to encourage other people to do so. Links are not only convenient for navigation, but also make people aware of the new page (those who read a related page and also those who watch the related page). New page links are not really broken, as long as the name correctly identifies the intended content. (A new page link with a "wrong" or misspelled name, or that duplicates content found under another name is "broken". but in a different sense.)
New page links typically look different from links to existing pages. Depending on settings, a different color or a question mark is used. (Sometimes links to new pages are called "red links", the display option of one of the settings). Links to non-existent pages are created with [[New page name]] from the wiki editor. (In this case, the empty page "New page name" would be created).
Of course, you can also create the link yourself, in a related page, index page or your user page. However, it may be better to wait with creating links until after creating the new page, especially if the new link replaces one to an existing page. In this case, create the link but press Preview, instead of Save. From preview area, clicking the new link will create the new page (without updating the referring page).
Starting a page through the URL
Using the browser address bar to enter a URL to a new page is an easy way to start the new page process. Easier still is editing the pagename part of a URL for an existing page. Using the URL for the new page displays the default 'no article' message (see MediaWiki:Noarticletext). The default page has the usual Edit this page link, which can be used to begin adding content.
An interwiki link to a non-existent page gives the same result, but is not recommended.
To get access to a MediaWiki project page, with the links at the edges but without the superfluous loading of a page, use a bookmark to a non-existing page. The default 'no article' page will display the edge links.
Creating an empty page
A new page is distinguished from a blank page: the latter has a page history. However, creating a new page is just like editing a blank page, except that a new page displays the text from MediaWiki:Newarticletext (which may vary by project).
Occasionally it is useful to create an empty page - For example a template can be made such that, depending on a parameter, it produces either just a standard text or also an additional text. This is done by having it call another template, of which the name is a parameter; one version of the other template contains the additional text, the other version is blank. See optional text.
To create an empty page, save a page with the wikitext __END__. This code will not be saved, it just prevents refusal by the system to create an empty page. Alternatively, first create a non-empty page, e.g. with just one character, then edit the page to make it empty. A page with one or more blank spaces at the end, including a page only containing one or more blank spaces, is not possible.
Creating using a redirect to a sub or supra topic page
You can use a redirect to create a page and propose expansion. See:
- Template:Rstub
- And the more specific Template:Rhere
Using text from some other editing environment
Although pasting existing text into the wiki is often the simplest way to start, you may want to try converting from Word or HTML to wiki markup.
Protecting a page from being created
It is not really possible to protect a page from being created, but one can create a page with a standard text such as in w:en:Template:Deletedpage and protect that page. Note that sometimes a terminology like "This page should not be created." is used even though for the system the page exists. Therefore it is not suitable for demonstrating a link to a non-existing page.
See also
Inputbox
'Create article' takes you to an edit page to enter the new text. Of course, names are important, meaning the title of the page, and un-doing mistakes can take time, so it's always a good idea to do a little homework first. (See General principles above.)
<inputbox> type=create width=45 </inputbox> |
For making such an inputbox, see Help:Inputbox. It has additional options such as preloading wikitext into the edit box, and providing explanatory text in the edit page, outside the edit box.