Common Wiki Fixes

Revision as of 12:17, 14 January 2014 by Ccsmith (talk | contribs) (Created page with "=== 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. *'''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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: Look through article to see if a opening <div> is without it's closing </div> tag.

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 you 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.

Links

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 pass the right edge of the page

  • Problem: Long External Links that go pass the right edge of the page, like so:

<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 pipe | is missing between the word quest last word in title of article and Start the first word in the link.
  • Cure:Install 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 an non-existent article

  • Problem: Link going to an 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] which link looks like this:
Wiki Main Page.

The link should be FamilySerach WIki Main Page not Wiki Main Page. Because their is no space between the word FamilySearch and the last word of the URL the name of the link is Wiki Main Page instead of "FamilySearch Wiki Main Page." The result is clicking on "Wiki Main Page" leads nowhere.

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

This link works and has the proper spacing between the URL and link.


  • Amp Injection Problems

A common problem with links is the & symbol in the link. In this excample the & is amp injecting into the link.

  • bad
<ref>Wilson, John Marius ''[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><nowiki>
  • good
<ref>Wilson, John Marius ''[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><nowiki>

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 amps "amp;amp;st=airmyn' and not the "&" Symbol, the amps will come back.

Another excample is when a link is infected with amps and should be a reference.

  • Bad
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> 
  • Good
<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> 


In this example we have added <ref> start and finish of the reference. we have taken out the URL and made it into a 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.