FamilySearch Wiki:WikiProject Creating Interwiki Links: Difference between revisions

fixing old link
(fixing old link)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{breadcrumb
{{breadcrumb
| link1=[[FamilySearch Wiki:Special Projects|Special Projects page]]
| link1=[[FamilySearch Wiki:Current Projects|Current Projects page]]
| link2=
| link2=
| link3=
| link3=
Line 14: Line 14:
''Each Wiki has it's own separate editing rights. You should have already received editing rights for the English Wiki.<br>
''Each Wiki has it's own separate editing rights. You should have already received editing rights for the English Wiki.<br>
'''To request editing rights for all ten of the language wikis:''' <br>
'''To request editing rights for all ten of the language wikis:''' <br>
1. Go to the [[Main Page|English Wiki Home Page]<br>
1. Go to the [[Main Page|English Wiki Home Page]]<br>
2. Sign in <br>
2. Sign in <br>
3. Scroll to the bottom of the home page, until you see "In other languages"<br>
3. Scroll to the bottom of the home page, until you see "In other languages"<br>
Line 28: Line 28:
Note about the Language Google Sheets:<br>
Note about the Language Google Sheets:<br>


*Spanish Wiki: [https://docs.google.com/spreadsheets/d/1T6iflF6nRhglrhuYVTdF3UOnLCJdmMBdiCUZxe-0eqM/edit?usp=sharing Task List] - request
*Spanish Wiki: [https://docs.google.com/spreadsheets/d/1T6iflF6nRhglrhuYVTdF3UOnLCJdmMBdiCUZxe-0eqM/edit?usp=sharing Task List]  
*Portuguese Wiki: [https://docs.google.com/spreadsheets/d/1hKRm35DwsY_jKww73mIk2C5NOCoqBJ2PtJDAACwN89M/edit?usp=sharing Task List]
*Portuguese Wiki: [https://docs.google.com/spreadsheets/d/1hKRm35DwsY_jKww73mIk2C5NOCoqBJ2PtJDAACwN89M/edit?usp=sharing Task List]
*German Wiki: [https://docs.google.com/spreadsheets/d/1J6wSSGsTek-QkhwrpVisojPTfB4G5JOWwyTsG3A5pTM/edit?usp=sharing Task List]
*German Wiki: [https://docs.google.com/spreadsheets/d/1J6wSSGsTek-QkhwrpVisojPTfB4G5JOWwyTsG3A5pTM/edit?usp=sharing Task List]
Line 70: Line 70:
  <nowiki>{{H-langs|en=United States Genealogy|es=Estados Unidos - Genealogía|pt=Estados Unidos}}</nowiki><br><br>
  <nowiki>{{H-langs|en=United States Genealogy|es=Estados Unidos - Genealogía|pt=Estados Unidos}}</nowiki><br><br>


1. Review the link to make sure the links are in the correct order. You are currently in the English Wiki and therefore, the link you will remove is for the English Wiki article. The "en" in the first part of the template indicates that is for English. The articles for "es" and "pt" are the links you will convert to the new template.
1. Review the link to make sure the links are in the correct order. You are currently in the English Wiki and therefore, the link you will remove is for the English Wiki article. The "en" in the first part of the template indicates that the Wiki page listed is for the English Wiki. The articles for "es" and "pt" are the links you will convert to the new template and will link to the Spanish and Portuguese Wikis.<br><br>
 
2. To fix the Spanish link (indicated by the "es" in the template), delete the 2 curly brackets, template name and the en= and name of the English page. In this example we would take out the following wikitext: <nowiki>{{H-langs|en=United States Genealogy</nowiki><br><br>
2. To fix the Spanish link (indicated by the "es" in the template), delete the 2 curly brackets, template name and the en= and name of the English page. In this example we would take out the following wikitext: <nowiki>{{H-langs|en=United States Genealogy</nowiki><br><br>
The resulting wikitext code is:<br><br>
The resulting wikitext code is:<br><br>
  <nowiki>|es=Estados Unidos - Genealogía|pt=Estados Unidos}}</nowiki><br><br>
  <nowiki>|es=Estados Unidos - Genealogía|pt=Estados Unidos}}</nowiki><br><br>
2. Remove the pipe or vertical bar ("<nowiki>|</nowiki>") and add 2 square brackets before the "es" which stands for the Spanish Wiki and it will now look like this:<br> <br>
3. Remove the pipe or vertical bar ("<nowiki>|</nowiki>") and add 2 square brackets before the "es" which stands for the Spanish Wiki and it will now look like this:<br> <br>
  <nowiki>[[es=Estados Unidos - Genealogía|pt=Estados Unidos}}</nowiki><br><br>
  <nowiki>[[es=Estados Unidos - Genealogía|pt=Estados Unidos}}</nowiki><br><br>
3. Change the equal sign to a colon and it will now look like this:<br><br>
4. Change the equal sign to a colon and it will now look like this:<br><br>
  <nowiki>[[es:Estados Unidos - Genealogía|pt=Estados Unidos}}</nowiki><br><br>
  <nowiki>[[es:Estados Unidos - Genealogía|pt=Estados Unidos}}</nowiki><br><br>
4. Now replace the pipe with two square brackets facing the left. It will now look like this:<br><br>
5. Now replace the pipe with two square brackets facing the left. It will now look like this:<br><br>
  <nowiki>[[es:Estados Unidos - Genealogía]]pt=Estados Unidos}}</nowiki><br><br>
  <nowiki>[[es:Estados Unidos - Genealogía]]pt=Estados Unidos}}</nowiki><br><br>
5. If there was only one language link, you would skip the next part to Step 4.<br><br>
6. If there was only one language link, you would skip the next part to Step 4.<br><br>


'''Change other Language Link, if necessary'''<br><br>
'''Change other Language Link, if necessary'''<br><br>
6. Because there are two links in this example (Spanish and Portuguese), you need to create the other language template. Do this by going to the end of the Spanish word and the square brackets, "Genealogía]]" and click on the "Enter" key to make the rest of the link go to the next line. The remaining wikitext should be:<br><br>
7. Because there are two links in this example (Spanish and Portuguese), you need to create the other language template. Do this by going to the end of the Spanish word and the square brackets, "Genealogía]]" and click on the "Enter" key to make the rest of the link go to the next line. The remaining wikitext should be:<br><br>
  <nowiki>pt=Estados Unidos}}</nowiki><br><br>
  <nowiki>pt=Estados Unidos}}</nowiki><br><br>
7. Change the Portuguese link the same way you did the Spanish link by changing the equal sign to a colon, removing the curly brackets at the end of the link, and by adding square brackets to the beginning and the end of the link, like this:<br><br>  
8. Change the Portuguese link the same way you did the Spanish link by changing the equal sign to a colon, removing the curly brackets at the end of the link, and by adding square brackets to the beginning and the end of the link, like this:<br><br>  
  <nowiki>[[pt:Estados Unidos]]</nowiki><br><br>
  <nowiki>[[pt:Estados Unidos]]</nowiki><br><br>
8. The new completed wikitext code for the 2 language links should now look like this:<br><br>
9. The new completed wikitext code for the 2 language links should now look like this:<br><br>
  <nowiki>[[es:Estados Unidos - Genealogía]]</nowiki><br><br>
  <nowiki>[[es:Estados Unidos - Genealogía]]</nowiki><br><br>
  <nowiki>[[pt:Estados Unidos]]</nowiki><br><br>
  <nowiki>[[pt:Estados Unidos]]</nowiki><br><br>
Approver, Batcheditor, Moderator, Patroller, Protector, Reviewer, Bots, Bureaucrats, editor, Interface administrators, pagecreator, pagedeleter, Page Ownership admin, Push subscription managers, smwadministrator, smwcurator, smweditor, Suppressors, Administrators, Upload Wizard campaign editors, Widget editors
795,753

edits