PagelistVariables-Talk

EnablePageIndex and PmWiki-2.2.114

In clean installation of PmWiki-2.2.114, where $EnablePageIndex variable is not set, .pageindex is created by default. It only can be disabled by

 $EnablePageIndex  = 0;

I don't know if is it OK or not, but anyway I think we should update this variable description on PagelistVariables like this:

 When set to 0, disables default indexing. By default PmWiki maintains a "link and word index" in $PageIndexFile which significantly speeds up categories, backlinks, and searches. 

Finar May 07, 2019, at 05:20 PM

Thanks, updated! --Petko May 07, 2019, at 07:06 PM


This evening, I have learned that to not have to add (:linebreaks:) manually on every page, but have the same effect over a whole farm with one change, one should add "$HTMLPNewline = '<br/>';" to config.php.

Please see the Page Directives page, where such a dark art as how to accomplish this is revealed (at the end of the page no less).

And here, I have thought for 3 years that if such magic existed, the spell would be on the Pagelist Variables.

Well, it is not a variable about PageLists so I added it to LayoutVariables. It was added on PageDirectives because the (:(no)linebreaks:) commands are there. --Petko November 10, 2011, at 03:25 AM

LayoutVariables. Nice Page. One day, I hope to know a little something about PmWiki. -m

This is a talk page for improving PmWiki.PagelistVariables.