Difference between revisions of "Current Work"
m (→Image uploading and handling: +Todo: encoding problem with svg files) |
m (→Image uploading and handling) |
||
Line 88: | Line 88: | ||
Perhaps create a small extension that does this? In PHP inside mediawiki, the following may work: | Perhaps create a small extension that does this? In PHP inside mediawiki, the following may work: | ||
− | + | <source lang="php"> | |
+ | $url = wfFindFile(Title::makeTitle(NS_IMAGE, $fileName))->getURL(); | ||
+ | </source> | ||
Line 101: | Line 103: | ||
Scalable vector graphics are rendered by rsvg but it cannot handle utf8 characters, so German umlauts cannot be used: | Scalable vector graphics are rendered by rsvg but it cannot handle utf8 characters, so German umlauts cannot be used: | ||
<source lang="bash"> | <source lang="bash"> | ||
− | cd ~/temp | + | cd ~/temp |
− | rsvg /var/www/v-species/o/media/e/e1/Blätter_schematisch.svg \ | + | rsvg /var/www/v-species/o/media/e/e1/Blätter_schematisch.svg \ |
− | Blätter_schematisch.png | + | Blätter_schematisch.png |
→ Invalid byte sequence in conversion input | → Invalid byte sequence in conversion input | ||
</source> | </source> |
Revision as of 11:35, 15 October 2010
Contents
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)
- Val Rosandra English Demo on Species-ID
- Val Rosandra Italian Demo on Species-ID
- 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
- Workbench Portal (old version on .55 still available (first page only?))
Test configs (Workbench Portal, Main version already active) waiting for virtual host to be activated in DNS:
All virtual hosts have a forwarding index.html. Enumeratio, Scholz, SmutBase no longer installed, better integrated into a phytomed or other wiki.
wmf wikis
for testing the indexing extension:
See NaviKey
Uncompleted work
- OpenID!
- autoconfirm of accounts does not work yet (mailer returned error)
- Insert Char:
- Phytomed wiki is working ok with a fairly straightforward CharInsert solution; see the Debian Install page for further information
- English phytopathology is not working, the http://en.wikipedia.org/wiki/MediaWiki:Edittools.js was created, but is not called yet. Place where the JavaScript is bound needs to be found!
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/
- http://www.mediawiki.org/wiki/Extension:SpecialMultiUploadViaZip
- http://www.mediawiki.org/wiki/Extension:SpecialUploadLocal (needs updating, may be useful)
Todo: encoding problem with svg files
Scalable vector graphics are rendered by rsvg 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
See also bug report on https://bugzilla.wikimedia.org/show_bug.cgi?id=17678
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