Page MenuHomePhabricator

Alias `Special:LockDatabase` to `Special:LockDB`, and `Special:UnlockDatabase` to `Special:UnlockDB`
Closed, DeclinedPublicFeature

Description

Feature summary:

Alias Special:LockDatabase to Special:LockDB, and Alias Special:UnlockDatabase to Special:UnlockDB.

Use case(s):

A user may half-remember the command and type the full version rather than the short version.

Good first task

There's only a minor change required here to languages / messages / MessagesEn.php to add aliases. It's literally a change to two lines of code to add them to the array:

	'Lockdb'                     => [ 'LockDB' ],

	'Unlockdb'                   => [ 'UnlockDB' ],

Currently at lines 483 and 550 to:

	'Lockdb'                     => [ 'LockDB',  'LockDatabase' ],

	'Unlockdb'                     => [ 'UnlockDB', 'UnlockDatabase' ],

Details

Related Changes in Gerrit:

Event Timeline

Thank you for tagging this task with good first task for Wikimedia newcomers!

Newcomers often may not be aware of things that may seem obvious to seasoned contributors, so please take a moment to reflect on how this task might look to somebody who has never contributed to Wikimedia projects.

A good first task is a self-contained, non-controversial task with a clear approach. It should be well-described with pointers to help a completely new contributor, for example it should clearly point to the codebase URL and provide clear steps to help a contributor get set up for success. We've included some guidelines at https://phabricator.wikimedia.org/tag/good_first_task/ !

Thank you for helping us drive new contributions to our projects <3

Change #1289383 had a related patch set uploaded (by VadymTS1; author: VadymTS1):

[mediawiki/core@master] Alias `Special:LockDatabase` to `Special:LockDB`, and `Special:UnlockDatabase` to `Special:UnlockDB`

https://gerrit.wikimedia.org/r/1289383

neriah changed the task status from Open to In Progress.Wed, May 20, 12:16 AM

I don't see the need for this alias as I've said on the patch:

  • This special page is by intention used very infrequently and by specific experienced users, so those users are likely to know what the name is or know how to find it via Special:SpecialPages
  • The task doesn’t provide any more justification than along the lines of "a user might misremember the name" and I personally don't see how this name is any easier to remember
  • Creating extra aliases adds additional translation burden, so I'd rather not do it unless the alias would be useful

Hence my down vote on this task

Declining per previous feedback.

Change #1289383 abandoned by VadymTS1:

[mediawiki/core@master] Add alias for special un/lockDB

Reason:

Phabricator ticket declined

https://gerrit.wikimedia.org/r/1289383