wiki.techinc.nl/includes/user
Tim Starling d459add63d Introduce wfDeprecatedMsg()
Deprecating something means to say something nasty about it, or to draw
its character into question. For example, "this function is lazy and good
for nothing". Deprecatory remarks by a developer are generally taken as a
warning that violence will soon be done against the function in question.
Other developers are thus warned to avoid associating with the deprecated
function.

However, since wfDeprecated() was introduced, it has become obvious that
the targets of deprecation are not limited to functions. Developers can
deprecate literally anything: a parameter, a return value, a file
format, Mondays, the concept of being, etc. wfDeprecated() requires
every deprecatory statement to begin with "use of", leading to some
awkward sentences. For example, one might say: "Use of your mouth to
cough without it being covered by your arm is deprecated since 2020."

So, introduce wfDeprecatedMsg(), which allows deprecation messages to be
specified in plain text, with the caller description being optionally
appended. Migrate incorrect or gramatically awkward uses of wfDeprecated()
to wfDeprecatedMsg().

Change-Id: Ib3dd2fe37677d98425d0f3692db5c9e988943ae8
2020-06-22 14:34:39 +10:00
..
Hook Move autopromote groups logic into UserGroupManager 2020-06-11 22:13:48 +00:00
BotPassword.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
CentralIdLookup.php Fix even more PSR12.Properties.ConstantVisibility.NotFound 2020-05-16 00:51:31 +01:00
DefaultOptionsLookup.php UserOptionsManager: take into account $queryFlags when caching 2020-06-01 09:42:45 -07:00
ExternalUserNames.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
LocalIdLookup.php Replace usages of deprecated User::isAllowed. Step 2. 2019-09-11 16:00:03 -07:00
LoggedOutEditToken.php Change \\ to \ in phpdoc 2016-04-08 17:46:30 +00:00
PasswordReset.php Introduce wfDeprecatedMsg() 2020-06-22 14:34:39 +10:00
TalkPageNotificationManager.php TalkPageNotificationManager: Undeprecate passing null to setUserHasNewMessages 2020-05-14 16:29:48 -04:00
User.php Introduce wfDeprecatedMsg() 2020-06-22 14:34:39 +10:00
UserArray.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
UserArrayFromResult.php Fix more Squiz.Scope.MethodScope.Missing 2020-05-18 20:42:50 +00:00
UserEditTracker.php Add a new UserEditTracker service for user edit counts and timing 2020-06-02 03:00:05 +00:00
UserFactory.php UserFactory: Document that newFromName expects a validation constant 2020-06-17 12:51:13 +01:00
UserGroupManager.php Merge "Followups for UserGroupManager" 2020-06-15 14:50:34 +00:00
UserGroupManagerFactory.php Move autopromote groups logic into UserGroupManager 2020-06-11 22:13:48 +00:00
UserGroupMembership.php Create UserGroupManager 2020-06-03 16:46:51 -07:00
UserIdentity.php Convert WatchedItem and friends to UserIdentity 2019-05-05 14:35:52 +03:00
UserIdentityValue.php Convert WatchedItem and friends to UserIdentity 2019-05-05 14:35:52 +03:00
UserNamePrefixSearch.php Replace usages of deprecated User::isAllowed. Step 2. 2019-09-11 16:00:03 -07:00
UserNameUtils.php Hooks::run() call site migration 2020-05-30 14:23:28 +00:00
UserOptionsLookup.php UserOptionsManager: take into account $queryFlags when caching 2020-06-01 09:42:45 -07:00
UserOptionsManager.php Merge "UserOptionsManager: take into account $queryFlags when caching" 2020-06-12 17:33:27 +00:00
UserRightsProxy.php Create UserGroupManager 2020-06-03 16:46:51 -07:00
WatchlistNotificationManager.php Add new WatchlistNotificationManager service 2020-06-02 23:22:02 +00:00