Trevor Parscal <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #15 from Trevor Parscal <> 2010-10-19 
17:45:34 UTC ---
I spoke with Hampton at Wikimania about this idea, and he seemed keen on it -
perhaps it's time to socialize it more broadly.

The mobile site should be able to render wikitext directly into it's desired
format(s), otherwise we are basically just screen-scraping ourselves.

Post-processing is always going to be a fragile hack. I believe the solution is
to create a wikitext parser/renderer architecture, where the parser expands
templates and then builds a document object model and then the renderer turns
that structure into code. Then we could simply extend the system to render to
an alternate markup which is ideal for the target.

I wrote a parser earlier this year that converts most wikitext into a document
object model. It needs more work but it's a good start, I will try and get it
on the SVN this week. Using the parser I wrote, I believe we could write a
renderer that can output the same HTML as the current parser does, as well as
one that outputs the same HTML that the mobile site does.

My 2 cents.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Wikibugs-l mailing list

Reply via email to