Description

gallery2image doesn't obey the configured url_prefix, and doesn't work in MoinMoin setups that have it configured to something else than /wiki. The code contains hardcoded urls with the url_prefix part harcoded to /wiki/, like so:

gallery2getserver()+'/wiki/img/star_on.png';

Component selection

Details

MoinMoin Version

1.5.4

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Can't think of a workaround

Discussion

Patch to fix it, works over here: gallery2image-1.5.4-14+urlprefix.diff

I'm having a problem with the icons. In the page source I see <input type="image" value="submit" src="None/img/to_right.png" title="rotate to left"> and obviously don't see the icons. Looking at Gallery2.py, it appears that self.request.cfg.url_prefix in the line "htdocs": self.request.cfg.url_prefix is somehow None? -- GregWhittier 2024-04-28 16:18:12

Plan


MoinMoin: ParserMarket/Gallery2/BugUrlPrefixIgnored (last edited 2008-02-06 21:18:29 by GregWhittier)