- Home
Introduction and rules - User manual
How to use AWB - Discussion
Discuss AWB, report errors, and request features - User tasks
Request or help with AWB-able tasks - Technical
Technical documentation
|
|||||||||||||||
This page is for tasks that involve changing the same code in multiple articles. This is a great fit for editors with AutoWikiBrowser permissions.
Please note that Wikipedia:Bot requests sometimes has one-time tasks which can be done easily using AWB.
See also Wikipedia:WikiProject Check Wikipedia.
Replace categories' content with cathead template[edit]
Please replace all contents of subcategories of Category:Redirects from domain names with the template below:
{{Redirects from .XX domain names category header}}
I hvae tested the template on .ir, .int and .press domain categories and it works fine no matter how many characters the domain has. all parent cats are added by the template plus the hatnote and enough description. Thanks Jeeputer Talk 15:56, 4 January 2023 (UTC)
De-linking circular redirects on stars and exoplanets[edit]
There are numerous articles where an exoplanet is a circular link to its host star, or vice versa. Due to the systematic naming conventions of exoplanet articles, nearly all cases can be de-linked by AWB with no false positives and at most a handful of false negatives.
- Most star articles use a {{starbox begin}} template, and most exoplanet articles use {{infobox planet}}. Thus, we can use these templates as a proxy for articles about stars and exoplanets, respectively.
- Exoplanet names consist of the host star appended with a lowercase Latin letter, starting with b for the first discovery around a star; there may or may not be an intermediate space. For example, the first planet discovered around 55 Cancri is 55 Cancri b. This naming convention is not used anywhere in the Solar System, so with {{infobox planet}} there should be no false-positive hits that are Solar System bodies.
- In multiple star systems, an exoplanet's host star may be labeled by a capital letter; for example, 55 Cancri b may also be called 55 Cancri Ab, but like most multiple stars, 55 Cancri's article is about both A and B. Circumbinary planets like Kepler-16b are commonly referred to without the host stars' letters, but if they appear they would appear together in parentheses, in this case Kepler-16(AB)b.
- A few stars have disambiguators that would need to be dropped, but the only star/planet pair I know where this would apply is Pollux (star)/Pollux b, both of which have standalone articles.
- The links to be removed are planets which redirect back to the host star, or stars which redirect back to their planet, under the titles extrapolated from the article name using the above rules. Circular links caused by navigation boxes can be ignored; see Category:Exoplanet navigational boxes and Category:Constellation navigational boxes.
- There should be zero false positives under the above assumptions except for other rare types of circular link, and the number of false negatives should be small enough that they can be remediated by hand.
–LaundryPizza03 (dc̄) 11:22, 31 January 2023 (UTC)
- See also this open BRFA. EpicPupper (talk) 02:29, 17 February 2023 (UTC)
Love You Anyway[edit]
[[Love You Anyway]] -> [[Love You Anyway (Boyzone song)|Love You Anyway]] Cleanup after page move Ten Pound Hammer • (What did I screw up now?) 17:53, 22 February 2023 (UTC)
- @TenPoundHammer,
Done— Qwerfjkltalk 18:02, 22 February 2023 (UTC)
Koshi Province[edit]
[[Koshi Province]] -> [[Koshi Province (Japan)]] post-move cleanup after RM. The Night Watch (talk) 18:59, 8 March 2023 (UTC)
- generally, such link updates should be done before the page moves. After moves, it usually gets confusing as to which target the link should point to. —usernamekiran (talk) 19:13, 8 March 2023 (UTC)
- Fair enough. Though I'm certain that all current links to Koshi Province are intended to target Koshi Province (Japan), as the former title for Koshi Province was Koshi Pradesh/Province No. 1 The Night Watch (talk) 19:29, 8 March 2023 (UTC)
Done here ~~lol1VNIO (I made a mistake? talk to me) 20:47, 8 March 2023 (UTC)
- Fair enough. Though I'm certain that all current links to Koshi Province are intended to target Koshi Province (Japan), as the former title for Koshi Province was Koshi Pradesh/Province No. 1 The Night Watch (talk) 19:29, 8 March 2023 (UTC)