DErik's Test Page Renamed: Difference between revisions
No edit summary |
No edit summary |
||
| Line 26: | Line 26: | ||
*mail when updated (this is why we didn’t get mail earilier in out test!) | *mail when updated (this is why we didn’t get mail earilier in out test!) | ||
*mail when talk updated (another feature to test..) | *mail when talk updated (another feature to test..) | ||
Section headings with anchor | |||
<nowiki><div id="Unique anchor name 1">optional text</div></nowiki> | |||
<nowiki><span id="Unique anchor name 2">optional text</span></nowiki> | |||
Rendered block-level and inline, respectively. Doing this would allow for <code><nowiki>[[#Unique anchor name 1]]</nowiki></code> on the same page or <code><nowiki>[[Help:Links#Unique anchor name 1]]</nowiki></code> on a different page. Omit the "optional text" for an invisible anchor. | |||
Setting an anchor in a section heading | |||
==<nowiki><span id="Alternate Section Title"></span></nowiki>Section heading== | |||
Note the placement. This must be a "span" tag, not a "div". (Such anchors allow sections to be retitled without breaking incoming links.) | |||
optional text | |||
optional text | |||
Section heading | |||
---- | |||
The following was copied from the [https://mediawiki.org/wiki/Help:Links Help:Links] help page. <span style="font-family:'Times New Roman'; color:green;">Not sure why the <translate> and other tags are here. They don't show up on the Help:Links page as they get interpreted by the MediaWiki, I assume to do language translation for <translate>, but what <tvar> is for I have no idea. I think <syntaxhighlight> should also be recognized to highlight various [computer programming] languages. We may need to include some extension to get these to be properly recognized.</span> | |||
{| border="1" class="wikitable" | |||
! <translate><!--T:116--> Name</translate>/<translate><!--T:6--> Description</translate> | |||
! <translate><!--T:117--> Syntax</translate> | |||
! <translate><!--T:118--> Result</translate> | |||
|- | |||
| <translate><!--T:17--> Link to an anchor on the same page</translate> | |||
|<syntaxhighlight lang="moin">[[#See also]]</syntaxhighlight> | |||
<translate><!--T:77--> Anchors are provided automatically on [[<tvar name=formatting>Special:MyLanguage/Help:Formatting</tvar>|section headings]] and to the [[<tvar name=1>#top</tvar>|top]] (<tvar name=2><code><nowiki>[[#top]]</nowiki></code></tvar>) of the page.</translate> | |||
|[[#See also]] | |||
|- | |||
| <translate><!--T:19--> Setting an anchor for incoming links</translate> | |||
|<syntaxhighlight lang=html> | |||
<div id="Unique anchor name 1">optional text</div> | |||
<span id="Unique anchor name 2">optional text</span> | |||
</syntaxhighlight> | |||
<translate><!--T:92--> Rendered [[w:HTML element#Document body elements|block-level and inline]], respectively.</translate> | |||
<translate><!--T:132--> Doing this would allow for <code><nowiki>[[#Unique anchor name 1]]</nowiki></code> on the same page or <code><nowiki>[[</nowiki>{{FULLPAGENAME}}#Unique anchor name 1]]</code> on a different page.</translate> | |||
<translate><!--T:133--> Omit the "optional text" for an invisible anchor.</translate> | |||
<translate> | |||
<!--T:97--> | |||
Setting an anchor in a section heading | |||
</translate> | |||
<syntaxhighlight lang=html> | |||
==<span id="Alternate Section Title"></span>Section heading== | |||
</syntaxhighlight> | |||
<translate><!--T:98--> Note the placement.</translate> | |||
<translate><!--T:134--> This must be a "span" tag, not a "div".</translate> | |||
<translate><!--T:135--> (Such anchors allow sections to be retitled without breaking incoming links.)</translate> | |||
| | |||
<div id="<translate nowrap><!--T:93--> Unique anchor name 1</translate>"><translate><!--T:94--> optional text</translate></div> | |||
<span id="<translate nowrap><!--T:95--> Unique anchor name 2</translate>"><translate><!--T:96--> optional text</translate></span> | |||
<div style="color: #000000; background: none; overflow: hidden; page-break-after: avoid; font-size: 1.5em; font-family: Georgia,Times,serif; margin-top: 1em; margin-bottom: 0.25em; line-height: 1.3; padding: 0; border-bottom: 1px solid #AAAAAA;"><span id="Alternate Section Title"></span>Section heading</div> | |||
|- | |||
| <translate><!--T:20--> Link to an anchor at another page</translate> | |||
|<syntaxhighlight lang=moin>[[Help:Images#Supported media types for images]]</syntaxhighlight> | |||
|[[Help:Images#Supported media types for images]] | |||
|- | |||
| <translate><!--T:21--> Link to the current page's talk page</translate> | |||
|<syntaxhighlight lang=moin>[[{{TALKPAGENAME}}|Discussion]]</syntaxhighlight> | |||
<translate><!--T:22--> See also [[<tvar name=page-names>Special:MyLanguage/Help:Magic_words#Page_names</tvar>|Help:Magic words#Page names]]</translate> | |||
|[[{{TALKPAGENAME}}|Discussion]] | |||
|- | |||
|{{anchor|Subpage_feature}}<translate><!--T:23--> Link to a subpage</translate> | |||
|<syntaxhighlight lang=moin>[[/example]]</syntaxhighlight> | |||
<translate><!--T:78--> Shortcut for <tvar name=1><syntaxhighlight lang="moin" inline>[[Help:Links/example|/example]]</syntaxhighlight></tvar>.</translate> <translate><!--T:122--> See also <tvar name=1>{{ll|Help:Subpages}}</tvar>.</translate> | |||
|[[Help:Links/example|/example]] | |||
|- | |||
| <translate><!--T:24--> Link to a subpage without the leading slash</translate> | |||
|<syntaxhighlight lang=moin>[[/example/]]</syntaxhighlight> | |||
<translate><!--T:99--> Shortcut for <tvar name=1><syntaxhighlight lang="moin" inline>[[Help:Links/example|example]]</syntaxhighlight></tvar>.</translate> | |||
|[[Help:Links/example|example]] | |||
|- | |||
| <translate><!--T:120--> Link to a subpage of parent page for current page.</translate> <translate><!--T:123--> Can only be used on subpages.</translate> | |||
|<syntaxhighlight lang=moin>[[../example2]]</syntaxhighlight> | |||
<translate><!--T:121--> Shortcut for <tvar name=1><syntaxhighlight lang="moin" inline>[[Help:Links/example2|example2]]</syntaxhighlight></tvar> if you post the link on <tvar name=2><syntaxhighlight lang="moin" inline>[[Help:Links/example|example]]</syntaxhighlight></tvar> page.</translate> | |||
|[[Help:Links/example2|example2]] | |||
|- | |||
| <translate><!--T:25--> Visible link to a category page</translate> | |||
|<syntaxhighlight lang=moin>[[:Category:Help]]</syntaxhighlight> | |||
<translate><!--T:114--> Without the leading colon the link would not be visible and the page would instead be placed into the category; this is a very common mistake.</translate> | |||
<translate><!--T:26--> See also <tvar name=1>{{ll|Help:Categories}}</tvar>.</translate> | |||
|[[:Category:Help]] | |||
|- | |||
| <translate><!--T:27--> Visible link to an image or media file</translate> | |||
|id="file-links"|<syntaxhighlight lang=moin> | |||
[[:File:Example.jpg]] | |||
[[:File:Example.jpg|file label]] | |||
[[Media:Example.jpg]] | |||
[[Media:Example.jpg|file label]] | |||
</syntaxhighlight> | |||
<translate><!--T:100--> Without the leading colon on the "File:" examples, the images would actually be displayed.</translate> | |||
<translate><!--T:124--> See also <tvar name=1>{{ll|Help:Images}}</tvar>.</translate> | |||
<translate> | |||
<!--T:112--> | |||
The <tvar name=1><code>Media:</code></tvar> prefix is used to link directly to the uploaded file, rather than the file-information page.</translate> | |||
| | |||
[[:File:Example.jpg]] | |||
[[:File:Example.jpg|file label]] | |||
[[Media:Example.jpg]] | |||
[[Media:Example.jpg|file label]] | |||
|- | |||
| <translate><!--T:43--> Mailto link</translate> | |||
|<pre>[mailto:info@example.org email me]</pre> | |||
|[mailto:info@example.org email me] | |||
|- | |||
| <translate><!--T:44--> Mailto named with subject line and body</translate> | |||
|<pre>[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info]</pre> | |||
|[mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info] | |||
|} | |||
---- Note the table ends here. | |||
Revision as of 14:45, 3 April 2023
This is a test page for DErik.
ĤêĂÄ crazy special chars for fun..😃😝
This is another test on a page that is just for that, testing. I'm using the WYSIWYG editor to just type stuff in...
- Bullet, lust like it would be
- tab to get a second indent..
A link? Amazone bold...

BIG..
th8is is a n edit by eric
In the main body, I changed five things.
- FileUpload to true
- from: address for password requests (RCGRS_Wiki_Admins@rcgrs.com)
- from: address for emegency contacts (RCGRS_Wiki_Admins@rcgrs.com)
- mail when updated (this is why we didn’t get mail earilier in out test!)
- mail when talk updated (another feature to test..)
Section headings with anchor
<div id="Unique anchor name 1">optional text</div> <span id="Unique anchor name 2">optional text</span>
Rendered block-level and inline, respectively. Doing this would allow for [[#Unique anchor name 1]] on the same page or [[Help:Links#Unique anchor name 1]] on a different page. Omit the "optional text" for an invisible anchor.
Setting an anchor in a section heading
==<span id="Alternate Section Title"></span>Section heading==
Note the placement. This must be a "span" tag, not a "div". (Such anchors allow sections to be retitled without breaking incoming links.)
optional text optional text
Section heading
The following was copied from the Help:Links help page. Not sure why the <translate> and other tags are here. They don't show up on the Help:Links page as they get interpreted by the MediaWiki, I assume to do language translation for <translate>, but what <tvar> is for I have no idea. I think <syntaxhighlight> should also be recognized to highlight various [computer programming] languages. We may need to include some extension to get these to be properly recognized.
| <translate> Name</translate>/<translate> Description</translate> | <translate> Syntax</translate> | <translate> Result</translate> |
|---|---|---|
| <translate> Link to an anchor on the same page</translate> | <syntaxhighlight lang="moin">#See also</syntaxhighlight>
<translate> Anchors are provided automatically on [[<tvar name=formatting>Special:MyLanguage/Help:Formatting</tvar>|section headings]] and to the [[<tvar name=1>#top</tvar>|top]] (<tvar name=2> |
#See also |
| <translate> Setting an anchor for incoming links</translate> | <syntaxhighlight lang=html>
optional text
optional text </syntaxhighlight> <translate> Rendered block-level and inline, respectively.</translate>
<translate> Doing this would allow for <translate> Setting an anchor in a section heading </translate> <syntaxhighlight lang=html> Section heading</syntaxhighlight> <translate> Note the placement.</translate> <translate> This must be a "span" tag, not a "div".</translate> <translate> (Such anchors allow sections to be retitled without breaking incoming links.)</translate> |
<div id="<translate nowrap> Unique anchor name 1</translate>"><translate> optional text</translate>
<span id="<translate nowrap> Unique anchor name 2</translate>"><translate> optional text</translate> |
| <translate> Link to an anchor at another page</translate> | <syntaxhighlight lang=moin>Help:Images#Supported media types for images</syntaxhighlight> | Help:Images#Supported media types for images |
| <translate> Link to the current page's talk page</translate> | <syntaxhighlight lang=moin>Discussion</syntaxhighlight>
<translate> See also [[<tvar name=page-names>Special:MyLanguage/Help:Magic_words#Page_names</tvar>|Help:Magic words#Page names]]</translate> |
Discussion |
| Template:Anchor<translate> Link to a subpage</translate> | <syntaxhighlight lang=moin>/example</syntaxhighlight>
<translate> Shortcut for <tvar name=1><syntaxhighlight lang="moin" inline>/example</syntaxhighlight></tvar>.</translate> <translate> See also <tvar name=1>Template:Ll</tvar>.</translate> |
/example |
| <translate> Link to a subpage without the leading slash</translate> | <syntaxhighlight lang=moin>/example/</syntaxhighlight>
<translate> Shortcut for <tvar name=1><syntaxhighlight lang="moin" inline>example</syntaxhighlight></tvar>.</translate> |
example |
| <translate> Link to a subpage of parent page for current page.</translate> <translate> Can only be used on subpages.</translate> | <syntaxhighlight lang=moin>[[../example2]]</syntaxhighlight>
<translate> Shortcut for <tvar name=1><syntaxhighlight lang="moin" inline>example2</syntaxhighlight></tvar> if you post the link on <tvar name=2><syntaxhighlight lang="moin" inline>example</syntaxhighlight></tvar> page.</translate> |
example2 |
| <translate> Visible link to a category page</translate> | <syntaxhighlight lang=moin>Category:Help</syntaxhighlight>
<translate> Without the leading colon the link would not be visible and the page would instead be placed into the category; this is a very common mistake.</translate> <translate> See also <tvar name=1>Template:Ll</tvar>.</translate> |
Category:Help |
| <translate> Visible link to an image or media file</translate> | <syntaxhighlight lang=moin>
file label </syntaxhighlight> <translate> Without the leading colon on the "File:" examples, the images would actually be displayed.</translate> <translate> See also <tvar name=1>Template:Ll</tvar>.</translate> <translate>
The <tvar name=1> |
|
| <translate> Mailto link</translate> | [mailto:info@example.org email me] |
email me |
| <translate> Mailto named with subject line and body</translate> | [mailto:info@example.org?Subject=URL%20Encoded%20Subject&body=Body%20Text info] |
info |
Note the table ends here.