Common Wiki Fixes: Difference between revisions

m
Text replacement - "fckLR" to ""
(Changed "Rating" to "Content".)
m (Text replacement - "fckLR" to "")
Line 8: Line 8:
*'''Cure''': First, look for opening div tags by typing "<nowiki><div</nowiki>" without the &gt; under '''Ctrl F'''. This search will show you all the beginning div tags.
*'''Cure''': First, look for opening div tags by typing "<nowiki><div</nowiki>" without the &gt; under '''Ctrl F'''. This search will show you all the beginning div tags.


{{Block indent|*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.}}
:*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.


----
----
Line 52: Line 52:
*'''Problem''': An external link that looks something like this:
*'''Problem''': An external link that looks something like this:


{{Block indent|1=<font color="blue"><nowiki><a href="https://familysearch.org/wiki/en/Main_Page>FamilySearch Wiki</a></nowiki></font>|2=2}}
::<font color="blue"><nowiki><a href="https://familysearch.org/wiki/en/Main_Page>FamilySearch Wiki</a></nowiki></font>


*'''Cause''': Patron tried to install an external link in HTML style rather than in Wikitext style.  
*'''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:
*'''Cure''': Substitute the HTML code with these Wikitext codes:


{{Block indent|1=*Change the &lt;a href=" to a [ |2=1}}
:*Change the &lt;a href=" to a [  
{{Block indent|*Change the "&gt; to a space }}
:*Change the "&gt; to a space  
{{Block indent|*Change the &lt;/a&gt; to a ] }}
:*Change the &lt;/a&gt; to a ]  
{{Block indent|*It should look like this in Wikitext: }}
:*It should look like this in Wikitext:  
{{Block indent|1=<font color="blue"><nowiki>[https://familysearch.org/wiki/en/Main_Page FamilySearch Wiki]</nowiki></font>|2=2}}
::<font color="blue"><nowiki>[https://familysearch.org/wiki/en/Main_Page FamilySearch Wiki]</nowiki></font>


----
----
Line 69: Line 69:
*'''Problem'''
*'''Problem'''


{{Block indent|1=&lt;a href="https://familysearch.org/wiki/en/United_States_Naturalization_and_Citizenship#On_the_Internet_one_two_three_four_five_six_seven_eight_nine_ten"&gt;United States Naturalization and Citizenship&lt;/a&gt; |2=2}}
::&lt;a href="https://familysearch.org/wiki/en/United_States_Naturalization_and_Citizenship#On_the_Internet_one_two_three_four_five_six_seven_eight_nine_ten"&gt;United States Naturalization and Citizenship&lt;/a&gt;  


*'''Cause''': Patron tried to install an external link in HTML style rather than in Wikitext style.  
*'''Cause''': Patron tried to install an external link in HTML style rather than in Wikitext style.  
*'''Cure''':
*'''Cure''':


{{Block indent|1=*Change the &lt;a href=" to a [ |2=1}}
:*Change the &lt;a href=" to a [  
{{Block indent|*Change the "&gt; to a space }}
:*Change the "&gt; to a space  
{{Block indent|*Change the &lt;/a&gt; to a ] }}
:*Change the &lt;/a&gt; to a ]  
{{Block indent|*The code the code should look like this:}}
:*The code the code should look like this:


{{Block indent|1=<font color="blue"><nowiki>[https://familysearch.org/wiki/en/United_States_Naturalization_and_<br>|2=2}}
::<font color="blue"><nowiki>[https://familysearch.org/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]</nowiki></font>  
Citizenship#On_the_Internet_one_two_three_four_five_six_seven_eight_nine_ten United States Naturalization and Citizenship]</nowiki></font>  


*The link will look this in the article:
*The link will look this in the article:


{{Block indent|[https://familysearch.org/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] |2}}
::[https://familysearch.org/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]  


----
----
Line 92: Line 92:
*'''Problem''': An internal link in red showing both the name of the article and the linking words.
*'''Problem''': An internal link in red showing both the name of the article and the linking words.


{{Block indent|[[Begin your genealogy quest Start your family history]]|2}}
::[[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).  
*'''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:
*'''Cure''': Install the missing pipe. We want the link to look like this:


{{Block indent|[[Begin your genealogy quest|Start your family history]]|2}}
::[[Begin your genealogy quest|Start your family history]]


This is what the coding should look like:  
This is what the coding should look like:  


{{Block indent|1=<font color="blue"><nowiki>[[Begin your genealogy quest</nowiki>'''|'''Start your family history]]</font>|2=2}}
::<font color="blue"><nowiki>[[Begin your genealogy quest</nowiki>'''|'''Start your family history]]</font>


----
----
Line 110: Line 110:
*'''Cause''': Check to see if a space is missing between the URL and the name of the link:
*'''Cause''': Check to see if a space is missing between the URL and the name of the link:


{{Block indent|<nowiki>[https://familysearch.org/wiki/en/Main_PageFamilySearch Wiki Main Page]</nowiki>|2}}
::<nowiki>[https://familysearch.org/wiki/en/Main_PageFamilySearch Wiki Main Page]</nowiki>
{{Block indent|The link looks like this:|2}}
::The link looks like this:


{{Block indent|[https://familysearch.org/wiki/en/Main_PageFamilySearch Wiki Main Page].|2}}
::[https://familysearch.org/wiki/en/Main_PageFamilySearch 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.  
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:
*'''Cure''': Add the missing space. The link should look like this:
{{Block indent|[https://familysearch.org/wiki/en/Main_Page FamilySearch Wiki Main Page]|2}}
::[https://familysearch.org/wiki/en/Main_Page FamilySearch Wiki Main Page]
This link works and has the proper spacing between the URL and link.
This link works and has the proper spacing between the URL and link.
Here is the coding:
Here is the coding:
{{Block indent|1=<font color="blue"><nowiki>[https://familysearch.org/wiki/en/Main_Page FamilySearch Wiki Main Page]</nowiki> </font>|2=2}}
::<font color="blue"><nowiki>[https://familysearch.org/wiki/en/Main_Page FamilySearch Wiki Main Page]</nowiki> </font>


----
----
Line 127: Line 127:


*'''Problem''': External link shows as a number in brackets, which does not tell what the link is for or the source.  
*'''Problem''': External link shows as a number in brackets, which does not tell what the link is for or the source.  
{{Block indent|[https://familysearch.org/wiki/en/Main_Page]|2}}
::[https://familysearch.org/wiki/en/Main_Page]
*'''Cause''': External link is not named. <font color="blue"><nowiki>[https://familysearch.org/wiki/en/Main_Page]</nowiki></font>  
*'''Cause''': External link is not named. <font color="blue"><nowiki>[https://familysearch.org/wiki/en/Main_Page]</nowiki></font>  
*'''Cure''': Place a name in the external link. We want the link to look like this:
*'''Cure''': Place a name in the external link. We want the link to look like this:
{{Block indent|[https://familysearch.org/wiki/en/Main_Page Main Page]|2}}
::[https://familysearch.org/wiki/en/Main_Page Main Page]
The code should look like this:
The code should look like this:
{{Block indent|1=<font color="blue"><nowiki>[https://familysearch.org/wiki/en/Main_Page</nowiki></font> <font color="blue">'''Main Page''']</font>|2=2}}
::<font color="blue"><nowiki>[https://familysearch.org/wiki/en/Main_Page</nowiki></font> <font color="blue">'''Main Page''']</font>
----
----