Manual:Preprocessor DOM.php/fr

Description
This file contains functions for recursively expanding variables, parser functions, templates, and template parameters. As an intermediate step it creates an XML DOM representation of the wikitext (see also Help:ExpandTemplates#XML parse tree).

Functions called from  include:


 * - preprocesses wikitext and returns a document tree, also called DOM tree. It calls:
 * - parses the wikitext with respect to double braces, triple braces  , and double rectangular brackets ... , and also finds the pipes | and the equals signs =. The result is the DOM tree.
 * - produces the expanded wikitext from the DOM tree. It performs double-brace expansion, calling  in , and triple-brace expansion, calling   in.



Voir aussi




Liens externes

 *  The MediaWiki parser, uncovered