Closed Bug 496402 Opened 15 years ago Closed 15 years ago

Need to add custom plugins to MDC

Categories

(mozilla.org Graveyard :: Server Operations, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheppy, Assigned: oremj)

Details

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?
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
Any idea yet how we want to set this up in SVN?
Put it in http://svn.mozilla.org/projects/deki/trunk/mozilla/plugins and I'll update the live site.
Whiteboard: Waiting for commit.
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?
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!
The plug-in should be installed now.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Need the wiki restarted one more time, after updating configuration to enable the new plugins, please.
Restarted.
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.
Are you sure the "mdc" plugin is in the right spot? Can't think of any other reason why it might not be working.
The "mdc" plugin for the editor is still not working; can you confirm where it's installed, please?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
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.
The file exists: https://developer.mozilla.org/editor/fckeditor/core/editor/mdc/fckplugin.js. Maybe the mindtouch guys can help debug?
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!
Status: REOPENED → RESOLVED
Closed: 15 years ago15 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.