From 98be5699b669fc561c2949b8d17879b39d16f272 Mon Sep 17 00:00:00 2001
From: "gerv%gerv.net" <>
Date: Fri, 4 Apr 2008 11:46:49 +0000
Subject: Massive rearrangement of the installation section. Hopefully it makes
sense now.
---
docs/en/xml/Bugzilla-Guide.xml | 22 +-
docs/en/xml/about.xml | 43 +-
docs/en/xml/customization.xml | 960 +++++++++++--------
docs/en/xml/gfdl.xml | 22 +-
docs/en/xml/installation.xml | 2046 ++++++++++++++++++----------------------
5 files changed, 1536 insertions(+), 1557 deletions(-)
(limited to 'docs')
diff --git a/docs/en/xml/Bugzilla-Guide.xml b/docs/en/xml/Bugzilla-Guide.xml
index 1ed018678..0175caec1 100644
--- a/docs/en/xml/Bugzilla-Guide.xml
+++ b/docs/en/xml/Bugzilla-Guide.xml
@@ -11,13 +11,11 @@
-
-
-
+
-
+
-
+
@@ -54,7 +52,7 @@
-
+
@@ -136,12 +134,6 @@
&about;
-
-&introduction;
-
-
-&using;
-
&installation;
@@ -151,12 +143,18 @@
&customization;
+
+&using;
+
&faq;
&patches;
+
+&modules;
+
&gfdl;
diff --git a/docs/en/xml/about.xml b/docs/en/xml/about.xml
index 1d48fde19..b594ce163 100644
--- a/docs/en/xml/about.xml
+++ b/docs/en/xml/about.xml
@@ -6,8 +6,11 @@
Copyright Information
+
+ This document is copyright (c) 2000-2004 by the various
+ Bugzilla contributors who wrote it.
+
- Copyright (c) 2000-2004 The Bugzilla Team
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation
@@ -45,10 +48,10 @@
Although the Bugzilla development team has taken great care to
- ensure that all exploitable bugs or options have been
- fixed, security holes surely exist. Great care should be taken both in
+ ensure that all exploitable bugs have been fixed, security holes surely
+ exist in any piece of code. Great care should be taken both in
the installation and usage of this software. The Bugzilla development
- team members assume no liability for your use of this software. You have
+ team members assume no liability for your use of Bugzilla. You have
the source code, and are responsible for auditing it yourself to ensure
your security needs are met.
@@ -68,16 +71,36 @@
The latest version of this guide can always be found at , or checked out via CVS.
- (Please follow the Mozilla
+ url="http://www.bugzilla.org"/>, or checked out via CVS by
+ following the Mozilla
CVS instructions and check out the
mozilla/webtools/bugzilla/docs/
- subtree.) However, you should read the version
+ subtree. However, you should read the version
which came with the Bugzilla release you are using.
- The Bugzilla Guide is currently only available in English.
- If you would like to volunteer to translate it, please contact
+ The Bugzilla Guide, or a section of it, is also available in
+ the following languages:
+ German.
+
+
+
+ In addition, there are Bugzilla template localisation projects in
+ the following languages. They may have translated documentation
+ available:
+ Belarusian,
+ Brazilian Portuguese,
+ Chinese,
+ French,
+ German,
+ Korean,
+ Russian and
+ Spanish.
+
+
+
+ If you would like to volunteer to translate the Guide into additional
+ languages, please contact
Dave Miller.
@@ -113,7 +136,7 @@
- Last but not least, all the members of the
+ Also, thanks are due to the members of the
netscape.public.mozilla.webtools
newsgroup. Without your discussions, insight, suggestions, and patches,
diff --git a/docs/en/xml/customization.xml b/docs/en/xml/customization.xml
index bb89cb12b..67877f9ca 100644
--- a/docs/en/xml/customization.xml
+++ b/docs/en/xml/customization.xml
@@ -1,43 +1,7 @@
- Customizing Bugzilla
+ Customising Bugzilla
-
- Custom Skins
-
-
- Bugzilla allows you to have multiple skins. These are custom CSS and possibly
- also custom images for Bugzilla. To create a new custom skin, you have two
- choices:
-
-
-
- Make a single CSS file, and put it in the
- skins/contrib directory.
-
-
-
-
- Make a directory that contains all the same CSS file
- names as skins/standard/, and put
- your directory in skins/contrib/.
-
-
-
-
-
-
- After you put the file or the directory there, make sure to run checksetup.pl
- so that it can reset the file permissions correctly.
-
-
- After you have installed the new skin, it will show up as an option in the
- user's General Preferences. If you would like to force a particular skin on all
- users, just select it in the Default Preferences and then uncheck "Enabled" on
- the preference.
-
-
-
Template Customization
@@ -54,78 +18,45 @@
.
-
- Template Directory Structure
-
- The template directory structure starts with top level directory
- named template, which contains a directory
- for each installed localization. The next level defines the
- language used in the templates. Bugzilla comes with English
- templates, so the directory name is en,
- and we will discuss template/en throughout
- the documentation. Below template/en is the
- default directory, which contains all the
- standard templates shipped with Bugzilla.
+
+ What to Edit
+
+ The template directory structure is that there's a top level directory,
+ template, which contains a directory for
+ each installed localization. The default English templates are
+ therefore in en. Underneath that, there
+ is the default directory and optionally the
+ custom directory. The default
+ directory contains all the templates shipped with Bugzilla, whereas
+ the custom directory does not exist at first and
+ must be created if you want to use it.
-
-
- A directory data/templates also exists;
- this is where Template Toolkit puts the compiled versions of
- the templates from either the default or custom directories.
- Do not directly edit the files in this
- directory, or all your changes will be lost the next time
- Template Toolkit recompiles the templates.
-
-
-
-
-
- Choosing a Customization Method
-
- If you want to edit Bugzilla's templates, the first decision
- you must make is how you want to go about doing so. There are two
- choices, and which you use depends mainly on the scope of your
- modifications, and the method you plan to use to upgrade Bugzilla.
-
-
+ There are two different ways of editing Bugzilla's templates,
+ and which you use depends mainly on the method you plan to use to
+ upgrade Bugzilla.
The first method of making customizations is to directly edit the
- templates found in template/en/default.
- This is probably the best way to go about it if you are going to
- be upgrading Bugzilla through CVS, because if you then execute
- a cvs update, any changes you have made will
- be merged automagically with the updated versions.
+ templates in template/en/default. This is
+ probably the best method for small changes if you are going to use
+ the CVS method of upgrading, because if you then execute a
+ cvs update, any template fixes will get
+ automagically merged into your modified versions.
-
-
- If you use this method, and CVS conflicts occur during an
- update, the conflicted templates (and possibly other parts
- of your installation) will not work until they are resolved.
-
-
-
- The second method is to copy the templates to be modified
- into a mirrored directory structure under
- template/en/custom. Templates in this
- directory structure automatically override any identically-named
- and identically-located templates in the
- default directory.
+ If you use this method, your installation will break if CVS conflicts
+ occur.
-
-
- The custom directory does not exist
- at first and must be created if you want to use it.
-
-
-
- The second method of customization should be used if you
- use the overwriting method of upgrade, because otherwise
- your changes will be lost. This method may also be better if
+ The other method is to copy the templates to be modified into a
+ mirrored directory
+ structure under template/en/custom. The templates
+ in this directory automatically override those in default.
+ This is the technique you
+ need to use if you use the overwriting method of upgrade, because
+ otherwise your changes will be lost. This method is also better if
you are using the CVS method of upgrading and are going to make major
changes, because it is guaranteed that the contents of this directory
will not be touched during an upgrade, and you can then decide whether
@@ -134,9 +65,9 @@
- Using this method, your installation may break if incompatible
- changes are made to the template interface. Such changes should
- be documented in the release notes, provided you are using a
+ If you use this method, your installation may break if incompatible
+ changes are made to the template interface. If such changes are made
+ they will be documented in the release notes, provided you are using a
stable release of Bugzilla. If you use using unstable code, you will
need to deal with this one yourself, although if possible the changes
will be mentioned before they occur in the deprecations section of the
@@ -145,25 +76,21 @@
- Regardless of which method you choose, it is recommended that
- you run ./checksetup.pl after creating or
- editing any templates in the template/en/default
- directory, and after editing any templates in the
- custom directory.
+ Don't directly edit the compiled templates in
+ data/template/* - your
+ changes will be lost when Template Toolkit recompiles them.
-
-
- It is required that you run
- ./checksetup.pl after creating a new
- template in the custom directory. Failure
- to do so will raise an incomprehensible error message.
+
+ It is recommended that you run ./checksetup.pl
+ after any template edits, especially if you've created a new file in
+ the custom directory.
-
+
-
+
How To Edit Templates
@@ -171,7 +98,7 @@
If you are making template changes that you intend on submitting back
for inclusion in standard Bugzilla, you should read the relevant
sections of the
- Developers'
+ Developers'
Guide.
@@ -189,7 +116,7 @@
to properly HTML filter data that has been passed into the template.
This means that if the data can possibly contain special HTML characters
such as <, and the data was not intended to be HTML, they need to be
- converted to entity form, i.e. <. You use the 'html' filter in the
+ converted to entity form, ie <. You use the 'html' filter in the
Template Toolkit to do this. If you forget, you may open up
your installation to cross-site scripting attacks.
@@ -198,18 +125,16 @@
Also note that Bugzilla adds a few filters of its own, that are not
in standard Template Toolkit. In particular, the 'url_quote' filter
can convert characters that are illegal or have special meaning in URLs,
- such as &, to the encoded form, i.e. %26. This actually encodes most
+ such as &, to the encoded form, ie %26. This actually encodes most
characters (but not the common ones such as letters and numbers and so
on), including the HTML-special characters, so there's never a need to
HTML filter afterwards.
- Editing templates is a good way of doing a poor man's custom
- fields
.
+ Editing templates is a good way of doing a "poor man's custom fields".
For example, if you don't use the Status Whiteboard, but want to have
- a free-form text entry box for Build Identifier
,
- then you can just
+ a free-form text entry box for "Build Identifier", then you can just
edit the templates to change the field labels. It's still be called
status_whiteboard internally, but your users don't need to know that.
@@ -217,29 +142,22 @@
-