Jump to content

Community Wishlist Survey 2015/Templates

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Ryan Kaldari (WMF) (talk | contribs) at 18:58, 29 November 2015 (moving endorsed proposals from 2015 Community Wishlist Survey). It may differ significantly from the current version.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Inserting templates in PDF and Books

Tracked in Phabricator:
Task T73808

Since... well, don't know since when, books and PDFs are not rendering information inside templates. As lots of information is inside templates (also happens with tables) all of this is not rendered when you download the file in PDF. -Theklan (talk) 22:18, 9 November 2015 (UTC)[reply]

I think that it comes from the templates, some of them contain the "class=noprint" because the local community decided it.
But if you want to generate some books with their recurrent templates (eg: disclaimer), dynamically from its table of content, I recommend you to export my Lua module. JackPotte (talk) 23:11, 9 November 2015 (UTC)[reply]
Endorsed Endorsed @JackPotte, the problem it's not the "class=noprint", the current pdf engine is especially buggy in rendering table and dont show template containing table (like infobox). On november 2014 a message from Erik Moeller on wikitech ambassors mailing list describe the current status and said that is not a high priority project to fix them.--Moroboshi (talk) 07:30, 10 November 2015 (UTC)[reply]
As the author of the PDF backend, I can confirm that the issue is not with templates, it is with tables. We have a large number of very complicated tables in our projects, and it is a non-trivial task to figure out how to lay them out in LaTeX. Basic patch here: https://gerrit.wikimedia.org/r/107587 -- but it would break more pages than it would help at this point. Help wanted, of course! But it would be even better to write an HTML-based PDF backend for mw:OCG and bypass LaTeX altogether. Hopefully we could use phantomjs 2.0 and not lose the nice support for Indic languages that we currently have. Cscott (talk) 18:39, 11 November 2015 (UTC)[reply]

A powerful, handy TemplateTiger

Currently, TemplateTiger feeds on dumps and is very unhandy, if you are dealing with high-use templates. Therefore please, oh WMF, please provide a tiger which prowls through templates live and which can be piloted as easy as catscan (when it's available). → «« Man77 »» [de] 18:40, 10 November 2015 (UTC)[reply]

Endorsed Endorsed Having a live version would definitely be useful. Other things that would be useful for maintenance are detection of invalid parameters (I maintain a similar tool that provides this for frwiki, but unfortunately, I don't have resources and time to run it for any other wiki). Orlodrim (talk) 19:04, 10 November 2015 (UTC)[reply]
Endorsed EndorsedMisterSynergy (talk) 21:07, 10 November 2015 (UTC)[reply]

Central Global Repository for Templates, Lua modules, and Gadgets

Tracked in Phabricator:
Task T1238

We could use a single location where to keep templates, Lua modules, and Gadgets that are used on all the wikipedia projects. Just like images from commons can be used on other projects, code from such site would be visible to all the projects. The current system of 100's of out of sync copies of the same templates or Lua modules occasionally synchronized with the original is very hard to maintain. --Jarekt (talk) 20:06, 10 November 2015 (UTC)[reply]