Page MenuHomePhabricator

Creative Commons license selection forgets other fields in installer; needs popup or AJAX
Closed, ResolvedPublic

Description

The Creative Commons license selection option in the installer kind of sucks
right now: it requires going off-page and returns you with an incomplete form,
minus any other fields you'd filled out.

Being able to work in-place would be a usability improvement.

There's a GPL-licensed CC selection plugin for WordPress which has recently
been updated with AJAX-style goodies in the selection; it may be worth reusing
that code or at least examining it: http://yergler.net/projects/wplicense


Version: 1.8.x
Severity: enhancement

Details

Reference
bz2837

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 8:40 PM
bzimport set Reference to bz2837.

ml wrote:

patch for index.php to choose cc license without overwirting previously entered fields (works with new file cc-return.php, separate attachment)

Attached:

ml wrote:

uses js to write chosen license to parent window form

Attached:

ml wrote:

The patch and new file attached do not "ajaxify" license selection but they do
fix the problem of overwriting previously entered form values using a tiny bit
of javascript.

ml wrote:

*** Bug 436 has been marked as a duplicate of this bug. ***

  • Bug 19469 has been marked as a duplicate of this bug. ***

Tim, I'm gonna stick this one on your plate as some installer cleanup. Especially since we're now more actively pushing the CC licenses from using them on Wikipedia, we want the selection to work smoothly from the installer. :)

Updated summary.

I think I fixed this already in the new installer. Shall I just mark this fixed once that branch is merged?

Still some issues with the CC license picker, but the original issue is fixed.

Removing block for bug 14123. This bug is not related to the AJAX interface, it just uses jQuery.ajax and/or MediaWiki API.