Wikipedia:Bots/Requests for approval/WOSlinkerBot 14
- The following discussion is an archived debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard. The result of the discussion was Speedily Approved.
New to bots on Wikipedia? Read these primers!
- Approval process – How this discussion works
- Overview/Policy – What bots are/What they can (or can't) do
- Dictionary – Explains bot-related jargon
Operator: WOSlinker (talk · contribs · SUL · edit count · logs · page moves · block log · rights log · ANI search)
Time filed: 16:31, Friday, September 10, 2021 (UTC)
Function overview: Fix pages with the html5-misnesting high priority lint issue.
Automatic, Supervised, or Manual: Automatic
Programming language(s): Javascript
Source code available: At User:WOSlinkerBot/linttask14.js
Links to relevant discussions (where appropriate):
Edit period(s): one time run
Estimated number of pages affected: 1779
Namespace(s): User & User talk
Exclusion compliant (Yes/No): No
Function details: Update the following code:
<span class="plainlinks">
The First WikiConference India is being organized in Mumbai and will take place on 18-20 November 2011.<br> You can see our [http://meta.wikimedia.org/wiki/WikiConference_India_2011 Official website], the [http://www.facebook.com/event.php?eid=183138458406482 Facebook event] and our [https://spreadsheets.google.com/spreadsheet/viewform?hl=en_US&formkey=dGNxSzAxUndoOHRGamdDSTFMVGNrd3c6MA#gid=0 Scholarship form].
But the activities start now with the [http://meta.wikimedia.org/wiki/WikiConference_India_2011/Wiki_Outreach 100 day long WikiOutreach].
</span>
with:
<span class="plainlinks">The First WikiConference India is being organized in Mumbai and will take place on 18-20 November 2011.<br> You can see our [[m:WikiConference_India_2011|Official website]], the [http://www.facebook.com/event.php?eid=183138458406482 Facebook event] and our [https://spreadsheets.google.com/spreadsheet/viewform?hl=en_US&formkey=dGNxSzAxUndoOHRGamdDSTFMVGNrd3c6MA#gid=0 Scholarship form].</span>
But the activities start now with the [[m:WikiConference_India_2011/Wiki_Outreach|100 day long WikiOutreach]].
Making the text inside the span tag be on a single line and updating the two meta links from external http links to the m: interwiki syntax, to avoid having to wrap in the plainlinks span.
Discussion
edit(\:\#E3F0F4\" \>\n)(\{\| style\=\"border\:1px black solid\; padding\:2em\; border-collapse\:collapse\; width\:100\%\;\"\n)\|-\n(\[\[File\:WCI_banner\.png\|800px\|center\|link\=\:meta\:WikiConference_India_2011\]\]\<br\/\>\n)
replaced with $1$3$2
. This unfosters the image by moving it out of table. ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ (talk) 17:14, 10 September 2021 (UTC)[reply]
- Thanks for that. I've updated my code to do that update as well. -- WOSlinker (talk) 19:50, 10 September 2021 (UTC)[reply]
- Speedily Approved. Trusted operator, straight find/replace. Primefac (talk) 18:49, 13 September 2021 (UTC)[reply]
- The above discussion is preserved as an archive of the debate. Please do not modify it. To request review of this BRFA, please start a new section at Wikipedia:Bots/Noticeboard.