Opened 17 years ago
Closed 16 years ago
#2191 closed New Feature (fixed)
A button to activate/deactivate
Reported by: | Dieudonné Dard | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Project : MediaWiki+FCKeditor | Version: | SVN (FCKeditor) - Retired |
Keywords: | Confirmed Review+ | Cc: |
Description
It would be very useful to be able activate or deactivate this editor with the click of a button like with wikEd for example.
Attachments (1)
Change History (15)
comment:1 follow-up: 2 Changed 17 years ago by
Keywords: | Confirmed added |
---|---|
Version: | → SVN |
comment:2 Changed 17 years ago by
Replying to w.olchawa:
#2192 - every user could disable FCKeditor extension by the activate/deactivate button so it wouldn't be a problem for disabling for those who don't want to use it.
Precision on the idea of ticket #2192 :
Since this extension is still in beta version, the idea is to allow the testing of it only by experienced users (volonteers). It would be very helpfull to be able to set it active by default, or not, when installing the extension.
Thanks to re-open ticket #2192
Some users are actually trying to overcome this obstacle via tricks :
comment:3 follow-up: 6 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in the latest release. Please test it and report any (new) issues you find.
It should be now possible to choose the way how FCKeditor is loaded via Preferences -> Misc:
- Start with rich editor disabled
- Open rich editor in a popup
- Use toggle to switch between wikitext and rich editor (replace textarea with rich editor)
- Remember last toggle state
Use:
$wgDefaultUserOptions['riched_use_toggle'] = 1; $wgDefaultUserOptions['riched_start_disabled'] = 1; $wgDefaultUserOptions['riched_use_popup'] = 1; $wgDefaultUserOptions['riched_toggle_remember_state'] = 1;
to change the default toggle settings for all users.
comment:4 Changed 17 years ago by
comment:6 Changed 16 years ago by
Replying to wwalc:
Fixed in the latest release. Please test it and report any (new) issues you find.
I have installed the latest version (extension + fckeditor). The source shows the new parameters, but no matter what I do, the rich text editor still remains the default. What should I check?
Regards, JW
comment:7 Changed 16 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:8 Changed 16 years ago by
Keywords: | Pending WorksForMe added; Confirmed removed |
---|
Clear browser's cache, make sure that you have uploaded the extension into correct directory/server.
comment:9 Changed 16 years ago by
Same problem as janwb. I installed everything, but even with the wgDefaultUserOption settings enabled to disable the FCKeditor by default, it still only shows the FCKeditor with no option to switch to the normal Wiki edit box, unless I go to the user's Misc options tab and manually set these options. Using latest SVN of Mediawiki-FCKEditor and MediaWiki 1.13.2
comment:10 Changed 16 years ago by
You should change default settings before you click to edit page. MediaWiki copy all these settings to profile when you load extension first time.
comment:11 Changed 16 years ago by
That's exactly what I did. Looking in the user_options column for each user, none of the "riched_*" option fields have been put in there, so I don't know why it's not using the default options I set.
comment:12 Changed 16 years ago by
Keywords: | Confirmed added; Pending WorksForMe removed |
---|
Changed 16 years ago by
Attachment: | 2191.patch added |
---|
comment:13 Changed 16 years ago by
Keywords: | Review? added |
---|
Finally I found a way to fix this bug. MediaWiki has strange problem with default values set outside of DefaultSettings.php
comment:14 Changed 16 years ago by
Keywords: | Review+ added; Review? removed |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Fixed with [3234].
The patch was ok, it contained just one little problem - it wasn't E_NOTICE friendly (lack of isset/empty calls).
This request is related to your other tickets that is #2190 and #2192. We could possibly achieve those two tickets by creating an activate/deactivate button (issue from this ticket). In:
#2190 - if we would deactivate FCKeditor extension a rich editor would than be activated so the signature button wouldn't be a problem
#2192 - every user could disable FCKeditor extension by the activate/deactivate button so it wouldn't be a problem for disabling for those who don't want to use it.