# HG changeset patch # User MWild1 # Date 1277882078 0 # Node ID 927270e0b963879634838deb7b31effb314217d5 # Parent 2b79ecd3ece620b6369ffef84e8667c9816465ca Updated config options and compatibility section. diff -r 2b79ecd3ece6 -r 927270e0b963 mod_pastebin.wiki --- a/mod_pastebin.wiki Thu Jun 17 09:18:45 2010 +0000 +++ b/mod_pastebin.wiki Wed Jun 30 07:14:38 2010 +0000 @@ -1,5 +1,5 @@ #summary Redirect long messages to built-in pastebin -#labels Stage-Beta +#labels Stage-Stable = Introduction = @@ -23,13 +23,15 @@ = Configuration = ||pastebin_ports||List of ports to run the HTTP server on, same format as mod_httpserver's http_ports|| -||pastebin_threshold||Minimum length (in characters) of a message to be sent to the pastebin (default 500 characters)|| +||pastebin_threshold||Maximum length (in characters) of a message that is allowed to skip the pastebin. (default 500 characters)|| +||pastebin_line_threshold||The maximum number of lines a message may have before it is sent to the pastebin. (default 4 lines)|| +||pastebin_trigger||A string of characters (e.g. "!paste ") which if detected at the start of a message, always sends the message to the pastebin, regardless of length. (default: not set)|| ||pastebin_url||Base URL to display for pastebin links, must end with / and redirect to Prosody's built-in HTTP server|| ||pastebin_expire_after||Number of hours after which to expire (remove) a paste, defaults to 24|| = Compatibility = +||0.7||Works|| ||0.6||Works|| -||0.5||Works|| = Todo =