Operator: DannyS712 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 19:13, Wednesday, March 20, 2019 (UTC)
Automatic, Supervised, or Manual: automatic
Programming language(s): AWB
Source code available: AWB
Function overview: Extend task 22 to other templates from the same TfD
Links to relevant discussions (where appropriate): WP:Bots/Requests for approval/DannyS712 bot 22 and the discussions linked there
Edit period(s): One time run
Estimated number of pages affected: Up to ~7000 (some may overlap) 2134 ([1])
Exclusion compliant (Yes/No): No
Already has a bot flag (Yes/No): Yes
Function details:
Removesubstitute ((PBB_Summary)). Only removed its html comment (and its inline html comment) - 3543 transclusions
Outdated discussion
| ||
---|---|---|
@Galobtter: Wow, I just developed a regex to do it without substituting, but I guess its all useless now. Anyway, just subst the templates and remove the inline comments. If anyone cares, the regex was:
Anyway, I think this is good to go: substitute both templates, and remove the html comment. Thanks for the help, --DannyS712 (talk) 20:45, 20 March 2019 (UTC)Reply[reply]
|
<!-- The PBB_Summary template is automatically maintained by Protein Box Bot. See Template:PBB_Controls to Stop updates. -->
and replace it with an empty string((PBB( |_)Summary
(a regex pattern) and replace it with ((subst:PBB Summary
<!-- The PBB_Summary template is automatically maintained by Protein Box Bot\. ?See Template:PBB_Controls to Stop updates\. -->
, which works with 1 or 2 spaces. See the 2 edits made: [4] [5]. Thanks, --DannyS712 (talk) 19:30, 7 April 2019 (UTC)Reply[reply]