https://bugzilla.wikimedia.org/show_bug.cgi?id=19148
Web browser: ---
Summary: SmoothGallery: Call to a member function getText() on a
non-object
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: Normal
Component: [other]
AssignedTo: [email protected]
ReportedBy: [email protected]
(Note: SmoothGallery is not in the bugzilla component list)
When calling SmoothGallery 1.1e under MediaWiki 1.16alpha (r51492), it works
when both filenames and descriptions are present:
{{#sgallery: imagelist=File:Aconitum-napellus 4435.jpg{{!}}''Aconitum
napellus'', Infloreszenz
File:Aconitum_napellus2_ies.jpg{{!}}''Aconitum napellus'', from side
File:Aconitum_napellus3_ies.jpg{{!}}''Aconitum napellus'', inside
File:Aconitum_napellus8_ies.jpg{{!}}''Aconitum napellus'', leaves
}}
but when leaving away the description:
{{#sgallery: imagelist=File:Aconitum-napellus 4435.jpg
File:Aconitum_napellus2_ies.jpg
File:Aconitum_napellus3_ies.jpg
File:Aconitum_napellus8_ies.jpg
}}
the page is no longer rendered at all, and the error message:
Fatal error: Call to a member function getText() on a non-object in
...mediawiki/extensions/SmoothGallery/SmoothGalleryParser.php on line 247
is shown.
On http://www.ryandlane.com/sandbox/SmoothGallery is works ok under 1.15.0rc1
(r51439), so the bug seems to be 1.16-specific.
--
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