Diff: Help/FuzzyPagesPlugin
Differences between current version and previous revision of Help/FuzzyPagesPlugin.
Other diffs: Previous Major Revision, Previous Author
Newer page: | version 6 | Last edited on 17 January 2022 3:00 | by harold | |
Older page: | version 5 | Last edited on 9 September 2007 0:16 | by harold | Revert |
@@ -1,27 +1,46 @@
-_short description_
+The **~FuzzyPages** [[Help:WikiPlugin|plugin]] will search for similar page titles.
-! Usage
-<verbatim>
- <?plugin FuzzyPages ?>
-</verbatim>
+Pages are considered similar by averaging the similarity scores of
+the spelling comparison and the metaphone comparison for each page
+title in the database (PHP's metaphone() is an improved soundex
+function).
-! Arguments
+* https://www.php.net/manual/en/function.similar-text.php
+* https://www.php.net/manual/en/function.metaphone.php
-page _(default: current
pagename)_:
- The page to execute upon.
+== Usage ==
+{{{
+<<FuzzyPages s=
pagename>>
+}}}
-! Example
+== Arguments ==
-<verbatim>
-<?plugin FuzzyPages ?>
-<
/verbatim>
+{| class="bordered"
+|-
+! Argument
+! Description
+! Default value
+|-
+| **s**
+| Pagename to look for
+|
//None// (mandatory argument)
+|}
-<?plugin FuzzyPages ?>
+== Example ==
-! Author
-PhpWiki:ReiniUrban
+{{{
+<<FuzzyPages s=HomePage>>
+}}}
-! See Also
+<<FuzzyPages s=HomePage>>
+== Author ==
+* [[Help:Reini Urban|Reini Urban]]
+
+== See Also ==
+* [[Help:LikePagesPlugin]]
+
+<noinclude>
----
-PhpWikiDocumentation Help:WikiPlugin
+[[
PhpWikiDocumentation]] [[CategoryWikiPlugin]]
+</noinclude>
current version
The FuzzyPages plugin will search for similar page titles.
Pages are considered similar by averaging the similarity scores of the spelling comparison and the metaphone comparison for each page title in the database (PHP's metaphone() is an improved soundex function).
https://www.php.net/manual/en/function.similar-text.php
https://www.php.net/manual/en/function.metaphone.php
Usage
<<FuzzyPages s=pagename>>
Arguments
Argument |
Description |
Default value |
---|---|---|
s |
Pagename to look for |
None (mandatory argument) |
Example
<<FuzzyPages s=HomePage>>