Spr1ggs test: Difference between revisions

From [STAGING] Destiny Wiki
Jump to navigation Jump to search
(embed video)
(template data)
Line 27: Line 27:
=== EmbedVideo ===
=== EmbedVideo ===
<youtube> https://www.youtube.com/watch?v=80BwqQQY31w|500|right|Example description|frame}} </youtube>
<youtube> https://www.youtube.com/watch?v=80BwqQQY31w|500|right|Example description|frame}} </youtube>
=== Template Data ===
<templatedata>
{
    "description": "Label unsigned comments in a conversation.",
    "params": {
        "user": {
            "label": "User's name",
            "type": "wiki-user-name",
            "required": true,
            "description": "User name of person who forgot to sign their comment.",
            "aliases": ["1"]
        },
        "date": {
            "label": "Date",
            "suggested": true,
            "description": {
                "en": "Timestamp of when the comment was posted, in YYYY-MM-DD format."
            },
            "aliases": ["2"],
            "autovalue": "{{subst:#time:Y-m-d}}"
        },
        "year": {
            "label": "Year",
            "type": "number"
        },
        "month": {
            "label": "Month",
            "inherits": "year"
        },
        "day": {
            "label": "Day",
            "inherits": "year"
        },
        "comment": {
            "required": false
        }
    },
    "sets": [
        {
            "label": "Date",
            "params": ["year", "month", "day"]
        }
    ],
    "maps": {
        "ExampleConsumer": {
            "foo": "user",
            "bar": ["year", "month", "day"],
            "quux": [
                "date",
                ["day", "month"],
                ["month", "year"],
                "year"
            ]
        }
    }
}
</templatedata>

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