aboutsummaryrefslogtreecommitdiffstats
path: root/includes/changes
diff options
context:
space:
mode:
authorvladshapik <vlad.shapik@speedandfunction.com>2021-11-09 15:32:23 +0200
committervladshapik <vlad.shapik@speedandfunction.com>2021-11-12 15:35:50 +0200
commit9b92c1088f50e2d1da247efb5fe98bf81efb79ac (patch)
tree6a5ca2e44bc8e76ec80b25f7fb9e2d0bff5e74fb /includes/changes
parent85c0575e9aae9b940608528b7b0814242cb26cb0 (diff)
downloadmediawikicore-9b92c1088f50e2d1da247efb5fe98bf81efb79ac.tar.gz
mediawikicore-9b92c1088f50e2d1da247efb5fe98bf81efb79ac.zip
Drop User methods which were deprecated since 1.35
The following User methods, deprecated in 1.35, have been removed: - ::isIP, - ::isIPRange, - ::isValidUserName, - ::isUsableName, - ::isCreatableName, - ::getCanonicalName, - ::addAutopromoteOnceGroups, - ::getDefaultOptions, - ::getDefaultOption, - ::getOptions, - ::getBoolOption, - ::getIntOption, - ::setOption - ::listOptionKinds - ::getOptionKinds, - ::resetOptions, - ::getEffectiveGroups, - ::getAutomaticGroups, - ::getFormerGroups User::GETOPTIONS_EXCLUDE_DEFAULTS has been removed, since it is used only in the description of User::getOptions. Bug: T277511 Depends-On: Ida05c22f81b30d9b46678e8ede3d531c38855d83 Change-Id: I72bbc2336f8ddbc66ce67226cd2d5baaa2f807d8
Diffstat (limited to 'includes/changes')
-rw-r--r--includes/changes/RecentChange.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/changes/RecentChange.php b/includes/changes/RecentChange.php
index a1953ab16a9b..fd2ba52561e3 100644
--- a/includes/changes/RecentChange.php
+++ b/includes/changes/RecentChange.php
@@ -1168,6 +1168,7 @@ class RecentChange implements Taggable {
*/
public function getAttribute( $name ) {
if ( $name === 'rc_comment' ) {
+ // @phan-suppress-next-line SecurityCheck-DoubleEscaped
return CommentStore::getStore()
->getComment( 'rc_comment', $this->mAttribs, true )->text;
}