Diff: Help/TitleSearchPlugin
Note: You are viewing an old revision of this page. View the current version.
Differences between version 2 and previous revision of Help/TitleSearchPlugin.
Other diffs: Previous Major Revision, Previous Author
Newer page: | version 2 | Last edited on 22 May 2014 3:01 | by harold | Revert |
Older page: | version 1 | Last edited on 17 January 2022 18:35 | by harold | Revert |
@@ -9,43 +9,42 @@
}}}
== Arguments ==
-All [[Help:PageList|PageList]] arguments (except //paganame//)
,
-
plus the following ones:
+All [[Help:PageList|PageList]] arguments, plus the following ones:
{| class="bordered"
|-
! Argument
! Description
! Default value
|-
| **s**
-| String
to search
-| //none// (mandatory argument)
+| string
to search
+| //none//
|-
| **auto_redirect**
-| Boolean. If
true and only one page is found, this page is displayed immediately
+| if
true and only one page is found, this page is displayed immediately
| false
|-
| **noheader**
-| Boolean. If true, header should be omitted.
+|
| false
|-
| **exclude**
-| Comma-separated list of pages to exclude
+|
| false
|-
| **info**
-| Info to display in the table
+|
| false
|-
| **case_exact**
-| Boolean. If true, search with case exact.
+|
| false
|-
| **regex**
-| Type of regular expression used for searching
+|
| auto
|-
| **format**
|
@@ -66,11 +65,9 @@
== See Also ==
* [[Help:FullTextSearchPlugin]]
* [[Help:ExternalSearchPlugin]]
* [[Help:InterWikiSearchPlugin]]
-* [[Help:LinkSearchPlugin]]
-* [[Help:SemanticSearchPlugin]]
<noinclude>
----
[[PhpWikiDocumentation]] [[CategoryWikiPlugin]]
</noinclude>
version 2
The TitleSearch plugin displays results of pagename search.
If only one page is found and auto_redirect is true, this page is displayed immediately, otherwise the found page list is displayed.
Usage
<?plugin-form TitleSearch arguments ?>
Arguments
All PageList arguments, plus the following ones:
Argument |
Description |
Default value |
---|---|---|
s |
string to search |
none |
auto_redirect |
if true and only one page is found, this page is displayed immediately |
false |
noheader |
false |
|
exclude |
false |
|
info |
false |
|
case_exact |
false |
|
regex |
auto |
|
format |
false |
Example
<?plugin-form TitleSearch ?>