User talk:Enterprisey/afch-master.js/submissions.js

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

On line 509, add the lines:

			// Remove draft topics template
			text = text.replace( /\{\{[Dd]raft topics\|(.*?)\}\}\n?/g, '' );

This removes {{

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)[reply]

 Done Enterprisey (talk!) 07:01, 21 September 2020 (UTC)[reply]
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, 2SD0001 (talk) 17:21, 25 September 2020 (UTC)[reply]
 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)[reply]
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)[reply]
And done. Enterprisey (talk!) 06:49, 5 October 2020 (UTC)[reply]