Wikipedia Link Mod
|Downloads of Wikipedia Link Mod 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|
|If you have trouble downloading with Google Chrome browser, try using try right-click and select Open in new Window, then F5, or use another browser|
[[::Wikipedia Link Mod|English]]
[[::Wikipedia Link Mod|English]]
|Wikipedia Link Mod|
|Summary||Adds links to Wikipedia for place name in the Place Search page|
|Validation||Latest mod is XHTML compliant.|
|Mod Updated||30 Oct 2021|
supports renaming extensions folder
French language files
|Download stats||View download stats|
Ken Roy enhanced and created config file
|Homepage||Wikipedia Link Mod (This page)|
|Mod Support||TNG Community Forums|
|Contact Developer||TNG Community Forums|
|Latest Mod||126.96.36.199 for TNG 13+|
188.8.131.52 for TNG V11.0.2 and up
184.108.40.206 for TNG V9 and up
8.1.0 for TNG V8
1.1 for TNG V7
|Min TNG V||7.0.0|
|Max TNG V||13+|
Purpose of the mod
This mod provides links to Wikipedia for the TNG Place name and for each of the individual segments of the place name in the Place Search page.
Note that the Wikipedia links are added to the page you get when you click the Find (spy glass) icon after a place name on the Individual page or on the Place search results page.
See the Mod Visualization below.
The Wikipedia link mod allows your users to link to Wikipedia:
- where they may find additional information on the place.
- where they may find the additional information on the segments of the place name.
The mod was initially provided (for TNG V6) in the Adding Wikipedia links to 'Places' post on the TNG Community Forum by Luke Weerts.
Note that Luke initially replaced the Place Name header with a link to Wikipedia. Ken Roy modified Luke's code to add the Wikipedia link information below the Place Name Header and use cust_text.php to provide the indication of a Wikipedia link.
- A working TNG installation. The automated installation release was initially tested at TNG Version 7.1.0. Manual installation previously used on TNG 6 and 7.
- A backup of your TNG placesearch.php file.
- An installed current version of the Mod Manager.
- Download the appropriate zip file from the summary in the upper right hand corner
- Extract the zip file in your TNG admin/mod_folder in TNG V8 and mods folder in TNG V8 and V9
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files to install the wikipedia_link.cfg.
Note that config file only includes the English language changes, so if you support multiple languages you will need to modify the config file to add the custom text for those other languages. The config file is also slightly different in that the Wikipedia links now all open in a separate window.
|220.127.116.11||30 Oct 2021||Updated by Ken Roy to fix fatal error in PHP 8 and added other languages
|18.104.22.168||18 Sep 2016||Updated to TNG v11.0.2|
|22.214.171.124||18 Mar 2016||updated to use $extspath variable for extensions folder|
|10.1.0.1||13 Jan 2015||Updated to TNG v10.1|
Custom Text Additions
Note that config file only includes the English language changes, except where noted, so if you support multiple languages you will need to modify the config file to add the custom text for those other languages.
This mod adds the following text to your English/cust_text.php in TNG V7, or languages/English/cust_text.php or languages/English-UTF8/cust_text.php in TNG V8 and V9
// Added for Wikipedia Searchplace mod by Luke Weerts $text[wikilinks] = "Wikipedia links for";
If you are using other languages, you must add these lines to each of your language cust_text.php files with appropriate translations of course, for example
In your French/cust_text.php in TNG V7, or languages/French/cust_text.php or languages/French-UTF8/cust_text.php in TNG V8, you would add
// Added for Wikipedia Searchplace mod by Luke Weerts $text[wikilinks] = "Wikipedia liens pour";
You will need to add similar text for your other languages.
Visualization of this mod
Without this mod, the Place Search page does not include any links to Wikipedia as shown in the image on the right.
With Mod Installed
With the ShowTable Mod, the Place Search page does includes two different sets links to Wikipedia as shown in the image on the right:
Sites using this mod
If you download and install this mod, please add your TNG site to the table below
|Luke Weert's Cousin Folk web site||Luke Weerts||Mod developer||8.1.6||8.1.1||DA, DE, EN, NL|
|Our Acadian, French Canadian, and Maine Ancestors||Ken Roy||updated to add Wikipedia links below header. Updated to support extensions folder rename||126.96.36.199||13.1.0||EN, FR|
|AppeltHaus Genealogy||Lawrence Appelt||Not a Public Site.||188.8.131.52||10.0.0||EN|
|Arsenault and Simpson Family Genealogy||Bob Arsenault||not a public site||184.108.40.206||9.0.3||EN|
|Van der Maarel Genealogy||Edward van der Maarel||Public Site.||220.127.116.11||10.0.0||EN, NL|
|Hooley Family Links||Rick Hooley||Public/Private||See Here||See Here||EN|
|Brady Family Tree in Western Australia||Darryl Brady||Public site||18.104.22.168||10.1.1||EN, DE|
|Brabantse Genealogie||Rob van Rij||Public Site||22.214.171.124||12.2||EN,NL|
|Pages From Our Past||Allen Prunty||Not a public site||126.96.36.199||11.1.0||EN|
|OurLife Family History - McMullen Clan||Sean Thompson||Not a public site.||188.8.131.52||11.1.0||EN|
|Famille Potié et ses alliés||Christophe Potié||Not a public site.||184.108.40.206||11.1.0||EN, FR|
|R G Strong Family Genealogy||Russ Strong||Public Site||220.127.116.11||13.1.1||EN, FR, DE, NL|
|We are All Cousins - Quebec, French, Norwegian, New England, British monarchy||Chuck Filteau||Public site with a local mod to assist with my abbreviated place names in Quebec, Canada||18.104.22.168||12.1.0||EN|
|Genealogische Datenbank||JPB||Public site||see here||see here||DE, EN, FR|
|Lathrope Family Genealogy||S Sharpe||Public||22.214.171.124||13.0.4||EN|
|Genealogie Familie Smit - Kamp||Bert Smit||Public||126.96.36.199||13.0.1||NL, EN, DE, DK|
|Joseph Oran Holtz Genealogy Pages||Jim Holt||Private||See Here||See Here||EN|