@ -9,6 +9,8 @@ This file holds the changelog for Pepperminty Wiki. This is the master list of t
- Added action `stats` to view the calculated statisics
- Statistics are automagically recalculated every day - this can be controlled with the `stats_update_interval` and `stats_update_processingtime` settings
- Added new "« Parent Page" to subpages so that you can easily visit their parent pages
- Users can now delete their own comments, and users logged in as a moderator or better can delete anyone's comments.
- Added new `comment-delete` action
- The `history` action now supports `format=json` and `format=csv`
- Added tags next to the names of pages in the search results
- Added new `random_page_exclude` setting that allows you to exclude pages from the random action with a (PHP) regular expression
exit(page_renderer::render_main("Comment posted successfully - $settings->sitename","<p>Your comment on $env->page was posted successfully. If your browser doesn't redirect you automagically, please <a href='?action=view&page=".rawurlencode($env->page)."commentsuccess=yes#comment-$new_comment->id'>click here</a> to go to the comment you posted on the page you were viewing.</p>"));
exit(page_renderer::render_main("Error - Deleting Comment - $settings->sitename","<p>You can't delete the comment with the id <code>".htmlentities($target_id)."</code> on the page <em>$env->page</em> because you're logged in as ".page_renderer::render_username($env->user).", and ".page_renderer::render_username($comment_to_delete->username)." made that comment. Try <a href='?action=logout'>Logging out</a> and then logging in again as ".page_renderer::render_username($comment_to_delete->username).", or as a moderator or better."));
exit(page_renderer::render_main("Comment not found - Deleting Comment - $settings->sitename","<p>The comment with the id <code>".htmlentities($_GET["delete_id"])."</code> on the page <em>$env->page</em> wasn't found. Perhaps it was already deleted?</p>"));
exit(page_renderer::render_main("Server Error - Deleting Comment - $settings->sitename","<p>While $settings->sitename was able to delete the comment with the id <code>".htmlentities($target_id)."</code> on the page <em>$env->page</em>, it couldn't save the changes back to disk. Please contact <a href='mailto:".hide_email($settings->admindetails_email)."'>$settings->admindetails_name</a>, $settings->sitename's local friendly administrator about this issue.</p>"));
}
exit(page_renderer::render_main("Comment Deleted - $settings->sitename","<p>The comment with the id <code>".htmlentities($target_id)."</code> on the page <em>$env->page</em> has been deleted successfully. <a href='?page=".rawurlencode($env->page)."&redirect=no'>Go back</a> to ".htmlentities($env->page).".</p>"));
$result.="\t\t<span class='comment-footer-item'><a class='permalink-button' href='#comment-$comment->id' title='Permalink to this comment'>🔗</a></span>\n";
$result.="\t\t<span class='comment-footer-item'><time datetime='".date("c",strtotime($comment->timestamp))."' title='The time this comment was posted'>$settings->comment_time_icon".date("l jS \of F Y \a\\t h:ia T",strtotime($comment->timestamp))."</time></span>\n";
$result.="\t</p>\n";
@ -8261,7 +8353,7 @@ foreach($remote_files as $remote_file_def) {
exit(page_renderer::render_main("Comment posted successfully - $settings->sitename","<p>Your comment on $env->page was posted successfully. If your browser doesn't redirect you automagically, please <a href='?action=view&page=".rawurlencode($env->page)."commentsuccess=yes#comment-$new_comment->id'>click here</a> to go to the comment you posted on the page you were viewing.</p>"));
exit(page_renderer::render_main("Error - Deleting Comment - $settings->sitename","<p>You can't delete the comment with the id <code>".htmlentities($target_id)."</code> on the page <em>$env->page</em> because you're logged in as ".page_renderer::render_username($env->user).", and ".page_renderer::render_username($comment_to_delete->username)." made that comment. Try <a href='?action=logout'>Logging out</a> and then logging in again as ".page_renderer::render_username($comment_to_delete->username).", or as a moderator or better."));
exit(page_renderer::render_main("Comment not found - Deleting Comment - $settings->sitename","<p>The comment with the id <code>".htmlentities($_GET["delete_id"])."</code> on the page <em>$env->page</em> wasn't found. Perhaps it was already deleted?</p>"));
exit(page_renderer::render_main("Server Error - Deleting Comment - $settings->sitename","<p>While $settings->sitename was able to delete the comment with the id <code>".htmlentities($target_id)."</code> on the page <em>$env->page</em>, it couldn't save the changes back to disk. Please contact <a href='mailto:".hide_email($settings->admindetails_email)."'>$settings->admindetails_name</a>, $settings->sitename's local friendly administrator about this issue.</p>"));
}
exit(page_renderer::render_main("Comment Deleted - $settings->sitename","<p>The comment with the id <code>".htmlentities($target_id)."</code> on the page <em>$env->page</em> has been deleted successfully. <a href='?page=".rawurlencode($env->page)."&redirect=no'>Go back</a> to ".htmlentities($env->page).".</p>"));
$result.="\t\t<span class='comment-footer-item'><a class='permalink-button' href='#comment-$comment->id' title='Permalink to this comment'>🔗</a></span>\n";
$result.="\t\t<span class='comment-footer-item'><time datetime='".date("c",strtotime($comment->timestamp))."' title='The time this comment was posted'>$settings->comment_time_icon".date("l jS \of F Y \a\\t h:ia T",strtotime($comment->timestamp))."</time></span>\n";