r13850 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r13849‎ | r13850 | r13851 >
Date:19:22, 24 April 2006
Author:hashar
Status:old
Tags:
Comment:
some more doxygen fixes
Modified paths:
  • /trunk/phase3/includes/Sanitizer.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Sanitizer.php
@@ -59,7 +59,7 @@
6060 /**
6161 * List of all named character entities defined in HTML 4.01
6262 * http://www.w3.org/TR/html4/sgml/entities.html
63 - * @access private
 63+ * @private
6464 */
6565 global $wgHtmlEntities;
6666 $wgHtmlEntities = array(
@@ -321,7 +321,7 @@
322322 /**
323323 * Cleans up HTML, removes dangerous tags and attributes, and
324324 * removes HTML comments
325 - * @access private
 325+ * @private
326326 * @param string $text
327327 * @param callback $processCallback to do any variable or parameter replacements in HTML attribute values
328328 * @param array $args for the processing callback
@@ -463,7 +463,7 @@
464464 * and followed by a newline (ignoring spaces), trim leading and
465465 * trailing spaces and one of the newlines.
466466 *
467 - * @access private
 467+ * @private
468468 * @param string $text
469469 * @return string
470470 */
@@ -633,7 +633,7 @@
634634 * Regex replace callback for armoring links against further processing.
635635 * @param array $matches
636636 * @return string
637 - * @access private
 637+ * @private
638638 */
639639 function armorLinksCallback( $matches ) {
640640 return str_replace( ':', ':', $matches[1] );
@@ -677,7 +677,7 @@
678678 *
679679 * @param array $set
680680 * @return string
681 - * @access private
 681+ * @private
682682 */
683683 function getTagAttributeCallback( $set ) {
684684 if( isset( $set[6] ) ) {
@@ -711,7 +711,7 @@
712712 *
713713 * @param string $text
714714 * @return string
715 - * @access private
 715+ * @private
716716 */
717717 function normalizeAttributeValue( $text ) {
718718 return str_replace( '"', '"',
@@ -733,7 +733,7 @@
734734 *
735735 * @param string $text
736736 * @return string
737 - * @access private
 737+ * @private
738738 */
739739 function normalizeCharReferences( $text ) {
740740 return preg_replace_callback(
@@ -818,7 +818,7 @@
819819 *
820820 * @param string $text
821821 * @return string
822 - * @access public
 822+ * @public
823823 */
824824 function decodeCharReferences( $text ) {
825825 return preg_replace_callback(
@@ -850,7 +850,7 @@
851851 * character reference, otherwise U+FFFD REPLACEMENT CHARACTER.
852852 * @param int $codepoint
853853 * @return string
854 - * @access private
 854+ * @private
855855 */
856856 function decodeChar( $codepoint ) {
857857 if( Sanitizer::validateCodepoint( $codepoint ) ) {

Status & tagging log