Description
Expansion of user variables as described in HelpOnPageCreation doesn't seem to work.
Steps to reproduce
Login to wiki as UserName
Create WikiDict at !Username/!WikiDict
Try to use one of the variables defined in your WikiDict in a page.
Example
See my homepage in this wiki - NigelHarper. I added a WikiDict as described then tried to use the variable defined in there, and it didn't work.
Details
This Wiki. Also:
moin 1.3.3-4 |
|
Windows 2000/XP Pro |
|
Python 2.3.4 |
|
Standalone |
|
Workaround
Discussion
It is a documentation error, NigelHarper/MyDict should work.
Indeed it does - thanks. -- NigelHarper 2005-03-30 11:43:33
Incidentally whilst looking at variable expansion I noticed what appears to be a problem with the GetVal macro. If you look at WikiDict it has 2 examples of that macro, but only the 2nd one is expanded - the first is apparently ignored for no obvious reason.
I can't reproduce the problem with the first variable:
Create UserName/MyDict with 2 definitions
Edit a page and use the definitions in @key@
- Both keys expanded when the page is saved.
Tested on 1.3.4 dev code, patch-718, Apache CGI, Mac OS X (server and platform should not be related to this.)
Documentation bug fixed in some languages, second bug can't be reproduced.
Plan
Translators:
Fix HelpOnPageCreation: replace UserName/WikiDict to UserName/MyDict. Note that MyDict should not be translated and must appear as is.
- Update the list of fixed languages: de, en
- Priority: low
- Assigned to: Translators
- Status: en help page fixed, waiting for translation