Page MenuHomePhabricator

Allow class= parameter in template WikiProject banner shell
Closed, ResolvedPublicFeature

Description

[[Template:WikiProject banner shell]] can now accept a class= parameter that flows down to the templates contained in the shell. Currently AWB does not recognize that parameter so loads a message into Alerts. See the discussion in [[Wikipedia talk:AutoWikiBrowser]] late March 2023.

Fix is to add class as a parameter in Article.cs, line 679 or thereabouts.

Event Timeline

MSGJ (Martin) kindly provided [[Talk:Ada Lovelace]] as an example of an article with a class= parameter, which currently generates an alert stating "Unknown parameters in WPBannerShell: (1) class",

Izno changed the subtype of this task from "Bug Report" to "Feature Request".EditedMar 31 2023, 12:11 AM
Izno subscribed.

This is new template behavior, so it's not appropriate to tag it as a bug in AWB.

Rjwilmsi claimed this task.
Rjwilmsi subscribed.

rev 12547 "class" is additional WPBS valid parameter

Confirmed fixed in 12547 (I tested 12549).