Commit 69ae89c9 authored by travis%sedsystems.ca's avatar travis%sedsystems.ca

Bug 147151 : Expand the list of words 006spellcheck.t looks for; fix the places…

Bug 147151 : Expand the list of words 006spellcheck.t looks for; fix the places where they are wrong. Patch by Marc Schumann <wurblzap@gmail.com> r=vladd a=justdave
parent 6ba7e301
...@@ -45,10 +45,10 @@ use Bugzilla::Util; ...@@ -45,10 +45,10 @@ use Bugzilla::Util;
# .pms elsewhere. # .pms elsewhere.
# $webdotdir must be in the webtree somewhere. Even if you use a local dot, # $webdotdir must be in the webtree somewhere. Even if you use a local dot,
# we output images to there. Also, if $webdot dir is not relative to the # we output images to there. Also, if $webdot dir is not relative to the
# bugzilla root directory, you'll need to change showdependancygraph.cgi to # bugzilla root directory, you'll need to change showdependencygraph.cgi to
# set image_url to the correct location. # set image_url to the correct location.
# The script should really generate these graphs directly... # The script should really generate these graphs directly...
# Note that if $libpath is changed, some stuff will break, notably dependancy # Note that if $libpath is changed, some stuff will break, notably dependency
# graphs (since the path will be wrong in the HTML). This will be fixed at # graphs (since the path will be wrong in the HTML). This will be fixed at
# some point. # some point.
......
...@@ -44,10 +44,10 @@ use Bugzilla::Config qw(:DEFAULT :db); ...@@ -44,10 +44,10 @@ use Bugzilla::Config qw(:DEFAULT :db);
use Bugzilla::Util; use Bugzilla::Util;
# All this code is backwards compat fu. As such, its a bit ugly. Note the # All this code is backwards compat fu. As such, its a bit ugly. Note the
# circular dependancies on Bugzilla.pm # circular dependencies on Bugzilla.pm
# This is old cruft which will be removed, so theres not much use in # This is old cruft which will be removed, so theres not much use in
# having a separate package for it, or otherwise trying to avoid the circular # having a separate package for it, or otherwise trying to avoid the circular
# dependancy # dependency
# XXX - mod_perl # XXX - mod_perl
# These use |our| instead of |my| because they need to be cleared from # These use |our| instead of |my| because they need to be cleared from
......
...@@ -36,12 +36,12 @@ ...@@ -36,12 +36,12 @@
# Only adding new parameters is done here. Once the parameter exists, you # Only adding new parameters is done here. Once the parameter exists, you
# must use %baseurl%/editparams.cgi from the web to edit the settings. # must use %baseurl%/editparams.cgi from the web to edit the settings.
# This file is included via |do|, mainly because of circular dependancy issues # This file is included via |do|, mainly because of circular dependency issues
# (such as globals.pl -> Bugzilla::Config -> this -> Bugzilla::Config) # (such as globals.pl -> Bugzilla::Config -> this -> Bugzilla::Config)
# which preclude compile time loading. # which preclude compile time loading.
# Those issues may go away at some point, and the contents of this file # Those issues may go away at some point, and the contents of this file
# moved somewhere else. Please try to avoid more dependancies from here # moved somewhere else. Please try to avoid more dependencies from here
# to other code # to other code
# (Note that these aren't just added directly to Bugzilla::Config, because # (Note that these aren't just added directly to Bugzilla::Config, because
...@@ -186,7 +186,7 @@ sub check_user_verify_class { ...@@ -186,7 +186,7 @@ sub check_user_verify_class {
# doeditparams traverses the list of params, and for each one it checks, # doeditparams traverses the list of params, and for each one it checks,
# then updates. This means that if one param checker wants to look at # then updates. This means that if one param checker wants to look at
# other params, it must be below that other one. So you can't have two # other params, it must be below that other one. So you can't have two
# params mutually dependant on each other. # params mutually dependent on each other.
# This means that if someone clears the LDAP config params after setting # This means that if someone clears the LDAP config params after setting
# the login method as LDAP, we won't notice, but all logins will fail. # the login method as LDAP, we won't notice, but all logins will fail.
# So don't do that. # So don't do that.
......
...@@ -30,11 +30,14 @@ use Support::Files; ...@@ -30,11 +30,14 @@ use Support::Files;
BEGIN { # yes the indenting is off, deal with it BEGIN { # yes the indenting is off, deal with it
#add the words to check here: #add the words to check here:
@evilwords = qw( @evilwords = qw(
databasa anyways
arbitary arbitary
paramater databasa
dependan
existance existance
existant existant
paramater
varsion
); );
$testcount = scalar(@Support::Files::testitems); $testcount = scalar(@Support::Files::testitems);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment