aboutsummaryrefslogtreecommitdiffstats
path: root/includes/OutputHandler.php
diff options
context:
space:
mode:
authorZabe <zabe@avorwerk.net>2022-10-27 13:14:16 +0000
committerZabe <zabe@avorwerk.net>2022-10-27 13:14:16 +0000
commitf6b9381d7f3664a00f9fd4e5597f161155b1f036 (patch)
treef657a6971cb30b60a845133695480c489181ef70 /includes/OutputHandler.php
parent2bdc0b2b7209441a42a784157633a8a01b321922 (diff)
downloadmediawikicore-f6b9381d7f3664a00f9fd4e5597f161155b1f036.tar.gz
mediawikicore-f6b9381d7f3664a00f9fd4e5597f161155b1f036.zip
Revert "Reorg: Move some of request related classes to MediaWiki/Request"
This reverts commit 2bdc0b2b7209441a42a784157633a8a01b321922. Reason for revert: T166010#8349431 Bug: T166010 Change-Id: Idcd3025647aec99532f5d69b9c1718c531761283
Diffstat (limited to 'includes/OutputHandler.php')
-rw-r--r--includes/OutputHandler.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/OutputHandler.php b/includes/OutputHandler.php
index 850f0727d97d..28108f658330 100644
--- a/includes/OutputHandler.php
+++ b/includes/OutputHandler.php
@@ -91,14 +91,14 @@ class OutputHandler {
* Get the "file extension" that some client apps will estimate from
* the currently-requested URL.
*
- * This isn't a MediaWiki\Request\WebRequest method, because we need it before the class loads.
+ * This isn't a WebRequest method, because we need it before the class loads.
* @todo As of 2018, this actually runs after autoloader in Setup.php, so
- * MediaWiki\Request\WebRequest seems like a good place for this.
+ * WebRequest seems like a good place for this.
*
* @return string
*/
private static function findUriExtension() {
- // @todo FIXME: this sort of dupes some code in MediaWiki\Request\WebRequest::getRequestUrl()
+ // @todo FIXME: this sort of dupes some code in WebRequest::getRequestUrl()
if ( isset( $_SERVER['REQUEST_URI'] ) ) {
// Strip the query string...
$path = explode( '?', $_SERVER['REQUEST_URI'], 2 )[0];