Difference between revisions of "Mobile Key"
From Biowikifarm Metawiki
GiselaWeber (Talk | contribs) (Created page with 'Mobile Key is a Wiki extension with the purpose to export wiki keys as html pages for mobile applications, using the key data harvested by the extension [[Template Parameter Inde...') |
(No difference)
|
Revision as of 08:36, 12 May 2010
Mobile Key is a Wiki extension with the purpose to export wiki keys as html pages for mobile applications, using the key data harvested by the extension Template Parameter Index.
Wiki file resolver
One functionality of the Mobile Key extension, which can be used independently of mobile key developing, is a resolver for wiki file names (which may come from local or a variety of attached repositories). It offers the two functions: action=getMediaURL (return URL as string) and action=getMediaFile (directly resolve Media file).
Examples:
http://biowikifarm.net/metawiki/index.php?title=Special:MobileKey&action=getMediaURL&objectName=File:Albert%20Einstein%20Head.jpg http://biowikifarm.net/metawiki/index.php?title=Special:MobileKey&action=getMediaFile&objectName=File:Albert%20Einstein%20Head.jpg
The first returns a single string, which is the URL to the media file, setting MIME type to text, the second returns the binary media file, setting MIME type to image/xxx.