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

From SacredWiki
Jump to navigation Jump to search
m (1 revision(s))
 
m (1 revision: Updating our Help Pages)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{PD Help Page}}
+
{{H:h|Editor toc}}
There are several ways to start a new page. These can vary based on the type of page started, as well as the wiki and namespace.
 
  
== Using Wikilinks ==
+
You may want to create a new page on the wiki you are using.
MediaWiki makes it very easy to link wiki pages using a standard syntax (see [[Help:Links|Links]]). If you (or anyone else) creates a link to an article that doesn't exist yet, the link will be coloured red, <span style="color: #ba0000">like this</span>.
+
This page tells you how to create a new page.
  
Clicking a red link, will take you to the edit page for the new article. Simply type your text, click save and the new page will be created.
+
== Permission ==
 +
In order to be able to create a new page,
 +
the wiki software must know that you have permission to do so.
 +
If you don't have permission, when you follow these instructions
 +
you will see an error message something like
 +
"''You do not have permission to create new pages''".
  
Once the page has been created, the link will change from <span style="color: #ba0000">red</span> to <span style="color: #002bb8;">blue</span> (<span style="color: #5a3696;">purple</span> for pages you've visited) indicating that the article now exists.
+
Many wikis are set up to allow any user to create pages.
 +
Others restrict the "'''createpage'''" [[mw:Manual:User rights|user right]]
 +
to certain [[mw:Manual:User groups|user groups]].
 +
Some wikis (such as the English Wikipedia) allow only
 +
users who have logged in to create pages.
  
Usually this is the best way to create a new page, because it means that right from the start, the page will be linked from at least one other place on the wiki (and typically you will want to mesh it into other related pages later) If you are creating a new page without creating any link to it, you may need to ask yourself: Does this page really fit in with the topics already covered in the wiki? Also, how are you expecting visitors to find this page? Normally there is no reason to create a page without first creating a red link to it.
+
If the wiki you want to create a page on
 +
does not allow you to do so,
 +
first try logging in, if you aren't already.
 +
If that doesn't work talk to one of the administrators.
 +
Assuming it fits with their policies,
 +
they will have to add you to a user group that has the "createpage" privilege
 +
or add the "createpage" privilege to a user group you are already part of.
  
== Using the URL ==
+
== Starting a new page from a link ==
You can use the wiki's URL for creating a new page. The URL to an article of the wiki is usually something like this:
+
Some pages contain links to other pages that don't exist yet.
*<code><nowiki>http://www.example.net/index.php/</nowiki>'''ARTICLE'''</code> &nbsp;&nbsp; or
+
These are called "'''new page links'''".
*<code><nowiki>http://www.example.net/wiki/</nowiki>'''ARTICLE'''</code>
+
To start one of these new pages, you can click on its link.  
  
If you replace <code>'''ARTICLE'''</code> with the name of the page you wish to create, you will be taken to a blank page which indicates that no article of that name exists yet. Clicking the "''edit''" [[Help:Navigation#Page Tabs|page tab]] at the top of the page will take you to the edit page for that article, where you can create the new page by typing your text, and clicking submit.
+
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", because a common setting is to display them in red).
  
== From the search page ==
+
Links to non-existing pages are common.  They are typically created in preparation for creating a new page, and/or to encourage other people to do so.
If you search for a page that doesn't exist (using the search box and 'go' button on the left of the page) then you will be provided with a link to create the new page.  (Note that this technique doesn't work if you use the 'search' button).
+
Some people may see the presence of new page links on a page as a sign that the page is broken.
 +
However most wikis are intended to be constantly added to,
 +
so in this sense a new page link is only an indication that a particular page is needed.
 +
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.)  
  
{{Admin tip|tip=The "{{mediawiki|Extension:Inputbox|inputbox extension}}" allows you to provide an even easier way for your users to create new pages}}
+
Links to non-existent pages are created the same way as [[Help:Link|links]] to already existing pages.
 +
For example, adding <code><nowiki>[[New page name]]</nowiki></code> in the wiki editor will create
 +
a new page link to the page "New page name".
  
== Create redirects to your new page ==
+
If there isn't already a new page link to the page you want to create, you can always add such a link yourself.
Don't forget to setup redirects when you create a page. If you think another person may search for the page you've created by using a different name or spelling, please create the proper redirect(s). See [[Help:Redirects]]
+
You would add the new page link typically in a related page, an index page or your own user page.
  
== Protecting your new page ==
+
Sometimes it may be better to wait with creating links until after the new page is created, such as when the new link replaces one to an existing page.
Normally a new wiki page can be edited by other people (that ''is'' one of the main ideas of a wiki!) However, you could 'protect' the page, if desired, to prevent normal users from editing it. This requires sysop permissions.
+
In such cases, you can create the link but press Preview instead of Save. In the preview area, clicking on the new page link will start you creating the new page.
 +
Later you can go back and add the new link again in the referring page
 +
(or if you have the preview still open in another tab, finally pressing Save).
  
{{Languages|Help:Starting a new page}}
+
== Starting a new page from a search ==
 +
Another way to start a new page works on many wikis (e.g. the English Wikipedia).
  
[[Category:Help|Starting a new page]]
+
Type the name of the page that doesn't exist in the Search box, and start the search.
 +
The search results will say that no such page exists,
 +
but on many wikis it will also include a new page link to the page.
 +
 
 +
Depending on the wiki, the link may say something like:
 +
* Create the page "<u>New page name</u>" on this wiki!
 +
* You searched for <u>new page name</u>
 +
* There is no page titled "new page name". You can <u>create this page</u>.
 +
Click on the link and you will be starting to create the new page.
 +
 
 +
The text and whether or not there is a link can be different depending on
 +
whether you pressed enter, or clicked on Search or [[Help:Go button|Go]].
 +
("Go" often works best.)
 +
 
 +
Some wikis don't give you a new page link after a search.
 +
This depends on what the administrators have set the wiki
 +
to produce using [[w:MediaWiki:Nogomatch]].
 +
 
 +
== Starting a new page using an Inputbox ==
 +
Some wikis have an extension known as [[mw:Extension:Inputbox|Inputbox]].
 +
 
 +
These wikis can create a form where the user can enter a page name and click on a button.
 +
If the page doesn't exist, a new page link is shown from which the page can be created.
 +
 
 +
Here is an example of an Inputbox:
 +
<center>
 +
{| width="60%" style="border:1px solid black "
 +
|
 +
<inputbox>
 +
type=search
 +
width=42
 +
buttonlabel=Go!
 +
searchbuttonlabel=Search
 +
break=no
 +
</inputbox>
 +
|}
 +
</center>
 +
 
 +
See [[mw:Extension:Inputbox|Extension:Inputbox]].
 +
 
 +
== Starting a new 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.
 +
 
 +
For instance, if the URL for a wiki currently shows
 +
<pre>
 +
http://meta.wikimedia.org/wiki/Help:Starting_a_new_page
 +
</pre>
 +
you could edit that to say instead
 +
<pre>
 +
http://meta.wikimedia.org/wiki/new_page_name
 +
</pre>
 +
and press enter.
 +
 
 +
Using the URL for the new page displays the default 'no article' message (see [[MediaWiki:Noarticletext]]). The default page has an <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|interwiki link]] to a non-existent page gives the same result, but is not recommended.
 +
 
 +
== Editing the new page ==
 +
Once you've started creating a new page, you still have to say what you want on the page.
 +
 
 +
Any of the above methods of starting a new page will take
 +
you into [[Help:Editing|edit]] mode on the non-existing blank page.
 +
You edit the new page the same way you [[Help:Editing|edit]] any other page.
 +
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:Wikitext examples|wikitext]], see [[Help:Editing]].
 +
 
 +
When you have finished adding your initial text, click on "Save page".  The new page will be created!
 +
 
 +
== Guidelines ==
 +
Before you create a new page, consider whether you're following the guidelines for the wiki involved.
 +
Most wikis have guidelines similar to these:
 +
* ''If you want to experiment, use a [[{{ns:4}}:Sandbox|sandbox]] first.'' Note: A sandbox page often starts out blank. The purpose of this blank page is to use as a whiteboard for your experiments.
 +
* '''[[Help:Searching|Search]]''' to see '''whether''' someone has written a similar page before you start one yourself.
 +
* Choose the title carefully.
 +
* Review [[Help:Conventions|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.
 +
**You can check out "[[w:Wikipedia:How to write a great article|How to write a great article]]" for guidance.
 +
<!--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. You can make your contributions accordingly.
 +
<!-- There is long list of Guiding Principles which could be cited,  I think this is the essential few.  LarryLACa-->
 +
 
 +
== Creating a blank page ==
 +
A non-existing page is distinguished from a '''blank page''': a blank page 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.
 +
 
 +
==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 does exists. Therefore it is not suitable for demonstrating a link to a non-existing page.
 +
 
 +
==Non-existing pages showing info==
 +
[[Help:Category|Category]] and image pages are partly dynamically generated, and partly editable. A category page contains a list of pages in the category, an image page may contain an image and info from Commons. 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. However, the edit page of the local page of an image on Commons neither shows the image, nor the editable content on Commons, not even in preview, it does not even indicate that viewing the page provides an image and other content from Commons.
 +
 
 +
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. A link to a "non-existing" local image page of an image on [[Wikimedia Commons|Commons]] is treated as a link to an existing page, e.g. [[:Image:Cow-on pole, with horns.jpeg]], except in the case of a link from an edit summary or log. An indication of the "non-existence" is the lack of a page history link and a related changes link.
 +
 
 +
== Adding documentation ==
 +
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 use the instructions on this page to create a new article, and start writing.
 +
 
 +
==See also==
 +
*[[mw:Manual:Creating pages with preloaded text|Creating pages with preloaded text]]
 +
 
 +
{{h:f|langs=|enname=Starting a new page}}
 +
 
 +
[[Category:Editor handbook]]

Latest revision as of 22:02, 10 October 2013

MediaWiki Handbook: Contents, Readers, Editors, Moderators, System admins +/-

You may want to create a new page on the wiki you are using. This page tells you how to create a new page.

Permission

In order to be able to create a new page, the wiki software must know that you have permission to do so. If you don't have permission, when you follow these instructions you will see an error message something like "You do not have permission to create new pages".

Many wikis are set up to allow any user to create pages. Others restrict the "createpage" user right to certain user groups. Some wikis (such as the English Wikipedia) allow only users who have logged in to create pages.

If the wiki you want to create a page on does not allow you to do so, first try logging in, if you aren't already. If that doesn't work talk to one of the administrators. Assuming it fits with their policies, they will have to add you to a user group that has the "createpage" privilege or add the "createpage" privilege to a user group you are already part of.

Starting a new page from a link

Some pages contain links to other pages that don't exist yet. These are called "new page links". To start one of these new pages, you can click on its link.

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", because a common setting is to display them in red).

Links to non-existing pages are common. They are typically created in preparation for creating a new page, and/or to encourage other people to do so. Some people may see the presence of new page links on a page as a sign that the page is broken. However most wikis are intended to be constantly added to, so in this sense a new page link is only an indication that a particular page is needed. 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.)

Links to non-existent pages are created the same way as links to already existing pages. For example, adding [[New page name]] in the wiki editor will create a new page link to the page "New page name".

If there isn't already a new page link to the page you want to create, you can always add such a link yourself. You would add the new page link typically in a related page, an index page or your own user page.

Sometimes it may be better to wait with creating links until after the new page is created, such as when the new link replaces one to an existing page. In such cases, you can create the link but press Preview instead of Save. In the preview area, clicking on the new page link will start you creating the new page. Later you can go back and add the new link again in the referring page (or if you have the preview still open in another tab, finally pressing Save).

Starting a new page from a search

Another way to start a new page works on many wikis (e.g. the English Wikipedia).

Type the name of the page that doesn't exist in the Search box, and start the search. The search results will say that no such page exists, but on many wikis it will also include a new page link to the page.

Depending on the wiki, the link may say something like:

  • Create the page "New page name" on this wiki!
  • You searched for new page name
  • There is no page titled "new page name". You can create this page.

Click on the link and you will be starting to create the new page.

The text and whether or not there is a link can be different depending on whether you pressed enter, or clicked on Search or Go. ("Go" often works best.)

Some wikis don't give you a new page link after a search. This depends on what the administrators have set the wiki to produce using w:MediaWiki:Nogomatch.

Starting a new page using an Inputbox

Some wikis have an extension known as Inputbox.

These wikis can create a form where the user can enter a page name and click on a button. If the page doesn't exist, a new page link is shown from which the page can be created.

Here is an example of an Inputbox:

<inputbox> type=search width=42 buttonlabel=Go! searchbuttonlabel=Search break=no </inputbox>

See Extension:Inputbox.

Starting a new 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.

For instance, if the URL for a wiki currently shows

http://meta.wikimedia.org/wiki/Help:Starting_a_new_page

you could edit that to say instead

http://meta.wikimedia.org/wiki/new_page_name

and press enter.

Using the URL for the new page displays the default 'no article' message (see MediaWiki:Noarticletext). The default page has an 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.

Editing the new page

Once you've started creating a new page, you still have to say what you want on the page.

Any of the above methods of starting a new page will take you into edit mode on the non-existing blank page. You edit the new page the same way you edit any other page. 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.

When you have finished adding your initial text, click on "Save page". The new page will be created!

Guidelines

Before you create a new page, consider whether you're following the guidelines for the wiki involved. Most wikis have guidelines similar to these:

  • If you want to experiment, use a sandbox first. Note: A sandbox page often starts out blank. The purpose of this blank page is to use as a whiteboard for your experiments.
  • 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.
    • You can check out "How to write a great article" for guidance.
  • 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.

Creating a blank page

A non-existing page is distinguished from a blank page: a blank page 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 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 does exists. Therefore it is not suitable for demonstrating a link to a non-existing page.

Non-existing pages showing info

Category and image pages are partly dynamically generated, and partly editable. A category page contains a list of pages in the category, an image page may contain an image and info from Commons. 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. However, the edit page of the local page of an image on Commons neither shows the image, nor the editable content on Commons, not even in preview, it does not even indicate that viewing the page provides an image and other content from Commons.

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. A link to a "non-existing" local image page of an image on Commons is treated as a link to an existing page, e.g. Image:Cow-on pole, with horns.jpeg, except in the case of a link from an edit summary or log. An indication of the "non-existence" is the lack of a page history link and a related changes link.

Adding documentation

Anyone, including you, can write these help documents at m:Help:Contents, and you are most likely allowed to edit the site, SacredWiki, that you are looking at now! Just use the instructions on this page to create a new article, and start writing.

See also


Links to other help pages

Help contents
Meta · Wikinews · Wikipedia · Wikiquote · Wiktionary · Commons: · mw: · b: · s: · mw:Manual · Google
Versions of this help page (for other languages see further)
Meta · Wikinews · Wikipediahttp://en.wikipedia.org/index.php/Help:Starting_a_new_page · Wikiquote · Wiktionary
What links here on Meta or from Meta · Wikipedia · MediaWiki
Reading
Go · Search · Stop words · Namespace · Page name · Section · Backlinks · Redirect · Category · Image page · Special pages · Printable version
Tracking changes
Recent changes (enhanced) | Related changes · Watching pages · Diff · Page history · Edit summary · User contributions · Minor edit · Patrolled edit
Logging in and preferences
Logging in · Preferences · User style
Editing
Starting a new page · Advanced editing · Editing FAQ · Edit toolbar · Export · Import · Shortcuts · Edit conflict · Page size
Referencing
Links · URLs · Piped links · Interwiki linking · Footnotes
Style and formatting
Wikitext examples · CSS · Reference card · HTML in wikitext · Formula · List · Table · Sorting · Colors · Images and file uploads
Fixing mistakes
Show preview · Testing · Reverting edits
Advanced functioning
Expansion · Template · Advanced templates · Parser function · Parameter default · Variable · System message · Substitution · Array · Calculation · Embed page
Others
Special characters · Renaming (moving) a page · Talk page · Signatures · Sandbox · Legal issues for editors