favoredtunes / yellow-wiki

Wiki for your website.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deutsch   English   Svenska

Wiki 0.8.23

Wiki for your website.

Screenshot

How to install an extension

Download ZIP file and copy it into your system/extensions folder. Learn more about extensions.

How to use a wiki

The wiki is available on your website as http://website/wiki/. To show the wiki on the home page, go to your content folder and delete the 1-home folder. To create a new wiki page, add a new file to the wiki folder. Set Title and other page settings at the top of a page. Use Tag to group similar pages together.

How to show wiki information

You can use shortcuts to show information about the wiki:

[wikiauthors] for a list of authors
[wikitags] for a list of tags
[wikirelated] for a list of pages, related to the current page
[wikipages] for a list of pages, alphabetic order
[wikichanges] for a list of pages, modified order

The following arguments are available, all but the first argument are optional:

StartLocation = location of wiki start page
EntriesMax = number of entries to show per shortcut, 0 for unlimited
FilterTag = show pages with a specific tag, [wikipages] or [wikichanges] only

Examples

Content file for wiki:

---
Title: Wiki page
Layout: wiki
Tag: Example
---
This is an example wiki page.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut 
labore et dolore magna pizza. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris 
nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit 
esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt 
in culpa qui officia deserunt mollit anim id est laborum.

Content file for wiki:

---
Title: Coffee is good for you
Layout: wiki
Tag: Example, Coffee
---
Coffee is a beverage made from the roasted beans of the coffee plant.

1. Start with fresh coffee. Coffee beans start losing quality immediately 
   after roasting and grinding. The best coffee is made from beans ground 
   right after roasting. 
2. Brew a cup of coffee. Coffee is prepared with different methods and 
   additional flavorings such as milk and sugar. There are Espresso, Filter 
   coffee, French press, Italian Moka, Turkish coffee and many more. Find 
   out what's your favorite.
3. Enjoy.

Content file with wiki information:

---
Title: Overview
---
## Pages

[wikipages /wiki/ 0]

## Tags

[wikitags /wiki/ 0]

Showing list of pages, alphabetic order:

[wikipages /wiki/ 0]
[wikipages /wiki/ 3]
[wikipages /wiki/ 10]

Showing list of pages, alphabetic order with a specific tag:

[wikipages /wiki/ 0 coffee]
[wikipages /wiki/ 0 milk]
[wikipages /wiki/ 0 example]

Showing list of pages, modified order:

[wikichanges /wiki/ 0]
[wikichanges /wiki/ 3]
[wikichanges /wiki/ 10]

Showing list of pages, modified order with a specific tag:

[wikichanges /wiki/ 0 coffee]
[wikichanges /wiki/ 0 milk]
[wikichanges /wiki/ 0 example]

Showing links to wiki:

[See all pages](/wiki/special:pages/)
[See recent changes](/wiki/special:changes/)
[See pages by Datenstrom](/wiki/author:datenstrom/)
[See pages about coffee](/wiki/tag:coffee/)
[See pages with examples](/wiki/tag:example/)

Configuring wiki start page in the settings, URL with subfolder for categorisation:

WikiStartLocation: /wiki/
WikiNewLocation: /wiki/@tag/@title

Settings

The following settings can be configured in file system/extensions/yellow-system.ini:

WikiStartLocation = location of wiki start page, auto for automatic detection
WikiNewLocation = location for new wiki pages, supported placeholders
WikiEntriesMax = number of entries to show per shortcut, 0 for unlimited
WikiPaginationLimit = number of entries to show per page, 0 for unlimited

The following placeholders for new wiki pages are supported:

@title = page title
@author = page author
@tag = page tag for categorisation

The following files can be customised:

content/shared/page-new-wiki.md = content file for new wiki page
system/layouts/wiki.html = layout file for individual wiki page
system/layouts/wiki-start.html = layout file for wiki start page

Developer

Anna Svensson. Get help.

About

Wiki for your website.

License:GNU General Public License v2.0


Languages

Language:PHP 84.8%Language:HTML 15.2%