mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-10-27 14:30:12 +00:00
first commit
This commit is contained in:
commit
c715e2a604
5325 files changed
+329700
No files matched your search
@@ -0,0 +1,24 @@
|
||||
version=pmwiki-2.2.75 ordered=1 urlencoded=1
|
||||
agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
|
||||
author=Agatha
|
||||
charset=UTF-8
|
||||
csum=nJxCN8Xza
|
||||
ctime=1138643894
|
||||
host=188.143.232.32
|
||||
name=PmWiki.PageLists
|
||||
rev=245
|
||||
targets=
|
||||
text=That's a smart way of %3ca href="http://naxheawukps.com">thkinnig%3c/a> about it.
|
||||
time=1485188314
|
||||
author:1485188314=Agatha
|
||||
csum:1485188314=nJxCN8Xza
|
||||
diff:1485188314:1485016003:=1c1%0a%3c That's a smart way of %3ca href="http://naxheawukps.com">thkinnig%3c/a> about it.%0a\ No newline at end of file%0a---%0a> Haha. I woke up down today. You've %3ca href="http://cteoycqi.com">chereed%3c/a> me up!%0a\ No newline at end of file%0a
|
||||
host:1485188314=188.143.232.32
|
||||
author:1485016003=Maisyn
|
||||
csum:1485016003=dsB8Qrnci
|
||||
diff:1485016003:1484907651:=1c1%0a%3c Haha. I woke up down today. You've %3ca href="http://cteoycqi.com">chereed%3c/a> me up!%0a\ No newline at end of file%0a---%0a> This arltice keeps it real, no doubt.%0a\ No newline at end of file%0a
|
||||
host:1485016003=188.143.232.32
|
||||
author:1484907651=Lanette
|
||||
csum:1484907651=hIGfwFXztyE
|
||||
diff:1484907651:1421408157:=1c1,353%0a%3c This arltice keeps it real, no doubt.%0a\ No newline at end of file%0a---%0a> (:Audience: authors, admins (intermediate) :)%0a> (:Summary:Listing pages by multiple criteria with templated output:)%0a> PmWiki comes with two directives for generating lists of pages -- [@(:pagelist:)@] and @@[=(:=]searchresults:)@@. Both directives are basically the same and each accepts the parameters documented below. The primary difference between the two is that searchresults generates the "Results of search for ..." and "### pages found out of ### searched" messages around the results.%0a> %0a> The [@(:searchbox:)@] directive generates a search form (input text box) to submit search queries. The markup generally accepts the same parameters as [@(:pagelist:)@], which makes it possible to restrict, order and format searchresults in the same ways that are described below for a [@(:pagelist:)@]. For more information about the [@(:searchbox:)@] directive, and the ways in which it differs from a [@(:pagelist:)@], skip to the section [[#searchbox|below]].%0a> %0a> !! Basic syntax%0a> %0a> * [@(:pagelist:)@] %0a> ->without any arguments shows a bulleted list of all pages, as links, ordered alphabetically and in groups.%0a> * @@[=(:=]pagelist [[#pagelistgroup|group]]=''ab'' \%0a> [[#pagelistname|name]]=''cd'' \%0a> [[#pagelistfmt|fmt]]=''[[page list templates|template]]'' \%0a> [[#pagelistlist|list]]=''ef'' \%0a> [[#pagelistorder|order]]=''gh'' \%0a> [[#pagelistcount|count]]=''123'' \%0a> [[#pagelistlink|link]]=''ij'' \%0a> [[#pagelisttrail|trail]]=''kl'' \%0a> [[#pagelistwrap|wrap]]=''mn'' \%0a> [[#pagelistpasswd|passwd]]=''op'' \%0a> [[#pagelistif|if]]=''qr'' \%0a> [[#pagetextvariables|$:''ptv'']]=''st'' \%0a> [[#pagevariables|$''pv'']]=''uv'' \%0a> [[#pagelistcache|cache]]=0 \%0a> ''[[#pagelistarg|argument]]1'' -''[[#pagelistarg|argument]]2'' ''etc'' \%0a> [[#includevariable|variable]]=''value'' \%0a> [[#pagelistclass|class]]=''class'' \%0a> [[#pagelistrequest|''request=1'']] \%0a> [[#pagelistreq|''req=1'']] \%0a> :)@@ %0a> ->shows a pagelist according to the parameters supplied. Parameters are optional.%0a> * @@[=(:=][[#searchbox|searchbox]] value=''abc'' size=''99'' target=''def'' label="label":)@@%0a> * @@[=(:=][[#searchresults|searchresults]]:)@@%0a> %0a> !! Parameters%0a> [[#pagelistarg]]%0a> Any argument supplied within [@(:pagelist:)@] that isn't in the form @@'key=value'@@ is treated as text that either must (or must not) exist in the page text.%0a> %0a> The minus sign (-) can be used to indicate things that should be excluded. Thus%0a> ->[@(:pagelist trail=PmWiki.DocumentationIndex list=normal apple -pie:)@]%0a> lists all "normal" pages listed in the [[Documentation Index ]] trail that contain the word "apple" but not "pie".%0a> %0a> !!![[#pagetextvariables]]With page text variables%0a> You can also use [[page text variables]] as a ''key'' to list pages according to the existence of a page text variable. Eg : %0a> ->[@(:pagelist $:pagetextvar=avalue:)@]%0a> lists pages having ''$:pagetextvar'' set to ''avalue''.%0a> [[%3c%3c]]%0a> Minus sign (-), wildcards (?*) and a comma separated list of values also works when specifying a selection based on pagetextvariables. Eg :%0a> ->[@(:pagelist $:apagetextvar=t*,-test:)@]%0a> lists pages having $:apagetextvar like 't*' but not 'test'.%0a> [[%3c%3c]]%0a> Examples:%0a> ||width=* class="tabtable" rules=rows%0a> ||PTV is set (is not empty): ||[@(:pagelist $:MyPageTextVariable=- :)@]||%0a> ||PTV is empty or not set:[[%3c%3c]] (ie, is not set to one char followed by 0 or more chars) ||[@(:pagelist $:MyPageTextVariable=-?* :)@]||%0a> ||PTV is not VALUE: ||[@(:pagelist $:MyPageTextVariable=-VALUE :)@]||%0a> ||PTV is set and not YES: ||[@(:pagelist $:MyPageTextVariable=?*,-YES :)@]||%0a> Be aware that if using [@(:pagelist $:MyPTV=$:YourPTV :)@] PTVs include PmWiki formatting, so you may not get the matches you expect. Currently the only way around this is to use wild cards, so if the formatting is embedded you may be out of luck.%0a> %0a> NOTE: Pagelist does not evaluate [[PmWiki/MarkupExpressions]] when working with PTVs. So if your [[page text variables]] is defined using a markup expression to set the value, pagelist will see the literal values of the text of your markup expression rather than the result of your expression. (e.g., the PTV definition [@(:foo:{(substr abcdef 2 4)}:)@] will be seen by pagelist as an open-curly-brace followed by an open-paren followed by s-u-b-s-t-r, etc. rather than being seen as b-c-d-e) Any processing of the markup expression in the output of your pagelist occurs in subsequent rules (after pagelist) within the context of the current page and thus these values cannot be used for sorting or selecting pages. ([[http://thread.gmane.org/gmane.comp.web.wiki.pmwiki.user/60968/focus=60970|source]])%0a> %0a> !!![[#pagevariables]]With page variabLine truncated
|
||||
host:1484907651=188.143.232.32
|
||||
Reference in new issue
Block a user