From: Kaldari Date: Wed, 19 Dec 2012 22:20:54 +0000 (-0800) Subject: Improving function descriptions in Linker X-Git-Tag: 1.31.0-rc.0~21256 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=3fd7bacbbab7b3e6fc13892dab022ae55457cf72;p=lhc%2Fweb%2Fwiklou.git Improving function descriptions in Linker Change-Id: Id3aff70f8b5813f80e5b44bf14cb8198b2e16d4b --- diff --git a/includes/Linker.php b/includes/Linker.php index 408538b7d2..05a9905669 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1241,7 +1241,7 @@ class Linker { /** * This function is called by all recent changes variants, by the page history, * and by the user contributions list. It is responsible for formatting edit - * comments. It escapes any HTML in the comment, but adds some CSS to format + * summaries. It escapes any HTML in the summary, but adds some CSS to format * auto-generated comments (from section editing) and formats [[wikilinks]]. * * @author Erik Moeller @@ -1278,6 +1278,7 @@ class Linker { static $autocommentLocal; /** + * Converts autogenerated comments in edit summaries into section links. * The pattern for autogen comments is / * foo * /, which makes for * some nasty regex. * We look for all comments, match any text before and after the comment, @@ -1303,6 +1304,7 @@ class Linker { } /** + * Helper function for Linker::formatAutocomments * @param $match * @return string */