User:Dapete/ImageMapEdit
From Meta, a Wikimedia project coordination wiki
Contents |
[edit] Deutsch
Diese Seite befasst sich mit dem neuen, direkt im Wiki integrierbaren Imagemap-Editor; für eine Beschreibung des alten Tools auf dem Toolserver siehe User:Dapete/ImageMapEdit/old.
ImageMapEdit ist ein Editor für die Definition von Imagemaps, wie sie für Tim Starlings ImageMap-Erweiterung benötigt werden. Bisher lag das Tool als eigene Seite auf dem Toolserver; die neue Version wird direkt auf den Bildbeschreibungsseiten eingeblendet.
Unterstützt werden bisher nur Firefox 3.0 und 3.5 sowie Internet Explorer 7 und 8; weitere Informationen (in Englisch) siehe weiter unten. Von den Skins werden Monobook, Modern und Vector unterstützt.
Bei Fragen und Kommentare ist meine Benutzerdiskussionsseite in der deutschen Wikipedia der beste Anlaufpunkt.
[edit] Installation
Um den neuen Imagemap-Editor zu verwenden, muss man ein Skript über seine eigene monobook.js (bzw. modern.js oder vector.js, wenn man diese Skins verwendet) einbinden. Die entsprechende Zeile lautet je nach Wiki:
- Wikipedia (de)
-
includePage('Benutzer:Dapete/ImageMapEdit.js');
- Wikipedia (en), Commons
-
importScript('User:Dapete/ImageMapEdit.js');
Dann folgt man den Anweisungen ganz oben auf der .js-Seite, um sicherzugehen, dass auch ganz sicher die neue Version geladen wird.
Wenn das getan ist sollte auf jeder Bildbeschreibungsseite ein Link „ImageMapEdit >“ erscheinen, mit dem die Oberfläche ausgeklappt wird.
Hinweis: Das Skript ist nur in den hier erwähnten Wikis vorhanden; falls jemand das in einem hier nicht erwähnten Wiki benutzen will, bitte an mich wenden.
[edit] English
This page describes the new image map editor which can be integrated into the wiki directly; for a description of the old tool on the Toolserver see User:Dapete/ImageMapEdit/old.
ImageMapEdit is an editor for image map definitions as used by Tim Starlings ImageMap extension. So far the tool was on a separate page on the toolserver; this new version is shown directly within the image description pages.
Only Firefox 3.0 and 3.5 as well as Internet Explorer 7 and 8 are supported; further information is included below. Supported skins are Monobook, Modern and Vector.
If you have questions or comments please leave a message on my user talk page on German Wikipedia.
[edit] Installation
In order to use the new image map editor, a script has to be loaded in your monobook js (or modern.js or vector.js if you're using one of these skins). The line you need is different in different wikis:
- Wikipedia (en), Commons
-
importScript('User:Dapete/ImageMapEdit.js');
- Wikipedia (de)
-
includePage('Benutzer:Dapete/ImageMapEdit.js');
Then follow the instructions at the of the .js page to make sure the newest version is loaded.
When that's done a link "ImageMapEdit >" (which displays the user interface) should appear on all image description pages.
Please note: The script is only available on the wikis listed above; if you wish to use it in another wiki, please contact me.
[edit] Supported Browsers
| Browser | Version | Working? | Comments | Plans |
|---|---|---|---|---|
| Mozilla Firefox | 2 | No | Selection does not work | Will not be suported; it's no longer worth the effort |
| 3.0 | Yes | |||
| 3.5 | ||||
| Internet Explorer | 6 | Partly | Translations do not work; right-clicking works, but the context menu is also shown | Will not be supported; it's no longer worth the effort. |
| 7 | Yes | |||
| 8 | ||||
| Opera | 9 | Partly | Right-clicking does not work, the context menu is shown instead. | Opera will not be supported for now. The old problem that right-clicking can't be used is still unsolvable—it could only be avoided with an alternative user interface. I have not had time to test the final version of opera 10, but the beta had massive problems even showing the user interface. |
| 10 beta | No | Massive problems | ||
| Safari | 3 | Unknown | I'd like to support Safari. I won't know if this is feasible before I find out what the problem is. | |
| 4 | No | Selection does not work |
Any information how to overcome problems with a particular browser is welcome!
[edit] List of installations
This is my reference to keep all installations up to date.
| Wiki | JS | HTML | XML | Version |
|---|---|---|---|---|
| commons | User:Dapete/ImageMapEdit.js | User:Dapete/ImageMapEdit.js/template.html.js | User:Dapete/ImageMapEdit.js/translations.xml.js | 2009-09-20 10:10 (UTC) |
| de.wikipedia | Benutzer:Dapete/ImageMapEdit.js | Benutzer:Dapete/ImageMapEdit.js/template.html.js | Benutzer:Dapete/ImageMapEdit.js/translations.xml.js | 2009-09-20 10:10 (UTC) |
| en.wikipedia | User:Dapete/ImageMapEdit.js | User:Dapete/ImageMapEdit.js/template.html.js | User:Dapete/ImageMapEdit.js/translations.xml.js | 2009-09-20 10:10 (UTC) |
[edit] History
| Version | Summary | Comment |
|---|---|---|
| (no date) | Initial version | |
| 2009-09-20 10:10 (UTC) | Fixed problems caused by the 'Annotations' extension on commons. | The problem was that this extension changes the structure of the image description page a bit, I'm now taking that into account, and also disabling the 'Annotations' user interface when ImageMapEdit is active. |