Closed
Bug 710728
Opened 13 years ago
Closed 13 years ago
Support / convert MindTouch template scripts in migration script
Categories
(developer.mozilla.org Graveyard :: Editing, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: lorchard, Unassigned)
References
Details
MindTouch supports DekiScript, and MDN uses it to write server-side scripting in templates that are used in pages.
Kuma needs to support at least the existing body of templates, and possibly the server-side scripting feature as well.
This will probably be a tracking bug of its own.
* Perform a survey of template scripts in use, get a sense of what are the most scripting intense and which are just parameterized HTML chunks.
* Determine how crucial server-side scripting is, or if maybe we can get away with implementing some templates in Python.
* If necessary, we can experiment with our own scripting system based on server-side JS. This deserves its own bug. Possibly something atop node.js & HTTP-addressable within the cluster
* Could we get most of the value from a hybrid approach aiming at 80/20? eg. One kind of template that's parameterized HTML, another that's implemented in Python, and a few that are built with server-side scripting?
Reporter | ||
Comment 1•13 years ago
|
||
Found some bugs that are either duplicates or dependencies for this one. Adding them all to this one.
Reporter | ||
Comment 2•13 years ago
|
||
Once we get to the point of having kumascript far enough along to seriously tackle this task, it will probably end up being only partially susceptible to automation and still require some manual effort. Need to document the automatic parts / build tools in migration or the template editor.
Things found so far:
* ?? in DekiScript becomes || in EJS
* .. in DekiScript becomes + in EJS
* The XML literals mingled with code in DekiScript invert into markup mixed with <? ?> script blocks in EJS
* Missing DekiScript API objects and methods need to be implemented, per bug 730707
* Alternatively, code relying on DekiScript APIs can be rewritten to use JS methods (eg. string.substr, etc)
Updated•13 years ago
|
Updated•13 years ago
|
Priority: -- → P1
Updated•13 years ago
|
Reporter | ||
Comment 3•13 years ago
|
||
So, bug 765225 kind of reads like a dup of this one. But, let's say that this one is about the automated migration and bug 765225 is the manual work to take them the rest of the way.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Summary: Support / convert MindTouch template scripts → Support / convert MindTouch template scripts in migration script
Assignee | ||
Updated•12 years ago
|
Version: MDN → unspecified
Assignee | ||
Updated•12 years ago
|
Component: Docs Platform → Editing
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•