Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F6337
bug_21116_(templatesused).patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
bzimport
Nov 21 2014, 10:55 PM
2014-11-21 22:55:20 (UTC+0)
Size
854 B
Referenced Files
None
Subscribers
None
bug_21116_(templatesused).patch
View Options
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
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5882
Default Alt Text
bug_21116_(templatesused).patch (854 B)
Attached To
Mode
T23116: add count of pages for MediaWiki:Templatesused
Attached
Detach File
Event Timeline
Log In to Comment