Difference between revisions of "TNG Integration"

From Genwiki

Jump to: navigation, search
Line 16: Line 16:
 
# Within the person pages, all "places" are examined for string matches to the wiki database.  If the start of the place string, up to the first comma matches a wiki page, then that portion of the place string is changed into a link to the applicable wiki page
 
# Within the person pages, all "places" are examined for string matches to the wiki database.  If the start of the place string, up to the first comma matches a wiki page, then that portion of the place string is changed into a link to the applicable wiki page
  
**Examples of this may be found on the page: [http://genealogy.mcfadyen.ca/getperson.php?personID=I11&tree=mcfadyen Example Page].  Check the place "Tiverton" next to "Died" and the wiki link icon [[Image:doc.gif]] next to a couple of the names.
+
* Examples of this may be found on the page: [http://genealogy.mcfadyen.ca/getperson.php?personID=I11&tree=mcfadyen Example Page].  Check the place "Tiverton" next to "Died" and the wiki link icon [[Image:doc.gif]] next to a couple of the names.
  
The appearance of the icon or place link is automatic if there is a corresponding wiki page.
+
* The appearance of the icon or place link is automatic if there is a corresponding wiki page.
+
 
+
# It is also possible to include links in some of the notes for pictures and histories, however this is a strictly manual entry (using standard html href=.... language) as in this [http://genealogy.mcfadyen.ca/getperson.php?personID=I3942&tree=mcfadyen example] - check the History line at the bottom, there is an embedded link.
I have also started to include links in some of the notes for pictures and histories, however this is a strictly manual entry (using standard html href=.... language) as below, check the History line at the bottom, there is an embedded link.
+
 
+
 
http://genealogy.mcfadyen.ca/getperson.php?personID=I3942&tree=mcfadyen
+
==Mediawiki extensions==
+
 
Within the wiki site, I added the typical categories as you see here
+
Although links to the TNG generated pages can be created using standard wiki html links, a small extension to the Mediawiki language makes this a little easier. A "person" tag was created with the following syntax: <person i=XXX>Desciption<person> make it simple to highlight named linksThe TNG person IDs may be determined
http://genwiki.mcfadyen.ca/index.php/Category:People
+
   
+
and one for places. Then stuck them on the sidebar for easy access.
+
   
+
I have also started a reference page (a couple days ago) to collect the background material that I occasionally get asked for
+
 
http://genwiki.mcfadyen.ca/index.php/Reference_Material_Page
 
http://genwiki.mcfadyen.ca/index.php/Reference_Material_Page
 
   
 
   

Revision as of 19:31, 10 July 2006

This page should be complete by end of week July 14th


Overview

This wiki provides additional background on people and places associated with the McFadyen and Parker genealogy research found at genealogy.mcfadyen.ca It has been categorized into two separate sections: People, and Places.

The Genealogical information is managed through a MySql database and includes management for Births, Deaths, Marriages, Photos, Histories, and their relationships. The Genealogy software package is called The Next Generation of Genealogy Sitebuilding © 2001-2006, created by Darrin Lythgoe, Sandy, Utah. (TNG) For more information on this package, follow the link in the previous line of text.

Although the TNG software does not come preconfigured to work specifically with Mediawiki, only a few modifications to the base TNG software are required to achieve a moderate wiki integration. This page includes the information neccessary to make those changes.

Resulting TNG features

  1. Within the person pages, an icon ( Doc.gif ) to the right of people's names will be displayed each time a wiki page is found to match the individual's name
  2. If the TNG user is logged in as "admin" then a grayed icon ( New doc.gif ) to the right of all possible wiki link points will be displayed
  3. Within the person pages, all "places" are examined for string matches to the wiki database. If the start of the place string, up to the first comma matches a wiki page, then that portion of the place string is changed into a link to the applicable wiki page
  • Examples of this may be found on the page: Example Page. Check the place "Tiverton" next to "Died" and the wiki link icon Doc.gif next to a couple of the names.
  • The appearance of the icon or place link is automatic if there is a corresponding wiki page.
  1. It is also possible to include links in some of the notes for pictures and histories, however this is a strictly manual entry (using standard html href=.... language) as in this example - check the History line at the bottom, there is an embedded link.


Mediawiki extensions

Although links to the TNG generated pages can be created using standard wiki html links, a small extension to the Mediawiki language makes this a little easier. A "person" tag was created with the following syntax: <person i=XXX>Desciption<person> make it simple to highlight named links. The TNG person IDs may be determined http://genwiki.mcfadyen.ca/index.php/Reference_Material_Page

Within the wiki pages, you will see links on peoples names. I simplified this by creating an extension to the page language. The form of this is text, usually their name This would link back to me, since I am person number 1 in my database.

This new tag, creates an appropriate link back into my TNG person pages.

TNG Mods

Wiki Language extension

Wiki notes on Customization