Difference between revisions of "Current Work"
(→Demos) |
m (Encoding problem with non-ASCII svg file names) |
||
Line 73: | Line 73: | ||
* ??: http://www.mediawiki.org/wiki/Extension:SpecialUploadLocal (needs updating, may be useful) | * ??: http://www.mediawiki.org/wiki/Extension:SpecialUploadLocal (needs updating, may be useful) | ||
− | === | + | === Encoding problem with non-ASCII svg file names === |
Scalable vector graphics are rendered by rsvg (version 2.22.2 librsvg2-2, librsvg2-bin) but it cannot handle utf8 characters, so German umlauts cannot be used: | Scalable vector graphics are rendered by rsvg (version 2.22.2 librsvg2-2, librsvg2-bin) but it cannot handle utf8 characters, so German umlauts cannot be used: | ||
Line 83: | Line 83: | ||
</source> | </source> | ||
Version 2.26.0 on a OpenSuSe works fine. See also bug report on https://bugzilla.wikimedia.org/show_bug.cgi?id=17678 | Version 2.26.0 on a OpenSuSe works fine. See also bug report on https://bugzilla.wikimedia.org/show_bug.cgi?id=17678 | ||
+ | |||
+ | A script rsvgWrapper.sh was therefore written. You'll find it linked in MediaWikiCommonSettings.php. It translates in- and output files to a md5 hash and does the scaling in the openmedia cache folder. After it's done, it moves them back. when an update of rsvg is made, the script won't be necessary. | ||
== Ontology work and linked data == | == Ontology work and linked data == |
Revision as of 01:02, 9 September 2011
Contents
Semantic Web
Demos
- Single-access-keys
- On Key to Nature/Offene Naturführer sites: UK street trees and Bumblebees, German Lamium example
- EFG sample data (Java applet running against external server)
- Multi-access keys (all embedded)
- Species page: Pestalotiopsis sydowiana
- Flora page: Macadamia ternifolia F. Muell. (sensu Flora of Australia)
- Wikified key test2 From the documentations page, here stand-alone for testing.
- Very long and very slow test keys:
- Wikified key test - de (incomplete, with new export routine Stefano)
- Wikified single access key
Not working: ETI sample data (in-wiki), ETI SDD full screen
Quick links
- Drupal 6 authorization integration: http://drupal.org/project/mediawikiauth plus http://www.mediawiki.org/wiki/Extension:AuthDrupal
- Drupal wiki content integration not updated to Drupal 6!
- Tunneling X over SSH
- Debian Setup page: http://www.keytonature.eu/mediawiki/index.php/WP4/DebianInstall#Mediawiki
- MySQL admin: http://160.45.63.55/phpmyadmin/
- Gallery: http://160.45.63.55/gallery2/main.php
- W..min: https://160.45.63.55:8010/
New Wiki setup
All virtual hosts have a forwarding index.html. Enumeratio, Scholz, SmutBase no longer installed, better integrated into a phytomed or other wiki.
See NaviKey
Uncompleted work
Image uploading and handling
The real images are behind a special folder distribution mechanism, based on a MD5 hash of the filename. For an image example.jpg, Both Media:example.jpg, File:example.jpg, and Image:example.jpg (obsolete) will return the metadata page, not the image itself. DOES THE WIKI has no native mechanism for a short URL to the image itself?
Mediawiki has an internal function that provides this: {{filepath:file name}}. However, the issue is calling an image from outside (Navikey, IBIS-ID) by name...
Perhaps create a small extension that does this? In PHP inside mediawiki, the following may work:
$url = wfFindFile(Title::makeTitle(NS_IMAGE, $fileName))->getURL();
Image uploading:
- recommended, not sure whether working with other wikis: http://djini.de/software/commonist/
- possible, not yet installed: http://www.mediawiki.org/wiki/Extension:SpecialMultiUploadViaZip
- ??: http://www.mediawiki.org/wiki/Extension:SpecialUploadLocal (needs updating, may be useful)
Encoding problem with non-ASCII svg file names
Scalable vector graphics are rendered by rsvg (version 2.22.2 librsvg2-2, librsvg2-bin) but it cannot handle utf8 characters, so German umlauts cannot be used:
cd ~/temp
rsvg /var/www/v-species/o/media/e/e1/Blätter_schematisch.svg \
Blätter_schematisch.png
→ Invalid byte sequence in conversion input
Version 2.26.0 on a OpenSuSe works fine. See also bug report on https://bugzilla.wikimedia.org/show_bug.cgi?id=17678
A script rsvgWrapper.sh was therefore written. You'll find it linked in MediaWikiCommonSettings.php. It translates in- and output files to a md5 hash and does the scaling in the openmedia cache folder. After it's done, it moves them back. when an update of rsvg is made, the script won't be necessary.
Ontology work and linked data
https://wiki.d-nb.de/display/LDS/Dokumentation+des+Linked+Data+Service+Prototyps+der+DNB
http://www.tagesschau.de/wirtschaft/opendata106.html
Testing Wikipage names
- Anthracoidea
- Anthracoidea Brefeld
- Anthracoidea Brefeld sec. Scholz & Scholz
- Scholz & Scholz: Anthracoidea Brefeld
- Anthracoidea angulata
- Anthracoidea angulata (H. Sydow) Boidol & Poelt
- Anthracoidea angulata (H. Sydow) Boidol & Poelt sec. Scholz & Scholz
- Anthracoidea angulata / Scholz & Scholz
- Scholz & Scholz: Anthracoidea angulata
- PROJECT: Move to Wikipedia