Wikipedia:Bots/Requests for approval/Mdann52 bot 14

New to bots on Wikipedia? Read these primers!

Operator: Mdann52 (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)

Time filed: 17:46, Monday, June 10, 2024 (UTC)

Function overview: Replace bare links in {{Football box}} to <ref></ref> tags

Automatic, Supervised, or Manual: Automatic

Programming language(s): AWB

Source code available: Standard AWB with regex.

Links to relevant discussions (where appropriate): WP:BOTREQ#Bot to update match reports to cite template / Wikipedia talk:WikiProject Football/Archive 165#Match report discussion style

Edit period(s): one time run

Estimated number of pages affected: up to 20000 - Seems to be a real mix between bare references and ref tags, so estimating this high, but expecting to be less

Namespace(s): Article only.

Exclusion compliant (Yes/No): Yes

Function details: The bot will replace bare URL links in the | report = parameter in {{Football box}} with a bare reference tag, this is per discussion on BOTREQ and the relevant WikiProject. One time AWB run with genfixes. Handles both bare links and links with titles.

Discussion

edit

I know I know what I'm reading above, but it's not parsing properly in my head. Could you please give an example of the type of edit the bot will be making? Primefac (talk) 15:27, 27 June 2024 (UTC)[reply]

@Primefac: I know that feeling! See example diff I've just done manually. Mdann52 (talk) 16:53, 27 June 2024 (UTC)[reply]