Opasnet:Technical documentation: Difference between revisions
Juha Villman (talk | contribs) |
Juha Villman (talk | contribs) |
||
Line 71: | Line 71: | ||
All extra buttons require additions to ''Monobook.js'' | All extra buttons require additions to ''Monobook.js'' | ||
===Table=== | ===Table=== | ||
Line 77: | Line 76: | ||
Table -button is used to create tables. Icon available: | Table -button is used to create tables. Icon available: | ||
http://upload.wikimedia.org/wikipedia/commons/0/04/Button_array.png | http://upload.wikimedia.org/wikipedia/commons/0/04/Button_array.png | ||
===New Discussion=== | ===New Discussion=== | ||
Discussion -button is used to create new discussion. Button implements discussion -template. Icon available: http://www.pyrkilo.fi/pictures/discussion.png | Discussion -button is used to create new discussion. Button implements discussion -template. Icon available: http://www.pyrkilo.fi/pictures/discussion.png | ||
===Attack=== | ===Attack=== | ||
Attack -button is used to create attacking argumentations. Button implements attack -template. Icon available: http://www.pyrkilo.fi/pictures/attack.png | Attack -button is used to create attacking argumentations. Button implements attack -template. Icon available: http://www.pyrkilo.fi/pictures/attack.png | ||
===Defend=== | ===Defend=== | ||
Defend -button is used to create defending argumentations. Button implements defend -template. Icon available: http://www.pyrkilo.fi/pictures/defend.png | Defend -button is used to create defending argumentations. Button implements defend -template. Icon available: http://www.pyrkilo.fi/pictures/defend.png | ||
===Comment=== | ===Comment=== | ||
Line 98: | Line 93: | ||
Comment -button is used to create comments in argumentations. Button uses comment -template. Icon available: | Comment -button is used to create comments in argumentations. Button uses comment -template. Icon available: | ||
http://www.pyrkilo.fi/pictures/comment.png | http://www.pyrkilo.fi/pictures/comment.png | ||
===Variable=== | ===Variable=== | ||
Variable -button creates automatically variable structures. Icon available: http://www.pyrkilo.fi/pictures/variable.png | Variable -button creates automatically variable structures. Icon available: http://www.pyrkilo.fi/pictures/variable.png | ||
===Link to discussion=== | ===Link to discussion=== |
Revision as of 09:16, 12 April 2007
This page contains all the technical documentation related to this Mediawiki environment.
Technical background and installation requirements
Versions:
- MediaWiki: 1.9.3
- PHP: 5.1.6 (apache2handler)
- MySQL: 5.0.27
Requirements:
- XML / Latin-UTF-8 conversion support (php-xml?)
- PHP memory limit 8M -> 20M
- GNU diff3
- GD graphics library (php-gd)
Upcoming/Future extensions
- Graphical editor
- Distribution database
- Analytica <-> Wiki converter
Extensions and add-ons
News
News extension allows dynamic page-listing functions.
Files: (/extensions/News/)
- install.settings
- News.php
- NewsRenderer.php
More detailed information about News extension can be found from http://www.mediawiki.org/wiki/Extension:News
Cite
Cite extension is used for making references and footnotes
Files: (/extensions/)
- Cite.i18n.php
- Cite.php
More detailed information can be found from http://meta.wikimedia.org/wiki/Cite/Cite.php
Input-box
Input-box extension is used for create article -box.
Files: (/extensions/)
- create.php
- inputbox.php
More detailed information can be found from http://meta.wikimedia.org/wiki/Help:Inputbox.
Imagemap
Imagemap extension is used for creating imagemaps.
Files: (/extensions/ImageMap/)
- desc-20.png
- desc.svg
- Foo.jpg
- ImageMap.i18n.php
- ImageMap.php
- ImageMap_body.php
More detailed information about ImageMap extension available from http://www.mediawiki.org/wiki/Extension:ImageMap
Additional buttons
All extra buttons require additions to Monobook.js
Table
Table -button is used to create tables. Icon available:
New Discussion
Discussion -button is used to create new discussion. Button implements discussion -template. Icon available:
Attack
Attack -button is used to create attacking argumentations. Button implements attack -template. Icon available:
Defend
Defend -button is used to create defending argumentations. Button implements defend -template. Icon available:
Comment
Comment -button is used to create comments in argumentations. Button uses comment -template. Icon available:
Variable
Variable -button creates automatically variable structures. Icon available:
Link to discussion
Link to discussion -button creates link to discussion to the related discussion page. Button uses disclink -template. Icon available:
Modifications
Supported filetypes
File | Type |
---|---|
ana | Analytica |
ppt | Microsoft PowerPoint |
pps | Powerpoint Show |
xls | Microsoft Excel |
Adobe | |
doc | Microsoft Word |
tif | Tagged Image File -picture |
png | Portable Network Graphics -picture |
gif | Graphics Interchange Format -picture |
jpg & jpeg | Joint Photographic Experts Group -picture |
ogg | Audio -file |
Changes made to LocalSettings.php
Linking
Font changed
Font is changed to Arial Unicode Ms due to problems with Internet Explorer and arrows used in argumentation. Changes made to Monobook.css -file.
Templates
This template is implemented when user creates discussions using Add discussion -button. Template contains basic structure of a discussion/argumentation model.
Parameters
- {{{Dispute}}} is topic of discussion
- {{{Outcome}}} is outcome of discussion
- {{{Argumentation}}} contains argumentation supporting/attacking/commenting the dispute
This template is implemented when user creates attacking argumentation using Attack -button. Template contains attack argumentation structure and parameters for user to add.
Parameters
- {{{1}}} is number of statement
- {{{2}}} is content of statement
- {{{3}}} is name of argumentor
This template is implemented when user creates defending argumentation using Defend -button. Template contains defend argumentation structure and parameters which are set by user.
Parameters
- {{{1}}} is number of statement
- {{{2}}} is content of statement
- {{{3}}} is name of argumentor
This template is implemented when user creates comment using Comment -button. Template contains comment argumentation structure and parameters which are set by user.
Parameters
- {{{1}}} is number of statement
- {{{2}}} is content of statement
- {{{3}}} is name of argumentor
This template is implemented when user creates a link to a discussion using Link to discussion -button. Template generates a link to the discussion page.
Parameters
- {{{1}}} is topic of discussion
This style-template is used in tables to make them look a little better. Template is copied from Wikipedia.