https://bugzilla.wikimedia.org/show_bug.cgi?id=19148





--- Comment #1 from Gregor Hagedorn <[email protected]>  2009-06-11 
22:03:20 UTC ---
Update: The error is probably not related to 1.16, but to using a shared
repository.

If no image description is provided, ''and'' the image comes from a shared
repository that uses API connection (such as using images from Wikimedia
Commons), then the following code in SmoothGalleryParser fails with a fatal
error:

 if ( $description == '' ) {
  // Load the image page from the database with the provided title from the
image object
  $db = wfGetDB( DB_SLAVE );
  $img_rev = Revision::loadFromTitle( $db, $title );
  // Get the text from the image page's description
  $description = $img_rev->getText();
 }


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to