G2wProblems
Aus TransArte
Here is a list of known problems , bugs etc.
Inhaltsverzeichnis |
[bearbeiten] Buglist
[bearbeiten] Fixed
i patched all these errors: http://www.menalto.com/.outgoing/gallery/gallery2wiki_extension.patch.txt and integrated in the new zip. Thanks to Bharat Mediratta
[bearbeiten] Templating
unsing Templates with images within you get no image. I have to find out why....
[bearbeiten] Cache
Both use a caching strategy. I got side effects.
- eg. deleting a image in gallery does not affect on precached wikipages. Its logical, but not desired.
[bearbeiten] Javascript
- slider does not work probelry, when using two picture in one page.
- sometimes a script is needed, but the load has not finished _getBlock()
- safari and macIE need another position for the calling icon
- sometimes the gallery call button does not fire any event, therefore no gallery. Reoading the page solve the problem.
[bearbeiten] Settings
a more readable array
and docdocdoc
[bearbeiten] Todo
- extract all direct calls to gallery2 api from gallery2wiki class into g2interface
- choose nice icons
- add wikitext into gallery2 (i did it once, but it must be redone )
- user auth synchronize
[bearbeiten] Compatibility with Gallery 2 versions
As of now gallery2wiki works only with the version 2.0.x of gallery 2. The release candidate version 2.1 (as of 16. Feb 2006 10:01 (CET)) does not work! Pcwulf 16. Feb 2006 10:01 (CET)
[bearbeiten] Mods for Gallery 2.1 RC 1a
To make the plugin work with the latest release of Gallery2, you might do the following (I've not yet fully tested it, but at least, it solves the major errors).
- @
gallery2wiki.settings.phpADD
// version 2.1 update $gallerySettings["embedUri"] = 'http://full.path.to.mediawiki/index.php' ; $gallerySettings["g2Uri"] = 'http://full.path.to.your.gallery2/' ;
- @
classes/gallery2wiki.class.phpREPLACE all occurrences of
if($ret->isError())
...by
if($ret)
- @
classes/gallery2wiki.class.phpSEARCHGalleryEmbed::init(...);and REPLACE the whole declaration by
$ret = GalleryEmbed::init(array(
'embedUri' => $gallerySettings["embedUri"],
'g2Uri' => $gallerySettings["g2Uri"],
// 'embedPath' => 'mediawiki',
// 'relativeG2Path' => '../../gallery2/',
'loginRedirect' => '',
'fullInit' =>true,
'activeUserId' => ''
) );
- @
classes/gallery2wiki.class.phpREPLACE all occurrences ofGalleryCoreApi::relativeRequireOncebyGalleryCoreApi::requireOnce
Yes! Found the last tweaks needed here :
- @
classes/gallery2wiki.class.php
| SEARCH | REPLACE by |
|---|---|
_derivativeOperations | derivativeOperations
|
_width | width
|
_height | height
|
_id | id
|
A bit messy, but great plugin :)
[bearbeiten] Whishlist
- grouping images
