Index: trunk/phase3/includes/json/FormatJson.php |
— | — | @@ -1,7 +1,10 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | 4 | * Simple wrapper for json_econde and json_decode that falls back on Services_JSON class |
| 5 | + * |
| 6 | + * @file |
5 | 7 | */ |
| 8 | + |
6 | 9 | if ( !defined( 'MEDIAWIKI' ) ) { |
7 | 10 | die( 1 ); |
8 | 11 | } |
Index: trunk/phase3/includes/parser/Preprocessor_Hash.php |
— | — | @@ -1,6 +1,12 @@ |
2 | 2 | <?php |
3 | | - |
4 | 3 | /** |
| 4 | + * Preprocessor using PHP arrays |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Parser |
| 8 | + */ |
| 9 | + |
| 10 | +/** |
5 | 11 | * Differences from DOM schema: |
6 | 12 | * * attribute nodes are children |
7 | 13 | * * <h> nodes that aren't at the top are replaced with <possible-h> |
Index: trunk/phase3/includes/parser/Tidy.php |
— | — | @@ -1,4 +1,9 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * HTML validation and correction |
| 5 | + * |
| 6 | + * @file |
| 7 | + */ |
3 | 8 | |
4 | 9 | /** |
5 | 10 | * Class to interact with HTML tidy |
Index: trunk/phase3/includes/parser/LinkHolderArray.php |
— | — | @@ -1,5 +1,13 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Holder of replacement pairs for wiki links |
| 5 | + * |
| 6 | + * @file |
| 7 | + */ |
3 | 8 | |
| 9 | +/** |
| 10 | + * @ingroup Parser |
| 11 | + */ |
4 | 12 | class LinkHolderArray { |
5 | 13 | var $internals = array(), $interwikis = array(); |
6 | 14 | var $size = 0; |
Index: trunk/phase3/includes/parser/ParserOutput.php |
— | — | @@ -1,5 +1,12 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Output of the PHP parser |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Parser |
| 8 | + */ |
| 9 | + |
| 10 | +/** |
4 | 11 | * @todo document |
5 | 12 | * @ingroup Parser |
6 | 13 | */ |
Index: trunk/phase3/includes/parser/Parser_LinkHooks.php |
— | — | @@ -1,5 +1,11 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Modified version of the PHP parser with hooks for wiki links; experimental |
| 5 | + * |
| 6 | + * @file |
| 7 | + */ |
| 8 | + |
| 9 | +/** |
4 | 10 | * Parser with LinkHooks experiment |
5 | 11 | * @ingroup Parser |
6 | 12 | */ |
Index: trunk/phase3/includes/parser/CoreParserFunctions.php |
— | — | @@ -1,4 +1,9 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Parser functions provided by MediaWiki core |
| 5 | + * |
| 6 | + * @file |
| 7 | + */ |
3 | 8 | |
4 | 9 | /** |
5 | 10 | * Various core parser functions, registered in Parser::firstCallInit() |
Index: trunk/phase3/includes/parser/CoreLinkFunctions.php |
— | — | @@ -1,4 +1,9 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Link functions provided by MediaWiki core; experimental |
| 5 | + * |
| 6 | + * @file |
| 7 | + */ |
3 | 8 | |
4 | 9 | /** |
5 | 10 | * Various core link functions, registered in Parser::firstCallInit() |
Index: trunk/phase3/includes/parser/ParserCache.php |
— | — | @@ -1,5 +1,11 @@ |
2 | 2 | <?php |
3 | 3 | /** |
| 4 | + * Cache for outputs of the PHP parser |
| 5 | + * |
| 6 | + * @file |
| 7 | + */ |
| 8 | + |
| 9 | +/** |
4 | 10 | * @ingroup Cache Parser |
5 | 11 | * @todo document |
6 | 12 | */ |
Index: trunk/phase3/includes/parser/DateFormatter.php |
— | — | @@ -1,4 +1,9 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Date formatter |
| 5 | + * |
| 6 | + * @file |
| 7 | + */ |
3 | 8 | |
4 | 9 | /** |
5 | 10 | * Date formatter, recognises dates in plain text and formats them accoding to user preferences. |
Index: trunk/phase3/includes/parser/Parser_DiffTest.php |
— | — | @@ -1,4 +1,9 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Fake parser that output the difference of two different parsers |
| 5 | + * |
| 6 | + * @file |
| 7 | + */ |
3 | 8 | |
4 | 9 | /** |
5 | 10 | * @ingroup Parser |
Index: trunk/phase3/includes/parser/Preprocessor_DOM.php |
— | — | @@ -1,8 +1,14 @@ |
2 | 2 | <?php |
3 | | - |
4 | 3 | /** |
| 4 | + * Preprocessor using PHP's dom extension |
| 5 | + * |
| 6 | + * @file |
5 | 7 | * @ingroup Parser |
6 | 8 | */ |
| 9 | + |
| 10 | +/** |
| 11 | + * @ingroup Parser |
| 12 | + */ |
7 | 13 | class Preprocessor_DOM implements Preprocessor { |
8 | 14 | var $parser, $memoryLimit; |
9 | 15 | |
Index: trunk/phase3/includes/parser/Preprocessor.php |
— | — | @@ -1,4 +1,9 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Interfaces for preprocessors |
| 5 | + * |
| 6 | + * @file |
| 7 | + */ |
3 | 8 | |
4 | 9 | /** |
5 | 10 | * @ingroup Parser |
Index: trunk/phase3/includes/parser/CoreTagHooks.php |
— | — | @@ -1,5 +1,14 @@ |
2 | 2 | <?php |
| 3 | +/** |
| 4 | + * Tag hooks provided by MediaWiki core |
| 5 | + * |
| 6 | + * @file |
| 7 | + */ |
3 | 8 | |
| 9 | +/** |
| 10 | + * Various tag hooks, registered in Parser::firstCallInit() |
| 11 | + * @ingroup Parser |
| 12 | + */ |
4 | 13 | class CoreTagHooks { |
5 | 14 | static function register( $parser ) { |
6 | 15 | global $wgRawHtml, $wgUseTeX; |
Index: trunk/phase3/includes/parser/ParserOptions.php |
— | — | @@ -1,6 +1,12 @@ |
2 | 2 | <?php |
3 | | - |
4 | 3 | /** |
| 4 | + * Options for the PHP parser |
| 5 | + * |
| 6 | + * @file |
| 7 | + * @ingroup Parser |
| 8 | + */ |
| 9 | + |
| 10 | +/** |
5 | 11 | * Set options of the Parser |
6 | 12 | * @todo document |
7 | 13 | * @ingroup Parser |