X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_del%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=blobdiff_plain;f=includes%2FOutputPage.php;h=fc7fbf7220aaab202a03ee5cc54c6dca246cb8fe;hb=74426f3cf796b149f1ae445e41815bbe148640b2;hp=a2d445fe755b1b51399104b8643a539cbcfec2af;hpb=6f680554ceb988f3895184167d5006d722a0afb3;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/OutputPage.php b/includes/OutputPage.php index a2d445fe75..fc7fbf7220 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -23,8 +23,9 @@ use MediaWiki\Logger\LoggerFactory; use MediaWiki\MediaWikiServices; use MediaWiki\Session\SessionManager; -use WrappedString\WrappedString; -use WrappedString\WrappedStringList; +use Wikimedia\RelPath; +use Wikimedia\WrappedString; +use Wikimedia\WrappedStringList; /** * This class should be covered by a general architecture document which does @@ -323,7 +324,7 @@ class OutputPage extends ContextSource { /** * Redirect to $url rather than displaying the normal page * - * @param string $url URL + * @param string $url * @param string $responsecode HTTP status code */ public function redirect( $url, $responsecode = '302' ) { @@ -3818,7 +3819,7 @@ class OutputPage extends ContextSource { $remotePathPrefix = $remotePath = $uploadPath; } - $path = RelPath\getRelativePath( $path, $remotePath ); + $path = RelPath::getRelativePath( $path, $remotePath ); return self::transformFilePath( $remotePathPrefix, $localDir, $path ); }