User talk:YBG/Living officeholders/row5

div-span-flip lint error

 * To be Cut+Pasted from User talk:YBG/Living officeholders/row5 to User talk:YBG

User:YBG: This template generates a div-span-flip lint error each time it is used. For example, in User:YBG/Living officeholders/usvp-table, the line

can be expanded using Special:ExpandTemplates, showing markup with the div-span-flip selected here:

The lint error can be corrected by changing the markup to

However I don't understand the workings of User:YBG/Living officeholders/usvp-table, so I leave it to you to figure out how to fix your page. —Anomalocaris (talk) 19:31, 25 May 2021 (UTC)
 * I'm not sure I understand what the problem is with the expanded markup. Here it is with newlines added:

  ''' –                  '''                    42  
 * It seems to me that the nesting perfectly balanced.
 * Inside the outermost &lt;span>...&lt;/span> is a &lt;div>...&lt;/div>
 * Inside the &lt;div>...&lt;/div> is a &lt;ul>...&lt;/ul>
 * Inside the &lt;ul>...&lt;/ul> is a &lt;li>...&lt;/li>
 * Inside the &lt;li>...&lt;/li> is &lt;span>...&lt;/span>&lt;span>...&lt;/span>
 * But maybe I'm missing something here. YBG (talk) 05:28, 26 May 2021 (UTC)
 * Re-pinging due to typo. YBG (talk) 05:31, 26 May 2021 (UTC)
 * YBG: You're right that there is no problem with misnested tags. The problem is that is not supposed to wrap . In many cases, the display is exactly what you want, but it's still considered an error. For more on this topic, see MW:Help:Lint_errors/misc-tidy-replacement-issues. —Anomalocaris (talk) 06:17, 26 May 2021 (UTC)

YBG: At this point there are 92 div-span-flip lint errors in User namespace. Of those: It would be great if you could figure out the problem. Tools that are helpful for fixing lint errors include Special:ExpandTemplates and lintHint. You can find out about lintHint at Linter. —Anomalocaris (talk) 07:16, 28 May 2021 (UTC)
 * 3 are in protected pages that can be edited only by administrators
 * 3 are in two inscrutable pages that I have given up on, for now
 * 86 are in pages by you, involving User:YBG/Living officeholders/row.

YBG: At this point there are 92 div-span-flip lint errors in User namespace. Of those:
 * 3 are in protected pages that can be edited only by administrators
 * 3 are in two inscrutable pages that I have given up on for now
 * 85 are in 6 pages by you, involving User:YBG/Living officeholders/row:
 * User:YBG/Living officeholders/testcases
 * User:YBG/Living officeholders/usvp-table
 * User:YBG/Living officeholders/aupm-table
 * User:YBG/Living officeholders/nzpm-table
 * User:YBG/Living officeholders/us-p-table
 * User:YBG/Living officeholders/usvp-table

It would be great if you could figure out the problem. Tools that are helpful for fixing lint errors include Special:ExpandTemplates and lintHint. You can find out about lintHint at Linter. —Anomalocaris (talk) 07:23, 28 May 2021 (UTC)
 * It should be all fixed now.


 * This is the snipped that caused the problem
 * It could have been fixed by changing it to this:
 * But, the sort wasn't needed so I changed it to this:
 * }
 * In a few days, I'm going to cut-paste this discussion into my talk page, where it probably should have occurred in the first place. Thank you for your assistance and especially for your patience. YBG (talk) 07:43, 29 May 2021 (UTC)
 * By the way, the error counts were way off. The page User:YBG/Living officeholders/row was actually transcluded 493 times from six different pages, including one that was not listed. And most of the pages it listed were listed twice, once with 11 errors and once with 10 errors, which explains why your list mentioned one of the pages twice. Here are the number of errors listed and the actual number, based on the number of times the page was transcluded:
 * User:YBG/Living officeholders/testcases - 1 error listed, but there were actually 96.
 * User:YBG/Living officeholders/usvp-table - 21 errors listed, but there were actually 92.
 * User:YBG/Living officeholders/aupm-table - 21 errors listed, but there were actually 53.
 * User:YBG/Living officeholders/nzpm-table - 21 errors listed, but there were actually 72.
 * User:YBG/Living officeholders/us-p-table - 21 errors listed, but there were actually 84.
 * User:YBG/Living officeholders/testcases/row - 0 errors listed, but there were actually 96.
 * Thanks again. YBG (talk) 08:09, 29 May 2021 (UTC)
 * User:YBG/Living officeholders/aupm-table - 21 errors listed, but there were actually 53.
 * User:YBG/Living officeholders/nzpm-table - 21 errors listed, but there were actually 72.
 * User:YBG/Living officeholders/us-p-table - 21 errors listed, but there were actually 84.
 * User:YBG/Living officeholders/testcases/row - 0 errors listed, but there were actually 96.
 * Thanks again. YBG (talk) 08:09, 29 May 2021 (UTC)