Spr1ggs test: Difference between revisions
(testing) |
No edit summary |
||
Line 62: | Line 62: | ||
|- | |- | ||
|} | |} | ||
<pre style="color: red"> | <pre style="color: red"> | ||
NOTE: video timestamps may not work on embed, looking into it. | NOTE: video timestamps may not work on embed, looking into it along with embed window size. | ||
</pre> | </pre> | ||
=== Template Data === | === Template Data === | ||
<templatedata> | <templatedata> | ||
Line 122: | Line 124: | ||
} | } | ||
</templatedata> | </templatedata> | ||
<pre style="color: red"> | |||
Testing. | |||
</pre> | |||
=== Parser functions === | === Parser functions === | ||
Line 140: | Line 146: | ||
{{#ifexpr: 1 < 0 | yes | no }} | {{#ifexpr: 1 < 0 | yes | no }} | ||
<pre style="color: red"> | |||
Testing but seems to work as expected. | |||
</pre> | |||
=== Category Tree === | === Category Tree === | ||
The CategoryTree extension provides a dynamic view of the wiki's category structure as a tree. It uses AJAX to load parts of the tree on demand. | The CategoryTree extension provides a dynamic view of the wiki's category structure as a tree. It uses AJAX to load parts of the tree on demand. | ||
<categorytree mode="pages">DGG_Chat</categorytree> | :::*<categorytree mode="pages">DGG_Chat</categorytree> | ||
<categorytree mode="pages">Person</categorytree> | ;<categorytree mode="pages">Person</categorytree> | ||
<pre style="color: red"> | <pre style="color: red"> | ||
NOTE: works as expected. | |||
</pre> | </pre> | ||
=== SimpleToolTip === | === SimpleToolTip === | ||
Line 163: | Line 173: | ||
NOTE: color text issues when paired with tooltip. | NOTE: color text issues when paired with tooltip. | ||
NOTE: tooltip | NOTE: tooltip function displays after saving. | ||
Page preview during editing does not show the tooltip alt text until published. | Page preview during editing does not show the tooltip alt text until published. | ||
</pre> | </pre> |
Revision as of 22:41, 2 February 2024
Testing new extensions
Popups
https://www.mediawiki.org/wiki/Extension:Popups
Displays page and reference previews when hovering over a link to an article or respectively to a reference. The former consists of summaries of an article's content, the latter shows the full content of the reference.
NOTE: broken templates or other unnecessary info in bio/top of page will also show up in pop-up preview
MissedPages
The MissedPages extension tracks every time a site visitor tries to go to a wiki page that doesn't exist, and gives site editors a easy-to-use form with which to track the most popular missed pages and also to redirect these to existing pages
https://www.mediawiki.org/wiki/Extension:MissedPages
https://wiki.omniliberal.dev/view/Special:MissedPages
NOTE: database query errors/503, needs admin or is broken
SpamBlacklist
prevents edits that contain URLs whose domains match regular expression patterns defined in specified files or wiki pages and registration by users using specified email addresses.
https://www.mediawiki.org/wiki/Extension:SpamBlacklist
(link to test if blocked https://tetr.io/ )
NOTE: database query errors/503, needs admin or is broken
EmbedVideo
...embed video in collapsible table |
---|
let |
them |
eat |
cake |
im |
begging |
you |
NOTE: video timestamps may not work on embed, looking into it along with embed window size.
Template Data
Label unsigned comments in a conversation.
Parameter | Description | Type | Status | |
---|---|---|---|---|
User's name | user 1 | User name of person who forgot to sign their comment. | User | required |
Date | date 2 | Timestamp of when the comment was posted, in YYYY-MM-DD format.
| Unknown | suggested |
Year | year | no description | Number | optional |
Month | month | no description | Number | optional |
Day | day | no description | Number | optional |
comment | comment | no description | Unknown | optional |
Testing.
Parser functions
https://workingwithmediawiki.com/book/chapter11.html https://portability.fandom.com/wiki/Parser_function Whereas a tag extension is expected to take unprocessed text and return HTML to the browser, a parser function can 'interact' with other wiki elements in the page. For example, the output of a parser function could be used as a template parameter or in the construction of a link.
syntax: {{ #functionname: param1 | param2 | param3 }}
No height entered.
Seas It's some other season!
yes
no
Testing but seems to work as expected.
Category Tree
The CategoryTree extension provides a dynamic view of the wiki's category structure as a tree. It uses AJAX to load parts of the tree on demand.
NOTE: works as expected.
SimpleToolTip
The SimpleTooltip extension adds support for basic tooltips. It uses the Tooltipster Library to do so.
https://www.mediawiki.org/wiki/Extension:SimpleTooltip_(Universal-Omega)
the is a test for the tooltip
Destiny is my bestfriend.
'"`UNIQ--pre-00000010-QINU`"' is my bestfriend.
NOTE: color text issues when paired with tooltip. NOTE: tooltip function displays after saving. Page preview during editing does not show the tooltip alt text until published.