SMF Community Helpers > Customization Development

SMF Wiki (1.0/ May 2017)

(1/2) > >>

vbgamer45:
Originally by niko updated for SMF 2.0.14 and some other bug fixes. Licensed BSD

Note: This is only for testing purposes, not recommended on live sites!

This version isn't feature complete as of yet

It's highly recommended to enable cache when using Wiki mod.

Please report all bugs either here or issue tracker (Feature request are welcome, too!).



Features

    Creating and Editing pages
    File Uploads


Syntax

This page contains information about Wiki Codes supported by SMF Wiki!

--- Quote ---Code                                 Example                            Description                     
[ [Main_Page ] ]   Main Page   Basic link to another page. Remove spaces in the brackets
[ [Main_Page|My Title ] ]   My Title   Link to page using another title  Remove spaces in the brackets
{{Example}}   This is example template.   Include page "Example" from Template namespace
{{Example2|test}}   This is example template, you gave parameter test.   Include page "Example2" from Template namespace with numbered parameter
{{Example3|text=My Text}}   Parameter text was My Text   Include page "Example3" from Template namespace with named parameter
<*nowiki>{{Example}}<*/nowiki> (use without *)   {{Example}}   Disables parsing of BBC and Wiki code inside tags.

--- End quote ---


<nowiki> tag can be used to make sure code isn't parsed.
Code is parsed in every tag with exception of [nobbc],
--- Code: --- and [php]. Wiki code is parsed in [html] tag. (as of rev195)





[i]Standalone mode[/i]

Standalone mode enables you to run wiki outside SMF install directory. It's required to enable Friendly URLS.

Provided by file "wikistandalone.php" which should be put in SMF directory for Friendly URLs and somewhere else if you want to just run outside SMF directory. (on latter case you need to edit path in file).

Example rule for .htaccess for friendly urls

[code[

    RewriteEngine On
    RewriteRule ^wiki/(.*)$ wikistandalone.php?page=$1 [NC,QSA]

--- End code ---

Remember to configure links from admin.

spiros:
Great work :) Up to which MW version does it support?

vbgamer45:
It doesn't use MW it is a recreation of a wiki system in SMF doesn't use mediawiki at all.

Antes:
Now that's interesting.

Kindred:
I have the original installed and running for the past few years on my Legions of Steel forum... :D

Navigation

[0] Message Index

[#] Next page

Go to full version