Opasnet:Technical documentation

From Opasnet
Revision as of 07:59, 22 January 2008 by Juha Villman (talk | contribs) (→‎Google Maps: Added googlemaps description)
Jump to navigation Jump to search

This page contains all the technical documentation related to this Mediawiki environment.

Technical background and installation requirements

Versions:

  • MediaWiki: 1.11.0
  • 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

ParserFunctions

This extension enables various kinds of functions (ie. math and conditional templates)
More information: http://meta.wikimedia.org/wiki/ParserFunctions

Google Maps

This extension enables GoogleMaps in wikipages
More information: http://www.mediawiki.org/wiki/Extension:Google_Maps

ToolTip

SidebarEx

DynamicPageList2

Password Reset

Contribution Scores & Contributors

Extensions for counting contribution scores
More information -> http://www.mediawiki.org/wiki/Extension:Contribution_Scores

GroupBasedAccessControl

Extension for access control
More detailed information ->http://www.mediawiki.org/wiki/Extension:Group_Based_Access_Control

AjaxShowEditors

This extension allows you to see who is editing a page that you're editing.

More detailed information can be found from http://www.mediawiki.org/wiki/Extension:Ajax_Show_Editors

Files: located in /extension/AjaxShowEditors

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: Button_array.png

New Discussion

Discussion -button is used to create new discussion. Button implements discussion -template. Icon available: discussion.png

Attack

Attack -button is used to create attacking argumentations. Button implements attack -template. Icon available: attack.png

Defend

Defend -button is used to create defending argumentations. Button implements defend -template. Icon available: defend.png

Comment

Comment -button is used to create comments in argumentations. Button uses comment -template. Icon available: comment.png

Variable

Variable -button creates automatically variable structures. Icon available: variable.png

Link to discussion

Link to discussion -button creates link to discussion to the related discussion page. Button uses disclink -template. Icon available: disclink.png

Modifications

Supported filetypes

File Type
ana Analytica
ppt Microsoft PowerPoint
pps Powerpoint Show
xls Microsoft Excel
pdf 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
zip Compressed file format

Changes made to LocalSettings.php

Linking

Font changed

Main font is changed to Arial Unicode Ms due to problems with Internet Explorer and arrows used in argumentation. Printable version's font is changed to Times
Changes in Main.css (Monobook skin)

body {
	font: x-small sans-serif;
	font-family: "Arial Unicode Ms", Arial, sans-serif; 
	background: #f9f9f9 url(headbg.jpg) 0 0 no-repeat;
	color: black;
	margin: 0;
	padding: 0;
}


Changes in commonPrint.css

body {
    background: White;
    /*font-size: 21pt important;*/
    color: Black;
    font-family: times;
    margin: 0;
    padding: 0;
}

Templates

Discussion

This template is implemented when user creates discussions using Add discussion -button. Template contains basic structure of a discussion/argumentation model.

Parameters

  1. {{{Dispute}}} is topic of discussion
  2. {{{Outcome}}} is outcome of discussion
  3. {{{Argumentation}}} contains argumentation supporting/attacking/commenting the dispute


Attack

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. {{{1}}} is number of statement
  2. {{{2}}} is content of statement
  3. {{{3}}} is name of argumentor


Defend

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. {{{1}}} is number of statement
  2. {{{2}}} is content of statement
  3. {{{3}}} is name of argumentor


Comment

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. {{{1}}} is number of statement
  2. {{{2}}} is content of statement
  3. {{{3}}} is name of argumentor


Disclink

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. {{{1}}} is topic of discussion


Prettytable

This style-template is used in tables to make them look a little better. Template is copied from Wikipedia.