User:JJR
Microdata formats
- https://www.w3.org/TR/xhtml-rdfa-primer/
- http://microformats.org/wiki/media-info-examples
- https://www.dublincore.org/
microdata
<div itemscope itemtype="https://schema.org/Movie">
- RDFa
- <div vocab="https://schema.org/" typeof="Movie">
Links
- Step_a_Little_Higher/sandbox
- User:JJR/heldby
- User:JJR/nsexample
- https://www.youtube.com/channel/UCiyi7aqzHn98o7OYDcDS8HQ
https://gist.github.com/jdittrich/5611208
batch move
https://www.mediawiki.org/wiki/Manual:MoveBatch.php
https://gist.github.com/karkraeg/57be991d0884811218ec94ecc643c415
toolbar
- https://www.mediawiki.org/wiki/OOUI/Toolbars
- basic doc on modify toolbar: https://www.mediawiki.org/wiki/Extension:WikiEditor/Toolbar_customization
- source for default toolbar: https://phabricator.wikimedia.org/diffusion/EWED/browse/master/modules/jquery.wikiEditor.toolbar.config.js
- https://www.mediawiki.org/wiki/Extension:WikiEditor/Toolbar_customization#Basic_setup
- https://www.mediawiki.org/wiki/Manual:$wgIncludejQueryMigrate
phc
https://www.middlebury.edu/library/special-collections/collections
tpl
my tpls Category: JR templates
Filmjr |title= |embid= |embsv= |heldby= |synop=0 |forma= |year= |up=|next=|prev=|step=1 |lang=English |pbrs= |len=00:00:00 |link= |bw= |ani= |ewid=|oembedid=|mdpi=|oclc= |dopt=2|athumb=<noinclude> {{Documentation}} </noinclude>
tips
oembed https://github.com/StarCitizenWiki/mediawiki-extensions-EmbedVideo/issues/19
Making emptiness and undefinedness equivalent
It is often convenient if assigning the empty string to a parameter has the same effect as not assigning any value to it, as the difference is somewhat abstract, and as mentioned, in some cases there is not even the choice. Also, for example "p=
" may be put for convenience, to be filled in later, and/or meant to make explicit that the template has a parameter p, but at this time we do not give it a value.
Making emptiness and undefinedness equivalent can for example be achieved by exclusively using {{{p|}}}
, not {{{p}}}
and not {{{p|q}}}
for a non-empty q, or for example using {{#if:{{{p|}}}|..{{{p}}}..|..}}
(i.e., using {{{p}}}
only in branches of branching functions where it is defined and non-empty).
preload
Person%3A20240614082904
this almost works... you could title the person with the name of the given film and the role...
add section to arbitrary page
- this doesn't work
- http://ephemeralfilm.info/a/index.php?action=edit§ion=new&pageid=22199§iontitle=Synopsis
- http://ephemeralfilm.info/a/Moving_Image:It%27s_All_Music/edit?section=new&summary=synopsis
- this kind of works
- http://ephemeralfilm.info/a/Moving_Image:It%27s_All_Music/edit?section=new&preloadtitle=Synopsis
- can we tell if the section exists?
Template Tc does not exist
Filmjr exists
no
ff: no
inputBox Preload
Links
- https://www.mediawiki.org/wiki/Extension:InputBox
- https://www.mediawiki.org/w/api.php?action=help&modules=edit
- https://www.mediawiki.org/wiki/Manual:Parameters_to_index.php
Movies to Watch
Colors
- light green
- #e2f8f6
- light purple
- #c9bddc
- yellow tan
- #f8f6e3
- browner tan
- #f2ece5
MW Messages
- https://www.mediawiki.org/wiki/Help:System_message
- https://translatewiki.net/wiki/User:Collinj/MesssageTypes
transclude section
"When you find a girl whose hair feels like hair..."
transclude templatedata
{{msgnw:Template:Filmjr/doc/pTitle}}
kind of works?
The title of the short film. Do not use colons, brackets, or other types of parenthesis. Dashes are permitted. If this short film's name was to be placed upon a marque or a printed program, how should it be rendered? Supply that here. This title will also be used to provide a display name for the page itself, and a title for embedded video if one is supplied.
kind of works:
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | the value of synopsis passed here by filmjr | String | required |
this does not work:
{{#tag:templatedata|{{Template:DescUnpack/doc}}
Date
Scribunto
Hello myWorld
10:20:30
0:00:34
Yesno
- yes to 1
- 1
- no to zero
- 0
interwiki
w:Sunflower wikipedia:Sunflower
google:regular expression cheatsheet
Interwiki links are internal-style links to other websites (which do not have to be wikis, despite the name).
For example, you can link to the article https://en.wikipedia.org/wiki/Sunflower by typing [[wikipedia:Sunflower]]
or, on this wiki, the shorter [[w:Sunflower]]
. Both will result in a link wikipedia:Sunflower.
This works because by default MediaWiki configures wikipedia:
as an "interwiki prefix" that turns into https://en.wikipedia.org/wiki/ when used inside [[ ]]. (It may not work if the admin of your wiki has changed the setting.) Unlike internal links, interwiki links do not use page existence detection, so an interwiki link will appear blue even if the page does not exist on the remote wiki.
Similar to internal page links, you can create piped links, with alternate link label, e.g. [[wikipedia:Sunflower|big yellow flower]]
is the link big yellow flower and [[wikipedia:Sunflower|]]
is the link Sunflower.
Basically, interwiki links are abbreviations for commonly-used longer external links. A very similar link could be created as [https://en.wikipedia.org/wiki/Sunflower big yellow flower]
.
More details are at Manual:Interwiki and m:Help:Interwiki linking. Your wiki may have a Special:Interwiki page listing the interwiki prefixes it supports; Template:Git file. You can edit the interwiki table on your site.
Interlanguage links
When a link is both interwiki and interlanguage, the order is wikipedia:en:Sunflower.
For more information, see [[<tvar name=meta>m:Help:Interwiki linking#Interlanguage links</tvar>|m:Help:Interwiki linking#Interlanguage links]].
time
duration and release date
I have a date on <time datetime="2008-02-14 20:00">Valentines day</time>
explode
you
And
JJR
cool subst
{{subst:#explode:{{subst:PAGENAME}}| |0}}
{{subst:#explode:{{subst:PAGENAME}}| |0}}
page type module
page
page