aboutsummaryrefslogtreecommitdiffstats
path: root/includes/parser/Preprocessor.php
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2012-07-10 14:48:06 +0200
committerAntoine Musso <hashar@free.fr>2012-07-10 17:08:32 +0200
commitaab43dd49523476f3ec28c695e43006446a7be7a (patch)
treefce6adc933950d5ee55dfbae96546a953a846f19 /includes/parser/Preprocessor.php
parentd11d3282a5153bd47ea6011f7b4e94773c8e97f7 (diff)
downloadmediawikicore-aab43dd49523476f3ec28c695e43006446a7be7a.tar.gz
mediawikicore-aab43dd49523476f3ec28c695e43006446a7be7a.zip
escape tags and entity in doxygen comments
When inserting XML elements inline <such as this one>, doxygen chokes about it not being known. Simply enclosing the tag in double quotes prevents doxygen from emitting a warning. Also enclosed a few invalid functions calls such as \. and double quoted the HTML entities such as &foobar; Change-Id: I4019637145e683c2bec3d17b2fd98b0c50a932f1
Diffstat (limited to 'includes/parser/Preprocessor.php')
-rw-r--r--includes/parser/Preprocessor.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/parser/Preprocessor.php b/includes/parser/Preprocessor.php
index 19bcbf238cef..bd13f9ae97fa 100644
--- a/includes/parser/Preprocessor.php
+++ b/includes/parser/Preprocessor.php
@@ -231,7 +231,7 @@ interface PPNode {
function getName();
/**
- * Split a <part> node into an associative array containing:
+ * Split a "<part>" node into an associative array containing:
* name PPNode name
* index String index
* value PPNode value
@@ -239,13 +239,13 @@ interface PPNode {
function splitArg();
/**
- * Split an <ext> node into an associative array containing name, attr, inner and close
+ * Split an "<ext>" node into an associative array containing name, attr, inner and close
* All values in the resulting array are PPNodes. Inner and close are optional.
*/
function splitExt();
/**
- * Split an <h> node
+ * Split an "<h>" node
*/
function splitHeading();
}