Wicidestun
cywikisource
https://cy.wikisource.org/wiki/Hafan
MediaWiki 1.47.0-wmf.3
first-letter
Media
Arbennig
Sgwrs
Defnyddiwr
Sgwrs Defnyddiwr
Wicidestun
Sgwrs Wicidestun
Delwedd
Sgwrs Delwedd
MediaWici
Sgwrs MediaWici
Nodyn
Sgwrs Nodyn
Cymorth
Sgwrs Cymorth
Categori
Sgwrs Categori
Tudalen
Sgwrs Tudalen
Indecs
Sgwrs Indecs
TimedText
TimedText talk
Modiwl
Sgwrs modiwl
Event
Event talk
MediaWici:Common.css
8
2517
165612
4473
2026-05-25T16:35:01Z
Ladsgroup
1298
Remove top icon styling as it has been deprecated and unused (see [[phab:T245748]])
165612
css
text/css
@charset "utf-8";
/* This stylesheet affects all skins. */
/* Always check with the [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fcommons.wikimedia.org%2Fw%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&usermedium=all W3C CSS Validation Service] after any changes. */
/*(In [[w:Mozilla|Mozilla]] and [[w:Opera (web browser)|Opera]], you can test style changes dynamically with the [http://www.squarefree.com/bookmarklets/webdevel.html test styles] bookmarklet from squarefree.com. It pops up a window for adding style rules, and updates the page as you type.)*/
/*
* Dynamic Layouts
*/
#text-wrap { margin-left:3em; position:relative; }
/* sidenotes */
body.ns-104 .sidenote-left { position:absolute; left:0; width:6em; padding-right:1em; text-indent:0em; text-align:left;}
body.ns-104 .sidenote-right { position:absolute; right:0; width:6em; padding-left:1em; text-indent:0em; text-align:left;}
/* make user experience moar-kewl */
a:link,
a:visited
{
-webkit-transition: color 0.4s ease;
-moz-transition: color 0.4s ease;
-o-transition: color 0.4s ease;
transition: color 0.4s ease;
}
/*********
** Various tweaks
*********/
/* Fix copy&paste formatting */
.verse pre
{
margin: 0;
padding-left: 2em;
border: 0;
background-color: #FFF;
font-family: sans-serif;
white-space: pre;
line-height: 150%;
}
.verse p
{
white-space: pre;
}
/* Short lines preferred by some editors */
.prose
{
padding-left: 3em;
max-width: 35em;
margin: 0 auto;
}
/* show deleted text hidden by {{copyvio}} */
.page-Special_Undelete div#copyvio
{
display: block !important;
}
/* Allow transcluded pages to display in lists rather than a table. Compatible in Firefox; incompatible in IE6. */
.listify td { display: list-item; }
.listify tr { display: block; }
.listify table { display: block; }
/* indent page text on screen out of the way of the page numbers */
@media screen, handheld, projection
{
div.indented-page
{
margin-left:3em;
}
cite *.printonly
{
display: none;
}
}
/* Dont display the URL onto the screen */
@media screen, handheld, projection
{
cite *.printonly
{
display: none;
}
}
/*********
** Most-used standard templates
*********/
/* {{textinfo}} */
.textinfo
{
margin: 1px;
padding: 1px;
border: 1px solid #0E8605;
background-color: #B0E0A0;
text-align: left;
}
.textinfo th
{
background-color: #0E8605;
text-align: center;
font-weight: normal;
color: #FFF;
}
.textinfo td
{
background-color: #C6FFC6;
}
/* {{featured}} */
#cornerbox
{
position: absolute;
top: 0.3em;
right: 0.2em;
border: 1px solid #BBB;
font-size: 0.8em;
}
div#divMediaWiki-Proofreadpage_header_template
{
width: 100%;
float: left; /* containment ;) */
padding: 0.5em 0; /* do any l/r padding on an inner element */
text-align: center;
}
/* colours common to Template:Header and MediaWiki:Proofreadpage header template */
table.headertemplate,
table.footertemplate,
div#divMediaWiki-Proofreadpage_header_template
{
border: 1px solid #ADA;
background-color: #E4F2E4;
}
div#divMediaWiki-Proofreadpage_header_template div.hAuthor
{
padding-top: 0.5em;
padding-bottom: 0.4em;
font-size: 100%;
font-weight: bold;
}
div#divMediaWiki-Proofreadpage_header_template div.hTitle
{
padding-top: 0.4em;
padding-bottom: 0.4em;
font-size: 120%;
font-weight: bold;
}
div#divMediaWiki-Proofreadpage_header_template div.hDetails
{
padding-top: 0.4em;
padding-bottom: 0.5em;
font-size: 90%;
}
div#divMediaWiki-Proofreadpage_header_template div.hNavigation
{
width: 100%;
float: left; /* containment ;) */
padding: 0.2em 0; /* do any l/r padding on an inner element */
/* don't like this
border-top: 1px solid #ADA;
*/
}
div#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavPrev
{
float: left;
text-align: left; /* override ambient for containing element */
padding-left: 1em;
}
div#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavNext
{
float: right;
text-align: right; /* override ambient for containing element */
padding-right: 1em;
}
div#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavCurrent
{
text-align: center; /* after floats in source order! */
}
div#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavPrev,
div#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavNext
{
width: 20%; /* as in {{header}} and {{author}} */
}
div#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavPrev span,
div#divMediaWiki-Proofreadpage_header_template div.hNavigation div.hNavNext span
{
color: #808080;
}
/* All header templates */
.processheadertemplate,
.portalheadertemplate,
.authortemplate,
.headertemplate,
.footertemplate
{
width: 100%;
margin-bottom: 5px;
}
/* Forward and backward link */
.gen_header_backlink,
.gen_header_forelink
{
width: 20%;
font-size: 0.9em;
line-height: normal;
}
.gen_header_backlink
{
text-align: left;
}
.gen_header_forelink
{
text-align: right;
}
/* Title field */
.gen_header_title
{
width: 60%;
text-align:center;
}
/* Notes field */
.process_notes,
.author_notes,
.portal_notes,
.header_notes
{
width: 100%;
font-size: 0.9em;
line-height: 1.4em;
margin-bottom: 0.5em; /* a bit of space before body-text; 1em might be better... */
}
/* Specific header templates */
/* For {{header}} see above, with ProofreadPage code */
/* {{header}} (footer) */
.footertemplate
{
font-size: 0.9em;
text-align: center;
}
.header_notes
{
border-bottom: 1px solid #A88;
background-color: #FAFAFF;
}
/* {{author}} */
.authortemplate
{
border: 1px solid #BEA2A2;
background-color: #E4D8D8;
}
.author_notes
{
border-bottom: 1px solid #A88;
background-color: #FFFBFC;
}
.author_seealso /* Remove this if we change to {{plain sister}}*/
{
float: right;
padding: 2px;
margin: 0 0 0.5em 1em;
border: 1px solid #CCC;
}
/* {{process header}} */
.processheadertemplate
{
border: 1px solid #966;
background-color: #DCA;
}
.process_notes
{
border-bottom: 1px solid #A88;
background-color: #FFFBFC;
}
/* {{portal header}} */
.portalheadertemplate
{
border: 1px solid #36A;
background-color: #DDE;
}
.portal_notes
{
border-bottom: 1px solid #88A;
background-color: #FCFBFF;
}
/*********
** Standard formatting classes
*********/
/* messagebox */
.messagebox
{
width: 80%;
margin: 0 auto 1em;
padding: 0.2em;
border: 1px solid #aaa;
background-color: #f9f9f9;
text-align: justify;
}
.messagebox.standard-talk
{
border: 1px solid #C0C090;
background-color: #F8EABA;
}
/* Table documentation at [[Wikisource:Style guide/Tables]] */
/* grayscale tables */
table.prettytable
{
margin: 1em 1em 1em 0;
background-color: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
table.prettytable th,
table.prettytable td
{
padding: 0.2em;
border: 1px #aaa solid;
}
table.prettytable th
{
background-color: #f2f2f2;
text-align: center;
}
/* stylistic tables */
/* '''valign''' ; rows vertically aligned to top*/
/* '''table-c75vtop''' ; table centred, 75% width, rows vertically aligned to top*/
table.table-c75vtop
{
width: 75%;
margin-left: auto;
margin-right: auto;
}
.table-c75vtop, .valign tr
{
vertical-align: top;
}
/* tablecolhdborder; borders around table/columns/<th>; centre <th>; <td> align left with padding */
/* as used in [[Template:Hussey Churches table header]] */
table.tablecolhdborder
{
border: 1px solid;
margin: 0;
border-collapse:collapse;
}
table.tablecolhdborder th
{
border-bottom: 1px solid;
border-left: 1px solid;
text-align: center;
}
table.tablecolhdborder td
{
border-left: 1px solid;
padding-left: 5px;
}
/* '''valignb''' ; rows vertically aligned to bottom*/
.valignb tr
{
vertical-align: bottom;
}
/* *********
* Main page
*/
body.page-Main_Page .firstHeading,
body.page-Main_Page #siteSub
{
display: none;
}
div.main_page
{
position: static;
}
/* some new stuff for styling the main page header */
table.tblMain_page_header
{
margin: 0 0 1em 0;
/* border and background-color properties set in shared rules; see further down */
width: 100%;
}
table.tblMain_page_header h1,
table.tblMain_page_header h2
{
margin: 0 !important; /* insist on overriding #bodyContent h1 selector in main.css */
border: 0;
padding: 0;
}
table.tblMain_page_header div.divMPheading_wrapper
{
float: left;
padding-right: 7em;
}
table.tblMain_page_header h1
{
font-size: 150%;
padding-bottom: 0.15em;
}
table.tblMain_page_header h2
{
font-size: 90%;
}
table.tblMain_page_header ul
{
margin: 0; /* override margin-top to better align with h1-element; margin-left isn't applicable in this context */
}
table.tblMain_page_header hr
{
color: #569BBB;
background-color: #569BBB;
}
/* may want to loosen specificity a bit... and rename. more likely, it'll become floats... */
div.main_page table.subheader
{
width: 100%;
margin: -0.8em 0 -0.7em 0;
background: none;
font-size: 0.95em;
}
div.main_page table.subheader td
{
padding: 10px 0;
}
/* some new stuff for styling the layout and look of the main page columns and modules */
div#divMain_page-ColumnWrapper
{
float: left;
width: 100%;
}
div#divMain_page-PrimaryMaterial
{
float: left;
width: 51%;
}
div#divMain_page-SecondaryMaterial
{
float: right;
width: 49%;
}
div#divMain_page-TertiaryMaterial
{
float: left;
width: 100%;
}
div#divMain_page-PrimaryMaterial table.tblMPmodule,
div#divMain_page-SecondaryMaterial table.tblMPmodule,
div#divMain_page-TertiaryMaterial table.tblMPmodule
{
width: 100%;
background-color: transparent;
}
div#divMain_page-PrimaryMaterial table.tblMPmodule td.tdMPmodule,
div#divMain_page-SecondaryMaterial table.tblMPmodule td.tdMPmodule,
div#divMain_page-TertiaryMaterial table.tblMPmodule td.tdMPmodule
{
border: 1px solid #cedff2;
padding: 1em 1em 0.5em;
font-size: 100%;
}
div#divMain_page-PrimaryMaterial table.tblMPmodule td.tdMPmodule h2,
div#divMain_page-SecondaryMaterial table.tblMPmodule td.tdMPmodule h2,
div#divMain_page-TertiaryMaterial table.tblMPmodule td.tdMPmodule h2
{
font-size: 135%;
background-color: #569BBB;
color: White;
margin: 0 0 3px 0;
padding: 1px 0 0 0;
text-align: center;
line-height: 1.3em;
}
/* common rule for main page header and for prettytables embedded in main page moldules */
table.tblMain_page_header,
div#divMain_page-ColumnWrapper table.tblMPmodule table.prettytable,
div#divMain_page-ColumnWrapper table.tblMPmodule table.prettytable th,
div#divMain_page-ColumnWrapper table.tblMPmodule table.prettytable td
{
border: 1px solid #569BBB;
}
table.tblMain_page_header,
div#divMain_page-ColumnWrapper table.tblMPmodule table.prettytable th
{
background-color: #f1f5fc;
}
/* as requested to allow overriding of automated TOC for works were specified templates will be implemented */
#hideTOCnumbers .tocnumber { display: none; }
/* main page stuff beyond here still to-review */
.main_page h1
{
margin: 0 !important;
padding: 0;
border: 0;
font-size: 1.75em;
}
.main_page .titlebox
{
width: 100%;
padding-left: 2em;
border: 1px solid #CCC;
background-color: #FCFCFC;
}
.main_page .titlebox div
{
margin-left: 2em;
font-size: 0.95em;
}
.main_page .portals
{
width: 11%;
font-size: 0.95em;
}
.main_page th
{
padding-left: 0.4em;
border: 1px solid #A3B0BF;
background-color: #ECDCC8;
text-align: left;
font-family: Arial, Helvetica, sans-serif;
font-size: 1.2em;
}
.main_page .blurb
{
width: 60%;
padding: 1em;
border: 1px solid #68A;
background-color: #FFE4C4;
}
.main_page .blurb img
{
float: left;
margin: 0 .7em 0 .3em;
}
.main_page .mpsidebox
{
width: 30%;
border: 1px solid #68A !important;
}
.main_page .featuredtext
{
border: 1px solid #68A;
}
.main_page .mpsidebox table,
.main_page .featured_text table
{
width: 100%;
vertical-align: top;
}
.main_page .sisterprojects
{
margin: 0 -8px;
border-spacing: 8px;
}
.main_page .sisterprojects .sptd
{
padding: 10px;
border: 1px solid #BBB;
vertical-align: top;
}
/* above main page stuff that is indented does not appear to be used these days; will review further and eventually remove */
/*********
** Template namespace
*********/
/*Template documentation*/
.template-documentation
{
clear:both;
margin:1em 0 0 0;
border:1px solid #AAA;
background:#ECFCF4;
padding:5px;
}
/*********
** Page namespace
*********/
/* transcluded pages */
.lefttext p
{
text-indent: 2em;
}
.lefttext .poem p
{
text-indent: 0;
}
.lefttext .tiInherit p
{
text-indent: inherit;
}
.lefttext
{
width: 33em;
text-align: justify;
margin-left: 5em;
}
.leftoutdent
{
padding-left: 2em;
text-indent: -2em;
max-width: 33em;
margin-left: 5em;
}
/* similar to tiInherit, above; wrap something with a div of this class and set line-height; poem-tags, too */
.lhInherit p
{
line-height: inherit;
}
.quote
{
color: #2F4F4F; /* darkslategray (not a valid color name) */
margin-left: 2em;
margin-right: 2em;
}
/* Justify */
body.ns-104
{
text-align: justify;
}
/* Paragraph markers (no IE6 support) */
body.ns-104 div.pagetext>p
{
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Paragraph-mark.svg/6px-Paragraph-mark.svg.png) 0 .3em no-repeat;
margin-left: -10px;
padding-left: 10px;
}
/* ProofreadPage */
.quality4 { background-color: #90ff90; }
.quality3 { background-color: #ffe867; }
.quality2 { background-color: #b0b0ff; }
.quality1 { background-color: #ffa0a0; }
.quality0 { background-color: #ddd; }
.ns-104 .editsection { visibility:hidden; }
/* not in remarks */
div#remarks a.quality4 { background:#ffffff; }
div#remarks a.quality3 { background:#ffffff; }
div#remarks a.quality2 { background:#ffffff; }
div#remarks a.quality1 { background:#ffffff; }
div#remarks a.quality0 { background:#ffffff; }
/*********
** special formatting classes
*********/
/* ordered-list flavours; see [[History of the Rise, Progress, and Termination of the American Revolution/Chapter II]] for first deployment */
div.divRomanOL ol
{
list-style-type: upper-roman;
}
div.divRomanOL-lower ol
{
list-style-type: lower-roman;
}
div.divAlphaOL ol
{
list-style-type: upper-alpha; /* or upper-latin; q: which is better supported? */
}
div.divAlphaOL-lower ol
{
list-style-type: lower-alpha; /* or lower-latin...*/
}
div.divGreekOL-lower ol
{
list-style-type: lower-greek;
}
div.divDecimalOL-leading-zero ol
{
list-style-type: decimal-leading-zero;
}
div.divDecimalOL-normal ol
{
list-style-type: decimal; /* could be useful in nested situations - but computer says no... */
}
/* georgian && armenian as needed... */
/*********
** tabber
*********/
/*
Generic defaults
Copied from http://www.barelyfitz.com/projects/tabber/example.css used under mit license
see http://www.barelyfitz.com/projects/tabber/
*/
/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */
/*--------------------------------------------------
REQUIRED to hide the non-active tab content.
But do not hide them in the print stylesheet!
--------------------------------------------------*/
.tabberlive .tabbertabhide {
display: none;
}
/*--------------------------------------------------
.tabber = before the tabber interface is set up
.tabberlive = after the tabber interface is set up
--------------------------------------------------*/
.tabber {
}
.tabberlive {
margin-top: 1em;
}
/*--------------------------------------------------
ul.tabbernav = the tab navigation list
li.tabberactive = the active tab
--------------------------------------------------*/
ul.tabbernav
{
margin: 0;
padding: 3px 0;
border-bottom: 1px solid #CCC;
font: bold 12px Verdana, sans-serif;
}
ul.tabbernav li
{
list-style: none;
margin: 0;
display: inline;
}
ul.tabbernav li a
{
padding: 3px 0.5em;
margin-left: 3px;
border: 1px solid #ccc;
border-bottom: none;
background-color: #f2f7ff;
text-decoration: none;
}
ul.tabbernav li a:link { color: #448; }
ul.tabbernav li a:visited { color: #667; }
ul.tabbernav li a:hover
{
color: #000;
background-color: #fff9f2;
border-color: #CCC;
}
ul.tabbernav li.tabberactive a
{
background-color: #fff;
border-bottom: 1px solid #fff;
}
ul.tabbernav li.tabberactive a:hover
{
color: #000;
background-color: White;
border-bottom: 1px solid White;
}
/*--------------------------------------------------
.tabbertab = the tab content
Add style only after the tabber interface is set up (.tabberlive)
--------------------------------------------------*/
.tabberlive .tabbertab {
padding: 5px;
border: 1px solid #CCC;
border-top: 0;
/* If you don't want the tab size changing whenever a tab is changed
you can set a fixed height */
/* height: 200px; */
/* If you set a fix height set overflow to auto and you will get a
scrollbar when necessary */
/* overflow: auto; */
}
/* If desired, hide the heading since a heading is provided by the tab */
.tabberlive .tabbertab h2 {
display: none;
}
.tabberlive .tabbertab h3 {
display: none;
}
/* Example of using an ID to set different styles for the tabs on the page */
.tabberlive#tab1 {
}
.tabberlive#tab2 {
}
.tabberlive#tab2 .tabbertab {
height: 200px;
overflow: auto;
}
/*--------------------------------------------------*/
/* Use for inputting Hebrew pointing in MediaWiki:Edittools */
span.nikud
{
color: #002bb8;
cursor: pointer;
}
/* International Phonetic Alphabet [[Template:IPA]] */
.IPA
{
font-family: 'Arial Unicode MS', Code2000, Gentium, GentiumAlt, 'DejaVu Sans', 'Segoe UI', 'Lucida Grande', 'Charis SIL', 'Doulos SIL', 'TITUS Cyberbit Basic', 'Lucida Sans Unicode', sans-serif;
font-size: 110%;
}
/* typos */
.coquille
{
border-bottom: 1px dashed #666;
}
/* poem tag : avoid extra margins between transcluded pages */
.poem
{
margin-bottom: 0em;
margin-top: 0em;
line-height: 1.6em;
text-indent: 0em;
}
.poem p
{
margin-top: 0em ! important;
margin-bottom: 0em ! important;
text-indent: 0em !important;
}
/* highlights the anchor text obtained using Template:Anchor+ */
/* this relies on CSS3, and thus is not seen by many browsers, but it is only added-value eye-candy so that's OK. */
span.HighlightedAnchor:target
{
background-color: #DEF;
}
/* .pagenum_container:hover {background-color:#eeeeee; opacity:0.5; } */
/* Preventing toggle floating in Navboxes*/
div.NavFrame .mw-collapsible-toggle {
float:none;
}
lcpd5xmhcdc7xnosfdqnitvh2fsjdd5
MediaWici:Common.js
8
2560
165611
101225
2026-05-25T16:34:51Z
Ladsgroup
1298
Remove top icon styling as it has been deprecated and unused (see [[phab:T245748]])
165611
javascript
text/javascript
/* Any JavaScript here will be loaded for all users on every page load. */
/**
* Scripts imported from wikisource.org
*/
// Messages are configurable here
self.ws_messages = {
'optlist':'Display options',
'hide_page_numbers':'Hide page links',
'show_page_numbers':'Show page links',
'layout':'Layout',
'author':'Author',
'translator':'Translator',
'editor':'Editor',
'publisher':'Publisher',
'place':'Place',
'volume':'Volume',
'school':'School',
'book':'Book',
'collection':'Collection',
'journal':'Journal or magazine',
'phdthesis':'Thesis, report',
'dictionary':'Dictionary',
'progress':'Progress',
'progress_T':'Done',
'progress_V':'To be validated',
'progress_C':'To be proofread',
'progress_MS':'Ready for Match & Split',
'progress_OCR':'Needs an OCR text layer',
'progress_L':'Source file is incorrect (missing pages, unordered pages, etc)',
'▲':'Return to the top of the page.',
'corr_list':"List of corrections performed on this page" ,
'corr_link':"Corrections" ,
'corr_one':"One typo </a> has been corrected." ,
'corr_many':" typos</a> have been corrected." ,
'corr_close':"Close." ,
'iwtrans':'Its text comes from',
'iwtrans2':'Its text comes from other Wikisource subdomains.'
};
// Dynamic layouts
if ( !self.ws_layouts ) {
self.ws_layouts = {};
}
self.ws_layouts['Layout 1'] = {
'#text-wrap':"",
'#text-container':"" ,
'#text':"",
'.sidenote-right':"float:right;margin:0.5em;padding:3px;border:solid 1px gray;max-width:9em;text-indent:0em;text-align:left;",
'.sidenote-left':"float:left;margin:0.5em;padding:3px;border:solid 1px gray;max-width:9em;text-indent:0em;text-align:left;",
'.editsection':"display:none",
'#headertemplate':""
};
self.ws_layouts['Layout 2'] = {
'#text-wrap':"position:relative;margin-left:3em;margin-right:3em;",
'#text-container':"width:36em;margin:0px auto;font-family:Georgia,serif;" ,
'#text':"text-align:justify;",
'.sidenote-right':"position:absolute; left:37em;width:16em;text-indent:0em;text-align:left;",
'.sidenote-left':"position:absolute; right:37em;width:16em;text-indent:0em;text-align:right;",
'.editsection':"display:none",
'#headertemplate':""
};
self.ws_layouts['Layout 3'] = {
'#text-wrap':"margin-left:3em",
'#text-container':"position:relative; min-width:60em; float:left; width:100%; margin-right:-23em;" ,
'#text':"text-align:justify;margin-right:23em; text-indent:0em; padding-left:0px; padding-right:0px;width:auto; position:relative;",
'.sidenote-right':"position:absolute; right:-10em; width:9em; background-color:#eeeeee;text-indent:0em;text-align:left;",
'.sidenote-left':"position:absolute; right:-10em; width:9em; background-color:#eeeeee;text-indent:0em;text-align:left;",
'.editsection':"display:none",
'#headertemplate':"position:absolute; top:0em; right:-23em; width:21em;float:right; text-align:left;"
};
self.proofreadpage_add_container = true;
mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:Base.js&action=raw&ctype=text/javascript');
/*mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:OCR.js&action=raw&ctype=text/javascript');*/ /*hasn't functioned in a long time */
mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:DisplayFooter.js&action=raw&ctype=text/javascript');
mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:PageNumbers.js&action=raw&ctype=text/javascript');
mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:Corrections.js&action=raw&ctype=text/javascript');
mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:IndexForm.js&action=raw&ctype=text/javascript');
mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:Dictionary.js&action=raw&ctype=text/javascript');
mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:InterWikiTransclusion.js&action=raw&ctype=text/javascript');
// Mouse wheel zoom should work now for most browsers.
// If it does not work for you, set this to true in your javascript.
self.proofreadpage_disable_wheelzoom = false;
/**
* Allow descriptive labels next to sidebar language links using {{interwiki-info}}
* by [[user:ThomasV]]
*/
function interwikiExtra() {
// iterate over all <span>-elements
for(var i=0; a=document.getElementsByTagName('span')[i]; i++) {
// if found a linkInfo span
if(a.className == 'interwiki-info') {
// iterate over all <li>-elements
var count=0;
for(var j=0; b=document.getElementsByTagName('li')[j]; j++) {
if(b.className == 'interwiki-' + a.id) {
b.innerHTML = b.innerHTML + ' ' + a.title;
if(a.title == '(vo)') {
b.title = 'Original Version';
}
}
else if(b.className == 'interwiki-' + a.id.substr(0, a.id.length-1)) {
count++;
if(a.id.charAt(a.id.length-1) == count) {
b.innerHTML = b.innerHTML + ' ' + a.title;
}
}
}
}
}
}
$(interwikiExtra);
/**
* Quality indicators on "article" tab
* by [[user:ThomasV]]
*/
// Return src for icon given percentage
function icon_src(t){
var src='//upload.wikimedia.org/wikipedia/commons/';
switch(t){
case '0%': src+='8/8f/00'; break;
case '25%': src+='5/5b/25'; break;
case '50%': src+='3/3a/50'; break;
case '75%': src+='c/cd/75'; break;
case '100%': src+='6/64/100'; break;
}
return src + '%25.png';
}
// add indicator
function pageQuality() {
var a = document.getElementById('ca-nstab-main');
if(!a) return;
var pr_index = document.getElementById('pr_index');
if(pr_index) return;
var q = document.getElementById('textquality');
var new_img;
if(q) {
new_img = document.createElement('img');
new_img.setAttribute('src', icon_src(q.className));
a.firstChild.appendChild(new_img);
}
for(var i=0; spanElem = document.getElementsByTagName('span')[i]; i++) {
if (spanElem.className == 'pagequality') {
new_img = document.createElement('img');
new_img.setAttribute('src', icon_src(spanElem.title));
if(mw.config.get('wgCanonicalNamespace') == 'Page') {
a.firstChild.appendChild(new_img);
}
else {
s1 = spanElem.parentNode.previousSibling;
opttext = s1.firstChild.firstChild;
img = opttext.firstChild.nextSibling.nextSibling.nextSibling;
next = img.nextSibling;
opttext.removeChild(img);
opttext.insertBefore(new_img,next);
}
}
}
}
$(pageQuality);
// Add link to the extension [[user:sanbeg]]
function pr_add_quality_buttons_link(){
if(typeof proofreadPageMessageStatus == 'undefined') return;
if( self.proofreadpage_no_quality_buttons ) return;
var ig = document.getElementById("wpWatchthis");
if( !ig ) return;
var f = document.createElement("span");
f.innerHTML = ' (<a href="/wiki/Help:Page Status">help</a>)';
ig.parentNode.insertBefore(f,ig.nextSibling.nextSibling.nextSibling.nextSibling);
}
$(pr_add_quality_buttons_link);
/** Collapsible tables *********************************************************
*
* Description: Implements legacy classes for collapsible tables and Navigational boxes: 'collapsible', 'collapsed',
* 'innercollpase', 'outercollpase', 'autocollapse', 'Nav Frame', 'NavPic', 'NavContent', 'NavHead' and 'NavToggle'
* Maintainers:
*/
var autoCollapse = 2;
$(document).ready(function(){
mw.loader.using('jquery.makeCollapsible', function() {
// Collapsible tables
CollapsibleTables=$('table.collapsible');
var i=0;
CollapsibleTables.filter('table.autocollapse').each(function() {
i++;
if (i >= autoCollapse) {
$(this).addClass('mw-collapsed');
}
})
CollapsibleTables.filter('table.collapsed').addClass('mw-collapsed');
CollapsibleTables.filter('table.innercollapse').parent('.outercollapse').find('table.innercollapse').addClass('mw-collapsed');
CollapsibleTables.makeCollapsible();
//Collapsible Navigation boxes
NavFrames=$('div.NavFrame');
NavFrames.filter('.collapsed').addClass('mw-collapsed');
NavFrames.find('.NavPic, .NavContent').addClass('mw-collapsible-content');
NavFrames.each(function () {
if ($(this).find('.NavPic, .NavContent').length==0) {
$(this).wrapInner('<div class="mw-collapsible-content" />');
$(this).prepend($(this).find('.NavHead'));
} else {
var isCollapsed=false;
$(this).find('.NavPic, .NavContent').each(function () {
if ( this.style.display == 'none' ) {
isCollapsed = true;
}
})
if (isCollapsed) { $(this).addClass('mw-collapsed'); }
}
});
NavFrames.makeCollapsible();
NavFrames.each(function() {
$(this).children('.NavHead').append($(this).children(':first-child'));
})
})
})
/*
* port from [[:he:mediawiki:common.js]] for [[mediawiki:edittools]] -Steve
*/
/* פונקציה שמשמשת לאיפשור ניקוד ב[[מדיה ויקי:edittools]] */
function nikud(){
if (document.getElementById('edit-templates')!=null){
for(var i=0; a = document.getElementsByTagName("span")[i]; i++) {
if(a.className == "nikud") {
a.onclick=function(){insertTags('', this.title, '');return false;};
}
}
}
}
$(nikud);
/**
* withJS
*
* Allow to load custom scripts from the MediaWiki namespace without
* editing [[Special:Mypage/common.js]]
*
* Maintainer: [[User:Platonides]], [[User:Lupo]]
*/
var extraJS = mw.util.getParamValue('withJS');
// Leave here for backwards compatibility
(function (extraJS) {
if (!extraJS) {
return;
}
if (extraJS.match(/^MediaWiki:[^&<>=%#]*\.js$/)) {
// Disallow some characters in file name
importScript(extraJS);
} else {
// Dont use alert but the jsMsg system. Run jsMsg only once the DOM is ready.
$(function () {
mw.notify(extraJS + ' javascript not allowed to be loaded.', 'error');
});
}
})(extraJS);
/*Script to allow language links to Old Wikisource (http://wikisource.org) */
mw.loader.load('//en.wikisource.org/w/index.php?title=User:Doug/Multilingual-link.js&action=raw&ctype=text/javascript');
bz8dlh6d774jg1oqxud1kk10bomw4ad
Tudalen:Cerddi'r Bugail.djvu/15
104
72499
165610
145659
2026-05-25T14:25:33Z
AlwynapHuw
1710
165610
proofread-page
text/x-wiki
<noinclude><pagequality level="3" user="AlwynapHuw" /></noinclude>{{C|{{mawr|1887—1917}}}}
GANED Hedd Wyn yn Nhrawsfynydd, Meirionnydd, ar y 13 o Ionawr, 1887, ac yn yr Ysgwrn, tyddyn ar gwr y pentref hwnnw, y magwyd ef.
Saif yr Ysgwrn ar yr ochr dde i'r hen ffordd sy'n arwain o Drawsfynydd i Gwm Prysor. Y mae'r tŷ yng nghanol llwyn o goed, mewn cafn yn y creigiau, a'i wyneb i gyfeiriad y wawr. Oddi yno gwelir y cwm creithiog yn ymestyn i'r pellterau, a'r Arennig Fawr ar ei gwr eithaf. Wrth edrych i'r chwith gwelir bryniau Trawsfynydd, y fynwent ar un ohonynt, a'r pentref ar y llall. Y tu draw iddynt hwy ceir ôl bysedd y Rhufeiniaid ar Domen y Mur. A thu draw i honno drachefn, tros hen gartref Morgan Llwyd, y mae ardal Ffestiniog fel Caersalem "a'r mynyddoedd o'i hamgylch." Gwelir crib yr Wyddfa yn y pellter. Ac ar war y ffridd yng nghefn yr Ysgwrn gwelir Cader Idris, a mynyddoedd a Drws Ardudwy.
Nid rhyfedd bod delw ei gartref ar ganeuon Hedd Wyn. Bardd y mynydd yw efô; bardd y gwyntoedd, y gorlan, a'r grug.
{{center block|
<poem>
Yno holais y niwloedd, a hwythau,
Y creithiog fynyddoedd;
</poem>
}}
—dyna'i neges ef. O dan hud y rhain y tyfodd ei feddwl, a'u cyfriniaeth hwy yw ei farddoniaeth.
— Fe âi Hedd Wyn, yn fylchog, i Ysgol Elfennol y Traws nes myned ohono'n ddigon hen i aros adref "i wneud rhywbeth." Adref y bu wedyn nes dyfod o'r wŷs i ymuno â'r fyddin. Bu unwaith am ysbaid<noinclude></noinclude>
7lmo7houexo6l5kk7s42dehx9sr9fkp