templatesUsed marker is on its own line; silly to wrap it in a span or try to force...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 2 Nov 2006 10:59:30 +0000 (10:59 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 2 Nov 2006 10:59:30 +0000 (10:59 +0000)
Moved from span to div and not trimming the paragraph tag.

includes/EditPage.php

index 0a9800b..6bbeaac 100644 (file)
@@ -1272,7 +1272,9 @@ END
                        $batch->execute();
 
                        # Construct the HTML
-                       $outText = '<span class="mw-templatesUsedExplanation">'. wfMsgExt( 'templatesused', array( 'parseinline' ) ) . '</span><ul>';
+                       $outText = '<div class="mw-templatesUsedExplanation">' .
+                               wfMsgExt( 'templatesused', array( 'parse' ) ) .
+                               '</div><ul>';
                        foreach ( $templates as $titleObj ) {
                                $outText .= '<li>' . $sk->makeLinkObj( $titleObj ) . '</li>';
                        }