Page MenuHomePhabricator

bug_21116_(templatesused).patch

Authored By
bzimport
Nov 21 2014, 10:55 PM
Size
854 B
Referenced Files
None
Subscribers
None

bug_21116_(templatesused).patch

Index: Linker.php
===================================================================
--- Linker.php (revision 57706)
+++ Linker.php (working copy)
@@ -1453,11 +1462,11 @@
# Construct the HTML
$outText = '<div class="mw-templatesUsedExplanation">';
if ( $preview ) {
- $outText .= wfMsgExt( 'templatesusedpreview', array( 'parse' ) );
+ $outText .= wfMsgExt( 'templatesusedpreview', array( 'parse' ), count( $templates ) );
} elseif ( $section ) {
- $outText .= wfMsgExt( 'templatesusedsection', array( 'parse' ) );
+ $outText .= wfMsgExt( 'templatesusedsection', array( 'parse' ), count( $templates ) );
} else {
- $outText .= wfMsgExt( 'templatesused', array( 'parse' ) );
+ $outText .= wfMsgExt( 'templatesused', array( 'parse' ), count( $templates ) );
}
$outText .= "</div><ul>\n";

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5882
Default Alt Text
bug_21116_(templatesused).patch (854 B)

Event Timeline