* Added file description headers
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 22 Aug 2010 14:31:05 +0000 (14:31 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 22 Aug 2010 14:31:05 +0000 (14:31 +0000)
* Added @file where needed

15 files changed:
includes/json/FormatJson.php
includes/parser/CoreLinkFunctions.php
includes/parser/CoreParserFunctions.php
includes/parser/CoreTagHooks.php
includes/parser/DateFormatter.php
includes/parser/LinkHolderArray.php
includes/parser/ParserCache.php
includes/parser/ParserOptions.php
includes/parser/ParserOutput.php
includes/parser/Parser_DiffTest.php
includes/parser/Parser_LinkHooks.php
includes/parser/Preprocessor.php
includes/parser/Preprocessor_DOM.php
includes/parser/Preprocessor_Hash.php
includes/parser/Tidy.php

index cf49c17..57ab165 100644 (file)
@@ -1,7 +1,10 @@
 <?php
 /**
  * Simple wrapper for json_econde and json_decode that falls back on Services_JSON class
+ *
+ * @file
  */
+
 if ( !defined( 'MEDIAWIKI' ) ) {
        die( 1 );
 }
index d6d1188..913ec22 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**
+ * Link functions provided by MediaWiki core; experimental
+ *
+ * @file
+ */
 
 /**
  * Various core link functions, registered in Parser::firstCallInit()
index ba13d2d..f35d020 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**
+ * Parser functions provided by MediaWiki core
+ *
+ * @file
+ */
 
 /**
  * Various core parser functions, registered in Parser::firstCallInit()
index 422ebac..e028675 100644 (file)
@@ -1,5 +1,14 @@
 <?php
+/**
+ * Tag hooks provided by MediaWiki core
+ *
+ * @file
+ */
 
+/**
+ * Various tag hooks, registered in Parser::firstCallInit()
+ * @ingroup Parser
+ */
 class CoreTagHooks {
        static function register( $parser ) {
                global $wgRawHtml, $wgUseTeX;
index 83b609d..c1b07db 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**
+ * Date formatter
+ *
+ * @file
+ */
 
 /**
  * Date formatter, recognises dates in plain text and formats them accoding to user preferences.
index aacbaff..eccbeb9 100644 (file)
@@ -1,5 +1,13 @@
 <?php
-
+/**
+ * Holder of replacement pairs for wiki links
+ *
+ * @file
+ */
+
+/**
+ * @ingroup Parser
+ */
 class LinkHolderArray {
        var $internals = array(), $interwikis = array();
        var $size = 0;
index 00665a1..614099f 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+/**
+ * Cache for outputs of the PHP parser
+ *
+ * @file
+ */
+
 /**
  * @ingroup Cache Parser
  * @todo document
index 6f6e2df..36c3f36 100644 (file)
@@ -1,5 +1,11 @@
 <?php
-
+/**
+ * Options for the PHP parser
+ *
+ * @file
+ * @ingroup Parser
+ */
 /**
  * Set options of the Parser
  * @todo document
index 38671fb..dc9b124 100644 (file)
@@ -1,4 +1,11 @@
 <?php
+/**
+ * Output of the PHP parser
+ *
+ * @file
+ * @ingroup Parser
+ */
 /**
  * @todo document
  * @ingroup Parser
index 608c883..8179cc6 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**
+ * Fake parser that output the difference of two different parsers
+ *
+ * @file
+ */
 
 /**
  * @ingroup Parser
index 893bf23..5d6ac78 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+/**
+ * Modified version of the PHP parser with hooks for wiki links; experimental
+ *
+ * @file
+ */
+
 /**
  * Parser with LinkHooks experiment
  * @ingroup Parser
index d8c3d85..c31f37b 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**
+ * Interfaces for preprocessors
+ *
+ * @file
+ */
 
 /**
  * @ingroup Parser
index ae33901..9657ada 100644 (file)
@@ -1,5 +1,11 @@
 <?php
-
+/**
+ * Preprocessor using PHP's dom extension
+ *
+ * @file
+ * @ingroup Parser
+ */
 /**
  * @ingroup Parser
  */
index d8eff78..98630e9 100644 (file)
@@ -1,5 +1,11 @@
 <?php
-
+/**
+ * Preprocessor using PHP arrays
+ *
+ * @file
+ * @ingroup Parser
+ */
 /**
  * Differences from DOM schema:
  *   * attribute nodes are children
index a4bd19b..3e436c8 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**
+ * HTML validation and correction
+ *
+ * @file
+ */
 
 /**
  * Class to interact with HTML tidy