aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz DziewoƄski <matma.rex@gmail.com>2021-02-18 21:55:55 +0100
committerKrinkle <krinklemail@gmail.com>2021-02-19 03:37:53 +0000
commit067686756a77bcd85cfbab7a7066e7b9f9ba109e (patch)
tree00ca8cac414b442e416b1421adf06330561c521a
parent5dda44a8d8ff276529c6946203f249a2d7a3040e (diff)
downloadmediawikicore-067686756a77bcd85cfbab7a7066e7b9f9ba109e.tar.gz
mediawikicore-067686756a77bcd85cfbab7a7066e7b9f9ba109e.zip
resourceloader: Mark ResourceLoaderContext::encodeJson() as stable
Un-mark as @internal. It's a useful function for extensions that have custom modules. Example uses: * Id8de16ab683948eae096b43462118ea837f53038 * Ia16dad8b6c450f4cb095a67af1c1c2b487e8536b Change-Id: I03f0e7190fab62cd7e5c6a504a564142d0a9800d
-rw-r--r--includes/resourceloader/ResourceLoaderContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/resourceloader/ResourceLoaderContext.php b/includes/resourceloader/ResourceLoaderContext.php
index 119166876fcd..b47dcecaf26e 100644
--- a/includes/resourceloader/ResourceLoaderContext.php
+++ b/includes/resourceloader/ResourceLoaderContext.php
@@ -424,7 +424,7 @@ class ResourceLoaderContext implements MessageLocalizer {
* Wrapper around json_encode that avoids needless escapes,
* and pretty-prints in debug mode.
*
- * @internal
+ * @since 1.34
* @param mixed $data
* @return string|false JSON string, false on error
*/