Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F585250
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/resources/Resources.php b/resources/Resources.php
index 94c5460bdbf..ebb9991e022 100644
--- a/resources/Resources.php
+++ b/resources/Resources.php
@@ -1209,7 +1209,8 @@ return [
],
],
'dependencies' => 'mediawiki.util',
- 'deprecated' => '[1.43] Please use browser native URL.',
+ 'deprecated' =>
+ '[1.43] Please use browser native URL. See https://www.mediawiki.org/wiki/Migrating_mw.Uri_to_URL',
],
'mediawiki.user' => [
'scripts' => 'resources/src/mediawiki.user.js',
diff --git a/resources/src/mediawiki.Uri/Uri.js b/resources/src/mediawiki.Uri/Uri.js
index aec86da1f75..c0a1d0c344e 100644
--- a/resources/src/mediawiki.Uri/Uri.js
+++ b/resources/src/mediawiki.Uri/Uri.js
@@ -94,6 +94,10 @@
/**
* @classdesc Create and manipulate MediaWiki URIs.
*
+ * **DEPRECATED: mw.Uri has been deprecated in MediaWiki 1.43.**
+ * Please use the browser native {@link URL} class instead.
+ * See {@link https://www.mediawiki.org/wiki/Migrating_mw.Uri_to_URL migration guide}.
+ *
* Intended to be minimal, but featureful; do not expect full RFC 3986 compliance. The use cases we
* have in mind are constructing 'next page' or 'previous page' URLs, detecting whether we need to
* use cross-domain proxies for an API, constructing simple URL-based API calls, etc. Parsing here
@@ -140,6 +144,10 @@
* Parsing based on parseUri 1.2.2 (c) Steven Levithan <http://stevenlevithan.com>, MIT License.
* <http://stevenlevithan.com/demo/parseuri/js/>
*
+ * @deprecated since MediaWiki 1.43.
+ * Please use the browser native {@link URL} class instead.
+ * See {@link https://www.mediawiki.org/wiki/Migrating_mw.Uri_to_URL migration guide}.
+ *
* @class
* @name mw.Uri
*
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jul 5, 5:32 AM (18 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
227660
Default Alt Text
(1 KB)
Attached To
Mode
rMW mediawiki
Attached
Detach File
Event Timeline
Log In to Comment