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

  1. Create wiki
  2. Add "editor_choice = 'theonepreferred'" to wikiconfig.py
  3. Connect to wiki (don't login)
  4. Note that both "Edit (Text)" and "Edit (GUI)" are present
  5. Create an account and login
  6. 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


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/ThePreferredOne (last edited 2007-11-17 00:13:03 by ThomasWaldmann)