2015-04-03

←Older revision

Revision as of 07:33, April 3, 2015

Line 7:

Line 7:

# a simple internal link within WoWwiki to <nowiki>[["target"]]</nowiki> where "target" is the title of the page such as [[Argent Crusade]] - <nowiki>[[Argent Crusade]]</nowiki>. These links may be classed as:

# a simple internal link within WoWwiki to <nowiki>[["target"]]</nowiki> where "target" is the title of the page such as [[Argent Crusade]] - <nowiki>[[Argent Crusade]]</nowiki>. These links may be classed as:

##an existing page (no class)

##an existing page (no class)



##a stub page with the template but very few details - see "Stub Feature" below (class = 'stub')

+

##a stub page with the template but very few details - see "Stub Feature" below (class = 'stub')

##a non-existing page (class='new')

##a non-existing page (class='new')

# an [[Help:Interwiki linking|interwiki link]] to another wiki (class='extiw'):

# an [[Help:Interwiki linking|interwiki link]] to another wiki (class='extiw'):



## a [[wikipedia:URL|URL label]] - <nowiki>[[wikipedia:URL|URL label]]</nowiki>

+

## a [[wikipedia:URL|URL label]] - <nowiki>[[wikipedia:URL|URL label]]</nowiki>



## a page link - <nowiki>"http://en.wikipedia.org/wiki/Target"</nowiki>

+

## a page link - <nowiki>"http://en.wikipedia.org/wiki/Target"</nowiki>



## a file transfer link - <nowiki>"ftp://en.wikipedia.org/wiki/File..."</nowiki>

+

## a file transfer link - <nowiki>"ftp://en.wikipedia.org/wiki/File..."</nowiki>



## but not a file link, as it is not allowed - <nowiki>file://...</nowiki>

+

## but not a file link, as it is not allowed - <nowiki>file://...</nowiki>

# a link to an external web page (class='external')

# a link to an external web page (class='external')



## as a URL [http://us.battle.net/wow/en/forum/ http://us.battle.net/wow/en/forum/] - <nowiki>[http://us.battle.net/wow/en/forum/ http://us.battle.net/wow/en/forum/]</nowiki>

+

## as a URL http://us.battle.net/wow/en/forum/ - <nowiki>[http://us.battle.net/wow/en/forum/ http://us.battle.net/wow/en/forum/]</nowiki>



## as a labelled URL [http://us.battle.net/wow/en/forum/ World of Warcraft Forums] - <nowiki>[http://us.battle.net/wow/en/forum/ World of Warcraft Forums]</nowiki>

+

## as a labelled URL [http://us.battle.net/wow/en/forum/ World of Warcraft Forums] - <nowiki>[http://us.battle.net/wow/en/forum/ World of Warcraft Forums]</nowiki>



## as a reference to the source of information used in a wiki page<nowiki><ref>"title of page in quotes" - full URL - Author, month year</ref></nowiki> and include a references heading followed by <nowiki><references/></nowiki>. For example:

+

## as a reference to the source of information used in a wiki page<nowiki><ref>"title of page in quotes" - full URL - Author, month year</ref></nowiki> and include a references heading followed by <nowiki><references/></nowiki>. For example:

*Example <ref>"URLs in external links" - http://meta.wikimedia.org/wiki/Help:URL#URLs_in_external_links - Meta Wikimedia, May 2008</ref> - <nowiki><ref>"URLs in external links" - http://meta.wikimedia.org/wiki/Help:URL#URLs_in_external_links - Meta Wikimedia, May 2008</ref></nowiki>

*Example <ref>"URLs in external links" - http://meta.wikimedia.org/wiki/Help:URL#URLs_in_external_links - Meta Wikimedia, May 2008</ref> - <nowiki><ref>"URLs in external links" - http://meta.wikimedia.org/wiki/Help:URL#URLs_in_external_links - Meta Wikimedia, May 2008</ref></nowiki>

*Example <ref>"Cite" - http://www.mediawiki.org/wiki/Extension:Cite/Cite.php - Media Wiki, April 2009</ref> - <nowiki><ref>"Cite" - http://www.mediawiki.org/wiki/Extension:Cite/Cite.php - Media Wiki, April 2009</ref></nowiki>

*Example <ref>"Cite" - http://www.mediawiki.org/wiki/Extension:Cite/Cite.php - Media Wiki, April 2009</ref> - <nowiki><ref>"Cite" - http://www.mediawiki.org/wiki/Extension:Cite/Cite.php - Media Wiki, April 2009</ref></nowiki>

Line 30:

Line 30:

A label enables complex page titles or URLs to be simplified to something more intelligible. There are different ways of allowing the link label and the (eventual) link target to be chosen independently. A label can be specified in case:

A label enables complex page titles or URLs to be simplified to something more intelligible. There are different ways of allowing the link label and the (eventual) link target to be chosen independently. A label can be specified in case:

* internal and intrawiki links, using the '''exact''' title of the target page [[ ''target'' | ''title'' ]]

* internal and intrawiki links, using the '''exact''' title of the target page [[ ''target'' | ''title'' ]]



* internal and intrawiki links, using a label [[ ''target'' ''label'' ]] with a blank space in between

+

* internal and intrawiki links, using a label [[ ''target'' ''label'' ]] with a blank space in between

* external links, as e.g. Blizzard's [http://us.battle.net/wow/en/ | World of Warcraft Battle.net] website - <nowiki>[http://us.battle.net/wow/en/ | World of Warcraft Battle.net]</nowiki>

* external links, as e.g. Blizzard's [http://us.battle.net/wow/en/ | World of Warcraft Battle.net] website - <nowiki>[http://us.battle.net/wow/en/ | World of Warcraft Battle.net]</nowiki>



See also: [[Help:Piped link]]

+

See also: [[Help:Piped link]]

By using a piped link ''and'' a redirect, the label, title, and target can all be chosen independently.

By using a piped link ''and'' a redirect, the label, title, and target can all be chosen independently.

Line 49:

Line 49:

See also "other conversions" below.

See also "other conversions" below.



== Image Links to Web Pages ==

+

== Image Links to Web Pages ==

There are several ways to [[Help:Navigable images|use an image as link to a page]]:

There are several ways to [[Help:Navigable images|use an image as link to a page]]:

* As of [[WoWWiki:MediaWiki|MediaWiki]] v1.14, a link to an internal page can be specified as part of the normal image syntax.

* As of [[WoWWiki:MediaWiki|MediaWiki]] v1.14, a link to an internal page can be specified as part of the normal image syntax.

Line 55:

Line 55:

* In an older method, the {{WM Icon Small}}[[MetaWikiPedia:Help:Image page|image description page]] contains a redirect.

* In an older method, the {{WM Icon Small}}[[MetaWikiPedia:Help:Image page|image description page]] contains a redirect.

* Lastly, various wiki extensions can provide a mechanism for using an image as a link to a page (see [[Help:Link#Using the imagelink extension|Using the imagelink extension]] subsection below).

* Lastly, various wiki extensions can provide a mechanism for using an image as a link to a page (see [[Help:Link#Using the imagelink extension|Using the imagelink extension]] subsection below).





In case 3, links like [ ''target'' ] are automatically labelled with serial numbers 1, 2, 3, ...

+

+

In case 3, links like [ ''target'' ] are automatically labelled with serial numbers 1, 2, 3, ...

For link type 1 there is an '''existence detection feature''': it will be a link to the viewing page if the page exists at the time of loading or previewing of the referring page (no class or class='stub'), otherwise to the edit page (class='new').

For link type 1 there is an '''existence detection feature''': it will be a link to the viewing page if the page exists at the time of loading or previewing of the referring page (no class or class='stub'), otherwise to the edit page (class='new').

Line 75:

Line 74:

** Code example: <tt><nowiki>[[</nowiki> ''<internal_page_name>'' | ''':'''Image:''<image_name>'' <nowiki>]]</nowiki></tt>-->

** Code example: <tt><nowiki>[[</nowiki> ''<internal_page_name>'' | ''':'''Image:''<image_name>'' <nowiki>]]</nowiki></tt>-->

* Linking to an internal page or external URL from an internal image.

* Linking to an internal page or external URL from an internal image.



** As of [[WoWWiki:MediaWiki|MediaWiki]] v1.14, code example: <tt><nowiki>[[</nowiki> Image:''<image_name>'' | link=''<internal_page_name_or_external_URL>'' <nowiki>]]</nowiki></tt>

+

** As of [[WoWWiki:MediaWiki|MediaWiki]] v1.14, code example: <tt><nowiki>[[</nowiki> Image:''<image_name>'' | link=''<internal_page_name_or_external_URL>'' <nowiki>]]</nowiki></tt>

* Linking to an internal page or external URL from an external image.

* Linking to an internal page or external URL from an external image.

Line 97:

Line 96:

*the number of bytes of the wikitext is less than the value of the "threshold for stub display" specified in the [[Help:Preferences|preferences]]

*the number of bytes of the wikitext is less than the value of the "threshold for stub display" specified in the [[Help:Preferences|preferences]]



The idea behind this is that such pages are "[[wikipedia:stub|stub]]s" which need fixing, or which are less worthwhile to go to. Alternatively, with a higher threshold value, the feature allows indication that a page is large (with a slow connection perhaps a reason not to go to it). However, note that due to the possible inclusion of templates and images, a small wikitext does not necessarily mean a small composite page in terms of amount of information, or amount of bytes to load.

+

The idea behind this is that such pages are "[[wikipedia:stub|stubs]]" which need fixing, or which are less worthwhile to go to. Alternatively, with a higher threshold value, the feature allows indication that a page is large (with a slow connection perhaps a reason not to go to it). However, note that due to the possible inclusion of templates and images, a small wikitext does not necessarily mean a small composite page in terms of amount of information, or amount of bytes to load.

Also, by specifying a very high value as threshold, this feature allows, instead of the intended use of distinction according to size:

Also, by specifying a very high value as threshold, this feature allows, instead of the intended use of distinction according to size:

Line 103:

Line 102:

*for links to the main namespace, known from the hoverbox or status bar, an indication of links having a redirect as target

*for links to the main namespace, known from the hoverbox or status bar, an indication of links having a redirect as target



However, linking to a section of what according to this criterion is a stub does not seem to work, except when external link style is used!

+

However, linking to a section of what according to this criterion is a stub does not seem to work, except when external link style is used!

== When to use an External Link Style to an Internal or Intrawiki page ==

== When to use an External Link Style to an Internal or Intrawiki page ==

Line 223:

Line 222:

==External vs. Internal Links==

==External vs. Internal Links==



External links should usually be used for content that cannot be put on WoWWiki. If the information already exists within WoWWiki an internal link should always be used. If the content doesn't exists in WoWWiki, but ''can'' exist then there are many factors to consider. For example, if you are linking offsite to mob, quest, or item information that doesn't exist within WoWWiki then that information has less of a chance of getting created. By using an internal link the page has a much higher chance of being created.

+

External links should usually be used for content that cannot be put on WoWWiki. If the information already exists within WoWWiki an internal link should always be used. If the content doesn't exists in WoWWiki, but ''can'' exist then there are many factors to consider. For example, if you are linking offsite to mob, quest, or item information that doesn't exist within WoWWiki then that information has less of a chance of getting created. By using an internal link the page has a much higher chance of being created.

*Everyone who sees that page will see that the article needs to be created

*Everyone who sees that page will see that the article needs to be created



*The page will be added to the [[Special:Wantedpages|wanted pages]] list.

+

*The page will be added to the [[Special:Wantedpages|wanted pages]] list.



Many people use the wanted pages list to find out which articles need to be created or browse their favorite pages looking for dead internal links. Using internal links is a great way to help the wiki expand, but not the best solution for the users of WoWWiki. Instead of being able to click on a link and access off site information they now have a dead link with nothing and are forced to go offsite and search for the information.

+

Many people use the wanted pages list to find out which articles need to be created or browse their favorite pages looking for dead internal links. Using internal links is a great way to help the wiki expand, but not the best solution for the users of WoWWiki. Instead of being able to click on a link and access off site information they now have a dead link with nothing and are forced to go offsite and search for the information.



You can create the article and add the required [[WoWWiki:Stub|stub]] tag. In addition to the stub create a section called ''External Links'' and add links to external resources for the page.

+

You can create the article and add the required [[WoWWiki:Stub|stub]] tag. In addition to the stub create a section called ''External Links'' and add links to external resources for the page.

Users will now have more choices than before, instead of being forced to use whatever external link the article writer choose they can now select from a list of external links to go to their preffered site.

Users will now have more choices than before, instead of being forced to use whatever external link the article writer choose they can now select from a list of external links to go to their preffered site.

The page will also be added to the appropriate stub category and anyone expanding it will already have links to the resources to get the information from, this way it can bee seen by contributers as needing expanding on and won't go ignored.

The page will also be added to the appropriate stub category and anyone expanding it will already have links to the resources to get the information from, this way it can bee seen by contributers as needing expanding on and won't go ignored.

Line 254:

Line 253:

*{{WM Icon Small}}[[MetaWikiPedia:Help:Calculation|Help:Calculation]]

*{{WM Icon Small}}[[MetaWikiPedia:Help:Calculation|Help:Calculation]]

*[[Help:Editing#Links, URLs]]

*[[Help:Editing#Links, URLs]]



*[[Help:Interwiki linking]]

+

*[[Help:Interwiki linking]]



*[[Help:Piped link]]

+

*[[Help:Piped link]]

*[[Help:Self link]]

*[[Help:Self link]]

*[[Help:Template#Restrictions]] (and the next section)

*[[Help:Template#Restrictions]] (and the next section)

Show more