Development talk:Text formats: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
A- Fix places without "format" | A- Fix places without "format" | ||
:<strike>a) inline format info (like trusttest -> Sam)</strike> | :<strike>a) inline format info (like trusttest -> Sam)</strike> | ||
:b) add formatxxx fields in all missing places. Naming schema "xxxformat" (exam. "descriptionformat"). ( | :b) add formatxxx fields in all missing places. Naming schema "xxxformat" (exam. "descriptionformat"). | ||
:: - db new fields. | |||
:: - upgrade | |||
:: - forms modification (combined element) | |||
:: - backup & restore | |||
:: - Need conversion to HTML format (always enabled plugin) from all formats | |||
B- Make them modular (pluggable. OOP) (lib/format and lib/formatlib.php, get_format()->do_stuff()) | B- Make them modular (pluggable. OOP) (lib/format and lib/formatlib.php, get_format()->do_stuff()) |
Revision as of 08:50, 15 October 2008
Some points:
A- Fix places without "format"
a) inline format info (like trusttest -> Sam)- b) add formatxxx fields in all missing places. Naming schema "xxxformat" (exam. "descriptionformat").
- - db new fields.
- - upgrade
- - forms modification (combined element)
- - backup & restore
- - Need conversion to HTML format (always enabled plugin) from all formats
B- Make them modular (pluggable. OOP) (lib/format and lib/formatlib.php, get_format()->do_stuff())
C- Enable at site/course levels?
D- Upgrade to detect formats should be clever (and will be heavy!)
E- Editors "attached" to formats.
F- Can have "special" editors for other formats.
G- 1 user preference (format & editor) plus 1 preference to "disable editor"
H- Wiki format (mediawiki). Coming from nwiki hopefully.
I - Conflicts between formats and some filters sharing same syntax:
- a) make filters to use prefixes and allow them to be automatically informed to the formats. Complex.
- b) Use some alternate syntax (a safe one)
J- Filters: Any relation with formats? Enable/disable them by format?
K - Offtopic: Posibility to enable/disable filters by context.
--Eloy Lafuente (stronk7) 03:29, 15 October 2008 (CDT)