Jump to content

MediaWiki talk:AFCHD-wizard.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by SD0001 (talk | contribs) at 16:49, 12 April 2023. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Move to mediawiki

Please move this page without leaving a redirect to MediaWiki:AFCHD-wizard.js, so that it can be invoked by URL from Wikipedia:WikiProject Articles for creation/Help desk/New question. This is intended to provide a better experience for users posting to the AFC Help Desk. Currently, the form the new users have to fill is this, which is terrible. – SD0001 (talk) 10:49, 20 August 2021 (UTC)[reply]

{{on hold}} reviewing script. — xaosflux Talk 13:33, 20 August 2021 (UTC)[reply]
 Done @SD0001: this is live, you may need to adjust the ask link on Wikipedia:WikiProject Articles for creation/Help desk. — xaosflux Talk 13:46, 20 August 2021 (UTC)[reply]
@Xaosflux sorry I actually forgot to test this before requesting move. There was a bug with how the section is appended to the page. I've fixed in User:SD0001/AFCHD-wizard.js (diff) Can you sync it? – SD0001 (talk) 14:05, 20 August 2021 (UTC)[reply]
@SD0001:  Donexaosflux Talk 14:07, 20 August 2021 (UTC)[reply]
One final change before this can be made live: added an onbeforeunload hook to alert users if they are navigating away from the page without posting the request. Needs sync again from User:SD0001/AFCHD-wizard.js (diff). Thanks again, – SD0001 (talk) 10:26, 21 August 2021 (UTC)[reply]
@SD0001:  Donexaosflux Talk 13:16, 21 August 2021 (UTC)[reply]

Please sync the changes from User:SD0001/AFCHD-wizard.js (diff). The following change(s) have been done:

  • auto-fill draft page name from URL parameter
  • make {{Lafc}} param name configurable by URL
  • fix bugs with beforeunload handler
  • add API error handling