]> sipb.mit.edu Git - ikiwiki.git/blob - doc/ikiwiki/pagespec/discussion.mdwn
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[ikiwiki.git] / doc / ikiwiki / pagespec / discussion.mdwn
1 I am using ikiwiki 2.6.1.
2
3 I can't figure out the locked pages.
4
5 As an admin in preferences, I put in my Locked Pages:
6
7 index and downloads
8
9 I don't want anyone to be able to edit the front page or my downloads page.
10
11 That didn't work. I am using a different web browser as a different non-ikiwiki-admin user.
12
13 So I changed it to
14
15 /index and /downloads
16
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?)
18
19 I also tried
20
21 /index and /downloads/index
22
23 But I could still edit my downloads page.
24
25 Can someone share some hints on how to lock these two pages?
26
27 My source pages for the lock are:
28
29 source/downloads.mdwn
30 source/index.mdwn
31
32 My webpages to lock are:
33
34 public\_html/downloads/index.html
35 public\_html/index.html
36
37 > So I tried again with using "or" instead of "and":
38 >
39 > index or downloads
40 >
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).
43 >
44 > Also why did my "/index and /downloads" prevent editing the index by repeatedly showing login webpage?
45 >
46 > -JeremyReed
47
48 >> I've clarified and/or in [[PageSpec]].
49 >> 
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]]
53
54 ----
55
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?
57
58 > \[[!inline pages="link(Categories/Ikiwiki_Plugins)" feeds=no archive=yes sort=title template=titlepage]]
59
60 > (I'm using tagbase => "Categories" because I'm converting from Mediawiki) 
61
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>
63
64 How can I fix this?  --[[sabr]]
65