Spr1ggs test: Difference between revisions

From [STAGING] Destiny Wiki
Jump to navigation Jump to search
No edit summary
(testing)
Line 126: Line 126:


<pre style="color: red">
<pre style="color: red">
Testing.
NOTE: testing.
</pre>
</pre>


Line 139: Line 139:
{{#if:{{{height|}}}|The height is {{{height|}}}.|No height entered.}}
{{#if:{{{height|}}}|The height is {{{height|}}}.|No height entered.}}


Seas
Seasons:
{{#switch: {{{Season|}}} | Summer = How nice, it's summer! | Winter = Brr, it's winter! | It's some other season! }}
{{#switch: {{{Season|}}} | Summer = How nice, it's summer! | Winter = Brr, it's winter! | It's some other season! }}


{{#ifexpr: 1 > 0 | yes | no }}
 
{{#titleparts: *Popups/*MissedPages/*SpamBlacklist/*EmbedVideo/*ParserFunctions | | 5}}


{{#ifexpr: 1 < 0 | yes | no }}
{{#ifexpr: 1 < 0 | yes | no }}
{{#if: not empty=yes | yes | no }}
{{#if:  | yes | no }}
{{#if:  | yes | <pre style="color: red">no</pre> }}
   
   
<pre style="color: red">
<pre style="color: red">
Testing but seems to work as expected.
NOTE: works as expected. *not sure if it solves issues Kizmut had.
</pre>
</pre>



Revision as of 23:49, 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.

Soy-Ups
Huffdaddy
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

test

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.

Template parameters

ParameterDescriptionTypeStatus
User's nameuser 1

User name of person who forgot to sign their comment.

Userrequired
Datedate 2

Timestamp of when the comment was posted, in YYYY-MM-DD format.

Auto value
{{subst:#time:Y-m-d}}
Unknownsuggested
Yearyear

no description

Numberoptional
Monthmonth

no description

Numberoptional
Dayday

no description

Numberoptional
commentcomment

no description

Unknownoptional
NOTE: 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.

Seasons: It's some other season!


  • ParserFunctions

no


yes

no

no


NOTE: works as expected. *not sure if it solves issues Kizmut had.

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-00000011-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.