Jump to content

Template talk:Phabricator

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Label parameter

[edit]

Can we please get a |label= parameter added to this template, for backwards compability with {{bug}} and easier upgrading? Thanks.  — Hex talk 17:57, 3 March 2016 (UTC)[reply]

This was  Done in 2019 when {{bug}} was deleted, but not documented. I've added it to the docs now.  — Hex talk 13:37, 24 December 2024 (UTC)[reply]

Multiple items

[edit]

Please sync with the sandbox to add support for multiple items and a label per consensus at Wikipedia:Templates for discussion/Log/2019 September 16#Template:Bug. All changes have been tested at Template:Phab/testcases. --Trialpears (talk) 11:27, 3 October 2019 (UTC)[reply]

 Done Sceptre (talk) 11:54, 3 October 2019 (UTC)[reply]

Citing multiple tickets doesn't handle optional "T"

[edit]

I discovered experimentally (the docs don't mention this) that you can cite multiple tickets at once: T318600 T318633 T318568. But, only on the first one is an optional "T" prefix handled properly, i.e. T318600 TT318633 TT318568. -- RoySmith (talk) 14:25, 27 September 2022 (UTC)[reply]

New Phab template in itwiki with cute Icons

[edit]

We may want to take inspiration to this Phabricator template on itwiki, that has also nice icons :D

w:it:Template:Phab#Esempi - check examples!

Here, main differences between itwiki and enwiki template:

Local Template:Phab w:it:Template:Phab
nice icons Not supported Supported
Mockup, Paste, Tags Not supported Supported
just numbers Supported Not supported by design
multiple tasks Unofficially Supported (Undocumented) Not supported by design
"article/art" prefix Supported Not supported by design
template code more complicated more simple (KISS principle)

With this overview, I think that here, on enwiki, we have the possibility to simplify a bit the template, with the purpose to give more features in the future. For example, I think that the feature "just numbers" is a bit too much complicated to maintain here on enwiki (look at the source code of the template) just for the benefit of... not writing a "T"... or mentioning multiple tasks (that was undocumented, by the way...).

So I would like to deprecate the "just numbers" option in the enwiki template, at least. This MAY dramatically simplify the addition of new features (like, icons). Bozz (talk) 09:34, 8 July 2024 (UTC)[reply]

Edited: also, I would like to officially discourage the undocumented feature of mentioning multiple tasks...

If we do NOT want to remove the above "features", I'm inclined to propose a rewrite in Lua. Or, we can create a completely different template called "Phablink"... to provide the features available in intwiki (that are, icons, and possibility to mention other things)... --Bozz (talk) 09:49, 8 July 2024 (UTC)[reply]

Reimplemented

[edit]

The template code is a buggy eyeball-melting mess (no disrespect meant to the author - our template language is an abomination), so I've written a Lua module to replace it at Module:Phabricator, with test cases. It supports the documented behavior of any combination of including a "T" or not, titling the link, or having a link to Wikipedia:Phabricator.

Examples:

If people are happy with this we can replace the template code, and then further improvements like the ones suggested by Valerio Bozzolan will be easy to make. Incidentally Bozz, I only saw your comments after doing this 😁 Merry Christmas!  — Hex talk 22:30, 24 December 2024 (UTC)[reply]