Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3251
wlh.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Authored By
•
bzimport
Nov 21 2014, 9:25 PM
2014-11-21 21:25:15 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
wlh.patch
View Options
Index: maintenance/language/messages.inc
===================================================================
--- maintenance/language/messages.inc (revision 20205)
+++ maintenance/language/messages.inc (working copy)
@@ -1203,6 +1203,7 @@
'nolinkshere',
'isredirect',
'istemplate',
+ 'whatlinkshere-links',
),
'block' => array(
'blockip',
Index: includes/SpecialWhatlinkshere.php
===================================================================
--- includes/SpecialWhatlinkshere.php (revision 20205)
+++ includes/SpecialWhatlinkshere.php (working copy)
@@ -218,6 +218,12 @@
$wgOut->addHTML( ' (' . implode( ', ', $props ) . ') ' );
}
+ //add whatlinkshere link
+ $whatlink=$this->skin->makeKnownLinkObj(
+ SpecialPage::getTitleFor( 'Whatlinkshere', $nt->getPrefixedDBkey() ),
+ wfMsg( 'whatlinkshere-links' ) );
+ $wgOut->addHTML(" ".$whatlink);
+
if ( $row->page_is_redirect ) {
if ( $level < 2 ) {
$this->showIndirectLinks( $level + 1, $nt, 500 );
Index: languages/messages/MessagesEn.php
===================================================================
--- languages/messages/MessagesEn.php (revision 20205)
+++ languages/messages/MessagesEn.php (working copy)
@@ -1869,6 +1869,7 @@
'nolinkshere' => "No pages link to '''[[:$1]]'''.",
'isredirect' => 'redirect page',
'istemplate' => 'inclusion',
+'whatlinkshere-links' => '(links)',
# Block/unblock IP
#
Index: RELEASE-NOTES
===================================================================
--- RELEASE-NOTES (revision 20205)
+++ RELEASE-NOTES (working copy)
@@ -250,6 +250,7 @@
loops on some server configurations
* (bug 9118) Show deletion log on confirmdelete
* (bug 9009) Add username entry field to Special:Contributions
+* (bug 7960) Link to "what links here" for each "what links here" entry
== Languages updated ==
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2820
Default Alt Text
wlh.patch (1 KB)
Attached To
Mode
T9960: Link to "what links here" for each entry on "what links here"
Attached
Detach File
Event Timeline
Log In to Comment