Difference between revisions of "MediaWiki Integration"

From TNG_Wiki
Jump to navigation Jump to search
(added Date of Last Update)
(41 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{TNGver
+
{{restricted}}{{TNGver
|ver=789
+
|ver=78910
|notes=V8.1.5 of the Wiki Integration mod resolves the compatibility issue with the [[Relationship Display  Mod]] in TNG 8.1.2 and adds new capability to create Source and  Repository pages on your wiki.<br />V8.1.6 of the Wiki Integration mod resolves the compatibility issue with the [[Living Color Mod]] which must be installed after the Wiki Integration mod.<br />V9.0.0.0 includes the expanded Source and Repository page links and does not contain any known conflict with other mods.
+
|notes=V10.1.0.5 and later of the MediaWiki Integration mod now allows you to Edit the parameters for both the TNG/extensions/link_wiki1.php and the persons.php file that must then be copied to your wiki/extensions folder.<br />V8.1.5 of the Wiki Integration mod resolves the compatibility issue with the [[Relationship Display  Mod]] in TNG 8.1.2 and adds new capability to create Source and  Repository pages on your wiki.<br />V8.1.6 of the Wiki Integration mod resolves the compatibility issue with the [[Living Color Mod]] which must be installed after the Wiki Integration mod.<br />V9.0.0.0 includes the expanded Source and Repository page links and does not contain any known conflict with other mods. <br />'''<span style="color: red">If you also install the [[Geocode Assist Mod]] it should be install ed after this mod, so the geocode globe displays after the location name</span>'''.  This restriction does no longer applies to v10.1.0.5 of the mod.<br />
 +
If you also install the [[Family Indicators Mod]] and [[Family Preview Mod]] (LB version), you may want to install them first.  Installation order influences the order of the icons.
 
}}
 
}}
 
{{TNGmod
 
{{TNGmod
 
| mod_name        = Media Wiki Integration
 
| mod_name        = Media Wiki Integration
 
| mod_summary    = Integrates [http://www.mediawiki.org/wiki/MediaWiki MediaWiki] with TNG for Individuals, Places,  Repositories, and  Sources
 
| mod_summary    = Integrates [http://www.mediawiki.org/wiki/MediaWiki MediaWiki] with TNG for Individuals, Places,  Repositories, and  Sources
| mod_validation  = V9.0.0.0 is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
+
| mod_validation  = V9 mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]]
|  download_link  = [[Media:mediawiki_v9.0.0.0.zip|mediawiki_v9.0.0.0.zip]] for {{Tv90}} <hr  />[[Media:mediawiki_v8.1.6.zip|mediawiki_v8.1.6.zip]] for {{Tv812}} <hr  />[[Media:mediawiki_v8.1.4.zip|mediawiki_v8.1.4.zip]] for {{Tv80}}<hr />[[Media:mediawiki_v1.2.zip|mediawiki_v1.2.zip]] for {{Tv70}}
+
| mod_last_update = 25 Jan 2015
| mod_author      = Brian McFadyen
+
|  download_link  = for {{Tv110}}{{Tv1010}}<br />[https://www.royandboucher.com/ccount/click.php?id=257&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} mediawiki_v10.1.0.7.zip]<hr />for <span class="nowrap">{{Tv100}}{{Tv90}}</span><br />[https://www.royandboucher.com/ccount/click.php?id=106&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} mediawiki_v9.2.0.3.zip]<hr />[https://www.royandboucher.com/ccount/click.php?id=77&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} mediawiki_v9.0.0.1.zip] for {{Tv90}} <hr  />[https://www.royandboucher.com/ccount/click.php?id=78&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} mediawiki_v8.1.6.zip] for {{Tv812}} <hr  />[https://www.royandboucher.com/ccount/click.php?id=79&user={{#replace:{{CURRENTLOGGEDUSER}}}}&page={{PAGENAMEE}} mediawiki_v8.1.4.zip] for {{Tv80}}<hr />[[Media:mediawiki_v1.2.zip|mediawiki_v1.2.zip]] for {{Tv70}}
 +
| download_stats = [https://www.royandboucher.com/ccount/index.php?action=stats&id=77-78-79-104-106-133-209-248 View download statistics]
 +
| mod_author      = Brian McFadyen<br />maintained by [[User:Ken Roy|Ken Roy]]
 
|  mod_url        = [[Wiki Integration]] (this page)<br />Brian  McFadyen's [http://genwiki.mcfadyen.ca/index.php?title=TNG_Integration  TNG Integration] for history
 
|  mod_url        = [[Wiki Integration]] (this page)<br />Brian  McFadyen's [http://genwiki.mcfadyen.ca/index.php?title=TNG_Integration  TNG Integration] for history
| mod_support    = [http://www.tngforum.us/ TNG Forums]
+
| mod_support    = [http://tng.community/ TNG Commmunity Forums]
 
| mod_contact    =
 
| mod_contact    =
| mod_version    = 9.0.0.0 for TNG V9<br />8.1.6 for TNG V8.1.2<br />8.1.4 for TNG V8<br />1.2 for TNG V7
+
| mod_version    = 10.1.0.7 for TNG 10.1<br />9.2.0.3 for TNG V9.2 and up<br />9.0.0.1 for TNG V9<br />8.1.6 for TNG V8.1.2<br />8.1.4 for TNG V8<br />1.2 for TNG V7
 
| min_TNG_ver    = 7.1.0
 
| min_TNG_ver    = 7.1.0
| max_TNG_ver    = 9.0.0
+
| max_TNG_ver    = 11+
 
|  TNG_file_list  = genlib.php<br />getperson.php<br  />personlib.php<br />link_wiki.php<br  />substitution_list.php
 
|  TNG_file_list  = genlib.php<br />getperson.php<br  />personlib.php<br />link_wiki.php<br  />substitution_list.php
 
| related_mods    = [[Surname First  Mod]] is recommended for wiki person page indexing in TNG V7<br  /><span style="color: red">Use Name Order of '''Surname first  (with commas)''' in TNG V8</span>
 
| related_mods    = [[Surname First  Mod]] is recommended for wiki person page indexing in TNG V7<br  /><span style="color: red">Use Name Order of '''Surname first  (with commas)''' in TNG V8</span>
| notes          = For  TNG V7 you must [[Wiki_Integration#Edit_Config_File|edit the config  file]] before installing it to reflect the URL for your own MediaWiki  installation
+
| notes          = For  TNG V7 you must [[Wiki_Integration#Edit_Config_File|edit the config  file]] before installing it to reflect the URL for your own MediaWiki  installation<br />For TNG V9, if you also install the [[Geocode Assist Mod]], it should be installed after the [[Wiki Integration]] mod.
 
}}
 
}}
{|align=right
+
{| style="margin-right:0.5 em;" align="right"
|__TOC__
+
| __TOC__
 
|}
 
|}
 
  
 
== Introduction ==
 
== Introduction ==
 
+
&nbsp;&nbsp;&nbsp;&nbsp;''See also: [[Single sign-on integration with SimpleSAMLphp]]''
  
 
The  Wiki Integration mod allows an integration of  [http://www.mediawiki.org/wiki/MediaWiki MediaWiki] with TNG for Places  and Individuals. The TNG Wiki modification is intended to provide a wiki  environment for genealogy related stories, histories, and facts that is  directly accessible from the individual person pages within the TNG  software.  
 
The  Wiki Integration mod allows an integration of  [http://www.mediawiki.org/wiki/MediaWiki MediaWiki] with TNG for Places  and Individuals. The TNG Wiki modification is intended to provide a wiki  environment for genealogy related stories, histories, and facts that is  directly accessible from the individual person pages within the TNG  software.  
Line 49: Line 51:
 
:<span  style="color: red">'''If your MediaWiki does not use the SAME  database as TNG, do NOT install this mod.'''</span>
 
:<span  style="color: red">'''If your MediaWiki does not use the SAME  database as TNG, do NOT install this mod.'''</span>
  
See  the TNG Forum Entry [http://www.tngforum.us/index.php?s=&showtopic=1194&view=findpost&p=5279  MediaWiki Integration] for additional details and history of the mod.
+
See  the TNG Community Forum entry [http://tng.community/index.php?s=&showtopic=1194&#comment-5279  MediaWiki Integration] for additional details and history of the mod.
  
 
See  also the [[MediaWiki - Installing]] for a visual supplement to the  [http://www.mediawiki.org/wiki/Manual:Installation_guide MediaWiki  Installation Guide] documentation.
 
See  also the [[MediaWiki - Installing]] for a visual supplement to the  [http://www.mediawiki.org/wiki/Manual:Installation_guide MediaWiki  Installation Guide] documentation.
  
  
=== Resulting GenWiki - TNG features ===
+
=== Resulting MediaWiki - TNG features ===
  
  
Line 82: Line 84:
 
Although  links to the TNG generated pages can be created using standard wiki  html links within your wiki pages, a small  [http://meta.wikimedia.org/wiki/Extending_wiki_markup extension] to the  MediaWiki language makes this a little easier.   
 
Although  links to the TNG generated pages can be created using standard wiki  html links within your wiki pages, a small  [http://meta.wikimedia.org/wiki/Extending_wiki_markup extension] to the  MediaWiki language makes this a little easier.   
  
This MediaWiki extension can be downloaded and installed from the  [http://genwiki.mcfadyen.ca/index.php/TNG_Integration#Wiki_Language_extension  MediaWiki Extensions] on Brian McFadyen's web site.
+
'''Note for V8.1.5 and above''' of this mod, you should copy the wiki language extension - persons.php from the TNG extensions folder to your wiki/extensions directory and follow the recommendations in the Post Installation.
 +
 
 +
For previous versions of the mod, this MediaWiki extension can be downloaded and installed from the  [http://genwiki.mcfadyen.ca/index.php/TNG_Integration#Wiki_Language_extension  MediaWiki Extensions] on Brian McFadyen's web site.
  
 
The MediaWiki extension provides
 
The MediaWiki extension provides
Line 133: Line 137:
 
! Date
 
! Date
 
! Contents
 
! Contents
 +
|-
 +
| V10.1.0.7
 +
| 25 Jan 2015
 +
| Updated for TNG 10.1 to resolve the sequence order of the icons displayed by [[Family Edit Links Mod]], [[Family Indicators Mod]], and [[Family Preview Mod]]
 +
|-
 +
| V10.1.0.6
 +
| 20 Jan 2015
 +
| Updated for TNG 10.1 to resolve the conflict with [[Family Indicators Mod]]
 +
|-
 +
| V10.1.0.5
 +
| 10 Jan 2015
 +
| Updated for TNG 10.1 to
 +
* support MySQLi changes
 +
* add Edit parameters for the persons.php that '''must then be copied''' to your wiki/extensions folder
 +
* remove the install sequence dependency with the [[Geocode Assistant Mod]]
 +
|-
 +
| V9.2.0.4
 +
| 13 Nov 2013
 +
| Updated to add a new Edit parameter that controls whether existing MediaWiki page links open in a new window.  Defaults to Yes.
 +
|-
 +
| V9.2.0.3
 +
| 23 Feb 2013
 +
| Updated for TNG 9.2
 +
|-
 +
| V9.0.0.1
 +
| 7 June 2012
 +
| Updated to not create the wiki link icons for the Person Preview on search results.
 
|-
 
|-
 
| V9.0.0.0
 
| V9.0.0.0
Line 210: Line 241:
  
 
== Post Installation ==
 
== Post Installation ==
 +
=== TNG 10.1 and up ===
 +
 +
{{TNG 10.1.0|and after}}If using TNG V10.1 and above, you '''must'''
 +
# use the mod '''EDIT''' button on the Mod Manager page to enter additional details on your wiki
 +
#* Wiki URL address
 +
#* Wiki URL style
 +
#* Wiki Database table prefix
 +
#* Open wiki page in another window or tabe
 +
#* the URL for your TNG site
 +
#* your treeID
 +
# Copy (do NOT move) the extensions/persons.php file to your wiki/extensions  folder
 +
 +
=== TNG 8.0 through TNG 10.0.3 ===
 
{{TNG 8.0|and after}}If using TNG V8 and above, you '''must'''
 
{{TNG 8.0|and after}}If using TNG V8 and above, you '''must'''
 
# use the mod '''EDIT''' button on the Mod Manager page to enter additional details on your wiki
 
# use the mod '''EDIT''' button on the Mod Manager page to enter additional details on your wiki
Line 217: Line 261:
 
# '''copy''' the  persons.php file from the TNG extensions folder to your wiki/extensions  folder, and  
 
# '''copy''' the  persons.php file from the TNG extensions folder to your wiki/extensions  folder, and  
 
# '''edit''' the new '''persons.php''' file to provide
 
# '''edit''' the new '''persons.php''' file to provide
 +
 
#* the URL for your TNG site
 
#* the URL for your TNG site
 
#* your treeID
 
#* your treeID
::<syntaxhighlight lang="php" line start="8" enclose="div">
 
$tng_url = "http://localhost/tng";
 
$treeID = "myTreeID";
 
</syntaxhighlight>
 
so that the added '''<nowiki><tng</nowiki>''' tags for '''Source''' and '''Repositories''' will be there in addition to the '''Individual''' and '''Family''' page return tag capabilities initially provided by Brian McFadyen.
 
  
== Edit Config File '''(V7 Only)''' ==
+
=== Edit Config File '''(V7 Only)''' ===
 
{{TNG 7.0}}
 
{{TNG 7.0}}
 
Note that you must edit the config file to replace lines 127-128 which are
 
Note that you must edit the config file to replace lines 127-128 which are
Line 242: Line 282:
 
Manual  Install instruction for previous versions are available on  [http://genwiki.mcfadyen.ca/index.php?title=TNG_Integration Brian's  site].   
 
Manual  Install instruction for previous versions are available on  [http://genwiki.mcfadyen.ca/index.php?title=TNG_Integration Brian's  site].   
  
The  [http://www.tngforum.us/index.php?s=&showtopic=1194&view=findpost&p=5279  MediaWiki Integration] on the TNG Forum also provide some instructions.   
+
The  [http://tng.community/index.php?s=&showtopic=1194&#comment-5279  MediaWiki Integration] on the TNG Community Forum also provide some instructions.   
  
'''<font color=red>Note this TNG mod requires  that you have MediaWiki installed using the same database as  TNG.</font>''' See the TNG Forum Entry [http://www.tngforum.us/index.php?s=&showtopic=1194&view=findpost&p=5279  MediaWiki Integration] for additional details.
+
'''<font color=red>Note this TNG mod requires  that you have MediaWiki installed using the same database as  TNG.</font>''' See the TNG Community Forum entry [http://tng.community/index.php?s=&showtopic=1194&#comment-5279  MediaWiki Integration] for additional details.
  
 
The following links provide information on integrating MediaWiki with TNG:
 
The following links provide information on integrating MediaWiki with TNG:
  
* [http://www.tngforum.us/index.php?s=&showtopic=1194&view=findpost&p=5279 MediaWiki Integration]  
+
* [http://tng.community/index.php?s=&showtopic=1194&#comment-5279 MediaWiki Integration]  
  
 
* [http://genwiki.mcfadyen.ca/index.php?title=TNG_Integration TNG Integration] on Brian McFadyen's site
 
* [http://genwiki.mcfadyen.ca/index.php?title=TNG_Integration TNG Integration] on Brian McFadyen's site
  
== TNG User sites using this mod ==
+
== Sites using this mod ==
If you download and install this mod, please add TNG site to the table below
+
If you download and install this mod, please add your TNG site to the table below
  
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
 
{| border="0" cellspacing="1" cellpadding="2" class="wikitable"
Line 260: Line 300:
 
! User
 
! User
 
! Note
 
! Note
! Mod-Version/TNG-Version
+
! Mod-Version
 +
! TNG-Version
 
! User-language
 
! User-language
 
|-
 
|-
| [http://genwiki.mcfadyen.ca/index.php/Main_Page McFadyen Parker Genealogy]
+
| [http://genwiki.mcfadyen.ca/index.php/Main_Page McFadyen Parker Genealogy]
 
| Brian McFadyen
 
| Brian McFadyen
 
| Mod Developer. Best site to see this mod in action  
 
| Mod Developer. Best site to see this mod in action  
| V8.1.4/TNG 8.0.1
+
| 8.1.4
 +
| 8.0.1
 
| EN
 
| EN
 
|-
 
|-
 
| [http://genealogy.henny-savenije.pe.kr/mediawiki/index.php Genealogieën van de Veenkoloniën]
 
| [http://genealogy.henny-savenije.pe.kr/mediawiki/index.php Genealogieën van de Veenkoloniën]
 
| Henny Savenije
 
| Henny Savenije
|
+
| I was wondering if the redirection could be to name instead of name_._ID
| V9.0.0.0/TNG 9.0.0
+
| v9.2.0.4.cfg
 +
| v.10.0.3
 
| AF, DE, EN, ES, FR, IT, NL, NO, PT, SU, SV
 
| AF, DE, EN, ES, FR, IT, NL, NO, PT, SU, SV
 
|-
 
|-
| [http://www.royandboucher.com Our Acadian, French-Canadian, and Maine Ancestors]
+
| [https://www.royandboucher.com Our Acadian, French-Canadian, and Maine Ancestors]
 
| [[User:Ken Roy|Ken Roy]]
 
| [[User:Ken Roy|Ken Roy]]
 
| Installed on a test site only
 
| Installed on a test site only
| V9.0.0.0/TNG 9.0.0 beta
+
| 9.2.0.3/10.1.0.7
 +
| 10.0.3/10.1.0
 
| EN, FR
 
| EN, FR
 
|-
 
|-
Line 284: Line 328:
 
| [[User:jtrigsby|Thom Rigsby]]
 
| [[User:jtrigsby|Thom Rigsby]]
 
| Just installed, only a few pages created
 
| Just installed, only a few pages created
| V9.0.0.0/TNG 9.0
+
| 9.0.0.0
 +
| 9.0
 
| EN-US
 
| EN-US
 
|-
 
|-
| ...
+
|-
| ...
+
| [http://www.vdheuvel.org/wiki/index.php, Van den Heuvel]
| ...
+
| [[User:Marcombv|Marco van den Heuvel]]
| ...
+
| Just installed, not much info yet.
| ...
+
| 9.0.0.0
 +
| 9.0.3
 +
| NL, EN
 +
 
 +
|-
 +
| [http://www.kleinmanngenealogy.com Kleinmann Genealogy]
 +
| [[User:laxref93|John Kleinmann]]
 +
| Building it out now. Click "Wiki" under the "More" dropdown menu 
 +
| 10.1.0.7
 +
| 10.1.1
 +
| EN
 +
 
 +
|-
 +
| [http://wiki.mfo.me.uk/index.php?title=Stagg,_John_Henry_-_I21022 MFO Sample Wiki Page]
 +
| [[User:HiTowerUK|Roger Mitchell]]
 +
| On-going project of expansion
 +
| 9.2.0.3
 +
| 9.2.1
 +
| EN
 +
|-
 +
| [http://leverette-family-history.us Leverette Family History]
 +
| [[User:Jefflev3893|Jeff Leverette]]
 +
|
 +
| 10.1.0.7
 +
| 10.1.3
 +
| EN
 +
|-
 +
| [https://www.ourlife.us OurLife Family History - McMullen Clan]
 +
| [[User:Seanst|Sean Thompson]]
 +
| Not a public site
 +
| 10.1.0.7
 +
| 11.1.0
 +
| English
 +
|-
 +
| [http://www.1820settlers.com British 1820 Settlers of South Africa]
 +
| [[User:PaulTT|Paul Tanner-Tremaine]]
 +
|  
 +
| 10.1.0.7
 +
| 11.1.1
 +
| English
 +
|-
 +
| [https://roeljongman.nl Stamboom Jongman]
 +
| [[User:Roelj|Roel Jongman]]
 +
| Public/Private site
 +
| 10.1.0.7
 +
| 10.1.3
 +
| NL, DE, EN
 +
|-
 +
| [http://williamsfamilytree.co.uk/tree The Williams Family Tree]
 +
| [[User:RottenSod|Phil Williams]]
 +
| Public site. Added link to Wiki from menu bar.
 +
| 10.1.0.7
 +
| 11.1.2
 +
| English
 
|}
 
|}
  
== TNG User sites using MediaWiki ==  
+
== TNG Sites using MediaWiki ==  
 
Examples of sites using MediaWiki... but not the TNG [[Wiki Integration]] mod  
 
Examples of sites using MediaWiki... but not the TNG [[Wiki Integration]] mod  
  
Line 319: Line 417:
 
*Wikis for Genealogy http://www.cyndislist.com/wikis.htm
 
*Wikis for Genealogy http://www.cyndislist.com/wikis.htm
  
 +
[[Category:Mods for TNG v11]]
 +
[[Category:Mods for TNG v10]]
 +
[[Category:Mods for TNG v9]]
 +
[[Category:Mods for TNG v8]]
 
[[Category:Mods for TNG v7]]
 
[[Category:Mods for TNG v7]]
[[Category:Mods for TNG v8]]
+
[[Category:genlib.php mods]]
[[Category:Mods for TNG v9]]
+
[[Category:getperson.php mods]]
 +
[[Category:personlib.php mods]]

Revision as of 07:51, 29 December 2017

Restricted Downloads of MediaWiki Integration are restricted to logged in users. If you do not have a user account on the TNG Wiki use the Request Account link to request a user account Restricted
Caution If you have trouble downloading with Google Chrome, Vivaldi, Brave or other Chromium based browser, try using a right-click and select Open in new Window, then F5, or use another browser such as Firefox


Caution


Ambox notice.png V10.1.0.5 and later of the MediaWiki Integration mod now allows you to Edit the parameters for both the TNG/extensions/link_wiki1.php and the persons.php file that must then be copied to your wiki/extensions folder.
V8.1.5 of the Wiki Integration mod resolves the compatibility issue with the Relationship Display Mod in TNG 8.1.2 and adds new capability to create Source and Repository pages on your wiki.
V8.1.6 of the Wiki Integration mod resolves the compatibility issue with the Living Color Mod which must be installed after the Wiki Integration mod.
V9.0.0.0 includes the expanded Source and Repository page links and does not contain any known conflict with other mods.
If you also install the Geocode Assist Mod it should be install ed after this mod, so the geocode globe displays after the location name. This restriction does no longer applies to v10.1.0.5 of the mod.

If you also install the Family Indicators Mod and Family Preview Mod (LB version), you may want to install them first. Installation order influences the order of the icons.

TNG 10.0
TNG 9.0
TNG 8.0
TNG 7.0


Media Wiki Integration
Summary Integrates MediaWiki with TNG for Individuals, Places, Repositories, and Sources
Validation V9 mod is XHTML compliant.Valid-xhtml10.png
Mod Updated 25 Jan 2015
Download link for
TNG 11.0
TNG 10.1.0

mediawiki_v10.1.0.7.zip
for
TNG 10.0
TNG 9.0

mediawiki_v9.2.0.3.zip
mediawiki_v9.0.0.1.zip for
TNG 9.0

mediawiki_v8.1.6.zip for
TNG 8.1.2

mediawiki_v8.1.4.zip for
TNG 8.0

mediawiki_v1.2.zip for
TNG 7.0
Download stats View download statistics
Author(s) Brian McFadyen
maintained by Ken Roy
Homepage Wiki Integration (this page)
Brian McFadyen's TNG Integration for history
Mod Support TNG Commmunity Forums
Contact Developer
Latest Mod 10.1.0.7 for TNG 10.1
9.2.0.3 for TNG V9.2 and up
9.0.0.1 for TNG V9
8.1.6 for TNG V8.1.2
8.1.4 for TNG V8
1.2 for TNG V7
Min TNG V 7.1.0
Max TNG V 11+
Files modified
genlib.php
getperson.php
personlib.php
link_wiki.php
substitution_list.php
Related Mods
Surname First Mod is recommended for wiki person page indexing in TNG V7
Use Name Order of Surname first (with commas) in TNG V8
Notes
For TNG V7 you must edit the config file before installing it to reflect the URL for your own MediaWiki installation
For TNG V9, if you also install the Geocode Assist Mod, it should be installed after the Wiki Integration mod.


Introduction

    See also: Single sign-on integration with SimpleSAMLphp

The Wiki Integration mod allows an integration of MediaWiki with TNG for Places and Individuals. The TNG Wiki modification is intended to provide a wiki environment for genealogy related stories, histories, and facts that is directly accessible from the individual person pages within the TNG software.

In particular, it will help create automated link between people and places from within your individual person pages.

An example of the results have been categorized into two primary sections:

on Brian McFadyen's Wiki

V8.1.5 of the mod extends the capability to also allow creating links for sources and repositories and resolves the incompatibility with the Relationship Display Mod in TNG 8.1.2


Restrictions

Note the TNG Wiki Integration mod has the following restrictions:

If you have not installed MediaWiki do NOT install this mod.
  • it must be using the same database as TNG.
If your MediaWiki does not use the SAME database as TNG, do NOT install this mod.

See the TNG Community Forum entry MediaWiki Integration for additional details and history of the mod.

See also the MediaWiki - Installing for a visual supplement to the MediaWiki Installation Guide documentation.


Resulting MediaWiki - TNG features

  • 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 that matchs the individual's name
  • If the TNG user is logged in with admin privileges then a grayed icon ( New doc.gif ) to the right of all possible wiki link points will be displayed
  • Within the person pages, all places are examined for string matches to the wiki database.
  • 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.
  • It is also possible to include links in 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.

Wiki Integration Links


Strategies for integration

Two different customizable strategies are available for the Wiki Integration:

  • Strategy 1 This approach is targeted at Location Strings that have been entered in a somewhat unrestricted manner. This strategy starts from the left, and checks for a GenWiki page that matches just the first segment, then the first two segments, then the first three segments, then four, five, etc. The largest continuous set of segments that match is turned into a GenWiki link. Then, the search starts again at the first non-matched segment and repeats the search. Segments that do not match a page are simply printed as text. This strategy is the default implemented by the mediawiki_v1.2.cfg file.
  • Strategy 2 This approach was developed by Roger Navarre and works very well for well structured location strings. This approach is targeted at location strings with the following format:
town, county, state/province, country

See Brian McFadyen's site on recommendation on how to replace the link_wiki.php with the files used by the second strategy.

MediaWiki extensions

Although links to the TNG generated pages can be created using standard wiki html links within your wiki pages, a small extension to the MediaWiki language makes this a little easier.

Note for V8.1.5 and above of this mod, you should copy the wiki language extension - persons.php from the TNG extensions folder to your wiki/extensions directory and follow the recommendations in the Post Installation.

For previous versions of the mod, this MediaWiki extension can be downloaded and installed from the MediaWiki Extensions on Brian McFadyen's web site.

The MediaWiki extension provides

A <tng> tag that uses the following syntax:

  • <tng i=XXX>Description</tng> for links to a person page using the person ID
  • <tng f=XXX>Description</tng> for links to a family page using the family ID

The previous <person> tags will continue to work the same as the new shorter <tng> tags.

The TNG person/family IDs may be determined by examination of the TNG person/family pages, or hovering your mouse over any TNG person/family link and monitoring the browser status line.

With the V8.1.5 version of the mod, the following tags were also added to persons.php:

  • <tng s=XXX>Source Title</tng> for links to return to a Source page
  • <tng r=XXX>Repository Name</tng> for links to return to a Repository page

The Source ID number should be the number displayed on the page created when clicking on document icon from the TNG source page. Note this should be the number only that follows the S id.

The Repository ID number should be the number displayed on the page created when clicking on document icon from the TNG repository page. Note this should be the number only that follows the REPO id.

See the Creating Wiki Links to TNG pages for illustrations on how to use the Wiki Language extension and on resulting links if the Wiki Language extension is not installed correctly.

See the Customizing the person.php file for illustrations on how to update the person.php in your wiki/extensions directory after installing the Wiki Language extension.

Developer

Mod developer is Brian McFadyen.

Modified by Ken Roy to support MediaWiki links for Repositories and Sources.

Modified by Jeff Robison to resolve conflict with the Relationship Display Mod in TNG 8.1.2

Modified by Rick Busbee to resolve conflict with the Living Color Mod in TNG 8.1.2

Modified by Linc Haymaker and Ken Roy for TNG V9

Revision History

Version Date Contents
V10.1.0.7 25 Jan 2015 Updated for TNG 10.1 to resolve the sequence order of the icons displayed by Family Edit Links Mod, Family Indicators Mod, and Family Preview Mod
V10.1.0.6 20 Jan 2015 Updated for TNG 10.1 to resolve the conflict with Family Indicators Mod
V10.1.0.5 10 Jan 2015 Updated for TNG 10.1 to
  • support MySQLi changes
  • add Edit parameters for the persons.php that must then be copied to your wiki/extensions folder
  • remove the install sequence dependency with the Geocode Assistant Mod
V9.2.0.4 13 Nov 2013 Updated to add a new Edit parameter that controls whether existing MediaWiki page links open in a new window. Defaults to Yes.
V9.2.0.3 23 Feb 2013 Updated for TNG 9.2
V9.0.0.1 7 June 2012 Updated to not create the wiki link icons for the Person Preview on search results.
V9.0.0.0 2 February 2012 Updated for TNG V9
V8.1.6 25 Aug 2011 Updated to resolve conflict with the Living Color Mod in TNG 8.1.2
V8.1.5 27 Aug 2011 Updated zipfile to v8.1.5a to include the missing mediawiki/new_doc.gif file from V8.1.5
V8.1.5 6 Jun 2011 Updated to resolve conflict with the Relationship Display Mod in TNG 8.1.2 and to add new capability to link to Sources and Repositories, so that you can provide extended descriptions on your wiki for your TNG sources and repositories.
V8.1.4 16 Jul 2010 Bug Fix. Correction to yesterday's correction attempt.
V8.1.2/3 15 Jul 2010 Bug Fix. Failed attempts to correct the mistaken deletion of "Group Sheet" links on individual page.
V8.1.1 29 May 2010 Corrections to work with TNG V8.
V8.1.0 27 May 2010 Updated config file for TNG V8. The wiki URL, Wiki URL style, and Wiki table prefix are now editable parameters. See Mod Manager Syntax
V1.2 Dec 6, 2009 Updated config file documentation to point to TNG Wiki. This file is identical as that of V1.1 included in the Mod Manager zip file, but which will soon be eliminated from the bundle.
V1.1 12 May 2009 original Mod Manager config file

Requirements

For TNG:

  • A working TNG installation.
  • For improved GenWiki People Name indexing, it is recommended that the TNG option to list Surnames first be used.
found under Admin - General Settings - Name Order See also the Surname First Mod if running TNG V7
  • A backup of your TNG files
    • genlib.php (V7)
    • globallib.php (v8)
    • personlib.php
    • getperson.php
  • An installed current version of the Mod Manager.

For MediaWiki:

If you have not installed MediaWiki do NOT install this mod
  • The MediaWiki must be installed into the same TNG database and support table name prefixes
If your MediaWiki does not use the SAME database as TNG, do NOT install this mod.
  • A backup of your MediaWiki files
  • Installation of the Wiki Language Integration
  • An edited version of the person.php file in your wiki/extensions directory that reflects your wiki URL and treeID
  • Suggested Wiki Customizations to add the People and Place categories to your wiki sidebar

See also the MediaWiki - Installing for a visual supplement to the MediaWiki Installation Guide documentation.

Automated Install

  1. Download the appropriate mediawiki installation package from the status box above.
  2. Extract the zip file into your TNG admin/mod_folder for V7 or your /mods folder for V8
  3. If using TNG V7, edit the mediawiki_v1.2.cfg file as shown below
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files

Note that the Wiki Integration Mod requires that your wiki database tables be installed in the same database as TNG. If your current MediaWiki installation is not using the same database as TNG, DO NOT install this mod.

Post Installation

TNG 10.1 and up

TNG version: 10.1.0

If using TNG V10.1 and above, you must

  1. use the mod EDIT button on the Mod Manager page to enter additional details on your wiki
    • Wiki URL address
    • Wiki URL style
    • Wiki Database table prefix
    • Open wiki page in another window or tabe
    • the URL for your TNG site
    • your treeID
  2. Copy (do NOT move) the extensions/persons.php file to your wiki/extensions folder

TNG 8.0 through TNG 10.0.3

TNG version: 8.0

If using TNG V8 and above, you must

  1. use the mod EDIT button on the Mod Manager page to enter additional details on your wiki
    • Wiki URL address
    • Wiki URL style
    • Wiki Database table prefix
  2. copy the persons.php file from the TNG extensions folder to your wiki/extensions folder, and
  3. edit the new persons.php file to provide
    • the URL for your TNG site
    • your treeID

Edit Config File (V7 Only)

TNG version: 7.0

Note that you must edit the config file to replace lines 127-128 which are

        $wiki_url = "http://yourownsite.ext/wiki/";
        $wiki_prefix = "wiki_";

with the URL for your own web site and the wiki table prefix that you used.

Failure to edit the wiki URL, will result in a link to an invalid web site instead of your own MediaWIki installation.

Note that the trailing slash should probably not be included in the URL above, since it resulted in a double slash which also generates an invalid URL for the wiki page.

Manual Install

No longer recommended and may not be current.

Manual Install instruction for previous versions are available on Brian's site.

The MediaWiki Integration on the TNG Community Forum also provide some instructions.

Note this TNG mod requires that you have MediaWiki installed using the same database as TNG. See the TNG Community Forum entry MediaWiki Integration for additional details.

The following links provide information on integrating MediaWiki with TNG:

Sites using this mod

If you download and install this mod, please add your TNG site to the table below

URL User Note Mod-Version TNG-Version User-language
McFadyen Parker Genealogy Brian McFadyen Mod Developer. Best site to see this mod in action 8.1.4 8.0.1 EN
Genealogieën van de Veenkoloniën Henny Savenije I was wondering if the redirection could be to name instead of name_._ID v9.2.0.4.cfg v.10.0.3 AF, DE, EN, ES, FR, IT, NL, NO, PT, SU, SV
Our Acadian, French-Canadian, and Maine Ancestors Ken Roy Installed on a test site only 9.2.0.3/10.1.0.7 10.0.3/10.1.0 EN, FR
Gentry-Rigsby-Kramitz Family Genealogy Thom Rigsby Just installed, only a few pages created 9.0.0.0 9.0 EN-US
Van den Heuvel Marco van den Heuvel Just installed, not much info yet. 9.0.0.0 9.0.3 NL, EN
Kleinmann Genealogy John Kleinmann Building it out now. Click "Wiki" under the "More" dropdown menu 10.1.0.7 10.1.1 EN
MFO Sample Wiki Page Roger Mitchell On-going project of expansion 9.2.0.3 9.2.1 EN
Leverette Family History Jeff Leverette 10.1.0.7 10.1.3 EN
OurLife Family History - McMullen Clan Sean Thompson Not a public site 10.1.0.7 11.1.0 English
British 1820 Settlers of South Africa Paul Tanner-Tremaine 10.1.0.7 11.1.1 English
Stamboom Jongman Roel Jongman Public/Private site 10.1.0.7 10.1.3 NL, DE, EN
The Williams Family Tree Phil Williams Public site. Added link to Wiki from menu bar. 10.1.0.7 11.1.2 English

TNG Sites using MediaWiki

Examples of sites using MediaWiki... but not the TNG Wiki Integration mod

Misc MediaWiki Genealogy sites

Related Links