Help:Wiki University Wikitext--Broken Links

Examples of "broken" internal and external links
In the following material are examples of links that were entered incorrectly. Some links actually work but they don't look right. We refer to them as "broken" links. In this lesson, you will see some of the mistakes people make in entering links and how to correct them.

1. External link with no name
. This is how it was entered:
 * NOTICE there is only a number rather than a name.
 * NOTICE if you click on the link will take you to what was intended, however, you just don't know what the link is for or to what site it will take you.



This how it should be entered:

FamilySearch


 * NOTICE the space between org and FamilySearch.

The corrected link will now appear this way:

FamilySearch

2. Another example of link with no name

 * NOTICE that it create a numbered link.
 * NOTICE however, when you click on the number it takes you a page that does not exist

This is how it was entered: 

This how it should be entered:

FamilySearch


 * NOTICE the space between org and FamilySearch.

The corrected link will now appear this way:

FamilySearch

3. External link with URL as the name
https://familysearch.org This is how it was entered:
 * NOTICE this link does not look like an external link should. There should only be a name not the URL.

https://familysearch.org

This how it should be entered: FamilySearch

The corrected link will now appear this way:

FamilySearch

3. External link shows in HTML coding
FamilySearch It was entered like this: FamilySearch
 * NOTICE this is how an external link looks on the internet.

This how it should be entered:

Familysearch

Broken Internal Links
There are a lot of different ways to break an internal link.

4. Using a space instead of a pipe
Missouri Genealogy Missouri


 * NOTICE the link is red. This means the link will take you to a page that does not exist.

This is how it was entered Missouri Genealogy Missouri

This how it should be entered: Missouri

The corrected link will now appear this way:

Missouri

5. Not having enough square brackets
[Missouri Genealogy|Missouri]

This was how it was entered [Missouri Genealogy|Missouri]
 * NOTICE this time the link is not even red. The browser thinks this coding is a normal sentence.

This how it should be entered: Missouri

6. Wrong kind of brackets


Here is what the patron entered:
 * NOTICE the link is in red which means the page does not exist.
 * NOTICE the word template: with a colon. This indicates that the browser thinks this is a template.  We will take about templates in a later lesson.

This how it should be entered:

Try these out
 Exercises Copy and paste these codes for broken links in your sandbox and see if you can fix them: Check your answers
 * 
 * &lt;a href="https://familysearch.org/learn/wiki/en/Missouri&gt;Missouri&lt;/a&gt;
 * MissouriMissouri
 * []
 * Missouri Missouri

 Quick Quiz
 * How can links be broken?
 * A. Too many brackets.
 * B. Not enough brackets.
 * C. Wrong kind of brackets.
 * D. No space in an external link between URL and name of link.
 * E. No pipe in an internal link between name of page and name of link.
 * F. Using the URL as the name of the link.
 * G. All of the above.

Check your answers