summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Extension.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-03-08 02:17:20 +0100
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-03-08 02:17:20 +0100
commit1bf8f04aaca318f7a05433c623188d60a69d9571 (patch)
treee11e6411b37b2986c44fe84a7ece4b4465f5e140 /Bugzilla/Extension.pm
parent46c03e6f7a3190ce6d96a17c48a48a26054d5c67 (diff)
downloadbugzilla-1bf8f04aaca318f7a05433c623188d60a69d9571.tar.gz
bugzilla-1bf8f04aaca318f7a05433c623188d60a69d9571.tar.xz
Fix some typos and formatting in the Bugzilla::Extension POD.
Diffstat (limited to 'Bugzilla/Extension.pm')
-rw-r--r--Bugzilla/Extension.pm12
1 files changed, 6 insertions, 6 deletions
diff --git a/Bugzilla/Extension.pm b/Bugzilla/Extension.pm
index 2bd26c3ed..17b889b98 100644
--- a/Bugzilla/Extension.pm
+++ b/Bugzilla/Extension.pm
@@ -381,7 +381,7 @@ described in the L</Where Extension Code Goes> section above.
During your subroutine, you may want to know what values were passed
as CGI arguments to the current script, or what arguments were passed to
the current WebService method. You can get that data via
-<Bugzilla/input_params>.
+L<Bugzilla/input_params>.
=head3 Adding New Hooks To Bugzilla
@@ -447,8 +447,8 @@ named C<Foo>:
Note that it is I<not> a subclass of C<Bugzilla::Extension>, because
at the time that module requirements are being checked in L<checksetup>,
C<Bugzilla::Extension> cannot be loaded. Also, just like F<Extension.pm>,
-it ends with C<< __PACKAGE__->NAME; >>. Note also that it has the exact
-same C<package> name as F<Extension.pm>.
+it ends with C<< __PACKAGE__->NAME; >>. Note also that it has the
+B<exact same> C<package> name as F<Extension.pm>.
This file may not use any Perl modules other than L<Bugzilla::Constants>,
L<Bugzilla::Install::Util>, L<Bugzilla::Install::Requirements>, and
@@ -483,8 +483,8 @@ which should have C<package Bugzilla::Extension::Foo::Bar;> as its package
name.
This allows any place in Bugzilla to load your modules, which is important
-for some hooks. It even allows other extensions to load your modules. It
-even allows you to install your modules into the global Perl install
+for some hooks. It even allows other extensions to load your modules, and
+allows you to install your modules into the global Perl install
as F<Bugzilla/Extension/Foo/Bar.pm>, if you'd like, which helps allow CPAN
distribution of Bugzilla extensions.
@@ -594,7 +594,7 @@ C<header>.
This is the name of the hook--what you saw in C<Hook.process> inside
of the template you want to hook. In our example, this is
-C<additioanl_header>.
+C<additional_header>.
=item <template type>