G2wProblems

Aus TransArte

Wechseln zu: Navigation, Suche

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.php ADD
// version 2.1 update
$gallerySettings["embedUri"] = 'http://full.path.to.mediawiki/index.php' ;
$gallerySettings["g2Uri"]    = 'http://full.path.to.your.gallery2/' ;
@ classes/gallery2wiki.class.php REPLACE all occurrences of
  if($ret->isError())

...by

  if($ret)
@ classes/gallery2wiki.class.php SEARCH GalleryEmbed::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.php REPLACE all occurrences of GalleryCoreApi::relativeRequireOnce by GalleryCoreApi::requireOnce
Magus 21. Feb 2006 20:49 (CET)

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 :)

Magus 23. Feb 2006 22:43 (CET)

[bearbeiten] Whishlist

  • grouping images
Persönliche Werkzeuge