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
- Gallery2
- gallery2image
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 2025-04-01 06:21:45
Plan
- Priority:
- Assigned to:
- Status: