Common Wiki Fixes

From FamilySearch Wiki
Jump to: navigation, search

Formatting Problems

Sidebars - Missing Right

  • Problem: All the sidebars on the right side of page are missing or at the very bottom of the page.
  • Cause: A </div> might be missing.
  • Cure: First, look for opening div tags by typing "<div" without the > under Ctrl F. This search will show you all the beginning div tags.
  • Now look to see if each of these opening div tags has a closing div tag somewhere down the page. If it does not, add one. Click "Show preview" to make sure the sidebars on the right reappear. If they don't, you might have put it in the wrong place, try to add it somewhere else.

Bullets - Faded

  • Problem: A bullet that looks like this: * instead of how they normally look on the next line.
  • Cause: Not on a line by itself and probably on the line above.
  • Fix: Put your cursor in front of the * and hit Enter. This will move the * and whatever text follows to the next line and make the bullet look as it should.

Text in dashed boxes

  • Problem: Text inside a box of dashes like this:
A space has been placed between the first word of a text and the left side of the page.  
  • Cause: A space has been placed between the first word of a text and the left side of the page.
  • Fix: Remove the space, make sure text is up against the left side of the page and the dashed box should disappear.

Edit box in Background Color

  • Problem: The small edit boxes on the right showing up as a white box if a header has a background color.
  • Cause: The header was created with equal signs == which has an edit box on the right attached to it. If the background color covers the edit box, it will show itself as a white space.
  • Cure: Change the == signs to <h2>. Headers created with HTML coding do not carry the edit box with them.

Links

Links in Blue but don't work

Problem: Links that are blue but don't work.
Cause: In this case it is not a missing </div> tag but a misplaced </div> tag. Sometimes they are in the wrong place. Sometimes a misplaced </table> can also cause problems.
Cure: First, look for opening div tags by typing "<div" without the > under Ctrl F. This search will show you all the beginning div tags.

  • Now look to see if each of these opening div tags has a closing div tag somewhere down the page.
  • If it does, make sure the closing div tag is in the right place. If it is apparent that it should be in another spot, you can move it to where it should be. If you are not sure, get someone to help you.

Links - in HTML format instead of Wikitext format

  • Problem: An external link that looks something like this:
<a href="https://familysearch.org/learn/wiki/en/Main_Page>FamilySearch Wiki</a>
  • Cause: Patron tried to install an external link in HTML style rather than in Wikitext style.
  • Cure: Substitute the HTML code with these Wikitext codes:
  • Change the <a href=" to a [
  • Change the "> to a space
  • Change the </a> to a ]
  • It should look like this in Wikitext:
[https://familysearch.org/learn/wiki/en/Main_Page FamilySearch Wiki]

Link - Extending past the right edge of the page

  • Problem
<a href="https://familysearch.org/learn/wiki/en/United_States_Naturalization_and_Citizenship#On_the_Internet_one_two_three_four_five_six_seven_eight_nine_ten">United States Naturalization and Citizenship</a>
  • Cause: Patron tried to install an external link in HTML style rather than in Wikitext style.
  • Cure:
  • Change the <a href=" to a [
  • Change the "> to a space
  • Change the </a> to a ]
  • The code the code should look like this:
[https://familysearch.org/learn/wiki/en/United_States_Naturalization_and_<br> Citizenship#On_the_Internet_one_two_three_four_five_six_seven_eight_nine_ten United States Naturalization and Citizenship]
  • The link will look this in the article:
United States Naturalization and Citizenship

Link - article title and link in red.

  • Problem: An internal link in red showing both the name of the article and the linking words.
Begin your genealogy quest Start your family history
  • Cause: Leaving out the pipe between the article title and the linking words. In the above example, the | is missing between the word quest (the last word in title of the article) and Start (the first word in the link).
  • Cure: Install the missing pipe. We want the link to look like this:
Start your family history

This is what the coding should look like:

[[Begin your genealogy quest|Start your family history]]

Link - going to a non-existent article

  • Problem: Link going to a non-existent page, but the link is in blue not red.
  • Cause: Check to see if a space is missing between the URL and the name of the link:
[https://familysearch.org/learn/wiki/en/Main_PageFamilySearch Wiki Main Page]
The link looks like this:
Wiki Main Page.

The link should be FamilySearch Wiki Main Page not Wiki Main Page. The name of the link is Wiki Main Page instead of FamilySearch Wiki Main Page because there is no space between Page (the last word of the URL) and FamilySearch (the first word in the name of the link). The result is clicking on "Wiki Main Page" leads nowhere.

  • Cure: Add the missing space. The link should look like this:
FamilySearch Wiki Main Page

This link works and has the proper spacing between the URL and link. Here is the coding:

[https://familysearch.org/learn/wiki/en/Main_Page FamilySearch Wiki Main Page]

Link - No name but a number in brackets

  • Problem: External link shows as a number in brackets, which does not tell what the link is for or the source.
[1]
  • Cause: External link is not named. [https://familysearch.org/learn/wiki/en/Main_Page]
  • Cure: Place a name in the external link. We want the link to look like this:
Main Page

The code should look like this:

[https://familysearch.org/learn/wiki/en/Main_Page Main Page]

Amp Injection Problems

  • Problem: This is a common problem with links. You will see one or more &amps in a link or see an AMP after a & has been used in a title instead of "and". The problem most of the time will not be seen until you look into the page in wiki text for links. With the title of a page it will show up straight away.
  • Cause:This is caused by the & symbol. It can be in a link or anywhere on a page. Most of the time it will cause an amp to be injected behind the & symbol.
  • In this example the amp; is injected into the link after the & symbol.

<ref>John Marius Wilson ''[http://www.visionofbritain.org.uk/place/place_page.jsp?p_id=11102&st=airmyn Imperial Gazetteer of England and Wales]'' 1870. Date accessed: 11 Nov 2013.</ref>

  • Cure: First you need to check that the link works. It is easier to copy and paste onto another tab as you check the link. Use this page as your reference. After checking the link, the quickest way to solve this problem is to delete "&st=airmyn", this will leave a usable link and stop the amp injection problem. If you deleted just the ''amp;st=airmyn'' and not the "&" Symbol, the amps will come back.

<ref>John Marius Wilson ''[http://www.visionofbritain.org.uk/place/place_page.jsp?p_id=11102 Imperial Gazetteer of England and Wales]'' 1870. Date accessed: 11 Nov 2013.</ref>

  • In this example the & has been added into a link, which should also be a reference.

From: 'Parishes: Matching', A History of the County of Essex: Volume 8 (1983), pp. 196-206. URL: http://www.british-history.ac.uk/report.aspx?compid=63853&strquery=matching Date accessed: 26 January 2011.<br>

  • Cure:In this example we have added <ref> start and finish of the reference. We have taken out the URL and made it into an external link and deleted "&strquery=matching" to get rid of the amp problem. We have also added "British History" so we know what the reference is.

<ref>From: 'Parishes: Matching', A History of the County of Essex: Volume 8 (1983), pp. 196-206. [ http://www.british-history.ac.uk/report.aspx?compid=63853 British History]Date accessed: 26 January 2011.<br></ref>


Fck Injection into page

  • Problem: Fck can be injected onto a page instead of [[ ]], < >. The page can become a mess of Fck's where reference and internal and external links should be. This will inject the Fck from where the error was made up the page.

fckLRfckLRhttp://www.achurchnearyou.com/cantley-st-margaret/ for details of the parish. fckLRfckLRhttp://www.britishlistedbuildings.co.uk/en-228599-church-of-st-margaret-cantley/bingmap British Listed buildings
fckLRfckLRhttp://www.norfolkchurches.co.uk/cantley/cantley.htm Norfolk Churches website

  • Cause: This type of problem is normally caused by missing a closing reference, <ref/>, or missing a > of the reference.
  • Cure: The easiest way to solve this problem is a rollback or undo, but first its always best to go into the page history and look over the edits. To see when and where the mistake was made on the page. Then do an undo from that point .The other way is much harder and that is to replace the links and references by hand.