Your message dated Wed, 30 Dec 2009 14:38:23 -0500
with message-id <[email protected]>
and subject line fixed
has caused the Debian Bug report #491630,
regarding ikiwiki: no way to enable search without enabling other cgi "actions"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
491630: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491630
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ikiwiki
Version: 2.53
Severity: minor

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hiya,

if you enable cgiurl in your setup config, the edit/history/discussion
links appear in all the rendered pages.  while this could be avoided by
overriding templates, it seems pretty reasonable to me that there should
be a way to enable the search feature (which requires cgiurl be set),
without enabling the rest of this stuff.

the relevant code (IkiWiki/Render.pm, though there may be others)

        my $actions=0;

        if (length $config{cgiurl}) {
                $template->param(editurl => cgiurl(do => "edit", page => $page))
;
                $template->param(prefsurl => cgiurl(do => "prefs"));
                $actions++;
        }
<snip>
        if ($actions) {
                $template->param(have_actions => 1);
        }

and then the installed templates use HAVE_ACTIONS to determine
whether or not the wiki links should be available.


  sean

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ikiwiki depends on:
ii  libhtml-parser-perl        3.56-1+b1     A collection of modules that parse
ii  libhtml-scrubber-perl      0.08-4        Perl extension for scrubbing/sanit
ii  libhtml-template-perl      2.9-1         HTML::Template : A module for usin
ii  liburi-perl                1.35.dfsg.1-1 Manipulates and accesses URI strin
ii  markdown                   1.0.1-7       Text-to-HTML conversion tool
ii  perl                       5.10.0-11     Larry Wall's Practical Extraction 

Versions of packages ikiwiki recommends:
ii  gcc [c-compiler]            4:4.3.1-2    The GNU C compiler
ii  gcc-3.4 [c-compiler]        3.4.6-8      The GNU C compiler
ii  gcc-4.1 [c-compiler]        4.1.2-23     The GNU C compiler
ii  gcc-4.2 [c-compiler]        4.2.4-3      The GNU C compiler
ii  gcc-4.3 [c-compiler]        4.3.1-6      The GNU C compiler
ii  git-core                    1:1.5.6.2-1  fast, scalable, distributed revisi
ii  libauthen-passphrase-perl   0.005-3      Perl module encapsulating hashed p
ii  libc6-dev [libc-dev]        2.7-12       GNU C Library: Development Librari
ii  libcgi-formbuilder-perl     3.05.01-6    Easily generate and process statef
ii  libcgi-session-perl         4.33-1       Persistent session data in CGI app
ii  liblwpx-paranoidagent-perl  1.03-1.1     a "paranoid" subclass of LWP::User
ii  libmail-sendmail-perl       0.79-5       Send email from a perl script
ii  libnet-openid-consumer-perl 0.14-2       library for consumers of OpenID id
ii  libtimedate-perl            1.1600-9     Time and date functions for Perl
ii  libxml-simple-perl          2.18-1       Perl module for reading and writin
ii  subversion                  1.5.0dfsg1-4 Advanced version control system

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFIg8KAynjLPm522B0RAtc4AJ4tHqqWw46YEJo5MzVp1QcH1/iE4gCffwDa
2h0rIiOrCfIFpnnpmRVbSBI=
=uUF+
-----END PGP SIGNATURE-----



--- End Message ---
--- Begin Message ---
This is fixed, all you have to do is add editpage to
disable_plugins and no more Edit links. Disable openid and
passwordauth to get rid of the Preferences links. Turn
of discussion support to get rid of the Discussion links.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to