Jump to content

MediaWiki talk:AFCHD-wizard.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Move to mediawiki

[edit]

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]

Interface-protected edit request 12 April 2023

[edit]

Please sync the changes from User:SD0001/AFCHD-wizard.js (diff). The following changes 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

SD0001 (talk) 16:55, 12 April 2023 (UTC)[reply]

 Done Izno (talk) 17:14, 12 April 2023 (UTC)[reply]

Interface-protected edit request on 18 September 2023

[edit]

For further context on the history of this request, see here.

Please sync the changes from User:LittlePuppers/AFCHD-wizard.js (diff) to this page. This reverts a small portion of the previous edit request by SD0001. More specifically, it removes the ability to use a URL parameter to set which parameter is used to pass a value to {{lafc}}. This is done because (1) this feature does not appear to be in use anywhere (and if it is, this will silently ignore it without breaking anything); (2) regardless of which parameter is passed to {{lafc}}, nearly identical messages are produced; (3) this will allow for cleanup of a number of redundant and nearly-identical templates used by AfC. Thanks! LittlePuppers (talk) 14:51, 18 September 2023 (UTC)[reply]

@LittlePuppers: A | character is needed before the draft param. – SD0001 (talk) 15:01, 20 September 2023 (UTC)[reply]
Thanks, SD0001. It looks like that was an error in the old version I copied from and I didn't look over it quite closely enough. That's fixed now. (And one of my scripts wants to hide the pipe on ComparePages, which is a bit concerning... but I checked the diff in safe mode.) LittlePuppers (talk) 16:57, 20 September 2023 (UTC)[reply]
Looks good to me now. – SD0001 (talk) 17:17, 20 September 2023 (UTC)[reply]
@Izno: Any chance you could take a look at this at some point? LittlePuppers (talk) 01:47, 29 September 2023 (UTC)[reply]
 Done Izno (talk) 23:59, 7 October 2023 (UTC)[reply]