Description
The editor-help section of the page-editor is not updated in cache when the url_prefix variable is changed in wikiconfig.py. The result is a broken link to idea.png.
Steps to reproduce
(assuming your wiki has been used before, i.e. pages have been edited and the cache exists)
edit your wikiconfig.py and change url_prefix to something non-existant
- open your wiki in a browser (maybe hit reload to be sure). because of missing stylesheets, it will look pretty broken
- edit a page of your choice anyway
notice the still existing idea.png image in the editor-help section
- check the location it points to and find out that it's still the old (working) prefix
or, alternatively:
- delete your wiki's cache or set up a new wiki
set url_prefix to something non-existant
- open a wikipage of your choice in edit-mode
restore url_prefix to the original (working) value
- open a page in edit-mode again
notice that everything will look fine - except that there's no idea.png
Example
- none
Component selection
- general
Details
MoinMoin Version |
Version 1.5.7 [Revision release] |
OS and Version |
SuSE Linux 9.2 |
Python Version |
2.5 (r25:51908, Oct 9 2006, 11:20:13) [GCC 3.3.4 (pre 3.3.5 20040809)] |
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
English |
Workaround
delete the wiki's cache manually after changing the prefix
Discussion
Duplication of MoinMoinBugs/CacheFileRecordsOldUrl
Thats the behaviour of cache. You have to remove it if you change the url prefix. e.g. moin --config-dir=/usr/share/moin/mywiki --wiki-url=localhost/mywiki maint cleancache
-- ReimarBauer 2007-05-06 17:25:44
Please do reopen this report as a FeatureRequest and share ideas how it could be solved if you don't agree closing it.
See also MoinMoinBugs/i18nCacheNotUpdatedOnUrlPrefixChange
-- piyo 2007-06-19 06:40:16
Plan
- Priority:
- Assigned to:
- Status: