Changes

Jump to navigation Jump to search
172 bytes added ,  09:36, 6 December 2011
updated for TNG V9
Line 4: Line 4:  
| mod_summary    = Adds links to Wikipedia for place name in the Place Search page
 
| mod_summary    = Adds links to Wikipedia for place name in the Place Search page
 
| mod_validation  = Mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]] <br />in TNG 8.1.2
 
| mod_validation  = Mod is XHTML compliant.[[Image:Valid-xhtml10.png|44px]] <br />in TNG 8.1.2
| download_link  = [[Media: wikipedia_link_v8.1.0.zip| wikipedia_link_v8.1.0.zip]] for TNG V8<br />[[Media: wikipedia_link_v1.1.zip| wikipedia_link_v1.1.zip]]
+
| download_link  = for {{Tv90}}[[Media:wikipedia_link_v9.0.0.0.zip|wikipedia_link_v9.0.0.0.zip]]<hr />for {{Tv80}}[[Media: wikipedia_link_v8.1.0.zip| wikipedia_link_v8.1.0.zip]] <hr />for {{Tv70}}[[Media: wikipedia_link_v1.1.zip| wikipedia_link_v1.1.zip]]
 
| mod_author      = Luke Weerts<br />Ken Roy enhanced and created config file
 
| mod_author      = Luke Weerts<br />Ken Roy enhanced and created config file
 
| mod_url        = [[Wikipedia Link Mod]] (This page)
 
| mod_url        = [[Wikipedia Link Mod]] (This page)
 
| mod_support    = [http://www.tngforum.us/ TNG Forums]
 
| mod_support    = [http://www.tngforum.us/ TNG Forums]
 
| mod_contact    = [http://www.tngforum.us/ TNG Forums]
 
| mod_contact    = [http://www.tngforum.us/ TNG Forums]
| mod_version    = 8.1.0 for TNG V8<br />1.1 for TNG V7
+
| mod_version    = 9.0.0.0 for TNG V9<br />8.1.0 for TNG V8<br />1.1 for TNG V7
 
| min_TNG_ver    = 7.0.0
 
| min_TNG_ver    = 7.0.0
| max_TNG_ver    = 8.1.2
+
| max_TNG_ver    = 9.0.0
 
| TNG_file_list  = placesearch.php  
 
| TNG_file_list  = placesearch.php  
 
| related_mods    = None
 
| related_mods    = None
Line 27: Line 27:     
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.
 
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.
 +
    
== Advantages ==
 
== Advantages ==
Line 43: Line 44:  
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.
 
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.
 
   
 
   
 +
 
==Requirements==
 
==Requirements==
   Line 48: Line 50:  
* A backup of your TNG placesearch.php file.
 
* A backup of your TNG placesearch.php file.
 
* An installed current version of the [[Mod Manager]].
 
* An installed current version of the [[Mod Manager]].
 +
    
== Automated Install ==
 
== Automated Install ==
    
# Download the appropriate zip file from the summary in the upper right hand corner
 
# 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
+
# 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'''.
 
# 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.
 
'''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.
 +
    
== Custom Text Additions ==  
 
== Custom Text Additions ==  
    
'''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.
 
'''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.
 +
    
=== English/cust_text.php ===
 
=== English/cust_text.php ===
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
+
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
    
<pre>
 
<pre>
Line 68: Line 73:  
$text[wikilinks] = "Wikipedia links for";
 
$text[wikilinks] = "Wikipedia links for";
 
</pre>
 
</pre>
 +
    
=== Other languages ===
 
=== Other languages ===
Line 81: Line 87:     
You will need to add similar text for your other languages.
 
You will need to add similar text for your other languages.
 +
    
== Visualization of this mod ==
 
== Visualization of this mod ==
Line 100: Line 107:  
|[[Image:Wikipedia_link_installed.jpg.jpg|500px|right]]
 
|[[Image:Wikipedia_link_installed.jpg.jpg|500px|right]]
 
|}
 
|}
 +
    
== TNG User sites using this mod ==
 
== TNG User sites using this mod ==
Line 128: Line 136:  
[[Category:Mods for TNG v7]]
 
[[Category:Mods for TNG v7]]
 
[[Category:Mods for TNG v8]]
 
[[Category:Mods for TNG v8]]
 +
[[Category:Mods for TNG v9]]
17,853

edits

Navigation menu