Navigation

SMF Mod Site

Mod Name:
Wikipedia BBCode
Created By:
JumpmasterRT
Type:
BBC
First Created:
May 27, 2008, 02:50:16 AM
Last Modified:
May 27, 2008, 03:08:44 AM
Latest Version:
1.3
Compatible With:
1.1.5
Total Downloads:
28301

Download this mod

Wiki_BBCode_v1.3.zip (4kB) [1473]
Manual Install Instructions for SMF

Description:


WIKIPEDIA v1.3
Originally authored By Karl Benson, now supported by JumpmasterRT


Introduction
Enables you use bbcode to point users to wikipedia pages using wiki bbcode

Installation
Installs automatically on Default, Classic and Babylon theme and any theme without a custom Post.template.php

To manually install this modification on other themes;
- place the wiki.gif in the "Themes/{ThemeName}/images/bbc" for EVERY THEME.
- A single manual edit is required FOR EACH THEME with a custom Post.template.php

Open Themes/{themename}/Post.template.php, and FIND:
Code: [Select]

$context['bbc_tags'][] = array(
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),
 
ADD AFTER:
Code: [Select]

'wiki' => array('code' => 'wiki', 'before' => '[wiki]', 'after' => '[/wiki]', 'description' => $txt['wikipedia']),
 

If you are still having trouble, I recommend the Modification Parser by Daniel 15

How Do I Use This Mod?
The mod adds a Wiki BBCode button to insert Wiki BBCode which then is converted in posts to point users to pages at wikipedia, clearing marking where the link leads.

Code: [Select]
[wiki]SEARCH TERM[/wiki]
or
[wiki=searchterm]Link Title[/wiki]

Turns into;
What is Pizza?wiki

Languages
This mod Supports
o English/English-utf8
o English_British/English_British-utf8
o German/German-utf8 DE
o Spanish/Spanish-utf8 ES
o Spanish_es/Spanish_es-utf8
o Italian/Italian-utf8 IT
o Portuguese/Portuguese-utf8 PT
o French/French-utf8 FR

(It will only install the language files for the languages you have installed, the rest will be skipped)

Support
Please use the modification thread for support with this modification.
(Please don't ask me to do the edits for you)

Changelog
1.0
o Initial release
1.1
o Added additional languages other than English
1.2
o Reworked into a single version supporting various languages
o Ensured it removes the wiki.gif image on uninstall (as per SMF Modification Guidelines)
o Wrote out the manual edits
o Improved the readme/documentation for this mod
1.3
o Fixed utf-8 versions and language versions
o Lots of little bug fixes/improvements