Page MenuHomePhabricator

Genfixes do not handle {{italic disambiguation}} per [[MOS:ORDER]]
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Load [[Charles Logan (24)]] with genfixes

What happens?:

  • AWB moves {{italic disambiguation}} underneath the infobox

What should have happened instead?:

  • Nothing. {{italic disambiguation}} should be handled as a level 2 template like {{italic title}}

Software version
AWB 6.3.2.1 SVN 12900

Other information
This seems to be the section of WikiRegexes.cs with the list of level 2 templates.
If so, then I suggest {{italic title prefixed}} also be added to the list.
Now that [[WP:AWB/TR]] exists, is there benefit to trimming the list to remove the redirects?

/// <summary>
/// Matches {{DISPLAYTITLE}}, {{Lowercase title}}, {{Italic title}} and their redirects
/// </summary>
// "Miscapitalization", ""Lowercase-user", ""Techlim", ""User lowercase", ""Lower case", ""Lowercase", ""Lower case title", ""Lower-case title", ""Lowercasetitle", ""Smalltitle", ""Uncapitalized title", ""Uncapitalised title", ""Redirect lowercase title", ""Redirect Lowercase title", ""Lot"
public static readonly Regex DisplayLowerCaseItalicTitle = new Regex(@"{{ *([Dd]ISPLAYTITLE||[Dd]isplay[ -]?title) *:[^{}]+}}|" + Tools.NestedTemplateRegex(new[] { "Lowercase title", "Miscapitalization", "Lowercase-user", "Techlim", "User lowercase", "Lower case", "Lowercase", "Lower case title", "Lower-case title", "Lowercasetitle", "Smalltitle", "Uncapitalized title", "Uncapitalised title", "Redirect lowercase title", "Redirect Lowercase title", "Lot", "Italic title", "Ital", "Italictitle", "Italicizetitle", "Italicstitle", "Italic title infobox", "Italics title", "Italics", "Italic", "ITALICTITLE", "Italicize title", "Title italic", "Italicizedtitle", "Italicized title", "Italicised title", "Italicisedtitle", "Redirect italic title", "Italtitle", "Title language" }).ToString());

Event Timeline

Rjwilmsi claimed this task.
Rjwilmsi subscribed.

rev 12920 add two more {{italic title}} style templates for MOS:ORDER sorting