Page MenuHomePhabricator

Alert users when performing restricted actions with Special:MovePage
Open, LowestPublic

Description

Can Special:MovePage pop a warning (similar to MediaWiki:Delete and move text) when the move requires 'editprotected', 'templateeditor' or 'tboverride' user rights to perform the action. Even if it doesn't need an extra tick box (like deletion does) and just needed the user to click move again.

Currently there isn't a warning given to a user if they perform an action using Special:MovePage which is restricted (discounting if the target exists). On enwiki this would affect the following:

  • Page protection
    • Administrator moving a page to a create=sysop protected page
    • Template editor or admin moving a page to a create=templateeditor protected page
    • Also affects pages being moved over other pages (and hence needing to confirm deletion) where the target page is protected.
  • Blacklist
    • User groups with the tboverride right moving a page to a target protected by the blacklist.

See also this discussion: https://en.wikipedia.org/w/index.php?title=Wikipedia:Administrators%27_noticeboard#Warning_for_admins_moving_pages_to_create.3Dsysop_pages
(Permalink to current version - https://en.wikipedia.org/w/index.php?title=Wikipedia:Administrators%27_noticeboard&oldid=639902839#Warning_for_admins_moving_pages_to_create.3Dsysop_pages).

See also discussion of mechanics options here: https://en.wikipedia.org/wiki/Wikipedia_talk:Page_mover/Archive_2#Adding_warning_for_page_moves_to_certain_targets

Event Timeline

Callanecc raised the priority of this task from to Needs Triage.
Callanecc updated the task description. (Show Details)
Callanecc added a subscriber: Callanecc.
Mike_V added a subscriber: Mike_V.Dec 28 2014, 5:10 AM
Glaisher added a subscriber: Glaisher.
Aklapper triaged this task as Lowest priority.Dec 28 2014, 11:10 PM
Aklapper edited projects, added MediaWiki-Special-pages; removed MediaWiki-General.
Aklapper set Security to None.
JJMC89 added a subscriber: JJMC89.May 10 2016, 1:40 AM
Xaosflux added a comment.EditedMay 29 2016, 1:50 AM

I'd like to be able to include a message for any of these conditions:

IF (move target) was previously deleted : Identify this was previously deleted AND show last deletion log entry

IF (move target) collides with the title blacklist : Identify this is on the black list AND show expression hit(s)

IF (move target) has a create protection level : Identify this has a protection level AND show last protection log entry
Xaosflux updated the task description. (Show Details)May 29 2016, 2:16 AM

Thanks to those who have pointed me here after my inquiries at the en.wp's village pump. I see this is currently unassigned, does anyone know any devs who might be interested in this that I could try to prod into working on it?

andymw added a subscriber: andymw.Sep 14 2016, 7:26 PM
andymw updated the task description. (Show Details)

Updated original to archive link.
If the destination page was not "deleted" but moved with suppressredirect, would the deletion log still show (as it does in other circumstances)? As for the additional warnings, should a create prot level warning at semi (and extendedconfirmed for enwiki) show? Also assuming that bots and automated processes would need to be be unaffected by the additional warnings.

DMacks added a subscriber: DMacks.Jul 2 2018, 7:58 PM
Izno added a subscriber: Izno.Jul 2 2018, 8:24 PM
Xaosflux changed the task status from Open to Stalled.Jul 3 2018, 1:25 AM
TTO added a subscriber: TTO.Aug 27 2018, 1:10 AM

Why is this marked "Stalled"? What is blocking it? If it's just been set to "Stalled" because no-one is currently working on it, it should be set to "Open".

Aklapper changed the task status from Stalled to Open.Aug 27 2018, 5:37 AM

No reason was given hence reopening.

RP88 added a subscriber: RP88.Aug 30 2018, 12:08 AM
tyw7 awarded a token.Aug 30 2018, 1:29 AM
tyw7 added a subscriber: tyw7.

This seems like a useful task. It would be nice for an admin to know if they're moving into a salted page.