Changes

Jump to navigation Jump to search
574 bytes removed ,  19:11, 5 September 2020
m
typo
== An extension for editing `/Command` subpages ==
The ConTeXtXML extension is a new wiki feature specifically designed to edit the ConTeXt command referencs reference pages (the ones that live under the `/Command/` URL.
It does this by intercepting the creation of new wiki pages below `/Command/`, and using a ContentHandler extension to maintain those pages. The text model of those pages is `contextxml`, which is a special XML format developed for documenting ConTeXt commands that is based in the interface XML files by Wolfgang Schuster.
Sets the content model to `contextxml` if the wiki page title starts with `/Command`.
 
=== `PageContentSave` ===
 
On save, this saves `contextxml` pages to a designated harddisk location as well as in the wiki database.
=== `ArticleAfterFetchContentObject` ===
This fills the edit area for newly created `/Command` pages from the file on the harddisk
 
=== `EditPageNoSuchSection` ===
 
Error hook that is triggered if the user tried to edit a section that is generated from wiki code instead of from the XML data. This is an error because it is quite hard to extract the right block of text in that case and still keep track of where it is in relation to the XML data.
 
=== `EditPage::showEditForm:fields` ===
 
Prints a simple help message at the top of the edit field for `/Command` pages.
 
== Generating the wikitext code for page views and previews ==

Navigation menu