Need to add custom plugins to MDC

RESOLVED FIXED

Status

RESOLVED FIXED
10 years ago
4 years ago

People

(Reporter: sheppy, Assigned: oremj)

Tracking

Details

(Reporter)

Description

10 years ago
I've written a customized plugin for the FCKeditor used by our MindTouch install on MDC. What's the best way to get this installed? It needs to go into:

trunk/web/editor/fckeditor/core/editor/mdc

Should this go into the same SVN as the skin resources, or should we set up a separate one so that we can do the pull more easily?
(Reporter)

Comment 1

10 years ago
I also have a new Deki plugin that needs to be installed as well; this goes into:

trunk/web/dekiwiki/deki/plugins/special_page/special_userregister_mdc

In addition, I need a line added to LocalSettings.php (but not until I get the code for these plugins installed):

$wgDekiSpecialPages[] = 'special_userregistration_mdc';

This lets me customize the new user registration page to add test explaining the purpose of MDC and advertising the policy that non-Mozilla related content is subject to deletion, etc.
Summary: Need to add a custom editor plugin to MDC → Need to add custom plugins to MDC
(Reporter)

Comment 2

10 years ago
Any idea yet how we want to set this up in SVN?
(Assignee)

Comment 3

10 years ago
Put it in http://svn.mozilla.org/projects/deki/trunk/mozilla/plugins and I'll update the live site.
(Assignee)

Updated

10 years ago
Whiteboard: Waiting for commit.
(Reporter)

Comment 4

10 years ago
Since we have both an FCKeditor plugin and a Deki plugin, should I create subdirectories in the plugins folder named, say, "mindtouch" and "fckeditor" to separate the two kinds out?
(Reporter)

Comment 5

10 years ago
These two plugins have been submitted in revision 27960:

Adding         plugins
Adding         plugins/fckeditor
Adding         plugins/fckeditor/mdc
Adding         plugins/fckeditor/mdc/fckplugin.js

The "mdc" folder here needs to be placed in trunk/web/editor/fckeditor/core/editor/

Adding         plugins/mindtouch
Adding         plugins/mindtouch/special_userregistration_mdc
Adding         plugins/mindtouch/special_userregistration_mdc/special_userregistration_mdc.php

The special_userregistration_mdc folder here needs to be placed in trunk/web/dekiwiki/deki/plugins/special_page/

(The entire folder, not just the js or php file needs to be installed in both cases).

Once these in place, the line 

$wgDekiSpecialPages[] = 'special_userregistration_mdc';

Needs to be added to LocalSettings.php -- then the wiki needs to be restarted.

Thanks!
(Assignee)

Comment 6

10 years ago
The plug-in should be installed now.
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
(Reporter)

Comment 7

10 years ago
Need the wiki restarted one more time, after updating configuration to enable the new plugins, please.
(Assignee)

Comment 8

10 years ago
Restarted.
(Reporter)

Comment 9

10 years ago
The special_userregistration_mdc plugin is working, but the "mdc" plugin for FCKeditor is not; it is acting like it's not installed.
Whiteboard: Waiting for commit.
(Reporter)

Comment 10

10 years ago
Are you sure the "mdc" plugin is in the right spot? Can't think of any other reason why it might not be working.
(Reporter)

Comment 11

10 years ago
The "mdc" plugin for the editor is still not working; can you confirm where it's installed, please?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
(Reporter)

Comment 12

9 years ago
Double checking again on the status of this; haven't heard anything in a couple of weeks now, still can't get the FCKeditor plugin to work.
(Assignee)

Comment 13

9 years ago
The file exists: https://developer.mozilla.org/editor/fckeditor/core/editor/mdc/fckplugin.js. Maybe the mindtouch guys can help debug?
(Reporter)

Comment 14

9 years ago
This is my fault; I gave you the wrong path for where the "mdc" plugin goes. Can you move it to be here:

editor/fckeditor/core/editor/plugins/mdc/fckplugin.js

Sorry about that!
(Assignee)

Comment 15

9 years ago
No problem.
https://developer.mozilla.org/editor/fckeditor/core/editor/plugins/mdc/fckplugin.js
Status: REOPENED → RESOLVED
Last Resolved: 10 years ago9 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.