Bugzilla patches: Difference between revisions
Content deleted Content added
m removed Category:MediaWiki Development; added Category:Bugzilla using HotCat |
Redirected page to Bugzilla Tag: New redirect |
||
Line 1: | Line 1: | ||
#REDIRECT [[Bugzilla]] |
|||
A [[Bugzilla]] installation has been set up to track [[MediaWiki]] bugs and feature requests: http://bugzilla.wikimedia.org/ |
|||
This page lists changes which have been made to customize Bugzilla to our needs. |
|||
== Templates == |
|||
Timwi's been working on an adaptation of the templates (http://download.wikimedia.org/bugzilla/) for monobook style. Looks pretty keen. |
|||
== Wikilinks == |
|||
Quick hack for wikilinks in bug comments: |
|||
<pre> |
|||
Index: globals.pl |
|||
=================================================================== |
|||
RCS file: /cvsroot/mozilla/webtools/bugzilla/globals.pl,v |
|||
retrieving revision 1.270.2.5 |
|||
diff -u -r1.270.2.5 globals.pl |
|||
--- globals.pl 7 Jan 2005 20:54:31 -0000 1.270.2.5 |
|||
+++ globals.pl 13 Mar 2005 03:13:05 -0000 |
|||
@@ -881,6 +881,14 @@ |
|||
("\0\0" . ($count-1) . "\0\0") |
|||
~egox; |
|||
+ # **** Dirty hack! --brion |
|||
+ $text =~ s~\[\[([a-zA-Z0-9_ ,./'()!#%:-]+)\]\] |
|||
+ ~($tmp = html_quote($1)) && |
|||
+ ($things[$count++] = "<a href=\"http://en.wikipedia.org/wiki/$tmp\">[[$tmp]]</a>") && |
|||
+ ("\0\0" . ($count-1) . "\0\0") |
|||
+ ~egox; |
|||
+ # **** end dirty hack |
|||
+ |
|||
# We have to quote now, otherwise our html is itsself escaped |
|||
# THIS MEANS THAT A LITERAL ", <, >, ' MUST BE ESCAPED FOR A MATCH |
|||
</pre> |
|||
== Style fix == |
|||
For diff display in the monobook skin: |
|||
<pre> |
|||
Index: css/global.css |
|||
=================================================================== |
|||
RCS file: /cvsroot/mozilla/webtools/bugzilla/css/Attic/global.css,v |
|||
retrieving revision 1.4.2.1 |
|||
diff -u -r1.4.2.1 global.css |
|||
--- css/global.css 28 Aug 2004 08:46:14 -0000 1.4.2.1 |
|||
+++ css/global.css 13 Mar 2005 03:13:05 -0000 |
|||
@@ -170,6 +170,11 @@ |
|||
.bz_private { color: darkred ; background : #f3eeee ; } |
|||
.bz_disabled { color: #a0a0a0 ; } |
|||
+/* Fix for diff in monobook */ |
|||
+table.file_table pre { |
|||
+ border: none; |
|||
+ background-color: transparent; |
|||
+} |
|||
.bz_comment { background-color: #e0e0e0; } |
|||
table#flags th, table#flags td { vertical-align: baseline; text-align: left; } |
|||
</pre> |
|||
See also the discussion page for some other changes that might be needed to correctly layout |
|||
==See also== |
|||
*[[en:Wikipedia:Bug reports]] |
|||
[[Category:Bugzilla]] |
Latest revision as of 22:21, 27 March 2024
Redirect to: