Page MenuHomePhabricator

Existing drafts are not listed when a draft is saved with JS disabled
Open, LowPublicBUG REPORT

Description

Author: janesh

Description:
Reporting against revision 52757 (/trunk/extensions/Drafts)

Steps to reproduce ::

  1. Disable JavaScript in browser
  2. Create an article.
  3. Create a few drafts for the article
  4. Select one draft and click on the 'Save Draft' button

<<Panel with existing draft list disappears>>

Expected Outcome::
New draft list shall appear with Existing Drafts panel above the edit area when a draft is saved.

Reference ::

Test Environment ::
OS : Vista , DB : MySQL 5.1.33 , PHP : 5.2.9-2, MediaWiki : 1.15.0
Browser : Firefox 3.0.11, Opera 9.64 , Chrome 2, Safari 4


Version: unspecified
Severity: trivial
OS: Windows Vista
Platform: PC

Details

Reference
bz19782

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:40 PM
bzimport set Reference to bz19782.
bzimport added a subscriber: Unknown Object (MLST).
Aklapper lowered the priority of this task from Medium to Low.Dec 29 2014, 11:49 PM
Aklapper changed the subtype of this task from "Task" to "Bug Report".Feb 5 2022, 2:33 PM
Aklapper removed a subscriber: wikibugs-l-list.
ashley subscribed.

This seems to originate from rEDRAdfd4fb2e73f4: Replaced full list with small notice on preview, show changes, and non…. With JS disabled, clicking on the Save draft button results in the URL action param being set to submit...and whaddya know, the code added in that commit explicitly checks for that value and lists the drafts only when action is not submit.