Operator: Pkbwcgs (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 21:45, Friday, January 10, 2020 (UTC)
Function overview: The bot is going to substitute the templates listed at Wikipedia:Templates_for_discussion/Log/2019_December_20#Template:WikiProject_24 into Template:WikiProject Television and remove any duplicates.
Automatic, Supervised, or Manual: Supervised
Programming language(s): AWB
Source code available: AWB
Links to relevant discussions (where appropriate): Wikipedia:Templates_for_discussion/Log/2019_December_20#Template:WikiProject_24
Edit period(s): One-time run
Estimated number of pages affected: 5000-15,000
Namespace(s): All namespaces
Exclusion compliant (Yes/No): For this specific task, no
Function details: The bot is going to convert the use of the templates at Wikipedia:Templates_for_discussion/Log/2019_December_20#Template:WikiProject_24 before deletion. An example of conversion is shown here. The bot is going to remove the transclusions of the WikiProject templates that were listed at Wikipedia:Templates_for_discussion/Log/2019_December_20#Template:WikiProject_24 and convert them to be used as wrappers. This is a bit of a complex task so I may need a bit of assistance but I am willing to take on this task as it needs to be done. The templates have been merged by User:Gonnym at this edit. For this task specifically, the bot will not be exclusion compliant.
Find:
(((WikiProject television[^}]*)((a|[^a])*)(((WikiProject 24[^}]*\|class=|importance=)([^}|=]*)([^}]*)))
Replace:
$1|24-task=yes|24-importance=$5$2
Find:
(((WikiProject Television[^}]*)((a|[^a])*)(((WikiProject 24[^}]*\|class=|importance=)([^}|=]*)([^}]*))
Replace:
$3$5|24-task=yes|24-importance=$2
It works but it does the wrong thing because it removes parameters from Template:WikiProject United States rather than Template:WikiProject 24. Pkbwcgs (talk) 10:44, 11 January 2020 (UTC)[reply]
Denied. Already taken care of by other bots. Primefac (talk) 02:16, 22 January 2020 (UTC)[reply]