Difference between revisions of "Extension:Madness"
A fragment of the Garden of Remembering
(Docs) |
|||
Line 20: | Line 20: | ||
== To-do == | == To-do == | ||
Magic word | === Magic word === | ||
*By itself: select random line | |||
*Only a number: select that line | |||
*Other parameters: list | |||
<pre><nowiki> | |||
{{#madness}} | |||
{{#madness: lineID}} | |||
{{#madness: all}} | |||
{{#madness: all|limit = 5|minlength = 60|maxlength = 200|query = cats|order = random|format = list}} | |||
Options: | |||
limit: (all), numeric | |||
minlength: (all), numeric | |||
maxlength: (all), numeric | |||
query: (none), string | |||
order: ('asc'), 'desc', 'random' | |||
format: ('list'), 'inline', 'paragraph' | |||
No matched parameters: 'invalid query' | |||
No matched results: 'no results' | |||
Other things: | |||
source, speaker | |||
source, article | |||
personal/impersonal | |||
timestamp | |||
user | |||
</nowiki></pre> | |||
=== Special:Madness === | |||
* Implement; duplicates 'all' list functionality, but with added tools | * Implement; duplicates 'all' list functionality, but with added tools | ||
* Actions for lines: Add, delete, edit, view | * Actions for lines: Add, delete, edit, view | ||
* Add force update from file | * Add force update from file | ||
* Some sort of revision history? | * Some sort of revision history? |
Revision as of 01:36, 29 September 2015
Query the madlist.
Supported
Random lines:
{{#madness}}
Specific lines:
{{#madness: lineID}}
Full list:
{{#madness: all}}
To-do
Magic word
- By itself: select random line
- Only a number: select that line
- Other parameters: list
{{#madness}} {{#madness: lineID}} {{#madness: all}} {{#madness: all|limit = 5|minlength = 60|maxlength = 200|query = cats|order = random|format = list}} Options: limit: (all), numeric minlength: (all), numeric maxlength: (all), numeric query: (none), string order: ('asc'), 'desc', 'random' format: ('list'), 'inline', 'paragraph' No matched parameters: 'invalid query' No matched results: 'no results' Other things: source, speaker source, article personal/impersonal timestamp user
Special:Madness
- Implement; duplicates 'all' list functionality, but with added tools
- Actions for lines: Add, delete, edit, view
- Add force update from file
- Some sort of revision history?