Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F2697
Skin.php.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, 9:10 PM
2014-11-21 21:10:28 (UTC+0)
Size
817 B
Referenced Files
None
Subscribers
None
Skin.php.patch
View Options
Index: Skin.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Skin.php,v
retrieving revision 1.420
diff -u -r1.420 Skin.php
--- Skin.php 16 Mar 2006 02:47:49 -0000 1.420
+++ Skin.php 28 Mar 2006 13:24:32 -0000
@@ -578,9 +578,10 @@
/** @return string Retrievied from HTML text */
function printSource() {
- global $wgTitle;
- $url = htmlspecialchars( $wgTitle->getFullURL() );
- return wfMsg( 'retrievedfrom', '<a href="'.$url.'">'.$url.'</a>' );
+ global $wgServer, $wgArticlePath, $wgTitle;
+ $path = $wgServer.str_replace("$1", $wgTitle->mPrefixedText, $wgArticlePath);
+ $url = htmlspecialchars($wgTitle->getFullURL());
+ return wfMsg( 'retrievedfrom', '<a href="'.$url.'" dir="ltr">'.$path.'</a>' );
}
function printFooter() {
File Metadata
Details
Attached
Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2272
Default Alt Text
Skin.php.patch (817 B)
Attached To
Mode
T7380: Show "FULLPAGENAME" instead of "FULLPAGENAMEE" in the URL below
Attached
Detach File
Event Timeline
Log In to Comment