Find in

MGvK  
  ぐんすけふぉんけるん
Markus   Gunske von Kölln
"Ein Optimist ist ein Mensch, der die Dinge nicht so tragisch nimmt, wie sie sind."

Home   
Contact us   
Computer >>   
Verschiedenes >>   
GvK Tiki      
Links      
TikiWiki      
Versch.      
Japan      
Motorrad      
TDM 900      
Touren      
Ski      

WantedPagesSrc

SourceCode for the wikiplugin wantedpages
print
Now available from CVS (Branch-1-9) !!

For more information, see PluginWantedPagesexternal link.

List of changes for Revision 1.1.2.3 (against Revision 1.1.2.2 of CVS):
Updated 21. Jan 2006
  • Nicer (and correct) output of help function
  • Output can be translated

Updated 13. Jan 2006
  • Setting the level parameter to 'custom', a user-defined level regex (PCRE) can be provided for displaying the result. The custom regex is provided as data for the plugin, therefore inserted between the plugin tags: {WANTEDPAGES(level=>custom)}Custom-Regex{WANTEDPAGES} There is a simple validation for the custom regex.
  • Two default values for parameters have been reset in order to match the output of the original plugin more closely (I'm not really sure, though, whether this is diserable or not....)
    • skipext is now 0 (false, do not skip external wiki links)
    • table is now 'sep' (display all entries in a separate row, do not collect to or from pages in the cells)

Updated 12. Jan 2006
  • Multiple fromPages with the same toPage can be in one row, separated by either comma or <br />
  • Multiple toPages with the same fromPage can be in one row, separated by either comma or <br />
  • The indices in the table (first column) can be either fromPages or toPages (nice to get some information about which existing page really needs some fixing)
  • ToPages are not wiki parsed, so rubbish syntax etc. is not displayed anymore (if it is displayed, it is part of the link sad )
  • A "debug mode" displays all recognized WantedPages, and what will happen with them, before the tiki page is displayed. This may help to find out what some of the links consist of.
  • Parameter level to describe with which strictness non-WikiWords are tested against the wiki syntax. If your wiki syntax (page_regex) is set to 'complete', you can set WantedPages to eg. 'full' and suppress forcefully all possible links which are not within the rules for 'full'.

Original modifications 11. Jan 2006
  • Ignored pages may contain wildcards (see PHP function fnmatch())
  • A windows (and PHP < 4.3.0) version of fnmatch() is included with the source
  • The splitby character can be selected freely
  • External wikis can be skipped from the list of wanted pages
  • Site settings for WikiWords? and dashedWikiWords are respected


All site contents © since 2003 M. Gunske von Kölln or the respective authors.
All rights reserved. We are not responsible for contents of external sites.
This is TikiWiki 1.9.8+ (CVS) -Sirius- © since 2002 by the Tiki community
[ Execution time: 0.24 secs ]   [ Memory usage: 2.10MB ]  [ 41 database queries used ]   [ GZIP Enabled ]   [ Server load: 2.87 ]