Page MenuHomePhabricator

Use Bugzilla hooks instead of custom template for fix for bug 40244
Closed, ResolvedPublic

Description

https://git.wikimedia.org/blob/wikimedia/bugzilla/modifications.git/HEAD/template/en/custom/list/table.html.tmpl only exists for bug 40244. Kill the file and create http://git.wikimedia.org/blob/wikimedia/bugzilla/modifications.git/HEAD/extensions/Wikimedia/template/en/default/hook/list/table-before_table.html.tmpl with the one-liner content:

[% abbrev.product.maxlength = 13 %]

See http://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/Extension.html for more information.

Advantage: When upgrading we don't need to sync the code in the file /template/en/custom/ anymore with code in the file /template/en/default.


Version: wmf-deployment
Severity: enhancement

Details

Reference
bz58556

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:27 AM
bzimport set Reference to bz58556.

Change 114145 had a related patch set uploaded by Aklapper:
Replace custom template file by using existing Bugzilla hook

https://gerrit.wikimedia.org/r/114145

Change 114145 merged by Dzahn:
Replace custom template file by using existing Bugzilla hook

https://gerrit.wikimedia.org/r/114145

Thanks! Things still work on buglist.cgi, hence closing as FIXED.