Description
Add "editor_choice = 'theonepreferred'" to wikiconfig.py. There should no longer be "Edit (Text)" and "Edit (GUI)" links on pages but rather just a single "Edit". Instead, if you aren't logged in on the homepage you still see both links.
Steps to reproduce
- Create wiki
- Add "editor_choice = 'theonepreferred'" to wikiconfig.py
- Connect to wiki (don't login)
- Note that both "Edit (Text)" and "Edit (GUI)" are present
- Create an account and login
- Note that only a single "Edit" appears
Example
Details
MoinMoin Version |
|
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
Require users to login to edit a page by changing ACL default rights.
Discussion
How should the wiki know what the user prefers when he does not log in?
The editor selection should be changed to this:
Editor: [text|gui popup] Tip: gui editor is not compatible with all browsers... [x] show both
translated to user/config options:
editor_preferred = 'text' | 'gui' (default to 'text') editor_show_both = True (default to true)
Now there is no confusion with "the preferred one", because if you are not registered, you use the wiki preferred editor, and you see either the wiki preferred one, or both.
Plan
- Priority:
- Assigned to:
- Status: unsupported configuration