Index: trunk/phase3/includes/Sanitizer.php |
— | — | @@ -59,7 +59,7 @@ |
60 | 60 | /** |
61 | 61 | * List of all named character entities defined in HTML 4.01 |
62 | 62 | * http://www.w3.org/TR/html4/sgml/entities.html |
63 | | - * @access private |
| 63 | + * @private |
64 | 64 | */ |
65 | 65 | global $wgHtmlEntities; |
66 | 66 | $wgHtmlEntities = array( |
— | — | @@ -321,7 +321,7 @@ |
322 | 322 | /** |
323 | 323 | * Cleans up HTML, removes dangerous tags and attributes, and |
324 | 324 | * removes HTML comments |
325 | | - * @access private |
| 325 | + * @private |
326 | 326 | * @param string $text |
327 | 327 | * @param callback $processCallback to do any variable or parameter replacements in HTML attribute values |
328 | 328 | * @param array $args for the processing callback |
— | — | @@ -463,7 +463,7 @@ |
464 | 464 | * and followed by a newline (ignoring spaces), trim leading and |
465 | 465 | * trailing spaces and one of the newlines. |
466 | 466 | * |
467 | | - * @access private |
| 467 | + * @private |
468 | 468 | * @param string $text |
469 | 469 | * @return string |
470 | 470 | */ |
— | — | @@ -633,7 +633,7 @@ |
634 | 634 | * Regex replace callback for armoring links against further processing. |
635 | 635 | * @param array $matches |
636 | 636 | * @return string |
637 | | - * @access private |
| 637 | + * @private |
638 | 638 | */ |
639 | 639 | function armorLinksCallback( $matches ) { |
640 | 640 | return str_replace( ':', ':', $matches[1] ); |
— | — | @@ -677,7 +677,7 @@ |
678 | 678 | * |
679 | 679 | * @param array $set |
680 | 680 | * @return string |
681 | | - * @access private |
| 681 | + * @private |
682 | 682 | */ |
683 | 683 | function getTagAttributeCallback( $set ) { |
684 | 684 | if( isset( $set[6] ) ) { |
— | — | @@ -711,7 +711,7 @@ |
712 | 712 | * |
713 | 713 | * @param string $text |
714 | 714 | * @return string |
715 | | - * @access private |
| 715 | + * @private |
716 | 716 | */ |
717 | 717 | function normalizeAttributeValue( $text ) { |
718 | 718 | return str_replace( '"', '"', |
— | — | @@ -733,7 +733,7 @@ |
734 | 734 | * |
735 | 735 | * @param string $text |
736 | 736 | * @return string |
737 | | - * @access private |
| 737 | + * @private |
738 | 738 | */ |
739 | 739 | function normalizeCharReferences( $text ) { |
740 | 740 | return preg_replace_callback( |
— | — | @@ -818,7 +818,7 @@ |
819 | 819 | * |
820 | 820 | * @param string $text |
821 | 821 | * @return string |
822 | | - * @access public |
| 822 | + * @public |
823 | 823 | */ |
824 | 824 | function decodeCharReferences( $text ) { |
825 | 825 | return preg_replace_callback( |
— | — | @@ -850,7 +850,7 @@ |
851 | 851 | * character reference, otherwise U+FFFD REPLACEMENT CHARACTER. |
852 | 852 | * @param int $codepoint |
853 | 853 | * @return string |
854 | | - * @access private |
| 854 | + * @private |
855 | 855 | */ |
856 | 856 | function decodeChar( $codepoint ) { |
857 | 857 | if( Sanitizer::validateCodepoint( $codepoint ) ) { |