Spr1ggs test: Difference between revisions

From [STAGING] Destiny Wiki
Jump to navigation Jump to search
(Parser function)
(Category tree)
Line 102: Line 102:


{{#ifexpr: 1 > 0 | yes | no }}
{{#ifexpr: 1 > 0 | yes | no }}
{{#ifexpr: 1 < 0 | yes | no }}
{{#ifexpr: 1 < 0 | yes | no }}
=== Category Tree ===
<categorytree mode="pages">DGG_Chat</categorytree>

Revision as of 18:59, 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


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

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


this looks like admin shit

EmbedVideo


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

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

Category Tree