Talk:Bogleheads® Wiki 2016 annual report

From Bogleheads
Jump to: navigation, search

Reflist behaviour

From the Wikipedia template documentation Widows and orphans describes what is happening. In the next section down, Practices, they give guidance on usage "The number of columns to use is up to the editor" with specific examples, including the case your mention with Household budgeting. --Peculiar Investor 17:39, 24 January 2015 (CST)

The finiki article Index is now using {{Reflist|30em}} and can be used as another test case. Note: finiki has Extension:MobileFrontend installed, so there is some additional functionality that can be tested. --Peculiar Investor 18:17, 24 January 2015 (CST)
I didn't understand what "widow" meant for a single item. I do now. finiki's Index page shows 4 columns across in Firefox and Chrome. Enabling (as desktop) and emulating (as mobile) mobile mode in Chrome will collapse to a wrapped single column - as expected. Blbarnitz has 2 two proposals on my sandbox page. I thinks it's best to not change the column width, as we're basing the value on Wikipedia's (very large) user base. --LadyGeek 18:36, 24 January 2015 (CST)
Concur. Blbarnitz's proposal #2, use only {{Reflist}} when number of reference=1 is consistent with the Practices section of the documentation. Might also be useful to post guidance/best practices on how to use in the Wiki editor's lounge. I only supplied the hammer. Blbarnitz found lots of "nails". --Peculiar Investor 18:48, 24 January 2015 (CST)
The task becomes one of finding pages containing a single reference (and not part of a group). 296 pages contain "<ref ". I took a look at the MediaWiki API for a possible way to count the number of tags, then sort in descending order. However, updating via the API is strongly not recommended. It's easier and safer to use Replace text and scan through the list of pages contain "<ref ". Then, manually edit each page. --LadyGeek 19:16, 24 January 2015 (CST)
Backdoor Roth IRA has 3 references, the 2nd reference splits into 2 columns for a total of 4 displayed columns. Bonds: advanced topics has a single reference, but does not split into multiple columns. --LadyGeek 19:22, 24 January 2015 (CST)
After using Replace text (for wiki administrators only), it became clear that it would take several search strings to replace everything. I ended up with a second pass using <ref> and updated manually. I also replaced <references/> with {{Reflist}} which will implement the single column approach. The intent is to replace all occurrences of <references> without the group="note" part. --LadyGeek 20:41, 24 January 2015 (CST)