https://bugzilla.wikimedia.org/show_bug.cgi?id=58556

       Web browser: ---
            Bug ID: 58556
           Summary: Use Bugzilla hooks instead of custom template for fix
                    for bug 40244
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Unprioritized
         Component: Bugzilla
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: aklap...@wikimedia.org
                CC: aklap...@wikimedia.org, s...@reedyboy.net,
                    thehelpfulonew...@gmail.com
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to