public interface Pollwiki
Modifier and Type | Method and Description |
---|---|
StringBuilder |
appendPageSpecifier(String encodedPageName)
Appends an already encoded page name to the wiki base URL.
|
boolean |
maybeUgly()
Answers whether the wiki URL might be based on the standard access URL ending in
"index.php" for example, or is definitely based on a pretty alias per
$wgUsePathInfo . |
PipeRecognizer |
pipeRecognizer()
A recognizer of pipes in the pollwiki.
|
String |
positionPageName(String personName,
String pollName)
Returns the page name of the specified position.
|
StringBuilder appendPageSpecifier(String encodedPageName)
String href = pollwiki.appendPageSpecifier( "Main_page" ).toString();
boolean maybeUgly()
$wgUsePathInfo
.PipeRecognizer pipeRecognizer()
String positionPageName(String personName, String pollName)
pollName
- this parameter is ignored if the named person is actually a
pipe.PositionID.pageName(String,String,PipeRecognizer)
,
Category:Position