mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-02-27 02:32 am

[dw-free] FAQ [[username]] parameter needs to have the example username set

[commit: http://hg.dwscoalition.org/dw-free/rev/b3655b5867fb]

http://bugs.dwscoalition.org/show_bug.cgi?id=287

Update config docs for example username.

Patch by [personal profile] sophie.

--------------------------------------------------------------------------------
diff -r ae23058f0bb1 -r b3655b5867fb doc/config-private.pl.txt
--- a/doc/config-private.pl.txt	Fri Feb 27 02:30:11 2009 +0000
+++ b/doc/config-private.pl.txt	Fri Feb 27 02:32:07 2009 +0000
@@ -21,6 +21,12 @@
         allowed_posters  => [ qw/ mark denise / ],
         allowed_ips      => [ qw/ 123.123.123.123 / ],
     );
+
+    # example user account for FAQs. By default, [[username]] in an FAQ answer
+    # will use the username of the logged-in user; however, if the viewer is
+    # not logged in, this username will be used instead. (You should own this
+    # account so that nobody can take it.)
+    $EXAMPLE_USER_ACCOUNT = "username";
 }
 
 {
--------------------------------------------------------------------------------