Page MenuHomePhabricator

Adapt on-wiki bug templates to point to Phabricator
Closed, ResolvedPublic

Description

On the English Wikipedia and presumably Meta, MediaWiki, etc. there are various templates that account for a large number of inbound Bugzilla links - {{bug}}, {{tracked}}, etc.. These will need to be updated wherever they exist.

Links in templates using the bugzilla interwiki can be updated centrally at http://meta.wikimedia.org/wiki/Interwiki_map

WIP lists follow

List of templates for wikis supported by Wikidata:
https://www.wikidata.org/wiki/Q4481730#sitelinks-wikipedia
https://www.wikidata.org/wiki/Q6732074#sitelinks-wikipedia
https://www.wikidata.org/wiki/Q6732138#sitelinks-wikipedia

MediaWiki.org:
https://www.mediawiki.org/w/index.php?title=Special:Search&limit=100&offset=0&ns10=1&search=bugzilla

Details

Reference
fl284

Event Timeline

flimport raised the priority of this task from to Low.Sep 12 2014, 1:34 AM
flimport set Reference to fl284.

aklapper wrote on 2014-08-18 19:04:15 (UTC)

The templates should/shall still work after switching to Phab, because Bugzilla bug report URLs will redirect to their corresponding Phab tickets (see T65).
However we will also need (adpated? new?) templates once we allow creating new tickets in Phab only.

Not sure what's the best way forward here. :-/

aklapper wrote on 2014-08-28 19:21:51 (UTC)

Steps I see here:

0) As we redirect show_bug.cgi URLs from Bugzilla to Phabricator (T65) we should keep the current template. See my same comment in T285#13.

  1. Add "phabricator:" interwiki link to http://meta.wikimedia.org/wiki/Interwiki_map (required for next steps)
  2. Not sure if porting/introducing a replacement for Template:Bug is worth it. At least I have never used it plus people loved to use {{bug:}} instead to accidentially end up linking to Buginese Wikipedia. If we wanted to, I'd replace "bug" by "task" to keep consistent terminology.
  3. Introduce Template:Phabricator to supersede/deprecate Template:Bugzilla:
<span class="plainlinks">Phabricator: <!--
-->{{#if:{{{1|}}}|[/phabricator.wikimedia.org/T{{{1}}} {{{1}}}]}}<!--
-->{{#if:{{{2|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{2}}} {{{2}}}]}}<!--
-->{{#if:{{{3|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{3}}} {{{3}}}]}}<!--
-->{{#if:{{{4|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{4}}} {{{4}}}]}}<!--
-->{{#if:{{{5|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{5}}} {{{5}}}]}}<!--
-->{{#if:{{{6|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{6}}} {{{6}}}]}}<!--
-->{{#if:{{{7|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{7}}} {{{7}}}]}}<!--
-->{{#if:{{{8|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{8}}} {{{8}}}]}}<!--
-->{{#if:{{{9|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{9}}} {{{9}}}]}}<!--
-->{{#if:{{{10|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{10}}} {{{10}}}]}}<!--
-->{{#if:{{{11|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{11}}} {{{11}}}]}}<!--
-->{{#if:{{{12|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{12}}} {{{12}}}]}}<!--
-->{{#if:{{{13|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{13}}} {{{13}}}]}}<!--
-->{{#if:{{{14|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{14}}} {{{14}}}]}}<!--
-->{{#if:{{{15|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{15}}} {{{15}}}]}}<!--
-->{{#if:{{{16|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{16}}} {{{16}}}]}}<!--
-->{{#if:{{{17|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{17}}} {{{17}}}]}}<!--
-->{{#if:{{{18|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{18}}} {{{18}}}]}}<!--
-->{{#if:{{{19|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{19}}} {{{19}}}]}}<!--
-->{{#if:{{{20|}}}|{{nbsp}}• [/phabricator.wikimedia.org/T{{{20}}} {{{20}}}]}}</span><noinclude>
{{Documentation}}
</noinclude>

qgil wrote on 2014-08-28 20:31:41 (UTC)

These templates could be created in mediawiki.org already now, and we could test them against fab.wmflabs.org. @jdforrester, are you still willing to volunteer?

greg wrote on 2014-09-05 16:33:35 (UTC)

In T284#22, @Aklapper wrote:

0) As we redirect show_bug.cgi URLs from Bugzilla to Phabricator (T65) we should keep the current template. See my same comment in T285#13.

+1

  1. Add "phabricator:" interwiki link to http://meta.wikimedia.org/wiki/Interwiki_map (required for next steps)
  2. Not sure if porting/introducing a replacement for Template:Bug is worth it. At least I have never used it plus people loved to use {{bug:}} instead to accidentially end up linking to Buginese Wikipedia. If we wanted to, I'd replace "bug" by "task" to keep consistent terminology.

Agreed with creating {{task}}. There's already {{tasks}} (https://www.wikidata.org/wiki/Q13420881), but maybe that isn't a huge deal.

  1. Introduce Template:Phabricator to supersede/deprecate Template:Bugzilla:

+1

In T284#23, @Qgil wrote:

These templates could be created in mediawiki.org already now, and we could test them against fab.wmflabs.org.

+1, but I'm not the right person to volunteer for that, I'd flail around too much.

qgil wrote on 2014-09-07 10:15:39 (UTC)

In T284#23, @Qgil wrote:

These templates could be created in mediawiki.org already now, and we could test them against fab.wmflabs.org. @jdforrester, are you still willing to volunteer?

Removing @jdofrrester from Assigned just to avoid involuntary cookie-licking. James, feel free to prove me wrong!

Any takers on these MediaWiki template related tasks? As far as I can see they have no blockers from the Wikimedia Phabricator team (and I assume @mmodell / @Rush are not that familiar with wikitext / Lua templates, and their time could be invested in the many Phabricator-specific tasks we have around).

jdforrester wrote on 2014-09-08 18:22:07 (UTC)

Done for MW.org: https://www.mediawiki.org/wiki/Template:Phabricator (but obviously doesn't work right now).

(I don't see what needs further discussion here, hence moving to Ready column on workboard.)

In T176#8, @flimport wrote:

jdforrester wrote on 2014-09-08 18:22:07 (UTC)

Done for MW.org: https://www.mediawiki.org/wiki/Template:Phabricator (but obviously doesn't work right now).

It does now: https://www.mediawiki.org/wiki/Template_talk:Phabricator#Test

What else?

In T176#5504, @Qgil wrote:

What else?

T168 is still open and probably needs expertise by somebody who knows how to use bots.

Not sure if we really want to push also the translated templates of {{tracked}} already to support Phabricator which are listed in https://www.wikidata.org/wiki/Q4481730#sitelinks-wikipedia - this can still happen at any point in the future if really wanted, IMHO.

I think the duties of the Phabricator Day 1 project have been accomplished: port the related templates hosted in mediawiki.org and available in English.

But before closing this task let me CC a couple of Community Engagement fellows to know their opinion. Is it ok to expect that the various communities will port and translate the new versions in their wikis? I will leave a note in Tech News and in the Tech Ambassadors list. Is there anything else that you would do?

PS: done https://meta.wikimedia.org/wiki/Tech/News/2014/41

Qgil set Security to None.
Qgil raised the priority of this task from Low to Medium.Oct 10 2014, 9:35 PM

This tasked is open because of T539: Adapting Gadget-BugStatusUpdate.js to Phabricator. See T539#10638 for the reasoning to remove it from the Bugzilla-Migration project at this point.

Qgil lowered the priority of this task from Medium to Lowest.Nov 27 2014, 8:19 AM
Qgil added a subscriber: Mattflaschen-WMF.
In T176#10640, @Qgil wrote:

@Mattflaschen has volunteered to take that task.