1 I am using ikiwiki 2.6.1.
3 I can't figure out the locked pages.
5 As an admin in preferences, I put in my Locked Pages:
9 I don't want anyone to be able to edit the front page or my downloads page.
11 That didn't work. I am using a different web browser as a different non-ikiwiki-admin user.
17 That stopped me from editing the front page. It didn't say it was locked just repeatedly gave me the ikiwiki login. (How can I get it to tell me it is locked instead?)
21 /index and /downloads/index
23 But I could still edit my downloads page.
25 Can someone share some hints on how to lock these two pages?
27 My source pages for the lock are:
32 My webpages to lock are:
34 public\_html/downloads/index.html
35 public\_html/index.html
37 > So I tried again with using "or" instead of "and":
41 > And that worked. I now get a message saying it is locked and cannot be edited.
42 > To me saying "lock both 'index and downloads'" made sense while now it reads like: "lock either 'index or downloads'". Maybe the [[PageSpec]] should define "and" and "or" (beyond the examples it has).
44 > Also why did my "/index and /downloads" prevent editing the index by repeatedly showing login webpage?
48 >> I've clarified and/or in [[PageSpec]].
50 >> I can't reproduce "/index and /downloads" causing the login webpage to
51 >> be shown repeatedly. Sure you weren't having some independent issue with
52 >> logging in? --[[Joey]]
56 I have a page for a tag. On that page I want to list every page on my wiki that has been so tagged. Easy enough, right?
58 > \[[!inline pages="link(Categories/Ikiwiki_Plugins)" feeds=no archive=yes sort=title template=titlepage]]
60 > (I'm using tagbase => "Categories" because I'm converting from Mediawiki)
62 This works beautifully in my sandbox: <http://iki.u32.net/sandbox> But it is totally blank on the page where I actually do want output! <http://iki.u32.net/Categories/Ikiwiki_Plugins>
64 How can I fix this? --[[sabr]]
66 > I don't see why that wouldn't work. Can I download the source to your
67 > wiki from somewhere to investigate? --[[Joey]]
71 Should negation work with user(), with locked_pages in setup? I
72 experimented with setting locked_pages => 'user(someuser)' and was able to
73 edit as a different user. However, setting locked_pages =>
74 '!user(someuser)' doesn't seem to allow edits for only 'someuser' - it
77 > Negation works with anything in any PageSpec. I tested the case you
78 > describe, and a negated pagespec worked for me; all users except the
79 > listed user (and except wiki admins of course) were locked out.
82 >> It must be a local problem, then, cause I've tried it with two separate
83 >> machines. Both are running the most recent release of ikiwiki in
84 >> pkgsrc - 2.66. Perhaps an update to a newer version would solve the issue.