Skip to content
Browse files

Minor changes found during diff to slash-1.0.5

  • Loading branch information...
1 parent 686ca26 commit a5f1083a93e3e33e23fd12105f1c2d5a20b69a12 @pudge pudge committed Jul 11, 2000
View
2 CHANGES
@@ -55,7 +55,7 @@ slash-1.0.6, 2000.07.10
fact that there are some situations where we may want to make
certain moderations that don't get applied still applicable to
M2 review. comments.pl and article.pl have been made aware of
- this new field/
+ this new field
* Metamoderation results are now counted. The number of times a
user's moderation is voted fair or unfair is now counted in
View
1 plugins/Submit/submit.pl
@@ -28,7 +28,6 @@
use lib '../';
use vars '%I';
use Slash;
-use HTML::Entities;
#################################################################
sub main {
View
1 public_html/admin.pl
@@ -28,7 +28,6 @@
use vars '%I';
use Image::Size;
use Slash;
-use HTML::Entities;
sub main {
*I = getSlashConf();
View
4 public_html/search.pl
@@ -58,7 +58,7 @@ sub main {
searchForm();
- if ($I{F}{op} eq "comments") { commentSearch() }
+ if ($I{F}{op} eq "comments") { commentSearch() }
elsif ($I{F}{op} eq "users") { userSearch() }
elsif ($I{F}{op} eq "stories") { storySearch() }
else {
@@ -412,7 +412,7 @@ sub storySearch {
# Counting has been removed (see comment at top).
# my $remaining = $I{F}{hitcount} - $I{F}{'last'};
print "<P>", linkSearch({
- 'link' => "<B>More Articles</B>",
+ 'link' => "<B>More Articles...</B>",
min => $I{F}{'last'}
}) unless !$x || $x < $I{F}{max};
}
View
1 public_html/submit.pl
@@ -28,7 +28,6 @@
use lib '../';
use vars '%I';
use Slash;
-use HTML::Entities;
#################################################################
sub main {
View
2 slashd
@@ -341,7 +341,7 @@ sub newrdf {
);
my $x = sprintf <<EOT, @fs;
-<?xml version="1.0"?><rdf:RDF
+<?xml version="1.0" encoding="ISO-8859-1"?><rdf:RDF
xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/">
<rss>
View
52 slashdotrc.pl
@@ -73,30 +73,30 @@
send_mail => 0,
# The following variables can be used to tweak your Slash Moderation
- authors_unlimited => 1, # authors have unlimited moderation
- m2_comments => 10, # Number of comments for meta-moderation.
- m2_maxunfair => 0.5, # Minimum % of unfairs for M2 penalty.
- m2_toomanyunfair => 0.3, # Minimum % of unfairs for which M2 is ignored.
- m2_bonus => '+1', # Bonus for participating in meta-moderation.
- m2_penalty => '-1', # Penalty for misuse of meta-moderation.
- comment_minscore => -1, # Minimum score for a specific comment.
- comment_maxscore => 5, # Maximum score for a specific comment.
- goodkarma => 25, # Users get bonus points for posts if karma above this value
- badkarma => -10, # Users get penalized for posts if karma is below this value
- metamod_sum => 3, # sum of moderations 1 for release (deprecated)
- maxtokens => 40, # Token threshold that must be hit to get any points
- tokensperpoint => 8, # Number of tokens per point
- maxpoints => 5, # The maximum number of points any moderator can have
- stir => 3, # Number of days before unused moderator points expire
- tokenspercomment => 6, # Number of tokens to feed the system for each comment
- down_moderations => -6, # number of how many comments you can post that get down moderated
+ authors_unlimited => 1, # authors have unlimited moderation
+ m2_comments => 10, # Number of comments for meta-moderation.
+ m2_maxunfair => 0.5, # Minimum % of unfairs for M2 penalty.
+ m2_toomanyunfair => 0.3, # Minimum % of unfairs for which M2 is ignored.
+ m2_bonus => '+1', # Bonus for participating in meta-moderation.
+ m2_penalty => '-1', # Penalty for misuse of meta-moderation.
+ comment_minscore => -1, # Minimum score for a specific comment.
+ comment_maxscore => 5, # Maximum score for a specific comment.
+ goodkarma => 25, # Users get bonus points for posts if karma above this value
+ badkarma => -10, # Users get penalized for posts if karma is below this value
+ metamod_sum => 3, # sum of moderations 1 for release (deprecated)
+ maxtokens => 40, # Token threshold that must be hit to get any points
+ tokensperpoint => 8, # Number of tokens per point
+ maxpoints => 5, # The maximum number of points any moderator can have
+ stir => 3, # Number of days before unused moderator points expire
+ tokenspercomment => 6, # Number of tokens to feed the system for each comment
+ down_moderations => -6, # number of how many comments you can post that get down moderated
# comment posting and story submission abuse settings
- post_limit => 10, # seconds delay before repeat posting
- max_posts_allowed => 30, # maximum number of posts per day allowed
- max_submissions_allowed => 20, # maximum number of submissions per timeframe allowed
- submission_speed_limit => 300, # how fast they can submit
- formkey_timeframe => 14400, # the time frame that we check for a formkey
+ post_limit => 10, # seconds delay before repeat posting
+ max_posts_allowed => 30, # maximum number of posts per day allowed
+ max_submissions_allowed => 20, # maximum number of submissions per timeframe allowed
+ submission_speed_limit => 300, # how fast they can submit
+ formkey_timeframe => 14400, # the time frame that we check for a formkey
# see Slash::fixHref()
fixhrefs => [
@@ -112,14 +112,6 @@
],
[
- qr/^pudge/,
- sub {
- $_[0] =~ s|pudge|http://pudge.net|;
- return($_[0], 0);
- }
- ],
-
- [
qr/^linux/,
sub {
return(
View
1 themes/slashcode/htdocs/admin.pl
@@ -28,7 +28,6 @@
use vars '%I';
use Image::Size;
use Slash;
-use HTML::Entities;
sub main {
*I = getSlashConf();
View
4 themes/slashcode/htdocs/search.pl
@@ -58,7 +58,7 @@ sub main {
searchForm();
- if ($I{F}{op} eq "comments") { commentSearch() }
+ if ($I{F}{op} eq "comments") { commentSearch() }
elsif ($I{F}{op} eq "users") { userSearch() }
elsif ($I{F}{op} eq "stories") { storySearch() }
else {
@@ -412,7 +412,7 @@ sub storySearch {
# Counting has been removed (see comment at top).
# my $remaining = $I{F}{hitcount} - $I{F}{'last'};
print "<P>", linkSearch({
- 'link' => "<B>More Articles</B>",
+ 'link' => "<B>More Articles...</B>",
min => $I{F}{'last'}
}) unless !$x || $x < $I{F}{max};
}
View
1 themes/slashcode/htdocs/submit.pl
@@ -28,7 +28,6 @@
use lib '../';
use vars '%I';
use Slash;
-use HTML::Entities;
#################################################################
sub main {

0 comments on commit a5f1083

Please sign in to comment.
Something went wrong with that request. Please try again.