Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F6747
link.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, 11:05 PM
2014-11-21 23:05:49 (UTC+0)
Size
680 B
Referenced Files
None
Subscribers
None
link.patch
View Options
Index: includes/parser/Parser.php
===================================================================
--- includes/parser/Parser.php (revision 65202)
+++ includes/parser/Parser.php (working copy)
@@ -1872,8 +1872,7 @@
function makeKnownLinkHolder( $nt, $text = '', $query = '', $trail = '', $prefix = '' ) {
list( $inside, $trail ) = Linker::splitTrail( $trail );
$sk = $this->mOptions->getSkin();
- # FIXME: use link() instead of deprecated makeKnownLinkObj()
- $link = $sk->makeKnownLinkObj( $nt, $text, $query, $inside, $prefix );
+ $link = $sk->link( $nt, "$prefix$text$inside", null, $query, array( 'known' ));
return $this->armorLinks( $link ) . $trail;
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6286
Default Alt Text
link.patch (680 B)
Attached To
Mode
T25204: Links to file redirect pages do not have the mw-redirect class
Attached
Detach File
Event Timeline
Log In to Comment