diff --git a/ext/numeric_score/info.php b/ext/numeric_score/info.php index beb2059c..9ee731a1 100644 --- a/ext/numeric_score/info.php +++ b/ext/numeric_score/info.php @@ -5,10 +5,10 @@ class NumericScoreInfo extends ExtensionInfo public const KEY = "numeric_score"; public $key = self::KEY; - public $name = "Image Scores (Numeric)"; + public $name = "Post Scores (Numeric)"; public $url = self::SHIMMIE_URL; public $authors = self::SHISH_AUTHOR; public $license = self::LICENSE_GPLV2; public $description = "Allow users to score images"; - public $documentation ="Each registered user may vote an image +1 or -1, the image's score is the sum of all votes."; + public $documentation ="Each registered user may vote a post +1 or -1, the image's score is the sum of all votes."; } diff --git a/ext/numeric_score/main.php b/ext/numeric_score/main.php index dfb2d369..2fda09e5 100644 --- a/ext/numeric_score/main.php +++ b/ext/numeric_score/main.php @@ -162,7 +162,7 @@ class NumericScore extends Extension public function onNumericScoreSet(NumericScoreSetEvent $event) { global $user; - log_debug("numeric_score", "Rated >>{$event->image_id} as {$event->score}", "Rated Image"); + log_debug("numeric_score", "Rated >>{$event->image_id} as {$event->score}", "Rated Post"); $this->add_vote($event->image_id, $user->id, $event->score); } diff --git a/ext/numeric_score/theme.php b/ext/numeric_score/theme.php index 8cb01ce2..71551523 100644 --- a/ext/numeric_score/theme.php +++ b/ext/numeric_score/theme.php @@ -51,7 +51,7 @@ class NumericScoreTheme extends Themelet "; } - $page->add_block(new Block("Image Score", $html, "left", 20)); + $page->add_block(new Block("Post Score", $html, "left", 20)); } public function get_nuller(User $duser) @@ -96,32 +96,32 @@ class NumericScoreTheme extends Themelet public function get_help_html() { - return '
Search for images that have received numeric scores by the score or by the scorer.
+ return 'Search for posts that have received numeric scores by the score or by the scorer.
score=1-
Returns images with a score of 1.
+Returns posts with a score of 1.
score>0-
Returns images with a score of 1 or more.
+Returns posts with a score of 1 or more.
Can use <, <=, >, >=, or =.
upvoted_by=username-
Returns images upvoted by "username".
+Returns posts upvoted by "username".
upvoted_by_id=123-
Returns images upvoted by user 123.
+Returns posts upvoted by user 123.
downvoted_by=username-
Returns images downvoted by "username".
+Returns posts downvoted by "username".
downvoted_by_id=123-
Returns images downvoted by user 123.
+Returns posts downvoted by user 123.