Description
When you use the gui-editor as your only displayed editor choice, the push of the editor button for a page with a name which contains German umlauts will call the editor with a wrong page name.
Steps to reproduce
In page "UserPreferences" use
- "Editor Preference" "gui"
- "Editor shown on UI" "the one preferred"
Create a link to a page containing an Umlaut eg. "Testö": /TestTöst
- Create this page by clicking on the link, write something on the page and save it.
- Go back to the link page, use the link to open the page and then push the button "Edit"
- The editor opens with the Page ""Testö".
The error doesn't happen when you use the UserPreference "Editor shown on UI" "free choice".
Example
see above
Details
MoinMoin Version |
Version 1.5.0 [Revision release] |
OS and Version |
|
Python Version |
2.4.2 |
Server Setup |
|
Server Details |
|
Workaround
Use other user preferences. See above.
Which browser do you use?
Sorry, I thought it was not browser dependant. But I was wrong: It seems it is an IE6 specific problem (Win XP SP2). There is no error when you use Firefox 1.0 (Linux).
Discussion
Can you please try to reproduce it in THIS wiki here? I can't reproduce it with firefox and the link looks ok for me.
Cannot be reproduced using IE 7 Beta 2. Anybody else (IE user) who can reproduce it?
I have exactly the same problem here. I installed Moinmoin 1.6.0 recent for use in my company intranet. The server is running Apache 2.2 and Python 2.5.1 under Windows2003 Server. The client uses IE6 on Win XP SP2. The default configuration is set to GUI editor only, because I want nobody have to learn the text mode syntax.
It is no problem to create a page called "ÜbersichtProdukte", to link on this page from another one, or to open this page.
moving the mouse over the Edit button shows a link to "../ÃbersichtProdukte?action=edit&editor=guipossible" what causes Moin to think it a new page
however entering ".../%C3%9CbersichtProdukte?action=edit" manually in the URL works perfect to edit the existing "ÜbersichtProdukte"
- other links on this page e.g. ".../%C3%9CbersichtProdukte?action=info" seem to be correct
Funny: When I show up the HTML Quelltext in IE6 (view->source code?, I don't know what that is in the english version) the HTML source is completely different to what IE6 shows. The corresponding line for the edit button is
<ul class="editbar"><li><a href="/panwiki/%C3%9CbersichtProdukte?action=edit&editor=textonly" name="editlink" rel="nofollow">Editieren</a></li>
what is really not the same as ".../panwiki/ÃbersichtProdukte?action=edit&editor=guipossible"
I think IE6 is doing his own voodoo here.
Feb 06, 2008 - BM
There is some Javascript code adding the GUI editor link (if and only if javascript is enabled). It seems to be broken on IE for such cases.
MoinMoin/theme/__init__.py
wiki/htdocs/common/js/common.js
Can not reproduce the problem with IE7 on Windows Server 2008.
Plan
- Priority:
- Assigned to:
- Status: needs developer with windows / IE6 to fix the javascript