User talk:Enterprisey/afch-master.js/submissions.js
Appearance
![]() | This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
On line 509, add the lines:
// Remove draft topics template
text = text.replace( /\{\{[Dd]raft topics\|(.*?)\}\}\n?/g, '' );
This removes {{Draft topics}} template, which would soon be used for tagging drafts by a bot (see Wikipedia_talk:WikiProject Articles_for_creation/2020_2#Proposal:_Categorize_all AfC_drafts_with_ORES_topics_using_a_bot and Wikipedia_talk:WikiProject Articles_for_creation#Sorting_declined drafts_by_topics).
Ping enterprisey but opened as an editreq anyway since this is part of a gadget. – SD0001 (talk) 08:46, 20 September 2020 (UTC)
Done Enterprisey (talk!) 07:01, 21 September 2020 (UTC)
- Thanks Enterprisey. Can you also add yet another newly created template {{drafts moved from mainspace}} to the removal list? In terms of code, that's adding
// Remove drafts moved from mainspace template text = text.replace( /\{\{[Dd]rafts moved from mainspace\|(.*?)\}\}\n?/g, '' );
- below the code added above. Relevant BRFAs: 1, 2 – SD0001 (talk) 17:21, 25 September 2020 (UTC)
Not done as this is a personal page of an active user, Enterprisey can update it as they see fit. — xaosflux Talk 13:59, 27 September 2020 (UTC)
- For the record, it was JJMC89 who made it an editreq request which in an alternative universe would have been reasonable as it's a gadget. – SD0001 (talk) 16:02, 5 October 2020 (UTC)
- And done. Enterprisey (talk!) 06:49, 5 October 2020 (UTC)