Page MenuHomePhabricator

Prevent double save on double click on "Save page" button
Open, Needs TriagePublic

Description

This feature request comes from Support desk:
https://www.mediawiki.org/w/index.php?title=Project:Support_desk&offset=20140702093821#hiding_.22Save_page.22_button_after_click_44929

When the user click twice (accidently) on "Save page" Button, prevent the creation of two new articles. Maybe using jQuery to disable save button (or remove them and add a loading circle).


Version: unspecified
Severity: enhancement

Details

Reference
bz67409

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:26 AM
bzimport set Reference to bz67409.
Florian created this task.Jul 2 2014, 10:03 AM

That URL doesn't work for me, but I think I get the problem. I assume this is only an issue when using the "one-step process", with an automatically-generated page name?

Oh, sorry, my fault :) Here the working link:
https://www.mediawiki.org/wiki/Thread:Project:Support_desk/hiding_%22Save_page%22_button_after_click

I can ask, if this is only using the one-step-process :)

Hello Yaron Koren!

There is a reply from the user:

Yes this is true, page names are automatically created (reference numbers).
using this:
{{{info|page name=REF<unique number;start=000001>}}}

Is there any news?

Aklapper removed Yaron_Koren as the assignee of this task.Sep 2 2015, 3:54 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 2 2015, 3:54 PM

I can try this.@Yaron_Koren can you please give me some micro-tasks to solve in this project.

Hi @Swayamsrk - thank you for your interest. This itself might be a microtask... the amount of code required to fix it might be very short - maybe just one or two lines of JavaScript.