Template talk:To do

From Wikipedia, the free encyclopedia
  (Redirected from Template talk:Todo)
Jump to navigation Jump to search

edit·history·watch·refresh Stock post message.svg To-do list for Template:To do:

Priority 9

Template source not showing correctly[edit]

Just a minor issue: when you try to import this template onto another wiki, some tr and td tags are in the source (caused by $wgUseTidy) instead of the wiki markup. The template won´t work in such way, as tr/td tags are forbidden by default. [1] I would say a note about this issue somewhere on doc page would be helpful for other users.

{| class="{{Talk other|demospace={{{demospace|}}}|tmbox tmbox-notice|ombox ombox-notice}} {{#ifeq:{{{small|}}}|yes|mbox-small}} {{#ifeq:{{{collapsed|}}}|yes|collapsible collapsed}} t-todo" style="border-collapse: separate; border-spacing: 4px; {{{style|}}}"
<tr><th class="mbox-text" style="text-align: left; padding: 1px;">{{
  #if: {{{inner|}}}
  #ifeq: {{#ifeq:{{{smallfor|}}}|yes|no|{{{small|}}}}}|yes||&#32;for {{{for|[[:{{{target|{{SUBJECTPAGENAME}}}}}]]}}}
}}:</th><td class="mbox-empty-cell"></td></tr>{{
  #if: {{{above|}}} | <tr class="todo-abovebelow"><td colspan="2">{{{above}}}</td></tr>
The above note was added in 2015 by User:Escalatr. Now in 2018 I'm seeing the same issue but this seems to apply to all templates loaded from this site. At first I though I had to HTML-encode everything, so all the <tr tags needed to be &lt;tr. But then the template pushed raw HTML into content. It occurred to me that the template code wasn't being parsed. And that's because for my new installation I had not activated a parser. So with it built-in to WM v1.30.0, the following in LocalSettings fixed it all up:
wfLoadExtension( 'ParserFunctions' );
Summary: You need to load the ParserFunctions extension to use Templates. Why isn't this documented? Or am I missing something? --GravaT (talk) 22:27, 26 March 2018 (UTC)

nocats defaults to "yes"?[edit]


Since Special:Diff/789301802 assumably, no categorization occurs into Category:Wikipedia pages with to-do lists unless |nocats=no is explicitly given.

The documentation makes me want to believe it was intended to add categorization by default, with opt-out using |nocats=yes. Oddly enough, /testcases page has the category in it.

Can this be changed (back) to adding categorization by default, with opt-out mechanism? 2001:2003:54FA:D2:0:0:0:1 (talk) 09:57, 13 July 2017 (UTC); edited 10:03, 13 July 2017 (UTC)

It seems like /testcases had a cached page with the category in it. I purged the page and now the categorization is gone there too. 2001:2003:54FA:D2:0:0:0:1 (talk) 10:07, 13 July 2017 (UTC); edited 10:15, 13 July 2017 (UTC)

To clarify the issue: This template has 7724 transclusions from pages, but only 148 pages are in the category. I checked few of those 148 pages and they all seem to be from Template:Tasks or manually inserted. 2001:2003:54FA:D2:0:0:0:1 (talk) 10:18, 13 July 2017 (UTC)