Spr1ggs test: Difference between revisions

From [STAGING] Destiny Wiki
Jump to navigation Jump to search
(Category tree)
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 5: Line 5:


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


:[[Soy-Ups]]
:[[Huffdaddy]]


<pre style="color: red">
NOTE: broken templates or other unnecessary info in bio/top of page will also show up in pop-up preview
</pre>
=== MissedPages ===
=== 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
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
Line 16: Line 20:


https://wiki.omniliberal.dev/view/Special:MissedPages
https://wiki.omniliberal.dev/view/Special:MissedPages
<pre style="color: red">NOTE: works as expected, needs admin for edit</pre>


=== SpamBlacklist ===
=== SpamBlacklist ===
Line 23: Line 29:




this looks like admin shit
(link to test if blocked https://tetr.io/ )


<pre style="color: red">NOTE: works as expected, needs admin for edit</pre>
=== EmbedVideo ===
=== EmbedVideo ===
<youtube> https://www.youtube.com/watch?v=80BwqQQY31w|500|right|Example description|frame}} </youtube>
https://www.mediawiki.org/wiki/Extension:EmbedVideo_(fork)
{{#ev:youtube|https://www.youtube.com/watch?v=Euq7uTeYCP0|200px|right| '''Painstiny LULW'''}}
 
{{#ev:twitch|https://www.twitch.tv/xqc|200px|left| '''juicer live stream'''}}
 
{{#ev:soundcloud|https://soundcloud.com/10o3bolit/comfyee|150x150px|center| '''comfYEE'''}}
 
 
 
<youtube> https://www.youtube.com/watch?v=80BwqQQY31w}} </youtube>
 
{|class="mw-collapsible mw-collapsed wikitable"
! |...embed video in collapsible table
|-
|<youtube>https://youtu.be/iN9-7wLVUgg?t=27s</youtube>
|-
|let
|-
|them
|-
|eat
|-
|cake
|-
|}
 
{| class="wikitable"
|-
|<youtube>https://www.youtube.com/watch?v=tJjhObngcxI</youtube>
|-
|im
|-
|begging
|-
|you
|-
|}
 
{{#ev:kick|https://kick.com/video/89c2450b-b301-4133-860a-267d424d1760
|200px|left| '''Cenk Debate'''}}
 
-not surprising but noted




<pre style="color: red">
NOTE: video timestamps/clips may not work on embed, embed window size/alignment with:
{{#ev=|||}} parser. 150px+ for usability
</pre>


=== Template Data ===
=== Template Data ===
Line 87: Line 139:
}
}
</templatedata>
</templatedata>
<pre style="color: red">
NOTE: works as expected.
</pre>


=== Parser functions ===
=== Parser functions ===
Line 98: Line 154:
{{#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">
NOTE: works as expected. *not sure if it solves issues Kizmut had.
</pre>
=== Category Tree ===
=== Category Tree ===
<categorytree mode="pages">DGG_Chat</categorytree>
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">Person</categorytree>
 
<pre style="color: red">
NOTE: works as expected.
</pre>
=== 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 {{#tip-text: tooltip | obamna}}
 
{{#tip-text: Destiny| Steven Kenneth Bonnell the Second}} is my {{#tip-text: bestfriend.| He don't know you lil bro. }}
 
 
{{#tip-text: <pre style="color: green">Destiny</pre>| Steven Kenneth Bonnell the Second}} is my {{#tip-text: bestfriend.| He don't know you lil bro. }}
 
<pre style="color: red">
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.
</pre>
<span title="LULW"><span style="color: green">'''Obamna'''</pre></span>
^fixes color issue, but not as visually appealing help/tip pop up
(works already on the live wiki with no extension)

Latest revision as of 02:31, 3 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: works as expected, needs admin for edit

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: works as expected, needs admin for edit

EmbedVideo

https://www.mediawiki.org/wiki/Extension:EmbedVideo_(fork)

Painstiny LULW
juicer live stream
comfYEE


...embed video in collapsible table
let
them
eat
cake
im
begging
you

VideoService "kick" not recognized.

-not surprising but noted


NOTE: video timestamps/clips may not work on embed, embed window size/alignment with:
 {{#ev=|||}} parser. 150px+ for usability 

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: works as expected.

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-00000015-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.
Obamna

^fixes color issue, but not as visually appealing help/tip pop up (works already on the live wiki with no extension)