Difference between revisions of "Help:Starting a new page"

From ISFDB
Jump to navigation Jump to search
m (update link after page move)
m
 
Line 32: Line 32:
 
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).  
 
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]].
+
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.
 
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.

Latest revision as of 14:10, 7 January 2011

Just type a title in "Search" box at the upper left of the any wiki page, Click "Go", then click "create this page" near the top of the resulting page, and start writing. You should probably create a link to the new page 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.

  • 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.
    • If the text is not very long it may be better to add the text to a related page; that page can always be split later, after it has grown.
  • 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. You can make your contributions accordingly.


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 for page creation. You will not be able to create a new page on the ISFDB wiki unless you are logged in.

Another way to start a new page is to perform a search for the new title with the Go button (as you should have done before). When (if) the search finds nothing, click on the link at the top of the page where it says "You searched for your search term".

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 the default setting). 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 an 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.

To get access to a MediaWiki project page, with the links at the edges but without the 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.

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 wikipedia: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.

Non-existing pages showing info

Category pages are partly dynamically generated, and partly editable. A category page contains a list of pages in the category. Thus if the page does not "exist" it may still show info.

The edit page of a "non-existing" category page shows the pages it contains.

A link to a "non-existing" category page is treated as a link to a non-existing page, even if the category is non-empty.

See also


This page is derived from the MediaWiki help page on Starting a new page