[pmwiki-users] Recent Changes Button Lost
Patrick R. Michaud
pmichaud at pobox.com
Thu May 24 10:52:48 CDT 2007
On Thu, May 24, 2007 at 08:37:29AM -0700, Dr Fred C wrote:
> It may be different on other wiki versions, but with v 2.1.27
> * [[ Documents.Search | Search ]] creates a Search? request
> for a new wiki page called Search -- not what is desired.
I was simply analyzing the Site.SideBar markup that Steve provided. :-)
To always get a search page in 2.1.27, one can do:
* [[ {*$FullName}?action=search | Search ]]
> * [[ Site.Search | Search ]] creates a link to the Site.Search page
> with the appropriate box to create a search with description about
> the search process. I believe this page will only open for admins.
> At least that's how it works in 2.1.27.
The default is that pages in the Site group (including Site.Search)
*are* readable by non-admins. Some admins choose to read-protect
the Site group, at which point Site.Search is no longer readable
unless it's explicitly given @_site_read or @nopass read permissions
to get around the restriction on the Site group.
Pm
> Patrick R. Michaud wrote:
> > On Thu, May 24, 2007 at 10:49:35AM -0400, Adaram wrote:
> >
> >> Here's what I have in my Site.Sidebar:
> >> [...]
> >>
> >
> > Note that in starting 2.2.0 you will want all of the
> > page variables above to have asterisks in them. Otherwise
> > all of the links will end up being to Site.SideBar.
> >
> >
> >> * [[ {$Group}.{$Name}?action=search&q={$Name} | BackLinks ]]
> >>
> >
> > Better (faster, more accurate since it counts only links and not pages
> > that just happen to contain the name):
> >
> > * [[ {*$FullName}?action=search&q=link={*$FullName} | BackLinks ]]
> >
> >
> >> * [[ Documents.Search | Search ]]
> >> * [[ {$Group}.{$Name}?action=print | Print ]](:if auth attr:)
> >> * [[ {$Group}.GroupAttributes?action=attr | ACL ]](:ifend:)(:if auth
> >> edit:)
> >> * [[ {$Group}.{$Name}?action=edit | Edit Page ]]
> >> * [[ {$Group}.{$Name}?action=diff | History ]]
> >> * [[ {$Group}.RecentChanges | Changes ]](:if auth upload:)
> >> * [[ {$Group}.{$Name}?action=upload | Upload ]](:ifend:)(:if auth edit:)
> >> * [[ Main.HomePage?action=logout | logout ]](:ifend:)
> >>
> >
> > FWIW, I would find this easier to read as:
> >
> > * [[ Documents.Search | Search ]]
> > * [[ {*$FullName}?action=print | Print ]]
> > (:if auth attr:)
> > * [[ {*$Group}.GroupAttributes?action=attr | ACL ]]
> > (:if auth edit:)
> > * [[ {*$FullName}?action=edit | Edit Page ]]
> > * [[ {*$FullName}?action=diff | History ]]
> > * [[ {*$Group}.RecentChanges | Changes ]]
> > (:if auth upload:)
> > * [[ {*FullName}?action=upload | Upload ]]
> > (:if auth edit:)
> > * [[ Main.HomePage?action=logout | logout ]]
> > (:ifend:)
> >
> > Pm
> >
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users
> >
> >
> >
>
> --
>
> Always, Dr Fred C
> drfredc at drfredc.com
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
More information about the pmwiki-users
mailing list