Page MenuHomePhabricator

A new semantics for templates
Closed, DuplicatePublic


Type of activity: Pre-scheduled session.
Main topic: Handling wiki content beyond plaintext

The problem

The current architecture of mediawiki entangles the markup language and the template mechanism. A more structured semantics for templates, organized around the HTML DOM structure of the resulting document, prevents common errors (like leading boldface out of a template), allows for more efficient page updates, and paves the way for alternative markup languages in the future.

Expected outcome

An agreement on refactoring template support out of the parser and a new template semantics, along with a roadmap towards achieving this long-term goal.

Current status of the discussion

A number of related proposals have been made, with consensus among smaller communities.

Event Timeline

Qgil added a subscriber: Qgil.

Can you add projects/tags related to the topics discussed, please?

This proposal seems to have enough interests, but there is no discussion so far. I am moving it to "on track" for now, but all pre-scheduled sessions are supposed to have ongoing discussions.

@cscott Hey! As developer summit is less than four weeks from now, we are working on a plan to incorporate the ‘unconference sessions’ that have been proposed so far and would be generated on the spot. Thus, could you confirm if you plan to facilitate this session at the summit? Also, if your answer is 'YES,' I would like to encourage you to update/ arrange the task description fields to appear in the following format:

Session title
Main topic
Type of activity
Description Move ‘The Problem,' ‘Expected Outcome,' ‘Current status of the discussion’ and ‘Links’ to this section
Proposed by Your name linked to your MediaWiki URL, or profile elsewhere on the internet
Preferred group size
Any supplies that you would need to run the session e.g. post-its
Interested attendees (sign up below)

  1. Add your name here

We will be reaching out to the summit participants next week asking them to express their interest in unconference sessions by signing up.

To maintain the consistency, please consider referring to the template of the following task description: