From: John K. <jo...@ke...> - 2005-10-16 19:05:44
|
At 19:12 +0200 16/10/05, Joel Uckelman wrote: >So, what I'm suggesting is: > >1. Extending the markup syntax to permit classes and ids, perhaps like this: > >markupelement{class1 class2... #id} > >so that you could do this with any markup element you wanted, say > >!!!{enormous orangebox #title} A Gigantic Orange-Boxed Title > >2. Providing an easy interface for adding new markup, as Reini suggested in >his response higher up in this thread. > >3. Making a div and span markup plugin which uses 2 and can be turned on >from the config.ini. > >4. Making a plugin which reads wiki pages for user-generated css, which can >be turned on from the config.ini and used in conjunction with 1-3. > >Comments? Wow - that would be excellent :) One suggestion I'd add would be the option to define styles on the fly, maybe using "..." eg !!!{enormous orangebox "margin:2em; border:3px solid red;" #title} A Gigantic Orange-Boxed Title with a solid red border and 2ems of space around it partly for handling one-off situations that don't warrant knocking up a separate class, partly for 'mucking around' with some formatting (wiki-style tweaking) til you get it just right, at which point you may or may not 'solidify' that style info into a class. This is how new styles end up being arrived at in the real world. In the mean-time, what tentative steps would I have to take to figure out what mods I've added to my existing twenty or so 1.3.0 wikis (not all of which have needed all the mods I've added - eek!) and how to begin the (enormous) task of upgrading them to phpwiki 1.3.whatever-we're-at? I'm guessing something to do with diff & patch (which are to me like distant cousins - I've heard of them but they're not exactly familiar). Can I still download a clean copy of 1.3.0 from somewhere to diff against one of my current wikis? Anyone want to help me (off-list) with diff commands and such? John. -- ------------------------------------------------------------------- T:01274 581519 / M:07944 755613 www.kershaw.org jo...@ke... skype:johnmkershaw AIM:johnkershaw MSN:joh...@ho... |