Page MenuHomePhabricator

[WLM] Make UW button targets dynamically set
Closed, ResolvedPublic3 Estimated Story Points

Description

The button configuration should be supplemented with the option to set the two buttons' href attribute dynamically. The home button needs an option to take users back to the page they came from, while the begin button should leave out the object reference when restarting the Upload Wizard.

Event Timeline

Tobi_WMDE_SW raised the priority of this task from to Medium.
Tobi_WMDE_SW updated the task description. (Show Details)
Tobi_WMDE_SW set Security to None.
Tobi_WMDE_SW edited a custom field.
Tobi_WMDE_SW renamed this task from [WLM] Extend upload wizard to support additional back-button to [WLM] Extend upload wizard to support additional button(s).Jul 9 2015, 8:27 AM
KasiaWMDE raised the priority of this task from Medium to High.Jul 9 2015, 12:49 PM
Tobi_WMDE_SW renamed this task from [WLM] Extend upload wizard to support additional button(s) to [WLM] Make UW button targets dynamically set.Jul 29 2015, 12:08 PM
Tobi_WMDE_SW updated the task description. (Show Details)

Change 227984 had a related patch set uploaded (by Kai Nissen (WMDE)):
[UploadWizard] Introducing the usage of an object reference

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

Due to changes regarding UX, the current code needs to be changed.

The checkbox to choose which image should be placed in the referring list is always present. In case an image already exists the checkbox will be disabled and a notice will additionally be displayed (e. g. The list already contains an image). To keep the behaviour of the useObjref keyword for the home button configuration, the object reference still needs to be passed.

  • Additional parameter updateList set to any value for image requests.
  • The parameter updateList will be dropped when using the keyword dropObjref in the button configuration to achieve the desired behaviour when restarting the upload process.

Hi @MarkTraceur (same as T105283) could you have a look at the patch above? That would be really great as we are working on a deadline for the WLM. Thanks a lot in advance!

Hi @kaldari , could you have a look at the patch above? That would be great, thanks a lot in advance!

Change 227984 merged by jenkins-bot:
[UploadWizard] Introducing the usage of an object reference

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

Nemo_bis subscribed.

I'm not sure what the home button is being talked about here (do we really expect users to press the home button on their keywords to discover some feature?). If this can be used to redirect users to a certain URL after they're done uploading, great: WMIT is very interested in using such a feature immediately, examples appreciated.

(Please remember to set at least one component for the relevant code.)

Restricted Application added a subscriber: Steinsplitter. · View Herald Transcript

I'm not sure what the home button is being talked about here (do we really expect users to press the home button on their keywords to discover some feature?). If this can be used to redirect users to a certain URL after they're done uploading, great: WMIT is very interested in using such a feature immediately, examples appreciated.

Descriptions for the newly added features have been added to the general documentation and the campaign documentation in particular. Poke me, if you have further questions about this.

I'm not sure what the home button is being talked about here (do we really expect users to press the home button on their keywords to discover some feature?).

No, it's the clickable button at the end of the upload process:

pasted_file (948×1 px, 138 KB)

If this can be used to redirect users to a certain URL after they're done uploading, great: WMIT is very interested in using such a feature immediately, examples appreciated.

For T48242? Not sure, since setting the 'objref' URL parameter (which this patch added) also results in the same value being added to the file page, in a HTML comment. This is probably undesirable in most cases.