Index: trunk/phase3/includes/SpecialVersion.php |
— | — | @@ -5,6 +5,8 @@ |
6 | 6 | * @package MediaWiki |
7 | 7 | * @subpackage SpecialPage |
8 | 8 | * |
| 9 | + * @bug 4531 |
| 10 | + * |
9 | 11 | * @author Ævar Arnfjörð Bjarmason <avarab@gmail.com> |
10 | 12 | * @copyright Copyright © 2005, Ævar Arnfjörð Bjarmason |
11 | 13 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
— | — | @@ -91,7 +93,7 @@ |
92 | 94 | } |
93 | 95 | |
94 | 96 | function extensionCredits() { |
95 | | - global $wgExtensionCredits, $wgExtensionFunctions, $wgSkinExtensionFunction; |
| 97 | + global $wgExtensionCredits, $wgExtensionFunctions, $wgParser, $wgSkinExtensionFunction; |
96 | 98 | |
97 | 99 | if ( ! count( $wgExtensionCredits ) && ! count( $wgExtensionFunctions ) && ! count( $wgSkinExtensionFunction ) ) |
98 | 100 | return ''; |
— | — | @@ -130,6 +132,13 @@ |
131 | 133 | $out .= '***' . $this->langObj->listToText( $wgExtensionFunctions ) . "\n"; |
132 | 134 | } |
133 | 135 | |
| 136 | + if ( $cnt = count( $tags = $wgParser->getTags() ) ) { |
| 137 | + for ( $i = 0; $i < $cnt; ++$i ) |
| 138 | + $tags[$i] = "<{$tags[$i]}>"; |
| 139 | + $out .= "** Parser extension tags:\n"; |
| 140 | + $out .= '***' . $this->langObj->listToText( $tags ). "\n"; |
| 141 | + } |
| 142 | + |
134 | 143 | if ( count( $wgSkinExtensionFunction ) ) { |
135 | 144 | $out .= "** Skin extension functions:\n"; |
136 | 145 | $out .= '***' . $this->langObj->listToText( $wgSkinExtensionFunction ) . "\n"; |