Common Wiki Fixes: Difference between revisions

m
Line 83: Line 83:
*'''Cure''': Place a name in the external link.  <font color="blue"><nowiki>[https://familysearch.org/learn/wiki/en/Main_Page</nowiki></font> <font color="blue">'''Main Page''']</font>
*'''Cure''': Place a name in the external link.  <font color="blue"><nowiki>[https://familysearch.org/learn/wiki/en/Main_Page</nowiki></font> <font color="blue">'''Main Page''']</font>
----
----
*'''Amp Injection Problems'''
==== Amp Injection Problems ====


A common problem with links is the &amp; symbol in the link. In this example the &amp; is amp injecting into the link.<br>
*'''Problem''': This is a common problem with links. You will see one or more &amp;amps in a link or see a AMP after a &amp; 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 &amp; symbol. It can be in a link or anywhere on a page. Most of the time it will cause a amp to be injected behind the &amp; symbol.


*bad
*In this example the amp; is injected into the link after the &amp; symbol.


<nowiki><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></nowiki>
'''<nowiki><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
*'''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 <nowiki>"&st=airmyn",</nowiki> this will leave a usable link and stop the amp injection problem. If you deleted just the <nowiki>''amp;st=airmyn''</nowiki> and not the <nowiki>"&"</nowiki> Symbol, the amps will come back.


<nowiki><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></nowiki>
'''<nowiki><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 "&amp;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 "&amp;" Symbol, the amps will come back.  
*In this excample the <nowiki>&</nowiki> has been added into a link, which should also be a reference.


Another example is when a link is infected with amps and should be a reference.  
'''<nowiki>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</nowiki><nowiki>&</nowiki><nowiki>strquery=matching Date accessed: 26 January 2011.<br></nowiki>'''


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


<nowiki>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></nowiki>  
'''<nowiki><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></nowiki>'''


*Good
----


  <nowiki><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></nowiki>
==== Fck Injection into page ====


<br>  
*'''Problem''': Fck can be injected onto a page instead of [[]], <nowiki>< ></nowiki>. 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.


In this example we have added <nowiki><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.</nowiki>
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<br> fckLRfckLRhttp://www.norfolkchurches.co.uk/cantley/cantley.htm Norfolk Churches website<br>
 
*'''Cause''': This type of problem is normally caused by missing a closing reference, <nowiki> <ref/></nowiki>, or mising a <nowiki> > </nowiki> 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 a undo from that point .The other way is much harder and that is to replace the links and references by hand.
</div>
[[Category:Help]]