[pmwiki-users] How to force-update the pageindex

Simon nzskiwi at gmail.com
Thu Aug 12 04:04:59 CDT 2010

This then is a timely opportunity to ask people to vote for the resumption
of http://www.pmwiki.org/wiki/PITS/00447  Distinguish !Page and
Category.Page in backlinks


On 12 August 2010 19:40, Randy Brown <ALONGKISS at aprivatespot.com> wrote:

> That explains what happened. Thank you!
> Is there a way in PHP to cause all pages to refresh their target attribute?
> Expirdiff iterates through all the pages to purge their history - perhaps I
> can adapt that. Can you suggest an instruction that would trigger a targets
> refresh instead?
> BTW, other than this targets-corruption issue, I've found that it's very
> easy to distinguish links that refer to a Category page from links that
> define a page as belonging to a Category:
> I simply created a group header for a group called Categorized, and made it
> redirect to the Category group header, like this: (:redirect
> Category.{*$Name} quiet=1:) Thus pages that are categorized using the
> [[!MyCategory]] markup link to the empty "Categorized" group but send the
> user who clicks on the link to the Category group page, where documentation
> of the category can live and where the pagelist looks for
> link={$CategoryGroup}.{*$Name}. It was that easy!
> The cool part is: no user-created pages need to be changed if
> categorization was originally done with [[!MyCategory]] markup. Everything
> so far seems to work as usual, except from now on the user can write
> "[[Category.MyCategory]] to refer to the MyCategory page without as a side
> effect categorizing it as belonging to MyCategory.
> Randy
> On Aug 12, 2010, at 1:32 AM, Peter Bowers wrote:
> > This is stored in the
> > targets= attribute of each individual page in addition to the
> > .pageindex file.  So by deleting the .pageindex you fixed part of the
> > problem, but each page is going to have to have that targets=
> > attribute updated.
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20100812/2e262331/attachment-0001.html>

More information about the pmwiki-users mailing list