Test Wikimedia Commons
testcommonswiki
https://test-commons.wikimedia.org/wiki/Main_Page
MediaWiki 1.45.0-wmf.8
first-letter
Media
Special
Talk
User
User talk
Commons
Commons talk
File
File talk
MediaWiki
MediaWiki talk
Template
Template talk
Help
Help talk
Category
Category talk
Creator
Creator talk
TimedText
TimedText talk
Sequence
Sequence talk
Institution
Institution talk
Data
Data talk
TimedText
TimedText talk
Module
Module talk
Translations
Translations talk
Main Page
0
20
4929
4375
2024-11-09T12:48:31Z
Seddon (WMF)
917
4929
wikitext
text/x-wiki
This is a '''test installation''' of MediaWiki intended to catch non-media related issues and is currently in use as a testing platform for the deployment of Charts.
Seddon promises the wiki [[phab:T213295|will be closed and deleted]], so don't get too attached to it!
19j7rd7n67yte7myhuklttn7cjnu684
MediaWiki:Sidebar
8
21
22
2019-01-07T18:27:40Z
Jdforrester (WMF)
11
Created page with "* SEARCH * navigation **mainpage|mainpage-description **welcome-url|welcome **portal-url|portal **village pump-url|village pump ** helppage|help * participate ** upload-url|up..."
22
wikitext
text/x-wiki
* SEARCH
* navigation
**mainpage|mainpage-description
**welcome-url|welcome
**portal-url|portal
**village pump-url|village pump
** helppage|help
* participate
** upload-url|uploadbtn
** recentchanges-url|recentchanges
** latestfiles-url|latestfiles
** randomimage-url|randomimage
** contact-url|contact
6c91i81glb1g9rrlyg07mi1dlpshoc3
MediaWiki:Upload-url
8
22
23
2019-01-07T18:33:37Z
Jdforrester (WMF)
11
Copy from Commons.
23
wikitext
text/x-wiki
Commons:Upload
2de3qenauk0v6zkm0b9wgeuu7f1arhn
MediaWiki:Vector.css
8
217
431
414
2019-01-07T21:01:46Z
Jdforrester (WMF)
11
Copy over from Commons.
431
css
text/css
/**
* Logo badge
* Version: 2018-05-19
* Source: https://test.wikipedia.org/wiki/MediaWiki:Vector.css
*/
#p-logo {
position: relative;
}
#p-logo::before {
content: "TESTSITE";
letter-spacing: 4px;
display: block;
position: absolute;
bottom: 0;
background: #C6FFE0;
color: #333;
font: bold 17px/1 sans-serif;
opacity: 0.9;
border: 3px solid #007092;
border-radius: 2em;
text-align: center;
padding: 0.5em 1em;
box-sizing: border-box;
width: 100%;
transform: rotate(-10deg);
pointer-events: none;
transition: transform 0.2s ease-out; /* transition out */
}
#p-logo:hover::before {
transition: transform 0.5s ease; /* transition in */
transform: rotate(0deg);
}
/**
* Below copied from en.wikipedia.org
*/
/* Don't display some stuff on the main page */
.page-Main_Page #deleteconfirm,
.page-Main_Page #t-cite,
.page-Main_Page #footer-info-lastmod,
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page .firstHeading {
display: none !important;
}
/* Position coordinates */
#coordinates {
position: absolute;
top: 0;
right: 0;
float: right;
margin: 0;
padding: 0;
line-height: 1.5em;
text-align: right;
text-indent: 0;
font-size: 85%;
text-transform: none;
white-space: nowrap;
}
/* correct position for VE */
.ve-ce-surface-enabled #coordinates {
margin-right: 2em;
margin-top: -1em;
}
.mw-indicator #coordinates {
position: absolute;
top: 3em;
right: 0;
line-height: 1.6;
text-align: right;
font-size: 92%;
white-space: nowrap;
}
/* FR topicon position */
div.flaggedrevs_short {
position: absolute;
top: -3em;
right: 100px;
z-index: 1;
}
/* Display "From Wikipedia, the free encyclopedia", do not apply to print mode */
@media screen {
#siteSub {
display: block;
font-size: 92%;
}
}
/* Move page status indicators down slightly */
.mw-body .mw-indicators {
padding-top: 0.4em;
}
/* CSS placed here will affect users of the Vector skin */
/* Necessary for displaying text in the upper right edge. (Used in [[Template:Shortcut]]) */
#shortcut {
display: inline;
position: absolute;
z-index: 1;
border: none;
background: none;
right: 12px;
top: .3em;
float: right;
margin: 0;
padding: 0;
line-height: 1.5em;
text-align: right;
text-indent: 0;
font-size: 90%;
text-transform: none;
white-space: normal;
}
/* For positioning icons at top-right, used in Templates with protection locks */
div.topicon {
position: absolute;
top: -3em;
margin-right: -10px;
display: block;
}
/* account creation fixes */
form#userlogin {
padding: 1em 1em .7em 1em;
background: #FFFFE6;
border: 2px solid #FC6;
color: #000;
margin-right: 2em;
}
.mw-special-Userlogin #mw-content-text #userlogin {
width:35%;
float:left;
background:#EFF2FF;
margin-right: 1.5em;
}
.mw-special-Userlogin .prefsectiontip {
display:none
}
.mw-special-Userlogin form#userlogin2 .captcha {
background: #FFFFFF;
border:1px solid #aaa;
padding: 5px;
}
.mw-special-Userlogin #mw-content-text #signupend {
margin-left:50%;
}
#siteSub {
display: inline;
font-size: 92%;
}
/* Page-specific settings */
body.page-Main_Page.action-view #siteSub {
display: none !important;
}
body.page-Commons_Mobile_app_Download.action-view #siteSub,
body.page-Commons_Mobile_app_Download.action-view #contentSub {
display: none !important;
}
body.page-Commons_Wiki_Loves_Monuments_upload.action-view #siteSub,
body.page-Commons_Wiki_Loves_Monuments_upload.action-view #contentSub {
display: none !important;
}
.page-Commons_Wiki_Loves_Monuments_2013.action-view #firstHeading, .page-Commons_Wiki_Loves_Monuments_2013.action-view #siteSub, .page-Commons_Picture_of_the_Year_2013_Introduction #siteNotice {
display: none !important;
}
/* Display edit tags with a faint yellow background */
.mw-tag-markers {
font-style: italic;
font-size: 90%;
background-color: lightyellow;
}
nchh72qoq1pq1i8n20n7uhvo97buybn
MediaWiki:Common.js
8
223
2602
2063
2019-10-26T00:30:24Z
Krinkle
464
Maintenance: [[mw:RL/MGU]] - Updated deprecated module name
2602
javascript
text/javascript
/*global mw, JSconfig, importScript, jsMsg, importStylesheet */
/*jshint forin:false, strict:false, onecase:true, laxbreak:true, browser:true, jquery:true */
/**
* JSconfig
*
* If you are a gadget author, you may use
* [[MediaWiki:Gadget-SettingsManager.js]] or jquery.jStorage or jquery.cookie
* and [[MediaWiki:Gadget-SettingsUI.js]] to provide an easy interface.
*
*
* Global configuration options to enable/disable and configure
* specific script features from [[MediaWiki:Common.js]] and [[MediaWiki:Monobook.js]]
* <s>This framework adds config options (saved as cookies) to [[Special:Preferences]]</s>
* (Site script does not run at [[Special:Preferences]] any more so this functionality has been removed)
*
* For a more permanent change you can override the default settings in your
* [[Special:Mypage/monobook.js]]
* for Example: JSconfig.keys[loadAutoInformationTemplate] = false;
*
* Maintainer: [[User:Dschwen]]
*/
window.JSconfig = {
prefix: 'jsconfig_',
keys: {},
meta: {},
// Register a new configuration item
// * name : String, internal name
// * default_value : String or Boolean (type determines configuration widget)
// * description : String, text appearing next to the widget in the preferences, or an hash-object
// containing translations of the description indexed by the language code
//
// Access keys through JSconfig.keys[name]
registerKey: function (name, default_value, description, prefpage) {
if (JSconfig.keys[name] === undefined) {
JSconfig.keys[name] = default_value;
} else {
// all cookies are read as strings,
// convert to the type of the default value
switch (typeof default_value) {
case 'boolean':
JSconfig.keys[name] = (JSconfig.keys[name] === 'true');
break;
case 'number':
JSconfig.keys[name] = JSconfig.keys[name] / 1;
break;
}
}
JSconfig.meta[name] = {
'description': description[mw.config.get( 'wgUserLanguage' )] || description.en || (typeof description === 'string' && description) || '<i>en</i> translation missing',
'page': prefpage || 0,
'default_value': default_value
};
},
readCookies: function () {
var cookies = document.cookie.split('; ');
var p = JSconfig.prefix.length;
var i;
for (var key = 0; cookies && key < cookies.length; key++) {
if (cookies[key].substring(0, p) === JSconfig.prefix) {
i = cookies[key].indexOf('=');
//alert( cookies[key] + ',' + key + ',' + cookies[key].substring(p,i) );
JSconfig.keys[cookies[key].substring(p, i)] = cookies[key].substring(i + 1);
}
}
},
writeCookies: function () {
var expdate = new Date();
expdate.setTime(expdate.getTime() + 1000 * 60 * 60 * 24 * 3650); // expires in 3560 days
for (var key in JSconfig.keys) {
document.cookie = JSconfig.prefix + key + '=' + JSconfig.keys[key] + '; path=/; expires=' + expdate.toUTCString();
}
}
};
JSconfig.readCookies();
mw.loader.using(['mediawiki.util']).then(function () {
/* Begin of mw.loader.using callback */
// Overwriting deprecated functions that have a follower that (also) accepts the same syntax:
window.getParamValue = mw.util.getParamValue;
/**
* Prepend server (if not already).
* @example '/something' to 'http://commons.wikimedia.org/something'
* @example don't touch 'https://commons.wikimedia.org/foo'
* @example don't touch '//commons.wikimedia.org/bar'
* @param url {String}
* @return {String}
*/
mw.util.expandUrl = function ( url ) {
if ( url.substr( 0, 1 ) === '/' && url.substr( 0, 2 ) !== '//' ) {
return mw.config.get( 'wgServer' ) + url;
} else {
return url;
}
};
/**
* Expand protocol-relative urls.
* @param method {String} CURRENT, RELATIVE, HTTP, HTTPS
* @return {String}
*/
mw.util.expandProtocol = function ( url, method ) {
// Not relative right now, return right away
if ( url.substr( 0, 2 ) !== '//' ) {
return url;
}
method = method || 'CURRENT';
switch ( method ) {
case 'CURRENT':
url = window.location.protocol + url;
break;
case 'RELATIVE':
break;
case 'HTTP':
url = 'http:' + url;
break;
case 'HTTPS':
url = 'https:' + url;
break;
}
return url;
};
// Creates action=raw links for JS or CSS gadgets
// Useful for mw.loader.load, which doesn't accept page titles
function rawPageLink( pageName ) {
return mw.config.get( 'wgServer' ) + mw.config.get( 'wgScript' ) + '?title=' + mw.util.wikiUrlencode(pageName) + '&action=raw&ctype=text/javascript';
}
// Overwriting deprecated functions that don't have an exact followup but can be easily mapped:
window.importScript = function ( page ) {
if ( typeof page === 'string' && page.length ) {
mw.loader.load( rawPageLink( page ) );
}
};
// Wrapper for mw.notify still used by legacy scripts.
function jsMsgAppend( msg ) {
mw.notify( msg );
}
/**
* Edittools
*
* Formatting buttons for special characters below the edit field
* Also enables these buttons on any textarea or input field on the page.
*
* Maintainer: [[User:Lupo]], [[User:DieBuche]]
*/
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit' , 'submit' ]) > -1
|| mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Upload'
) {
importScript('MediaWiki:Edittools.js');
}
/**
* ImageAnnotator
* Globally enabled per
* http://commons.wikimedia.org/?title=Commons:Village_pump&oldid=26818359#New_interface_feature
* Maintainer: [[User:Lupo]]
*/
// Not on Special pages, and only if viewing the page
if (mw.config.get( 'wgNamespaceNumber' ) !== -1 && $.inArray(mw.config.get('wgAction'), ['view', 'submit']) !== -1 ) {
if (typeof ImageAnnotator_disable === 'undefined' || !ImageAnnotator_disable) {
// Don't even import it if it's disabled.
importScript('MediaWiki:Gadget-ImageAnnotator.js');
}
}
/**
* QICSigs
*
* Fix for the broken signatures in gallery tags
* Helper script to make voting on QIC easier
* needed for [[COM:QIC]]
*
* Maintainers: [[User:Dschwen]]
*/
if (mw.config.get( 'wgPageName' ) === 'Commons:Quality_images_candidates/candidate_list' && mw.config.get( 'wgAction' ) === 'edit') {
importScript('MediaWiki:QICSigs.js');
importScript('MediaWiki:QIvoter.js');
}
/**
* VICValidate
*
* Some basic form validation for creating new Valued image nominations
* needed for [[COM:VIC]]
*
* Maintainers: [[User:Dschwen]]
*/
if (mw.config.get( 'wgPageName' ) === 'Commons:Valued_image_candidates' && mw.config.get( 'wgAction' ) === 'view') {
importScript('MediaWiki:VICValidate.js');
}
/**
* subPagesLink
*
* Adds a link to subpages of current page
*
* Maintainers: [[:he:משתמש:ערן]], [[User:Dschwen]]
*
* JSconfig items: bool JSconfig.subPagesLink(true=enabled (default), false=disabled)
*/
var subPagesLink = {
// Translations of the menu item
i18n: {
'be-tarask': 'Падстаронкі',
'be-x-old': 'Падстаронкі',
'bg': 'Подстраници',
'bn': 'উপপাতাসমূহ',
'ca': 'Subpàgines',
'cs': 'Podstránky',
'cy': 'Isdudalennau',
'de': 'Unterseiten',
'en': 'Subpages', // default
'et': 'Alamlehed',
'eo': 'Subpaĝoj',
'eu': 'Azpiorrialdeak',
'es': 'Subpáginas',
'fa': 'زیرصفحه\u200cها',
'fi': 'Alasivut',
'fr': 'Sous-pages',
'gl': 'Subpáxinas',
'he': 'דפי משנה',
'hr': 'Podstranice',
'hy': 'Ենթաէջեր',
'id': 'Sub halaman',
'it': 'Sottopagine',
'is': 'Undirsíður',
'ja': '下位ページ',
'ko': '하위 문서 목록',
'min': 'Sublaman',
'mk': 'Потстраници',
'ml': 'ഉപതാളുകൾ',
'nl': "Subpagina's",
'no': 'Undersider',
'pl': 'Podstrony',
'pt': 'Subpáginas',
'pt-br': 'Subpáginas',
'ru': 'Подстраницы',
'sl': 'Podstrani',
'sr': 'Подстранице',
'sv': 'Undersidor',
'tr': 'Altsayfalar',
'tyv': 'Адакы арыннар',
'uk': 'Підсторінки',
'vi': 'Trang con',
'zh-hans': '子页面',
'zh-hant': '子頁面'
},
install: function () {
// honor user configuration
if (!JSconfig.keys.subPagesLink) {
return;
}
if (document.getElementById('t-whatlinkshere')
&& $.inArray ( mw.config.get( 'wgNamespaceNumber' ), [ -1/* Special */, 6 /* File */, 14 /* Category */] ) === -1
) {
var subpagesText = subPagesLink.i18n[mw.config.get( 'wgUserLanguage' )] || subPagesLink.i18n.en;
var subpagesLink = mw.util.getUrl('Special:Prefixindex/' + mw.config.get( 'wgPageName' ) + '/');
mw.util.addPortletLink('p-tb', subpagesLink, subpagesText, 't-subpages');
}
}
};
JSconfig.registerKey('subPagesLink', true, {
'be-tarask': 'Паказваць спасылку на падстаронкі ў панэлі інструмэнтаў',
'be-x-old': 'Паказваць спасылку на падстаронкі ў панэлі інструмэнтаў',
'bg': 'Показване на връзката Подстраници в менюто с инструменти',
'bn': 'সরঞ্জাম-এ উপপাতাসমূহের লিঙ্ক দেখাও',
'cs': 'Zobrazovat v panelu nástrojů odkaz Podstránky',
'cy': 'Dangos cyswllt i Isdudalennau yn y blwch offer',
'en': 'Show a Subpages link in the toolbox', // default
'eo': 'Montri subpaĝan ligilon en la ilaro',
'fa': 'نمایش زیرصفجه\u200cها در جعبه ابزار',
'fr': 'affiche un lien Sous-pages dans la boîte à outils',
'hr': 'Prikaži poveznicu na podstranice u pomagalima',
'hy': 'Ցույց տալ «Ենթաէջեր» հղումը գործիքների տուփում',
'id': 'Tampilkan Sub halaman di kotak perkakas',
'ja': 'ツールボックスに「下位ページ」リンクを表示',
'min': 'Tunjuakan Sublaman pado kotak pakakeh',
'mk': 'Покажи врска до потстраниците во алатникот',
'ml': 'പണിസഞ്ചിയിൽ ഉപതാളുകൾക്കുള്ള കണ്ണി പ്രദർശിപ്പിക്കുക',
'nl': "Een link Subpagina's weergeven bij de hulpmiddelen",
'pl': 'Pokaż w panelu bocznym link do podstron',
'pt': 'Exibir um link para as subpáginas no menu de ferramentas',
'pt-br': 'Exibir um link para as subpáginas no menu de ferramentas',
'ru': 'Показывать ссылку на подстраницы в меню инструментов',
'sl': 'Med pripomočki prikaži povezavo na podstrani',
'sv': 'Visa en länk för undersidor i verktygslådan',
'tr': 'Araç kutusunda alt sayfalara bir bağlantı gösterir',
'vi': 'Hiển thị liên kết Trang con ở hộp Công cụ',
'zh-hans': '在工具箱显示一个子页面的链接',
'zh-hant': '在工具箱顯示壹個子頁面的鏈接'
}, 7);
$(subPagesLink.install);
/**
* gallery shuffle
*
* Maintainers: [[User:Dschwen]], [[User:Krinkle]]
*/
function gallery_dshuf($c) {
$c.find('div.dshuf').children('ul.gallery').each( function (i, ul) {
var $ul = $(ul),
$lis = $ul.children('li.gallerybox');
// assign random keys
$lis
.each( function (i, li) {
$.data(li, 'dshufkey', Math.random());
} )
// sort according to key
.sort( function (a, b) {
var A = $.data(a, 'dshufkey'),
B = $.data(b, 'dshufkey');
if (A < B) {
return -1;
} else if (A > B) {
return 1;
} else {
return 0;
}
})
// append in random order
.each( function (i, li) {
$ul.append(li);
} );
});
}
mw.hook( 'wikipage.content' ).add( gallery_dshuf );
/**
* dshuf
*
* shuffles div elements with the class dshuf and
* common class dshufsetX (X being an integer)
* taken from http://commons.wikimedia.org/?title=MediaWiki:Common.js&oldid=7380543
*
* Maintainers: [[User:Gmaxwell]], [[User:Dschwen]]
*/
function dshuf($c) {
var shufsets = {};
var rx = new RegExp('dshuf' + '\\s+(dshufset\\d+)', 'i');
var divs = document.getElementsByTagName('div');
var i = divs.length;
function sortFunction(a, b) {
return a.key - b.key;
}
while (i--) {
if (rx.test(divs[i].className)) {
if (typeof shufsets[RegExp.$1] === 'undefined') {
shufsets[RegExp.$1] = {};
shufsets[RegExp.$1].inner = [];
shufsets[RegExp.$1].member = [];
}
shufsets[RegExp.$1].inner.push({
key: Math.random(),
html: divs[i].innerHTML
});
shufsets[RegExp.$1].member.push(divs[i]);
}
}
for (var shufset in shufsets) {
shufsets[shufset].inner.sort(sortFunction);
i = shufsets[shufset].member.length;
while (i--) {
shufsets[shufset].member[i].innerHTML = shufsets[shufset].inner[i].html;
shufsets[shufset].member[i].style.display = 'block';
}
}
}
mw.hook( 'wikipage.content' ).add( dshuf );
/**
* localizeSignature: localizes the signature on Commons with the string in the user's preferred language
*
* Maintainer: [[User:Slomox]]
*/
function localizeSignature($c) {
var talkTextLocalization = {
'be-tarask': 'Абмеркаваньне',
'be-x-old': 'Абмеркаваньне',
'bn': 'আলোচনা',
'ca': 'Discussió',
'cs': 'diskuse',
'cy': 'Sgwrs',
'de': 'Diskussion',
'fa': 'بحث',
'fr': 'd',
'hy': 'Քննարկում',
'id': 'bicara',
'ko': '토론',
'min': 'maota',
'mk': 'Разговор',
'ml': 'സംവാദം',
'nl': 'Overleg',
'pt': 'Discussão',
'pt-br': 'Discussão',
'nds': 'Diskuschoon',
'sl': 'Pogovor',
'sv': 'Diskussion',
'tr': 'Tartışma',
'zh-hans': '留言',
'zh-hant': '留言'
};
var talkText = talkTextLocalization[mw.config.get( 'wgUserLanguage' )];
if (!talkText) {
return;
}
$c.find('.signature-talk').text(talkText);
}
mw.hook( 'wikipage.content' ).add( localizeSignature );
/**
* Ajax Translation of /lang links, see [[MediaWiki:AjaxTranslation.js]]
* Maintainer: [[User:ערן]], [[User:DieBuche]]
*/
if (!window.disableAjaxTranslation) {
importScript('MediaWiki:AjaxTranslation.js');
}
/**
* SVG images: adds links to rendered PNG images in different resolutions
*
* @author Krinkle, 2012-2013
* @deprecated in 1.18
*/
function SVGThumbs() {
function svgAltSize(w, title) {
var path, a;
// Example:
// - https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png
// - https://upload.wikimedia.org/wikipedia/commons/thumb/7/70/Example.png/116px-Example.png
// - https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Gerrit_patchset_25838_test.svg/200px-Gerrit_patchset_25838_test.svg.png
// - https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Gerrit_patchset_25838_test.svg/langde-200px-Gerrit_patchset_25838_test.svg.png
path = thumbu.replace(/\/(lang[a-z-]+-)?\d+(px-[^\/]+$)/, '/$1' + w + '$2');
a = document.createElement('A');
a.setAttribute('href', path);
a.appendChild(document.createTextNode(title));
return a;
}
var file = document.getElementById('file'); // might fail if MediaWiki can't render the SVG
if (file && mw.config.get( 'wgIsArticle' ) && mw.config.get( 'wgTitle' ).match(/\.svg$/i)) {
var thumbu = jQuery(file).find('img:first').attr('src');
if (!thumbu) {
return;
}
var p = document.createElement('p');
p.className = 'SVGThumbs';
var i18n = {
'be-tarask': 'Гэтая выява ў фармаце PNG у іншых памерах: ',
'be-x-old': 'Гэтая выява ў фармаце PNG у іншых памерах: ',
bn: 'এই চিত্রটি অন্যান্য প্রস্থের মধ্যে PNG হিসেবে রূপান্তরিত: ',
en: 'This image rendered as PNG in other widths: ',
eo: 'Ĉi tiu bildo en la aranĝo PNG kun aliaj larĝoj: ',
es: 'Esta imagen renderizada como PNG en otros tamaños: ',
de: 'Dieses Bild im PNG-Format in folgenden Breiten: ',
cs: 'Tento obrázek jako PNG v jiné velikosti: ',
cy: 'Caiff y ddelwedd hon ei chynhyrchu mewn PNG yn y lled canlynol: ',
fa: 'رندر پی\u200cان\u200cجی این تصویر در اندازه\u200cهای دیگر: ',
fr: 'Cette image restituée en PNG dans d’autres tailles : ',
hr: 'Prikaži sliku u PNG formatu u ostalim veličinama: ',
hy: 'Այս պատկերը մատուցված որպես ՓիԷնՋի այլ լայնքերով՝ ',
id: 'Gambar ini dijadikan PNG dengan lebar berbeda: ',
ja: 'この画像の PNG 版は他のサイズでも利用可能です:',
min: 'Gambar ko dijadian PNG jo leba babedo: ',
ml: 'ഈ ചിത്രം PNG ആയി ലഭ്യമാകുന്ന മറ്റ് വലിപ്പങ്ങൾ: ',
mk: 'Сликава како PNG во други големини: ',
nl: 'Deze afbeelding als PNG in andere groottes: ',
pt: 'Esta imagem renderizada como PNG em outros tamanhos: ',
'pt-br': 'Esta imagem renderizada como PNG em outros tamanhos: ',
sl: 'Prikaži to sliko v PNG-zapisu v drugih velikostih: ',
sv: 'Denna bild i PNG-format i olika storlekar: ',
vi: 'Hình này được kết xuất ở dạng PNG có chiều ngang khác: ',
'zh-hans': '该图像转换为PNG格式的其他尺寸:',
'zh-hant': '該圖像轉換為PNG格式的其他尺寸:'
};
var ptext = i18n[mw.config.get( 'wgUserLanguage' )] || i18n.en;
p.appendChild(document.createTextNode(ptext));
var l = [200, 500, 1000, 2000];
for (var i = 0; i < l.length; i++) {
p.appendChild(svgAltSize(l[i], l[i] + 'px'));
if (i < l.length - 1) {
p.appendChild(document.createTextNode(', '));
}
}
p.appendChild(document.createTextNode('.'));
var info = $(file.parentNode).find('div.fullMedia').get(0);
if (info) {
info.appendChild(p);
}
}
}
$(SVGThumbs);
// Language specific site-wide JavaScript
if ($.inArray(mw.config.get('wgUserLanguage'), [
'ar',
'arc',
'arz',
'bcc',
'bqi',
'dv',
'fa',
'fa-af',
'glk',
'ha',
'he',
'kk-arab',
'kk-cn',
'ks',
'ku',
'ku-arab',
'mzn',
'nds',
'prd',
'ps',
'sd',
'ur',
'ydd',
'yi'
]) !== -1) {
importScript('MediaWiki:Common.js/' + mw.config.get( 'wgUserLanguage' ));
}
/**
* Helper function to normalize date used by script (e.g. Flickrreview script)
*
* TODO: Outsource to a gadget for proper minifying and dependencies?
* Maintainer: ???
*/
function getISODate() {
var date = new Date();
// UTC
var dd = date.getUTCDate();
if (dd < 10) {
dd = '0' + dd.toString();
}
var mm = date.getUTCMonth() + 1;
if (mm < 10) {
mm = '0' + mm.toString();
}
var YYYY = date.getUTCFullYear();
var ISOdate = YYYY + '-' + mm + '-' + dd;
return ISOdate;
}
/**
* Sitenotice translation for all skins
* Maintainer: Krinkle
*/
$(function () {
if (mw.config.get( 'wgUserLanguage' ) !== 'en') {
$('#siteNotice').find('#localNotice p').load(
mw.util.getUrl( 'MediaWiki:Sitenotice-translation' ) + '?action=render&uselang=' + mw.config.get( 'wgUserLanguage' ) + ' p'
);
}
});
/**
* Main page tab all main pages and instead of the 'Gallery' tab
*/
if ($.inArray( mw.config.get( 'wgNamespaceNumber' ), [ 0 , 1 ]) > -1) {
importScript('MediaWiki:MainPages.js');
}
/**
* Add links to GlobalUsage and the CommonsDelinker log to file deletion log entries.
*
* Maintainer: [[User:Ilmari Karonen]]
*/
mw.hook( 'wikipage.content' ).add(function($content) {
var $deletions = $content.find('li.mw-logline-delete');
if (!$deletions.length) {
return;
}
// create the links in advance so we can cloneNode() them quickly in the loop
var guLink = $('<a>', {
'class' : 'delinker-log-globalusage'
}).append('global usage');
var cdLink = $('<a>', {
'class' : 'delinker-log-link extiw'
}).append('delinker log');
var span = $('<span>', {
'class' : 'delinker-log-links'
}).append(' (').append(guLink).append('; ')
.append(cdLink).append(')');
$deletions.each (function() {
var $match = $( this ).find('a[title^="File:"]').first();
if ( $match.length ) {
var filename = $match.text().substring(5).replace(/ /g,'_');
guLink.attr('href', mw.util.getUrl( 'Special:GlobalUsage' ) + '?target=' + encodeURIComponent(filename) );
guLink.attr('title', 'Current usage of ' + filename + ' on all Wikimedia projects');
cdLink.attr('href', '//tools.wmflabs.org/commons-delinquent/index.php?image=' + encodeURIComponent(filename));
cdLink.attr('title', 'CommonsDelinker log for ' + filename);
$( this ).append( span.clone() );
}
});
});
// Workaround for [[bugzilla:708]] via [[Template:InterProject]]
importScript('MediaWiki:InterProject.js');
/**
* {{tl|LargeImage}} linkswap
*
* Swaps the 'full resolution' link with the 'interactive zoomviewer' links for large images.
* Avoids people crashing their browser by accidentally attempting to view a 200MP image
*
* Maintainer: [[User:Dschwen]]
*/
if (mw.config.get( 'wgAction' ) === 'view' && mw.config.get( 'wgNamespaceNumber' ) === 6) {
$(function () {
var $viewerLinks = $('#LargeImage_viewer_links'),
$fullResLink = $('.fullMedia>a[href^="//upload.wikimedia.org/wikipedia/commons/"].internal'),
$copy_to = $fullResLink.clone(true),
$copy_from = $viewerLinks.clone(true);
if ($viewerLinks.length === 1 && $fullResLink.length === 1) {
$fullResLink.replaceWith($copy_from);
$viewerLinks.replaceWith($copy_to);
}
});
}
// Update from https://tools.wmflabs.org/intuition/wpAvailableLanguages.js.php - Last update: Sat, 11 Aug 2018 19:39:12 +0000
window.wpAvailableLanguages={"aa":"Qafár af","ab":"Аҧсшәа","abs":"bahasa ambon","ace":"Acèh","ady":"адыгабзэ","ady-cyrl":"адыгабзэ","aeb":"تونسي\/Tûnsî","aeb-arab":"تونسي","aeb-latn":"Tûnsî","af":"Afrikaans","ak":"Akan","aln":"Gegë","als":"Alemannisch","am":"አማርኛ","an":"aragonés","ang":"Ænglisc","anp":"अङ्गिका","ar":"العربية","arc":"ܐܪܡܝܐ","arn":"mapudungun","arq":"جازايرية","ary":"Maġribi","arz":"مصرى","as":"অসমীয়া","ase":"American sign language","ast":"asturianu","atj":"Atikamekw","av":"авар","avk":"Kotava","awa":"अवधी","ay":"Aymar aru","az":"azərbaycanca","azb":"تۆرکجه","ba":"башҡортса","ban":"Basa Bali","bar":"Boarisch","bat-smg":"žemaitėška","bbc":"Batak Toba","bbc-latn":"Batak Toba","bcc":"جهلسری بلوچی","bcl":"Bikol Central","be":"беларуская","be-tarask":"беларуская (тарашкевіца)","be-x-old":"беларуская (тарашкевіца)","bg":"български","bgn":"روچ کپتین بلوچی","bh":"भोजपुरी","bho":"भोजपुरी","bi":"Bislama","bjn":"Bahasa Banjar","bm":"bamanankan","bn":"বাংলা","bo":"བོད་ཡིག","bpy":"বিষ্ণুপ্রিয়া মণিপুরী","bqi":"بختیاری","br":"brezhoneg","brh":"Bráhuí","bs":"bosanski","btm":"Batak Mandailing","bto":"Iriga Bicolano","bug":"ᨅᨔ ᨕᨘᨁᨗ","bxr":"буряад","ca":"català","cbk-zam":"Chavacano de Zamboanga","cdo":"Mìng-dĕ̤ng-ngṳ̄","ce":"нохчийн","ceb":"Cebuano","ch":"Chamoru","cho":"Choctaw","chr":"ᏣᎳᎩ","chy":"Tsetsêhestâhese","ckb":"کوردی","co":"corsu","cps":"Capiceño","cr":"Nēhiyawēwin \/ ᓀᐦᐃᔭᐍᐏᐣ","crh":"qırımtatarca","crh-cyrl":"къырымтатарджа (Кирилл)","crh-latn":"qırımtatarca (Latin)","cs":"čeština","csb":"kaszëbsczi","cu":"словѣньскъ \/ ⰔⰎⰑⰂⰡⰐⰠⰔⰍⰟ","cv":"Чӑвашла","cy":"Cymraeg","da":"dansk","de":"Deutsch","de-at":"Österreichisches Deutsch","de-ch":"Schweizer Hochdeutsch","de-formal":"Deutsch (Sie-Form)","din":"Thuɔŋjäŋ","diq":"Zazaki","dsb":"dolnoserbski","dtp":"Dusun Bundu-liwan","dty":"डोटेली","dv":"ދިވެހިބަސް","dz":"ཇོང་ཁ","ee":"eʋegbe","egl":"Emiliàn","el":"Ελληνικά","eml":"emiliàn e rumagnòl","en":"English","en-ca":"Canadian English","en-gb":"British English","eo":"Esperanto","es":"español","es-419":"español de América Latina","es-formal":"español (formal)","et":"eesti","eu":"euskara","ext":"estremeñu","fa":"فارسی","ff":"Fulfulde","fi":"suomi","fit":"meänkieli","fiu-vro":"Võro","fj":"Na Vosa Vakaviti","fo":"føroyskt","fr":"français","frc":"français cadien","frp":"arpetan","frr":"Nordfriisk","fur":"furlan","fy":"Frysk","ga":"Gaeilge","gag":"Gagauz","gan":"贛語","gan-hans":"赣语(简体)","gan-hant":"贛語(繁體)","gcr":"kréyòl gwiyanè","gd":"Gàidhlig","gl":"galego","glk":"گیلکی","gn":"Avañe'ẽ","gom":"गोंयची कोंकणी \/ Gõychi Konknni","gom-deva":"गोंयची कोंकणी","gom-latn":"Gõychi Konknni","gor":"Bahasa Hulontalo","got":"\ud800\udf32\ud800\udf3f\ud800\udf44\ud800\udf39\ud800\udf43\ud800\udf3a","grc":"Ἀρχαία ἑλληνικὴ","gsw":"Alemannisch","gu":"ગુજરાતી","gv":"Gaelg","ha":"Hausa","hak":"客家語\/Hak-kâ-ngî","haw":"Hawaiʻi","he":"עברית","hi":"हिन्दी","hif":"Fiji Hindi","hif-latn":"Fiji Hindi","hil":"Ilonggo","ho":"Hiri Motu","hr":"hrvatski","hrx":"Hunsrik","hsb":"hornjoserbsce","ht":"Kreyòl ayisyen","hu":"magyar","hu-formal":"magyar (formal)","hy":"Հայերեն","hyw":"արեւմտահայերէն","hz":"Otsiherero","ia":"interlingua","id":"Bahasa Indonesia","ie":"Interlingue","ig":"Igbo","ii":"ꆇꉙ","ik":"Iñupiak","ike-cans":"ᐃᓄᒃᑎᑐᑦ","ike-latn":"inuktitut","ilo":"Ilokano","inh":"ГӀалгӀай","io":"Ido","is":"íslenska","it":"italiano","iu":"ᐃᓄᒃᑎᑐᑦ\/inuktitut","ja":"日本語","jam":"Patois","jbo":"la .lojban.","jut":"jysk","jv":"Basa Jawa","ka":"ქართული","kaa":"Qaraqalpaqsha","kab":"Taqbaylit","kbd":"Адыгэбзэ","kbd-cyrl":"Адыгэбзэ","kbp":"Kabɩyɛ","kg":"Kongo","khw":"کھوار","ki":"Gĩkũyũ","kiu":"Kırmancki","kj":"Kwanyama","kk":"қазақша","kk-arab":"قازاقشا (تٴوتە)","kk-cn":"قازاقشا (جۇنگو)","kk-cyrl":"қазақша (кирил)","kk-kz":"қазақша (Қазақстан)","kk-latn":"qazaqşa (latın)","kk-tr":"qazaqşa (Türkïya)","kl":"kalaallisut","km":"ភាសាខ្មែរ","kn":"ಕನ್ನಡ","ko":"한국어","ko-kp":"조선말","koi":"Перем Коми","kr":"Kanuri","krc":"къарачай-малкъар","kri":"Krio","krj":"Kinaray-a","krl":"karjal","ks":"कॉशुर \/ کٲشُر","ks-arab":"کٲشُر","ks-deva":"कॉशुर","ksh":"Ripoarisch","ku":"kurdî","ku-arab":"كوردي (عەرەبی)","ku-latn":"kurdî (latînî)","kum":"къумукъ","kv":"коми","kw":"kernowek","ky":"Кыргызча","la":"Latina","lad":"Ladino","lb":"Lëtzebuergesch","lbe":"лакку","lez":"лезги","lfn":"Lingua Franca Nova","lg":"Luganda","li":"Limburgs","lij":"Ligure","liv":"Līvõ kēļ","lki":"لەکی","lmo":"lumbaart","ln":"lingála","lo":"ລາວ","loz":"Silozi","lrc":"لۊری شومالی","lt":"lietuvių","ltg":"latgaļu","lus":"Mizo ţawng","luz":"لئری دوٙمینی","lv":"latviešu","lzh":"文言","lzz":"Lazuri","mai":"मैथिली","map-bms":"Basa Banyumasan","mdf":"мокшень","mg":"Malagasy","mh":"Ebon","mhr":"олык марий","mi":"Māori","min":"Baso Minangkabau","mk":"македонски","ml":"മലയാളം","mn":"монгол","mni":"মেইতেই লোন্","mo":"молдовеняскэ","mr":"मराठी","mrj":"кырык мары","ms":"Bahasa Melayu","mt":"Malti","mus":"Mvskoke","mwl":"Mirandés","my":"မြန်မာဘာသာ","myv":"эрзянь","mzn":"مازِرونی","na":"Dorerin Naoero","nah":"Nāhuatl","nan":"Bân-lâm-gú","nap":"Napulitano","nb":"norsk bokmål","nds":"Plattdüütsch","nds-nl":"Nedersaksies","ne":"नेपाली","new":"नेपाल भाषा","ng":"Oshiwambo","niu":"Niuē","nl":"Nederlands","nl-informal":"Nederlands (informeel)","nn":"norsk nynorsk","no":"norsk","nov":"Novial","nrm":"Nouormand","nso":"Sesotho sa Leboa","nv":"Diné bizaad","ny":"Chi-Chewa","nys":"Nyunga","oc":"occitan","olo":"Livvinkarjala","om":"Oromoo","or":"ଓଡ଼ିଆ","os":"Ирон","pa":"ਪੰਜਾਬੀ","pag":"Pangasinan","pam":"Kapampangan","pap":"Papiamentu","pcd":"Picard","pdc":"Deitsch","pdt":"Plautdietsch","pfl":"Pälzisch","pi":"पालि","pih":"Norfuk \/ Pitkern","pl":"polski","pms":"Piemontèis","pnb":"پنجابی","pnt":"Ποντιακά","prg":"Prūsiskan","ps":"پښتو","pt":"português","pt-br":"português do Brasil","qu":"Runa Simi","qug":"Runa shimi","rgn":"Rumagnôl","rif":"Tarifit","rm":"rumantsch","rmy":"Romani","rn":"Kirundi","ro":"română","roa-rup":"armãneashti","roa-tara":"tarandíne","ru":"русский","rue":"русиньскый","rup":"armãneashti","ruq":"Vlăheşte","ruq-cyrl":"Влахесте","ruq-latn":"Vlăheşte","rw":"Kinyarwanda","sa":"संस्कृतम्","sah":"саха тыла","sat":"ᱥᱟᱱᱛᱟᱲᱤ","sc":"sardu","scn":"sicilianu","sco":"Scots","sd":"سنڌي","sdc":"Sassaresu","sdh":"کوردی خوارگ","se":"davvisámegiella","sei":"Cmique Itom","ses":"Koyraboro Senni","sg":"Sängö","sgs":"žemaitėška","sh":"srpskohrvatski \/ српскохрватски","shi":"Tašlḥiyt\/ⵜⴰⵛⵍⵃⵉⵜ","shi-latn":"Tašlḥiyt","shi-tfng":"ⵜⴰⵛⵍⵃⵉⵜ","shn":"ၽႃႇသႃႇတႆး ","shy-latn":"tachawit","si":"සිංහල","simple":"Simple English","sk":"slovenčina","skr":"سرائیکی","skr-arab":"سرائیکی","sl":"slovenščina","sli":"Schläsch","sm":"Gagana Samoa","sma":"Åarjelsaemien","sn":"chiShona","so":"Soomaaliga","sq":"shqip","sr":"српски \/ srpski","sr-ec":"српски (ћирилица)","sr-el":"srpski (latinica)","srn":"Sranantongo","ss":"SiSwati","st":"Sesotho","stq":"Seeltersk","sty":"cебертатар","su":"Basa Sunda","sv":"svenska","sw":"Kiswahili","szl":"ślůnski","ta":"தமிழ்","tay":"Tayal","tcy":"ತುಳು","te":"తెలుగు","tet":"tetun","tg":"тоҷикӣ","tg-cyrl":"тоҷикӣ","tg-latn":"tojikī","th":"ไทย","ti":"ትግርኛ","tk":"Türkmençe","tl":"Tagalog","tly":"толышә зывон","tn":"Setswana","to":"lea faka-Tonga","tpi":"Tok Pisin","tr":"Türkçe","tru":"Ṫuroyo","ts":"Xitsonga","tt":"татарча\/tatarça","tt-cyrl":"татарча","tt-latn":"tatarça","tum":"chiTumbuka","tw":"Twi","ty":"reo tahiti","tyv":"тыва дыл","tzm":"ⵜⴰⵎⴰⵣⵉⵖⵜ","udm":"удмурт","ug":"ئۇيغۇرچە \/ Uyghurche","ug-arab":"ئۇيغۇرچە","ug-latn":"Uyghurche","uk":"українська","ur":"اردو","uz":"oʻzbekcha\/ўзбекча","uz-cyrl":"ўзбекча","uz-latn":"oʻzbekcha","ve":"Tshivenda","vec":"vèneto","vep":"vepsän kel’","vi":"Tiếng Việt","vls":"West-Vlams","vmf":"Mainfränkisch","vo":"Volapük","vot":"Vaďďa","vro":"Võro","wa":"walon","war":"Winaray","wo":"Wolof","wuu":"吴语","xal":"хальмг","xh":"isiXhosa","xmf":"მარგალური","yi":"ייִדיש","yo":"Yorùbá","yue":"粵語","za":"Vahcuengh","zea":"Zeêuws","zgh":"ⵜⴰⵎⴰⵣⵉⵖⵜ ⵜⴰⵏⴰⵡⴰⵢⵜ","zh":"中文","zh-classical":"文言","zh-cn":"中文(中国大陆)","zh-hans":"中文(简体)","zh-hant":"中文(繁體)","zh-hk":"中文(香港)","zh-min-nan":"Bân-lâm-gú","zh-mo":"中文(澳門)","zh-my":"中文(马来西亚)","zh-sg":"中文(新加坡)","zh-tw":"中文(台灣)","zh-yue":"粵語","zu":"isiZulu"};
/**
* AnonymousI18N
*
* Internationalisation for anonymous users.
*
* @author [[User:Krinkle]]
* @stats [[File:Krinkle_AnonymousI18N.js]]
*/
if (mw.config.get('wgUserName') === null) {
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:AnonymousI18N.js&action=raw&ctype=text/javascript' );
// ULS disabled until functional - T58464
$('#pt-uls').hide();
}
/**
* Special:Upload enhancements
*
* Moved to [[MediaWiki:Upload.js]], [[MediaWiki:Gadget-ImprovedUploadForm.js]]
*
* Maintainer: [[User:Lupo]]
*
*/
if (mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Upload') {
importScript('MediaWiki:Upload.js');
}
/**
* Pending fix for bug 29277
*
* If we're on file pages and the filepage module isn't being loaded
* or already loaded, load it.
* Calls to mw.log are file, mw.log is no-op function in production mode,
* and with debug=true it's linked to console.
*/
if ( mw.config.get( 'wgCanonicalNamespace' ) === 'File' && $.inArray( mw.loader.getState( 'filepage' ), ['loading', 'loaded', 'ready'] ) === -1 ) {
mw.log( 'site js> filepage module should be loaded but is not. loading now..' );
mw.loader.using( 'filepage', function () {
mw.log( 'site js> filepage module ' + mw.loader.getState( 'filepage' ) );
} );
}
/**
* ImageStacks
* Maintainer: [[User:Hellerhoff]], [[User:DieBuche]]
*/
// Only load if page contains template
mw.hook( 'wikipage.content' ).add( function ( $content ) {
if ( $content.find( 'div.ImageStack' ).length ) mw.loader.load( 'ext.gadget.ImageStack' );
} );
// Catfood - tweaked version of [[MediaWiki:Catfood.js]]
// Add a link to a RSS feed for each category page, in the toolbox.
// If i18n is required, create a gadget, please and use MW-messages
if (mw.config.get('wgNamespaceNumber') === 14) $(document).ready(function () {
var p = mw.util.addPortletLink('p-tb', '//tools.wmflabs.org/catfood/catfood.php?category=' + encodeURIComponent(mw.config.get('wgTitle').split(' ').join('_')), 'RSS feed', 't-catfood', 'Category feed: The images are ordered based on the time of the addition of the image to the category, latest additions first');
if (!p) return;
var $p = $(p);
var $a = $p.find('a');
if ($a.length) {
$a.addClass('feedlink');
} else {
$p.addClass('feedlink');
}
});
/**
* Commons Dashboard
* a collection of widgets containing real time status displays
* and ways to achieve common tasks with less work
* that seamless integrate into the Wikimedia Commons user interface
* @maintainer [[User:Rillke]]
*/
mw.hook( 'wikipage.content' ).add( function($content) {
if ($content.find('.commonsdashboard').length) mw.loader.load('ext.gadget.CommonsDashboard');
} );
/**
* jQuery UI loader
* Loads jQuery UI modules on demand and allows users making use of
* (some) of the awesome jQuery UI widgets.
*
* @maintainer [[User:Rillke]]
*/
mw.hook( 'wikipage.content' ).add( function ( $content ) {
var $accordion = $content.find( '.accordion' ),
$button = $content.find( '.ui-button' );
if ($accordion.length) {
mw.loader.using( 'jquery.ui', function () {
$accordion.accordion( { autoHeight: false } );
} );
}
if ($button.length) {
mw.loader.load( 'jquery.ui' );
}
} );
// Fix for https://bugzilla.wikimedia.org/show_bug.cgi?id=51038
mw.hook( 'wikipage.content' ).add( function($content) {
if ($content.find('.mw-babel-wrapper').length) mw.loader.load('ext.babel');
});
/* End of mw.loader.using callback */
});
010tm3xw8v6t0uxgso25yw1q0cae2z7
MediaWiki:Common.css
8
224
4358
430
2022-04-07T02:47:18Z
Krinkle
464
Maintenance: [[mw:RL/MGU]] - "/static/current" is deprecated ([[phab:T302465|T302465]])
4358
css
text/css
/*
Common CSS for all skins
See https://phabricator.wikimedia.org/M82 for standard colors
*/
/* Larger conditions-area in AbuseFilter for some */
#wpFilterRules {
min-height: 250px;
}
/* Larger notes-area in AbuseFilter for some */
#wpFilterNotes {
min-height: 150px;
}
/* Style for "notices" */
.notice {
text-align: justify;
margin: 1em;
padding: 0.2em;
}
#disambig {
border-top: 3px double #c8ccd1;
border-bottom: 3px double #c8ccd1;
}
#spoiler {
border-top: 2px solid #ddd;
border-bottom: 2px solid #ddd;
}
/* Add arrows to toggle-blocks for collapsible elements */
.mw-collapsible-toggle-expanded.mw-collapsible-arrowtoggle,
.mw-collapsible-toggle-expanded .mw-collapsible-arrowtoggle {
padding-left: 20px !important;
background-image: url('//upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png');
background-repeat: no-repeat;
background-position: left center;
}
.mw-collapsible-toggle-collapsed.mw-collapsible-arrowtoggle,
.mw-collapsible-toggle-collapsed .mw-collapsible-arrowtoggle {
padding-left: 20px !important;
background-image: url('//upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png');
background-repeat: no-repeat;
background-position: left center;
}
/* deprecated - use "messagebox standard-talk" */
.Talk-Notice {
border: 1px solid #c0c090;
background: #f8eaba;
margin-bottom: 3px;
width: 80%;
border-spacing: 3px;
margin-left: auto;
margin-right: auto;
}
/* Make template background appear correctly on all browsers */
.Talk-Notice td {
background: inherit;
}
/* Metadata */
table.metadata {
border: 1px solid #a2a9b1;
display: none;
speak: none;
}
/* Class for links with loudspeaker icon next to them */
.audiolink a {
background: url("//upload.wikimedia.org/wikipedia/commons/f/f7/Loudspeaker.png") center left no-repeat !important;
padding-left: 16px !important;
padding-right: 0 !important;
}
/* When this would make a red link, hide it. For links where #ifexist cannot be used due to high number of requests. See [[meta:Help:Page_existence]]
*/
.hidden-redlink a.new {
display: none;
speak: none;
}
.client-js .noscript {
display: none;
}
/* Infobox templates */
.infobox {
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
.infobox td,
.infobox th {
vertical-align: middle;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #a2a9b1;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0 solid #a2a9b1;
}
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
.archive-box {
border: 1px solid #aaf;
background: #f2f2f9;
color: #000;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
text-align: center;
}
/**
* Customisation of the interface
*/
/* Put a checker background at the image description page only visible if the image has transparent background */
/* You may want to clear the gallery background for the main namespace on other projects as galleries are used in articles */
#file img,
.filehistory a img,
.gallerybox .thumb img,
.com-checker img{
background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}
/* Allow checkered background to be disabled by using <gallery class="nochecker"></gallery> */
.nochecker .gallerybox .thumb img {
background: white;
}
/* Moved upload link from toolbox into the MediaWiki:Sidebar thus suppressing the old duplicate */
#p-tb #t-upload { display: none; }
/* Removes underlines from links */
.nounderlines a { text-decoration: none; }
/* Makes the text of the "save" button bold */
#wpSave { font-weight: bold; }
/* Make sure the license dropdown of the upload form doesn't extend beyond the browser's
window, even if there are some long license descriptions. (If that happens, the description
box *also* goes beyond the right edge of the window.)
*/
#wpLicense {
width: 100%;
overflow: hidden;
}
/* Give the upload form a little breathing space. */
#upload * td {
padding-bottom: 8px;
}
#mw-upload-table * td {
padding-bottom: 8px;
}
/* Styling for Abuse Filter tags */
.mw-tag-markers {
font-style:italic;
font-size:90%;
}
/* Override rules that make edit link asymmetrical on talk pages and new section link skinnier than the rest */
#p-cactions #ca-addsection a {
padding-left: 0.8em;
padding-right: 0.8em;
}
#p-cactions #ca-edit a {
padding-left: 0.8em;
padding-right: 0.8em;
}
/* Something nice for lists in RTL languages */
div.RTL * ul {
margin-right: 10px;
display: table;
}
div.RTL * ol {
margin-right: 10px;
display: table;
}
/* Special:Search styles */
.mw-search-results li{
padding: 0.25em 1em;
border-bottom: 1px solid #d3daed;
}
.mw-search-results li:nth-child(odd) {
background-color: #f6f8fc;
}
/* Main pages */
/* Hide title and "Nominate for deletion" button when viewing the main page (but not when editing it or viewing the talk page).
* The "mw-mainpage" class is for all localised main pages in [[MediaWiki:MainPages.js]].
*/
/* Optimise for "Main Page" because the scripts don't apply until after page load so it flashes briefly.
* Support IE6: ".page" must go after ".action" as IE6 only supports one class per element and uses the last one. If reversed, the rule will hide headings on all pages.
*/
.action-view.page-Main_Page #firstHeading,
.mw-mainpage #firstHeading,
.mw-mainpage #t-ajaxquickdelete,
.mw-mainpage #localNotice,
.mw-mainpage #siteSub,
.mw-mainpage #catlinks {
display: none;
}
#mainpage-potd a img {
width: 100%!important;
-ms-interpolation-mode: bicubic;
height: auto!important;
max-width: 600px!important;
}
/* wikitable is now in core. Untill prettytable is fully replaced, define it here */
/* See also: https://commons.wikimedia.org/w/resources/src/mediawiki.legacy/shared.css */
/* prettytable class for skinning normal tables */
table.prettytable {
margin: 1em 1em 1em 0;
background: #f8f9fa;
border: 1px #a2a9b1 solid;
border-collapse: collapse;
}
.prettytable th, .prettytable td {
border: 1px #a2a9b1 solid;
padding: 0.2em;
}
.prettytable th {
background: #f2f2f2;
text-align: center;
}
.prettytable caption {
font-weight: bold;
}
/**
* hiddenStructure
* @deprecated
*/
.hiddenStructure,
.hiddenStructure- {
display: none;
speak: none;
}
/* Template:DELheader */
.delh {
background: #f3f9ff;
margin: 0 auto;
padding: 0 10px;
border: 1px solid #a2a9b1;
margin-top: 7px;
}
/* Template:Udelh - separate from delh to allow different user-defined behavior */
.udelh {
background: #f3f9ff;
margin: 0 auto;
padding: 0 10px;
border: 1px solid #a2a9b1;
margin-top: 7px;
}
.utoc .tocnumber {
display: none;
}
.utoc #toc ul,
.utoc .toc ul {
line-height: 1.5em;
list-style-type: square;
margin: .3em 0 0 1.5em;
padding: 0;
}
/* Necessary for displaying text in the upper right edge. (Used in [[Template:Shortcut]].) */
#content span.coordinates a.external.text:after, #content span.coordinates a.external.autonumber:after { content: ""; }
#content div.coordinates a.external.text:after, #content div.coordinates a.external.autonumber:after { content: ""; }
#shortcut { display: none; }
/**
* Style for horizontal lists (separator following item).
* @source mediawiki.org/wiki/Snippets/Horizontal_lists
* @revision 6 (2014-05-09)
* @author [[User:Edokter]]
*/
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
margin: 0;
display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist ol dl, .hlist ol ol, .hlist ol ul,
.hlist ul dl, .hlist ul ol, .hlist ul ul {
display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li {
display: none;
}
/* Generate interpuncts */
.hlist dt:after {
content: ": ";
}
.hlist dd:after,
.hlist li:after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
content: ") ";
font-weight: normal;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
content: ") ";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li:before {
content: " " counter(listitem) " ";
white-space: nowrap;
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) " ";
}
/* END of HLISTs */
/* Unbulleted lists */
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ul li {
margin-bottom: 0;
}
/* Default style for navigation boxes */
.navbox { /* Navbox container style */
border: 1px solid #a2a9b1;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em; /* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
}
th.navbox-group { /* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
line-height: 1.8em;
border-color: #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0; /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
margin-top: 0.5em; /* Prevent lists from clinging to navboxes */
}
/* Default styling for Navbar template */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar ul {
display: inline;
white-space: nowrap;
}
.navbar li {
word-spacing: -0.125em;
}
.navbar.mini li span {
font-variant: small-caps;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* intentionally is flipped */
float: left;
/* intentionally is flipped */
text-align: left;
/* intentionally is flipped */
margin-right: 0.5em;
width: 6em;
}
/* Put on gallery_details the same styles as on gallery */
table.gallery_details {
border: 1px solid #c8ccd1;
margin: 2px;
padding: 2px;
background: #fff;
}
table.gallery_details tr {
vertical-align: top;
}
table.gallery_details td {
vertical-align: top;
background: #f8f9fa;
border: 2px solid #fff;
}
/* Small font-size for hidden categories,
per [[Commons:Village_pump/Archive/2010Mar#Hidden_categories:_change_the_default_setting_for_logged-in_users]]
*/
#mw-hidden-catlinks { font-size: 87% !important; }
/* To color the mention "updated since my last visit" in the history */
span.updatedmarker {
color: #000;
background: #99D642;
}
/* Geographical coordinates defaults. See [[Template:Coord/link]]
for how these are used. The classes "geo", "longitude", and
"latitude" are used by the [[Geo microformat]].
*/
.geo-default, .geo-dms, .geo-dec { display: inline; }
.geo-nondefault, .geo-multi-punct { display: none; }
.longitude, .latitude { white-space: nowrap; }
/* Fix link color in jQuery dialogs */
.ui-dialog a {
color: #0645AD!important;
}
/* Class for template content that should be shown locally, even if JS is disabled,
but should not be visible on file pages shown on other sites.
Use with style="display:none". Interacts with collapsible divs (see above).
*/
div.show-on-commons { display: block !important; }
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul { display: none }
/* Redirects in categories, on [[Special:Allpages]], and [[Special:Prefixindex]] */
.redirect-in-category, .allpagesredirect a {
color: gray;
}
/* Hide deletion-instructions headers inside closed deletion requests (redundant) */
.delh .massdeletionrequest-header { display: none; }
/* Note that image has annotations at Commons; visible only on other projects. See https://commons.wikimedia.org/w/index.php?title=Template_talk:ImageNote&oldid=55319045 */
.annotationboxforwikipedia {
display: none;
}
/* Message box templates */
.messagebox {
border: 1px solid #a2a9b1;
background: #f8f9fa;
width: 80%;
margin: 0 auto 1em;
padding: 0.2em;
text-align: justify;
}
.messagebox.merge {
border: 1px solid #cf9fff;
background: #f5edf5;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background: #f8eaba;
}
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text { /* The message body cell(s) */
border: none;
padding: 0.25em 0.9em; /* 0.9em left/right */
width: 100%; /* Make all mboxes the same width regardless of text length */
}
td.mbox-image { /* The left image cell */
border: none;
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright { /* The right image cell */
border: none;
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */
text-align: center;
}
td.mbox-empty-cell { /* An empty narrow cell */
border: none;
padding: 0;
width: 1px;
}
/* Article message box styles */
table.ambox {
margin: 0 10%; /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
border-left: 10px solid #36c; /* Default "notice" blue */
background: #fbfbfb;
}
table.ambox + table.ambox { /* Single border between stacked boxes. */
margin-top: -1px;
}
.ambox th.mbox-text,
.ambox td.mbox-text { /* The message body cell(s) */
padding: 0.25em 0.5em; /* 0.5em left/right */
}
.ambox td.mbox-image { /* The left image cell */
padding: 2px 0 2px 0.5em; /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright { /* The right image cell */
padding: 2px 0.5em 2px 0; /* 0px left, 0.5em right */
}
table.ambox-notice {
border-left: 10px solid #36c; /* Blue */
}
table.ambox-speedy {
border-left: 10px solid #b32424; /* Red */
background: #fee7e6; /* Pink */
}
table.ambox-delete {
border-left: 10px solid #b32424; /* Red */
}
table.ambox-content {
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style {
border-left: 10px solid #fc3; /* Yellow */
}
table.ambox-move {
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-protection {
border-left: 10px solid #a2a9b1; /* Gray-gold */
}
/* Image message box styles */
table.imbox {
margin: 4px 10%;
border-collapse: collapse;
border: 3px solid #36c; /* Default "notice" blue */
background: #fbfbfb;
}
.imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */
margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
}
.mbox-inside .imbox { /* For imboxes inside other templates. */
margin: 4px;
}
table.imbox-notice {
border: 3px solid #36c; /* Blue */
}
table.imbox-speedy {
border: 3px solid #b32424; /* Red */
background: #fee; /* Pink */
}
table.imbox-delete {
border: 3px solid #b32424; /* Red */
}
table.imbox-content {
border: 3px solid #f28500; /* Orange */
}
table.imbox-style {
border: 3px solid #fc3; /* Yellow */
}
table.imbox-move {
border: 3px solid #9932cc; /* Purple */
}
table.imbox-protection {
border: 3px solid #a2a9b1; /* Gray-gold */
}
table.imbox-license {
border: 3px solid #88a; /* Dark gray */
background: #f7f8ff; /* Light gray */
}
table.imbox-featured {
border: 3px solid #cba135; /* Brown-gold */
}
/* Category message box styles */
table.cmbox {
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;
background: #DFE8FF; /* Default "notice" blue */
}
table.cmbox-notice {
background: #D8E8FF; /* Blue */
}
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b32424; /* Red */
background: #FFDBDB; /* Pink */
}
table.cmbox-delete {
background: #FFDBDB; /* Red */
}
table.cmbox-content {
background: #FFE7CE; /* Orange */
}
table.cmbox-style {
background: #FFF9DB; /* Yellow */
}
table.cmbox-move {
background: #E4D8FF; /* Purple */
}
table.cmbox-protection {
background: #EFEFE1; /* Gray-gold */
}
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1; /* Default "notice" gray */
background: #f8f9fa;
}
table.ombox-notice {
border: 1px solid #a2a9b1; /* Gray */
}
table.ombox-speedy {
border: 2px solid #b32424; /* Red */
background: #fee; /* Pink */
}
table.ombox-delete {
border: 2px solid #b32424; /* Red */
}
table.ombox-content {
border: 1px solid #f28500; /* Orange */
}
table.ombox-style {
border: 1px solid #fc3; /* Yellow */
}
table.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
table.ombox-protection {
border: 2px solid #a2a9b1; /* Gray-gold */
}
/* Talk page message box styles */
table.tmbox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #c0c090; /* Default "notice" gray-brown */
background: #f8eaba;
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */
margin: 2px 0; /* class ensures that this declaration overrides other */
width: 100%; /* For Safari and Opera */ /* styles (including mbox-small above) */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */
line-height: 1.5em; /* also "nested", so reset styles that are */
font-size: 100%; /* set in "mbox-small" above. */
}
table.tmbox-speedy {
border: 2px solid #b32424; /* Red */
background: #fee; /* Pink */
}
table.tmbox-delete {
border: 2px solid #b32424; /* Red */
}
table.tmbox-content {
border: 2px solid #f28500; /* Orange */
}
table.tmbox-style {
border: 2px solid #fc3; /* Yellow */
}
table.tmbox-move {
border: 2px solid #9932cc; /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
border: 1px solid #a2a9b1; /* Gray-brown */
}
/* Footer and header message box styles */
table.fmbox {
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #a2a9b1;
background: #f8f9fa; /* Default "system" gray */
}
table.fmbox-system {
background: #f8f9fa;
}
table.fmbox-warning {
border: 1px solid #bb7070; /* Dark pink */
background: #ffdbdb; /* Pink */
}
table.fmbox-editnotice {
background: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
#mw-protect-cascadeon {
clear: both;
margin: 0.2em 0;
border: 1px solid #bb7070;
background: #ffdbdb;
padding: 0.25em 0.9em;
}
/* Div based "system" style fmbox messages.
Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
clear: both;
margin: 0.2em 0;
border: 1px solid #a2a9b1;
background: #f8f9fa;
padding: 0.25em 0.9em;
}
/* These mbox-small classes must be placed after all other
ambox/tmbox/ombox etc classes. "body.mediawiki" is so
they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small { /* For the "small=yes" option. */
clear: right;
float: right;
margin: 4px 0 4px 1em;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
body.mediawiki table.mbox-small-left { /* For the "small=left" option. */
margin: 4px 1em 4px 0;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
#catlinks li {
padding:0 .3em;
margin:0;
}
#catlinks li:first-child {
padding-left:0;
}
/* Babel */
/* @noflip */
table.mw-babel-wrapper {
margin:0;
margin-bottom:0.5em;
margin-left: 1em;
background-color: transparent;
width:250px;
border-spacing:2px;
}
.mw-babel-notabox {
margin-left: auto;
margin-right: auto;
width: 238px;
}
.mw-babel-box-level-N {
display: none;
}
div.mw-babel-box table th {
font-family: sans-serif;
text-align:center;
}
div.mw-babel-box table td a {
font-weight: bold;
}
div.mw-babel-box-N {
border:solid #6EF7A7 1px;
}
div.mw-babel-box-4 {
border:solid #77E0E8 1px;
}
div.mw-babel-box-3 {
border:solid #99B3FF 1px;
}
div.mw-babel-box-2 {
border:solid #BCB9EF 1px;
}
div.mw-babel-box-1 {
border:solid #E0C0E0 1px;
}
div.mw-babel-box-0 {
border:solid #FFBBBB 1px;
}
div.mw-babel-box-N table {
background-color: #C5FCDC;
}
div.mw-babel-box-4 table {
background-color: #D0F8FF;
}
div.mw-babel-box-3 table {
background-color: #E0E8FF;
}
div.mw-babel-box-2 table {
background-color: #E9E5F9;
}
div.mw-babel-box-1 table {
background-color: #F3E0F3;
}
div.mw-babel-box-0 table {
background-color: #FFEEEE;
}
div.mw-babel-box-N table th {
background-color: #6EF7A7;
}
div.mw-babel-box-4 table th {
background-color: #77E0E8;
}
div.mw-babel-box-3 table th {
background-color: #99B3FF;
}
div.mw-babel-box-2 table th {
background-color: #BCB9EF;
}
div.mw-babel-box-1 table th {
background-color: #E0C0E0;
}
div.mw-babel-box-0 table th {
background-color: #FFBBBB;
}
/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target,
span.citation:target {
background-color: #DEF;
}
/* Styling the parameter fields in [[Template:Information]] and related templates
also here (besides on [[MediaWiki:Filepage.css]]) to ensure proper preview
on other pages than those in the file namespace */
.fileinfo-paramfield {
background: #ccf;
/* @noflip */
text-align: right;
/* @noflip */
padding-right: 0.4em;
width: 15%;
font-weight: bold;
}
/* Allow users to edit the orange on the main page in their personal CSS files */
.bg-orange {
background:#fad67d;
}
/* Partially support HTML5 bdi tag on old browsers that don't support
it and reassign its default value on modern browsers,
needed for better i18n even on old browsers
isolation on signature-talk will resolve mix of RTL/LTR on RTL UI*/
bdi, .signature-talk {
unicode-bidi: embed; /* fallback, it is not completely same but will work on most cases */
unicode-bidi: -webkit-isolate;
unicode-bidi: -moz-isolate;
unicode-bidi: isolate;
}
/* NS GWToolset (light grey) */
.ns-490 #content { background-color: #f4f4f4; }
.ns-490 div.thumb { border-color: #f4f4f4; }
/* Turn off some irrelevant MediaWiki help page links */
.mw-special-Upload #mw-indicator-mw-helplink {
display:none;
}
/* Same as .mw-references-columns (Cite extension)
* replacement for hardcoded [[Template:Column-width]]
*/
.responsive-columns {
-webkit-column-width: 35em;
-moz-column-width: 35em;
column-width: 35em;
}
/* Allow custom list styles in reference sections */
.reflist ol.references {
list-style-type: inherit;
}
83z0w1g28xtd1e9vdygqhs7x1f5srx7
MediaWiki:Randomimage-url
8
225
432
2019-01-07T21:02:52Z
Jdforrester (WMF)
11
Copy from Commons.
432
wikitext
text/x-wiki
Special:Random/File
4lk3a5dqw3o6dq3ftfglo0ucgbg0d2k
MediaWiki:Latestfiles
8
226
433
2019-01-07T21:03:13Z
Jdforrester (WMF)
11
Create.
433
wikitext
text/x-wiki
Latest files
bzv4pu6w5csl6aoreubrltz47nxzkml
MediaWiki:Randomimage
8
227
434
2019-01-07T21:03:33Z
Jdforrester (WMF)
11
Create.
434
wikitext
text/x-wiki
Random file
hqa28s6ta9pahvk3os8bvm5inaysqvw
MediaWiki:Latestfiles-url
8
228
435
2019-01-07T21:04:04Z
Jdforrester (WMF)
11
Create.
435
wikitext
text/x-wiki
Special:Newimages
f0gwj7b5ndgus6h29cqgc1ebrkewq3e
MediaWiki:Welcome
8
229
436
2019-01-07T21:04:27Z
Jdforrester (WMF)
11
Create.
436
wikitext
text/x-wiki
Welcome
nmrb2m0p86z9yjfwkvs20dmiksw9ptk
MediaWiki:Welcome-url
8
230
437
2019-01-07T21:04:45Z
Jdforrester (WMF)
11
Create.
437
wikitext
text/x-wiki
Commons:Welcome
b06w1zmqnbx5ma1j865xrywrwhx4m0o
MediaWiki:Village pump-url
8
231
438
2019-01-07T21:05:19Z
Jdforrester (WMF)
11
.
438
wikitext
text/x-wiki
Commons:Village pump
ctwo23rgg98a8x34kjlrkis1smbs28h
MediaWiki:Village pump
8
232
439
2019-01-07T21:05:33Z
Jdforrester (WMF)
11
Create.
439
wikitext
text/x-wiki
Village pump
q2wo92cze7z59youewlwyypa59cuo5j
MediaWiki:Contact
8
233
440
2019-01-07T21:06:06Z
Jdforrester (WMF)
11
.
440
wikitext
text/x-wiki
Contact us
8flz77icq8s7y6fa6rfkdzeh21v2nyn
MediaWiki:Contact-url
8
234
441
2019-01-07T21:06:30Z
Jdforrester (WMF)
11
.
441
wikitext
text/x-wiki
c:Commons:Contact_us
abyf7ukxiz9t7m9folrvebccdws3a8e
Category:User en
14
248
4128
4054
2022-02-04T09:42:49Z
1234qwer1234qwer4
524
Reverted 1 edit by [[Special:Contributions/148.74.235.89|148.74.235.89]] ([[User talk:148.74.235.89|talk]]): Babel is not a unique identifier (TwinkleGlobal)
4128
wikitext
text/x-wiki
Users in this category indicate their knowledge of language English.
7bf2iuaoeh75u40w201yr9kuky7um9u
Category:User en-N
14
249
474
2019-01-09T17:20:12Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
474
wikitext
text/x-wiki
Users in this category indicate they have skill level N for language English.
6s3d2b0m3ma7ppvwlsdyjqmh2u52jk4
Category:User fr
14
250
475
2019-01-09T17:20:12Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
475
wikitext
text/x-wiki
Users in this category indicate their knowledge of language French.
4xlv2uf2fro1y4hjw0rrg6xzhcdzdkw
Category:User fr-1
14
251
476
2019-01-09T17:20:12Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
476
wikitext
text/x-wiki
Users in this category indicate they have skill level 1 for language French.
3ax9ecjde06e29i2k8psxnp1br1lf1x
Category:User ga
14
252
477
2019-01-09T17:20:12Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
477
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Irish.
lmnintcs1ybcg158xzcq43scu707ecs
Category:User ga-1
14
253
478
2019-01-09T17:20:12Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
478
wikitext
text/x-wiki
Users in this category indicate they have skill level 1 for language Irish.
mp6v917tro5mhcy6s7bfla067vtyom6
MediaWiki:Lang
8
283
575
574
2019-01-10T15:22:42Z
Jdforrester (WMF)
11
1 revision imported: Lang message!
574
wikitext
text/x-wiki
en
132vgcjgm2eh6byg07vvb8e3d26dum3
MediaWiki:Lang/en-gb
8
285
579
2019-01-10T15:29:48Z
Jdforrester (WMF)
11
Create.
579
wikitext
text/x-wiki
en-gb
j94gyk2l2zxfuuge3yhllfiirl1q341
MediaWiki:Lang/en
8
286
580
2019-01-10T15:30:53Z
Jdforrester (WMF)
11
Create.
580
wikitext
text/x-wiki
en
132vgcjgm2eh6byg07vvb8e3d26dum3
Category:User he-0
14
291
595
2019-01-11T17:43:42Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
595
wikitext
text/x-wiki
Users in this category indicate they have skill level 0 for language Hebrew.
o38bhiyk6em0bxxxaj6nxot37jakvuk
Category:User yue
14
302
608
2019-01-16T20:39:10Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
608
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Cantonese.
60oauvv8zyemsw7ujpekqkdy9aqvsx0
Category:User yue-N
14
303
609
2019-01-16T20:39:11Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
609
wikitext
text/x-wiki
Users in this category indicate they have skill level N for language Cantonese.
bm1nd6c3arbdhh44uy3xx63pr2z0825
Category:User cmn
14
304
610
2019-01-16T20:39:11Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
610
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Mandarin Chinese.
31sn27cls9ktzi91x73h998g1qdxfzx
Category:User cmn-N
14
305
611
2019-01-16T20:39:11Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
611
wikitext
text/x-wiki
Users in this category indicate they have skill level N for language Mandarin Chinese.
hod8ylfr385r4fpvoopfx9z0tbdkapv
Category:User zh
14
306
612
2019-01-16T20:39:11Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
612
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Chinese.
bvrq0wu95btdoe2axwiw65459eac0ia
Category:User zh-N
14
307
613
2019-01-16T20:39:11Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
613
wikitext
text/x-wiki
Users in this category indicate they have skill level N for language Chinese.
jmexpvvlajq78tmt8440ymr8w6kfouk
Category:User en-3
14
308
614
2019-01-16T20:39:11Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
614
wikitext
text/x-wiki
Users in this category indicate they have skill level 3 for language English.
mvlixizznol7uwyz74zs70twijovegn
Category:User de
14
309
615
2019-01-16T20:39:11Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
615
wikitext
text/x-wiki
Users in this category indicate their knowledge of language German.
a9evv5xyvht8nbe9u4siki8upov587i
Category:User de-2
14
310
616
2019-01-16T20:39:11Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
616
wikitext
text/x-wiki
Users in this category indicate they have skill level 2 for language German.
aw4h9qgkhu1loakfvvamh7jzn36s0vi
Category:User es
14
315
626
2019-01-17T06:10:55Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
626
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Spanish.
6fa1yi71sk5kw5viqnhggmdi9rmwyrj
Category:User es-2
14
316
627
2019-01-17T06:10:55Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
627
wikitext
text/x-wiki
Users in this category indicate they have skill level 2 for language Spanish.
2oxlm0qjm9gi460kwbte87550nmz5pj
Category:User de-1
14
317
628
2019-01-17T06:10:55Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
628
wikitext
text/x-wiki
Users in this category indicate they have skill level 1 for language German.
e89cqgc8fcl0y0f6t7usas0yyz26rk2
Category:User pt
14
318
629
2019-01-17T06:10:55Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
629
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Portuguese.
nczkknvbedr2dkwitn5y4s8x72czt8u
Category:User pt-1
14
319
630
2019-01-17T06:10:55Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
630
wikitext
text/x-wiki
Users in this category indicate they have skill level 1 for language Portuguese.
08lpuciv749r7xj4rijy5bq2w401gei
Category:User ar
14
329
653
2019-02-07T08:09:18Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
653
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Arabic.
bjjd0qh43rdzeu5yu7590wqpt6x1t5k
Category:User ar-N
14
330
654
2019-02-07T08:09:18Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
654
wikitext
text/x-wiki
Users in this category indicate they have skill level N for language Arabic.
eiw271hlhwrw0r3vp8s3l3kbt39jhod
Category:User en-4
14
331
655
2019-02-07T08:09:18Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
655
wikitext
text/x-wiki
Users in this category indicate they have skill level 4 for language English.
jl83dsrgqnitz5125taugjrktfan63a
MediaWiki:Tag-Short caption
8
607
1260
2019-04-09T08:10:27Z
Steinsplitter
75
Created page with "Short [[:c:Commons:File captions|file caption]]"
1260
wikitext
text/x-wiki
Short [[:c:Commons:File captions|file caption]]
c26wq3mfbr8px2q8bygrvg99ujiw4il
Category:Cat
14
753
1894
2019-07-10T08:56:32Z
Roy17
105
Created page with "[[Category:Root]]"
1894
wikitext
text/x-wiki
[[Category:Root]]
plgyxa9zdjtjany4tcftrk2sfqdwo6g
Category:Flute players
14
767
1957
2019-07-22T18:02:44Z
NavinoEvans
157
Created page with "Here are some flute players"
1957
wikitext
text/x-wiki
Here are some flute players
fow7xv3g4hdwxm1jmlg4spcx2r1ytb1
Category:User es-0
14
787
2041
2019-07-30T16:47:19Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2041
wikitext
text/x-wiki
Users in this category indicate they have skill level 0 for language Spanish.
n72uugot2gqkwkm4ptaithyqwyqmqsu
Category:User ja
14
788
2042
2019-07-30T16:47:19Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2042
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Japanese.
4q1a9rj0g36upa0q3tlmhtm9xigfn7n
Category:User ja-1
14
789
2043
2019-07-30T16:47:19Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2043
wikitext
text/x-wiki
Users in this category indicate they have skill level 1 for language Japanese.
9n9ekxlfiu5wvqri34ap4x6vxvypuei
Category:User smm
14
790
2044
2019-07-30T16:47:19Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2044
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Musasa.
7k6hegtzv5tl14uilxmxi23u6g8l6o8
Category:User smm-1
14
791
2045
2019-07-30T16:47:19Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2045
wikitext
text/x-wiki
Users in this category indicate they have skill level 1 for language Musasa.
px712wx9d7b2z346qknzcs3wrub4d9k
Category:User hit
14
814
2209
2019-08-06T19:29:12Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2209
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Hittite.
rhr3nde9f0wf6162rhdxdenooc49hrv
Category:User hit-N
14
815
2210
2019-08-06T19:29:13Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2210
wikitext
text/x-wiki
Users in this category indicate they have skill level N for language Hittite.
shm3ulw91zb4o1u1pmojvwnjlezij99
Category:User akk
14
816
2211
2019-08-06T19:29:13Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2211
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Akkadian.
6u06pdqb76svq0qd84kallzg1gteirh
Category:User akk-N
14
817
2212
2019-08-06T19:29:13Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2212
wikitext
text/x-wiki
Users in this category indicate they have skill level N for language Akkadian.
j09vyunqor06buko8axnxnjk120w8ff
Category:User sux
14
818
2213
2019-08-06T19:29:13Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2213
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Sumerian.
2ujgk7lz4ulgy7utdephigdb9why5mi
Category:User sux-3
14
819
2214
2019-08-06T19:29:14Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2214
wikitext
text/x-wiki
Users in this category indicate they have skill level 3 for language Sumerian.
ru8y2jd5v001ntz7m0p0qdr3ybt1sia
Category:User elx-0
14
820
2215
2019-08-06T19:29:14Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2215
wikitext
text/x-wiki
Users in this category indicate they have skill level 0 for language Elamite.
1ldxxkhf8brulq98o1lebcv5got2kxr
MediaWiki:Tag-OAuth CID: 1261-description
8
901
2458
2019-09-19T09:34:48Z
Lucas Werkmeister
407
create description with fixed link
2458
wikitext
text/x-wiki
App to view recent changes on small wikis for SWMT. Diffs, whitelist, quick reverts, etc. See [[meta:SWViewer]].
r7q0mt79yqr025x124sjzkiiponyubt
MediaWiki:Tag-ACDC-description
8
902
2459
2019-09-19T09:35:17Z
Lucas Werkmeister
407
create description
2459
wikitext
text/x-wiki
Edits made using [[w:commons:Help:Gadget-ACDC|AC/DC]]
irsp65f2rpzz1wzu3ziq4xultt8ii53
MediaWiki:Translate-workflow-state-progress
8
938
2614
2019-11-05T23:41:45Z
FuzzyBot
536
Automatic creation of page for workflow state progress
2614
wikitext
text/x-wiki
progress
alcnnhqhj3aqrw79pf0sht4qibheo5p
MediaWiki:Translate-workflow-state-proofreading
8
939
2615
2019-11-05T23:41:45Z
FuzzyBot
536
Automatic creation of page for workflow state proofreading
2615
wikitext
text/x-wiki
proofreading
51taamiqnsqjsssp0kj7cw6d70nyy53
MediaWiki:Translate-workflow-state-ready
8
940
2616
2019-11-05T23:41:45Z
FuzzyBot
536
Automatic creation of page for workflow state ready
2616
wikitext
text/x-wiki
ready
dr61i28bzkj381xzfici50owrlub51n
T195546/m:m:m:User:Example2
0
971
2698
2019-11-28T18:29:38Z
GZWDer
118
Created page with "123"
2698
wikitext
text/x-wiki
123
7k8ju3i6q1kzehf82zj680w2ca004j3
T195546/Special:
0
973
2704
2019-11-28T18:45:27Z
GZWDer
118
Created page with "123"
2704
wikitext
text/x-wiki
123
7k8ju3i6q1kzehf82zj680w2ca004j3
T195546/Main Page
0
974
2708
2019-11-28T18:54:31Z
GZWDer
118
Created page with "123"
2708
wikitext
text/x-wiki
123
7k8ju3i6q1kzehf82zj680w2ca004j3
MediaWiki:Gadget-ACDC-i18n.json
8
1001
2882
2774
2020-04-07T01:41:53Z
Lucas Werkmeister
407
update translations for “remove” feature
2882
json
application/json
{
"en": {
"gadget-acdc-load-category": "Load category",
"gadget-acdc-load-pagepile": "Load PagePile",
"gadget-acdc-load-category-title": "Category title:",
"gadget-acdc-load-category-placeholder": "Category:Example",
"gadget-acdc-load-pagepile-id": "PagePile ID:",
"gadget-acdc-load-pagepile-error-wrong-wiki": "That PagePile does not belong to this wiki!",
"gadget-acdc-load-pagepile-warning-large-pagepile": "This PagePile contains {{PLURAL:$1|$1 file|$1 files}}, using it will take a while. Are you sure?",
"gadget-acdc-button-stop-edit": "Stop",
"gadget-acdc-field-files": "Files to edit",
"gadget-acdc-field-statements-to-add": "Statements to add",
"gadget-acdc-field-statements-to-remove": "Statements to remove",
"gadget-acdc-file-placeholder": "File:Example.png",
"gadget-acdc-files-placeholder": "File:Example.png | File:Example.jpg",
"gadget-acdc-error-duplicate-statements-to-add": "You specified multiple statements with the same main value, which is not supported. If you need to make multiple changes to one statement, merge them. If you really need to add multiple statements with the same value, you’ll have to find another way (sorry).",
"gadget-acdc-error-duplicate-statements-to-remove": "You specified multiple statements to remove with the same main value, which is not supported.",
"gadget-acdc-error-statement-with-qualifiers-to-remove": "You specified a statement with qualifiers in the “{{int:gadget-acdc-field-statements-to-remove}}” section. The meaning of this is not clear (remove only qualifiers, or remove whole statement only if it has these qualifiers?), so this is currenty not supported.",
"gadget-acdc-error-statement-to-add-and-remove": "You specified statements with the same property and value in the “{{int:gadget-acdc-field-statements-to-add}}” and “{{int:gadget-acdc-field-statements-to-remove}}” sections. The meaning of this is not clear, so it is currently not supported."
},
"qqq": {
"gadget-acdc-load-category": "Label of a button to load files from a category.",
"gadget-acdc-load-pagepile": "Label of a button to load files from a PagePile.",
"gadget-acdc-load-category-title": "Label of the input for the category title when loading files from a category.",
"gadget-acdc-load-category-placeholder": "Placeholder of the input for the category title when loading files from a category. Do not translate the “Category:” namespace.",
"gadget-acdc-load-pagepile-id": "Label of the input for the PagePile identifier when loading files from a PagePile.",
"gadget-acdc-load-pagepile-error-wrong-wiki": "Error message when trying to load files from a PagePile that does not belong to the current wiki.",
"gadget-acdc-load-pagepile-warning-large-pagepile": "Warning message when trying to load files from a PagePile that contains a lot of files. $1 is the number of files.",
"gadget-acdc-button-stop-edit": "Label of a button to stop editing files.",
"gadget-acdc-field-files": "Heading of the field to specify the list of files to edit.",
"gadget-acdc-field-statements-to-add": "Heading of the field(s) to specify the statements to add to each file.",
"gadget-acdc-field-statements-to-remove": "Heading of the field(s) to specify the statements to remove from each file.",
"gadget-acdc-file-placeholder": "Placeholder of the input to specify a single file. Do not translate the “File:” namespace. Currently unused.",
"gadget-acdc-files-placeholder": "Placeholder of the input to specify a list of files. Do not translate the “File:” namespace.",
"gadget-acdc-error-duplicate-statements-to-add": "Error message when trying to add two statements with the same value.",
"gadget-acdc-error-duplicate-statements-to-remove": "Error message when trying to remove two statements with the same value.",
"gadget-acdc-error-statement-with-qualifiers-to-remove": "Error message when trying to remove a statement with qualifiers.",
"gadget-acdc-error-statement-to-add-and-remove": "Error message when trying to add and remove a statement with the same property and value."
},
"de": {
"gadget-acdc-load-category": "Kategorie laden",
"gadget-acdc-load-pagepile": "PagePile laden",
"gadget-acdc-load-category-title": "Kategorie-Titel:",
"gadget-acdc-load-category-placeholder": "Category:Beispiel",
"gadget-acdc-load-pagepile-id": "PagePile-Nummer:",
"gadget-acdc-load-pagepile-error-wrong-wiki": "Dieser PagePile gehört nicht zu diesem Wiki!",
"gadget-acdc-load-pagepile-warning-large-pagepile": "Dieser PagePile enthält {{PLURAL:$1|$1 Datei|$1 Dateien}}, es wird eine Weile dauern, ihn zu verwenden. Bist du dir sicher?",
"gadget-acdc-button-stop-edit": "Anhalten",
"gadget-acdc-field-files": "Diese Dateien bearbeiten",
"gadget-acdc-field-statements-to-add": "Diese Aussagen hinzufügen",
"gadget-acdc-field-statements-to-remove": "Diese Aussagen entfernen",
"gadget-acdc-file-placeholder": "File:Beispiel.png",
"gadget-acdc-files-placeholder": "File:Beispiel.png | File:Beispiel.jpg",
"gadget-acdc-error-duplicate-statements-to-add": "Du hast mehrere Aussagen mit dem gleichen Hauptwert angegeben, was nicht unterstützt wird. Wenn du mehrere Änderungen an einer Aussage vornehmen willst, führe sie gleich zusammen. Wenn du wirklich mehrere Aussagen mit dem glecihen Wert hinzufügen willst, musst du einen anderen Weg dafür finden (tut uns leid).",
"gadget-acdc-error-duplicate-statements-to-remove": "Du hast mehrere Aussagen, die entfernt werden sollen, mit dem gleichen Hauptwert angegeben, was nicht unterstützt wird.",
"gadget-acdc-error-statement-with-qualifiers-to-remove": "Du hast eine Aussage mit Qualifikatoren im Abschnitt „{{int:gadget-acdc-field-statements-to-remove}}“ angegeben. Es ist unklar, was das heißen sollte (nur Qualifikatoren entfernen, oder die ganze Aussage nur dann, wenn sie diese Qualifikatoren hat, entfernen?), daher wird das im Moment nicht unterstützt.",
"gadget-acdc-error-statement-to-add-and-remove": "Du hast Aussagen mit der gleichen Eigenschaft und dem gleichen Wert in den Abschnitten „{{int:gadget-acdc-field-statements-to-add}}“ und „{{int:gadget-acdc-field-statements-to-remove}}“ angegeben. Es ist unklar, was das heißen sollte, also wird es im Moment nicht unterstützt."
}
}
ap3r1acp9hdizxld76brj62bpdv8vm9
Category:User nl
14
1014
2790
2020-01-13T17:17:14Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2790
wikitext
text/x-wiki
Users in this category indicate their knowledge of language Dutch.
t944gdkyc81upqjdbs5upt5f2p8q4mq
Category:User nl-N
14
1015
2791
2020-01-13T17:17:14Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2791
wikitext
text/x-wiki
Users in this category indicate they have skill level N for language Dutch.
0ifdlaalxavw4xjs27vgnr24obd67ki
Category:User es-N
14
1017
2793
2020-01-13T18:26:44Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2793
wikitext
text/x-wiki
Users in this category indicate they have skill level N for language Spanish.
le1wdwwek4jyrt9t458l4rt9qmw909x
Category:User nl-4
14
1018
2797
2020-01-13T18:41:44Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2797
wikitext
text/x-wiki
Users in this category indicate they have skill level 4 for language Dutch.
1tnw3x39hnt91i3bg4lv7ehnqgvjr6k
Category:User en-GB
14
1019
2798
2020-01-13T18:42:11Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2798
wikitext
text/x-wiki
Users in this category indicate their knowledge of language British English.
pdhwf05td5w82m39uf1ccp9r5rvcnz1
Category:User en-GB-N
14
1020
2799
2020-01-13T18:42:11Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2799
wikitext
text/x-wiki
Users in this category indicate they have skill level N for language British English.
2fmuhnhsyr8ggn6l7cabroybroujm5x
Category:User en-1
14
1021
2802
2020-01-13T18:42:34Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2802
wikitext
text/x-wiki
Users in this category indicate they have skill level 1 for language English.
c8eeqdb7lozp5c2rtpem2h3thg52ajs
Category:User zh-2
14
1108
2957
2020-05-19T06:16:58Z
Babel AutoCreate
94
Automatically creating [[Project:Babel|Babel]] category page.
2957
wikitext
text/x-wiki
Users in this category indicate they have skill level 2 for language Chinese.
hflymef9l0h15s2n7n1nokx7u624tfu
Category:Foo
14
1141
3123
3122
2020-07-07T10:15:22Z
Addshore
88
3123
wikitext
text/x-wiki
'''Text'''
Some FOo Cat EDIT
'''property parser function'''
; with |from
: {{#property:P10903|from=Q192984}}
: {{#property:P10903|from=Q55757}}
: {{#property:P7|from=Q173825}}
; (end of “with |from”)
; without |from
: {{#property:P10903}}
: {{#property:P7}}
; (end of “without |from”)
oe2ieiw17xsf6b0v5z7opsjdrg3aebj
Category:Uploaded with LrMediaWiki
14
1292
3444
3438
2021-02-22T16:03:03Z
Koavf
113
3444
wikitext
text/x-wiki
Files uploaded with [[c:Commons:LrMediaWiki|LrMediaWiki]], a free and open-source plug-in for Adobe Photoshop Lightroom that supports exports of media files (photos/images) to MediaWiki instances.
9vxihdr8rrvwxg10nuddxq5bleghgwr
Category:Files with no machine-readable license
14
1362
3502
2021-04-27T17:48:41Z
Neriah
800
Created blank page
3502
wikitext
text/x-wiki
phoiac9h4m842xq45sp7s6u21eteeq1
Category:Pages with script errors
14
1363
3503
2021-04-27T17:50:14Z
Neriah
800
Created blank page
3503
wikitext
text/x-wiki
phoiac9h4m842xq45sp7s6u21eteeq1
Category:Files with no machine-readable author
14
1364
3504
2021-04-27T17:50:35Z
Neriah
800
Created blank page
3504
wikitext
text/x-wiki
phoiac9h4m842xq45sp7s6u21eteeq1
Category:Files with no machine-readable description
14
1365
3505
2021-04-27T17:50:42Z
Neriah
800
Created blank page
3505
wikitext
text/x-wiki
phoiac9h4m842xq45sp7s6u21eteeq1
Category:Files with no machine-readable source
14
1366
3506
2021-04-27T17:50:54Z
Neriah
800
Created blank page
3506
wikitext
text/x-wiki
phoiac9h4m842xq45sp7s6u21eteeq1
Category:Uploaded via Campaign:3d-test
14
1367
3507
2021-04-27T17:50:55Z
Neriah
800
Created blank page
3507
wikitext
text/x-wiki
phoiac9h4m842xq45sp7s6u21eteeq1
Category:Reinbeitekommisjonen av 1913 (Arkivverket)
14
1368
3508
2021-04-27T17:51:39Z
Neriah
800
Created blank page
3508
wikitext
text/x-wiki
phoiac9h4m842xq45sp7s6u21eteeq1
Category:1914 in Norway
14
1369
3509
2021-04-27T17:51:49Z
Neriah
800
Created blank page
3509
wikitext
text/x-wiki
phoiac9h4m842xq45sp7s6u21eteeq1
Category:PagePropsies
14
1373
3515
3513
2021-05-07T10:56:41Z
77.191.14.234
3515
wikitext
text/x-wiki
HELLO
(linked to Q215217 maybe)
{{#property:P664|from=Q215217}}
588evymrlo6y7lb211jv1lvrqs4pbis
Category:PagePropertiesTest
14
1376
3519
3518
2021-05-07T11:15:30Z
158.181.71.226
3519
wikitext
text/x-wiki
* Related phab ticket: {{#property:P759|from=Q215219}}
* Page props of this category as seen via the API: https://test-commons.wikimedia.org/w/api.php?action=query&format=json&prop=pageprops&titles=Category:PagePropertiesTest
rfufx6avc6p19bygtsfv6joghkxfbpg
MediaWiki:Gadget-sound-logo-voting.js
8
2210
4736
4734
2022-12-07T18:01:40Z
Ladsgroup
245
4736
javascript
text/javascript
(function(mw) {
if (!['Commons:Sound_Logo_competiton_test'].includes(mw.config.get('wgPageName'))) {
return;
}
const i18n = {
'en': {
"non-eligible-error": 'You are not eligible to vote yet. You can become eligible by making at least ten edits in any Wikimedia project.',
"your-vote-is-recorded": 'Your vote has been recorded. Thank you! You will be redirected soon.',
"edit-could-not-save": 'Your vote could not be saved.',
"your-vote": 'Your vote:',
"your-top-choice": 'Your top choice is:',
"submit-your-vote": 'Submit your vote',
"you-already-voted": 'Each person is allowed one vote from a single Wikimedia account. You have already voted, only your last vote will be counted.',
"reorder-please": 'Please reorder the sound logos below in order of preference, from favourite to least favourite:',
"login-first": 'Please login or create an account first.'
},
'ar': {
"non-eligible-error": 'لست مؤهلًا للتصويت بعد. يُمكنك أن تصبح مؤهلًا بإجراء عشرِ تعديلاتٍ على الأقل في أحد مشاريع ويكيميديا.',
"your-vote-is-recorded": 'سجَّل تصويتك. شكرًا لك! سيُعاد توجيهك قريبًا.',
"edit-could-not-save": 'لا يمكن حفظ تصويتك.',
"your-vote": 'تصويتك:',
"your-top-choice": 'خيارك المُفضل هو:',
"submit-your-vote": ' أرسل صوتك',
"you-already-voted": 'يُسمح لكل شخصٍ بصوتٍ واحدٍ من حساب ويكيميديا واحد. لقد شاركت بالفعل، سيُحسب توصيتك الأخير فقط.',
"reorder-please": 'يرجى إعادة ترتيب الشعارات الصوتية أدناه حسب التفضيل، الأكثر تفضيلًا إلى الأقل تفضيلاً:',
"login-first": 'يرجى تسجيل الدخول أو إنشاء حساب أولًا.'
},
'id': {
"non-eligible-error": 'Anda tidak memenuhi syarat untuk ikut memberikan suara. Anda bisa memberikan suara jika sudah memenuhi syarat dengan memiliki jumlah suntingan setidaknyasepuluh dalam proyek Wikimedia manapun.',
"your-vote-is-recorded": 'Voting Anda telah Kami simpan. Terima kasih! Anda akan segera dialihkan.',
"edit-could-not-save": 'Suara yang Anda berikan tidak dapat disimpan.',
"your-vote": 'Pilihan Anda:',
"your-top-choice": 'Karya favorit Anda adalah:',
"submit-your-vote": 'Kumpulkan voting Anda',
"you-already-voted": 'Setiap orang hanya diperbolehkan untuk memberikan suara dari satu akun Wikimedia yang dipunyai. Anda sudah memberikan suara, hanya suara terakhir yang akan diperhitungkan.',
"reorder-please": 'Silakan susun ulang logo suara di bawah ini berdasarkan ketertarikan Anda, mulailah dari logo yang Anda paling sukai hingga yang kurang disukai:',
"login-first": 'Silakan masuk log atau buatlah akun terlebih dahulu.'
},
'fr': {
"non-eligible-error": "Vous n'êtes pas encore éligible pour voter. Vous pouvez devenir éligible en effectuant au moins dix modifications dans n'importe quel projet Wikimédia.",
"your-vote-is-recorded": 'Votre vote a été enregistré. Merci! Vous serez bientôt redirigé.',
"edit-could-not-save": "Votre vote n'a pas pu être enregistré.",
"your-vote": 'Votre vote:',
"your-top-choice": 'Votre premier choix est:',
"submit-your-vote": 'Soumettre votre vote',
"you-already-voted": "Chaque personne a droit à un vote à partir d'un seul compte Wikimédia. Vous avez déjà voté, seul votre dernier vote sera comptabilisé",
"reorder-please": 'Veuillez réordonner les logos sonores ci-dessous par ordre de préférence, du favori au moins préféré:',
"login-first": "Veuillez d'abord vous connecter ou créer un compte."
},
'de': {
"non-eligible-error": 'Du bist noch nicht wahlberechtigt. Wenn du mindestens zehn Bearbeitungen in einem Wikimedia-Projekt tätigst, wirst du wahlberechtigt.',
"your-vote-is-recorded": 'Deine Stimme wurde registriert. Danke fürs Abstimmen! Du wirst gleich weitergeleitet.',
"edit-could-not-save": 'Deine Stimme konnte nicht registriert werden.',
"your-vote": 'Deine Wahl:',
"your-top-choice": 'Deine erste Wahl ist:',
"submit-your-vote": 'Stimme abgeben',
"you-already-voted": 'Pro Person ist nur eine Stimme über einen einzigen Wikimedia-Account zulässig. Du hast bereits abgestimmt, nur deine letzte Stimme wird gezählt.',
"reorder-please": 'Bitte bringe die untenstehenden Soundlogos in eine Rangfolge, von deinem bevorzugten Beitrag zum am wenigsten ansprechenden Beitrag:',
"login-first": 'Bitte melde dich an oder erstelle erst einen Account.'
},
'hi': {
"non-eligible-error": 'आप अभी तक मतदान करने के पात्र नहीं हैं। आप किसी भी विकिमीडिया परियोजना में कम से कम दस सम्पादन करके इस हेतु पात्र बन सकते हैं।',
"your-vote-is-recorded": 'आपका मत रिकॉर्ड कर लिया गया है। आपको धन्यवाद! आपको जल्द ही पुनर्निर्देशित किया जाएगा।',
"edit-could-not-save": 'आपका मत सहेजा नहीं जा सका।',
"your-vote": 'आपका मत:',
"your-top-choice": 'आपकी शीर्ष पसंद:',
"submit-your-vote": 'अपना मतदान करें',
"you-already-voted": 'प्रत्येक व्यक्ति एक विकिपीडिया खाते से, एक ही मत दे सकता है।आप पहले ही अपना मत दे चुके हैं, आपका केवल अंतिम मत ही गिना जाएगा।',
"reorder-please": 'कृपया अधिक पसंदीदा से कम पसंदीदा, के वरीयता के क्रम में नीचे ध्वनि लोगो को फिर से व्यवस्थित करें:',
"login-first": 'कृपया लॉगिन करें या पहले एक खाता बनाएँ।'
},
'ko': {
"non-eligible-error": '아직 투표에 참여할 수 있는 선거권이 없습니다. 위키미디어 프로젝트에 적어도 10개의 편집을 하면 투표에 참여하실 수 있습니다.',
"your-vote-is-recorded": '감사합니다! 귀하의 투표는 기록되었습니다. 잠시후 자동으로 자동으로 이동할 것입니다. ',
"edit-could-not-save": '귀하의 투표가 저장되지 못했습니다.',
"your-vote": '귀하의 선택:',
"your-top-choice": '우선 순위:',
"submit-your-vote": '투표 제출하기',
"you-already-voted": '각 사용자는 한개의 위키미디어 계정으로부터 한번의 투표를 행사할 수 있습니다. 이미 투표했다면, 가장 최근에 투표한 것만 집계됩니다.',
"reorder-please": '가장 선호하는, 가장 선호하지 않는 것을 아래의 사운드 로고를 선호하는 순서대로 재정렬 해주세요:',
"login-first": '로그인을 하시거나 계정을 만들어 주세요.'
},
'pt': {
"non-eligible-error": 'Você ainda não pode votar. Você pode se qualificar para votar fazendo pelo menos dez edições em qualquer projeto da Wikimedia.',
"your-vote-is-recorded": 'Seu voto foi gravado. Agradecemos! Você será redirecionado em breve.',
"edit-could-not-save": 'Não foi possível salvar seu voto.',
"your-vote": 'Seu voto:',
"your-top-choice": 'Sua opção preferida:',
"submit-your-vote": 'Enviar seu voto',
"you-already-voted": 'Cada pessoa tem direito a um voto de uma única conta da Wikimedia. Você já votou, apenas seu último voto será contabilizado.',
"reorder-please": 'Reordene os logos sonoros abaixo em ordem de preferência, do favorito ao menos favorito:',
"login-first": 'Faça o login ou crie uma conta primeiro.'
},
'es': {
"non-eligible-error": 'Todavía no reúnes las condiciones para votar. Para reunir los requisitos necesarios, deberás hacer al menos diez ediciones en cualquier proyecto de Wikimedia.',
"your-vote-is-recorded": 'Su voto ha sido registrado. ¡Muchas gracias! Redireccionando…',
"edit-could-not-save": 'Tu voto no pudo ser guardado.',
"your-vote": 'Su voto:',
"your-top-choice": 'Su opción preferida:',
"submit-your-vote": 'Emitir su voto',
"you-already-voted": 'Cada persona puede emitir un voto desde una única cuenta de Wikimedia. Si ya has votado, solo se tendrá en cuenta tu último voto.',
"reorder-please": 'Por favor, reordena los logos sonoros abajo en orden de preferencia, desde tu favorito hasta el menos preferido:',
"login-first": 'Por favor, inicia sesión o crea una cuenta primero.'
},
'bn': {
"non-eligible-error": 'আপনি এখনও ভোট দেওয়ার যোগ্য নন। আপনি যে কোনও উইকিমিডিয়া প্রকল্পে কমপক্ষে দশটি সম্পাদনা করে যোগ্যতা অর্জন করতে পারেন।',
"your-vote-is-recorded": 'আপনার ভোট রেকর্ড করা হয়েছে। ধন্যবাদ! শীঘ্রই আপনাকে পুনঃনির্দেশিত করা হবে।',
"edit-could-not-save": 'আপনার ভোট সংরক্ষণ করা যায়নি।',
"your-vote": 'আপনার ভোট:',
"your-top-choice": 'আপনার শীর্ষ পছন্দটি হলো:',
"submit-your-vote": 'আপনার ভোট জমা দিন',
"you-already-voted": 'প্রতিটি ব্যক্তি একটি উইকিমিডিয়া অ্যাকাউন্ট থেকে কেবল একবার ভোট দিতে পারবে। আপনি ইতিমধ্যে ভোট দিয়েছেন, আপনি আবার ভোট দিলে আপনার আগের ভোট গণনা করা হবে না, কেবল আপনার সর্বশেষ ভোট গণনা করা হবে।',
"reorder-please": 'অনুগ্রহ করে আপনার পছন্দের ক্রমানুসারে নিচের ধ্বনি লোগোগুলি ক্রমবিন্যাস করুন (শীর্ষ পছন্দেরটি প্রথমে ও কম পছন্দেরটি শেষে ক্রমানুসারে):',
"login-first": 'দয়া করে প্রথমে প্রবেশ করুন বা একটি অ্যাকাউন্ট তৈরি করুন।'
}
};
const lang = mw.config.get('wgPageContentLanguage');
$.i18n().load( i18n );
$.i18n({ locale: lang });
/**
* Shuffles array in place.
* @param {Array} a items An array containing the items.
* From https://stackoverflow.com/a/6274381/2596051
*/
function shuffle(a) {
var j, x, i;
for (i = a.length - 1; i > 0; i--) {
j = Math.floor(Math.random() * (i + 1));
x = a[i];
a[i] = a[j];
a[j] = x;
}
return a;
}
function checkForEligibility() {
var api = new mw.Api();
var promise = api.get({
'action': 'query',
'meta': 'globaluserinfo',
'guiprop': 'editcount'
}).then( function (data) {
if ( data.query.globaluserinfo.editcount > 10 || data.query.globaluserinfo.registration < "2022-12-05T23:59:00Z" ) {
return true;
}
OO.ui.alert($.i18n('non-eligible-error'));
return false;
})
return promise;
}
function escapeRegExp(string) {
return string.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // $& means the whole matched string
}
function escapeReplacement(string) {
return string.replace(/\$/g, '$$$$');
}
function saveVote( draggableGroupWidget ) {
var api = new mw.Api();
api.edit('Commons:Sound_Logo_competiton_test/Votes', function(revision) {
var newText = revision.content,
votes = draggableGroupWidget.getItems().map(function(i) {
return i.getData().replace('\n', '')
}).join(" - "),
usernameText = '*[[User:' + mw.config.get('wgUserName') + ']]';
if ( revision.content.indexOf(usernameText) !== -1 ) {
newText = newText.replace(
new RegExp(escapeRegExp(usernameText) + '.+(\n|$)', 'g'),
escapeReplacement(usernameText + ': ' + votes)
)
} else {
newText += '\n' + usernameText + ': ' + votes;
}
return {
text: newText,
summary: 'Voting using the vote gadget'
}
}).done(function() {
var messageText = $.i18n('your-vote-is-recorded');
if (mw.config.get('wgUserName') === 'TK-999') {
messageText += ' <3';
}
OO.ui.alert(messageText);
setTimeout(function() {
window.location.href = 'https://commons.wikimedia.org/wiki/Commons:Sound_Logo_Vote/Thank_You'
}, 5000);
}).fail(function() {
OO.ui.alert($.i18n('edit-could-not-save'));
});
}
function main() {
var DraggableGroupWidget = function DraggableGroupWidget(config) {
config = config || {};
DraggableGroupWidget.super.call(this, config);
OO.ui.mixin.DraggableGroupElement.call(this, $.extend({
$group: this.$element
}, config));
};
OO.inheritClass(DraggableGroupWidget, OO.ui.Widget);
OO.mixinClass(DraggableGroupWidget, OO.ui.mixin.DraggableGroupElement);
var DraggableItemWidget = function DraggableItemWidget(config) {
config = config || {};
DraggableItemWidget.super.call(this, config);
OO.ui.mixin.DraggableElement.call(this, config);
};
OO.inheritClass(DraggableItemWidget, OO.ui.Widget);
OO.mixinClass(DraggableItemWidget, OO.ui.mixin.DraggableElement);
var items = [];
$('.wikitable tr').each(function(i) {
if (i == 0) {
return;
}
var element = new DraggableItemWidget({
content: [new OO.ui.HtmlSnippet('<br>'), new OO.ui.HtmlSnippet($(this).find('td:eq(2) img').clone())],
data: $(this).find('td:first').text(),
text: $(this).find('td:first').text()
});
element.$element
.css('border', '1px solid #a2a9b1')
.css('background-color', '#f8f9fa')
.css('padding', '5px')
.css('border-radius', '2px')
.css('margin', '5px');
items.push(element);
})
shuffle(items);
var draggableGroupWidget = new DraggableGroupWidget({
orientation: 'horizontal',
id: 'votes-draggable-box',
items: items
});
var noticeText = '<strong>' + $.i18n('your-vote') + '</strong><br>';
draggableGroupWidget.$element
.css('border', '1px solid #a2a9b1')
.css('padding', '5px')
.css('border-radius', '2px')
.css('margin', '5px')
.css('margin-bottom', '16px');
var topChoice = '<br><strong style="line-height: 200%;">' + $.i18n('your-top-choice') + '</strong> ';
var massege = new OO.ui.MessageWidget({
type: 'notice',
label: new OO.ui.HtmlSnippet(noticeText + draggableGroupWidget.getItems().map(function(i) {
return i.getData()
}).join(" - ") + topChoice + draggableGroupWidget.getItems()[0].getData())
});
draggableGroupWidget.on('reorder', function(item) {
massege.setLabel(new OO.ui.HtmlSnippet(noticeText + draggableGroupWidget.getItems().map(function(i) {
return i.getData()
}).join(" - ") + topChoice + draggableGroupWidget.getItems()[0].getData()));
});
var saveButton = new OO.ui.ButtonInputWidget({
type: 'submit',
label: $.i18n('submit-your-vote'),
flags: [
'primary',
'progressive'
]
});
saveButton.on('click', function() {
var api = new mw.Api();
api.get( {
'action': 'query',
'prop': 'revisions',
'titles': 'Commons:Sound_Logo_competiton_test/Votes',
'rvslots': '*',
'rvprop': 'content'
}).then( function(data) {
if ( data.query.pages['2211'].revisions[0].slots.main['*'].indexOf('*[[User:' + mw.config.get('wgUserName') + ']]') !== -1 ) {
OO.ui.confirm( $.i18n('you-already-voted') ).done( function ( confirmed ) {
if ( confirmed ) {
saveVote( draggableGroupWidget );
}
} );
} else {
saveVote( draggableGroupWidget );
}
})
})
$('#mw-content-text').append('<br><strong style="padding: 5px;">' + $.i18n('reorder-please') + '</strong><br>');
$('#mw-content-text').append(draggableGroupWidget.$element);
saveButton.$element.css('margin-top', '8px');
massege.$element.append(saveButton.$element);
$('#mw-content-text').append(massege.$element);
}
$('.mw-ui-button.mw-ui-progressive').on('click keyup', function() {
if ( event.type === 'keyup' && !['Enter', 'Space'].includes(event.code)) {
return;
}
mw.loader.using(['oojs', 'oojs-ui', 'oojs-ui-core', 'oojs-ui-widgets', 'jquery.i18n']).then(function() {
if ( !mw.config.get('wgUserName') ) {
OO.ui.alert($.i18n('login-first'));
return;
}
$('.mw-ui-button.mw-ui-progressive').css('display', 'none');
var progressBar = new OO.ui.ProgressBarWidget( {
progress: false,
id: 'progressBar'
} );
$('#mw-content-text').css('margin', '16px').append( progressBar.$element );
checkForEligibility().then( function (eligible) {
$('#progressBar').remove();
if (eligible === true) {
main();
} else {
$('#mw-content-text').append('<br><strong>' + $.i18n('non-eligible-error') + '</strong>' );
}
})
})
});
})(mediaWiki);
fehz86jfsna8k9srhzfy6in6y0gr8ls
MediaWiki:Gadgets-definition
8
2212
4706
4536
2022-11-16T21:00:36Z
Ladsgroup
245
4706
wikitext
text/x-wiki
* sound-logo-voting[ResourceLoader|default|hidden|targets=desktop,mobile|dependencies=jquery.i18n]|sound-logo-voting.js
a2pgpptdqbpvr1bhswltq4wz1mp8u78
MediaWiki:Sitenotice
8
2385
4865
2023-02-28T23:25:09Z
Zabe
744
Created page with "<div style="border:3px solid #000; padding:1em;">'''This wiki has been closed (see [[:phab:T213295|discussion]]).'''</div>"
4865
wikitext
text/x-wiki
<div style="border:3px solid #000; padding:1em;">'''This wiki has been closed (see [[:phab:T213295|discussion]]).'''</div>
svmv96exyen1yi40c5h6nsbzaftej51
Data:Broken/1993 Canadian federal election.chart
486
2411
4918
2024-10-28T19:01:46Z
Jon (WMF)
1353
Created page with "{ "license": "CC0-1.0", "version": 1, "type": "line", "width": 400, "height": 250, "xAxis": { "title": "", "angle": -40, "type": "date" }, "yAxis": { "title": { "en": "%support", "fr": "%soutien" } }, "legend": { "en": "Party", "fr": "Parti" }, "interpolate": "basis", "showSymbols": true, "showLegend": true, "colors": [ "#999..."
4918
wikitext
text/x-wiki
{
"license": "CC0-1.0",
"version": 1,
"type": "line",
"width": 400,
"height": 250,
"xAxis": {
"title": "",
"angle": -40,
"type": "date"
},
"yAxis": {
"title": {
"en": "%support",
"fr": "%soutien"
}
},
"legend": {
"en": "Party",
"fr": "Parti"
},
"interpolate": "basis",
"showSymbols": true,
"showLegend": true,
"colors": [
"#9999FF",
"#EA6D6A",
"#F4A460",
"#87CEFA",
"#3CB371",
"#FF00FF"
],
"source": "1993 Canadian federal election.tab"
}
exfmhn35e955kd29s2tsi9oqso8kc6j
Data:Broken/1993 Canadian federal election.tab
486
2412
4919
2024-10-28T19:03:24Z
Jon (WMF)
1353
Created page with "{ "license": "CC0-1.0", "description": { "en": "1993 Canadian federal election", "fr": "Élections fédérales canadiennes de 1993" }, "schema": { "fields": [ { "name": "date", "type": "string", "title": { "en": "Date", "es": "La fecha", "fr": "Date" } }, { "..."
4919
wikitext
text/x-wiki
{
"license": "CC0-1.0",
"description": {
"en": "1993 Canadian federal election",
"fr": "Élections fédérales canadiennes de 1993"
},
"schema": {
"fields": [
{
"name": "date",
"type": "string",
"title": {
"en": "Date",
"es": "La fecha",
"fr": "Date"
}
},
{
"name": "pc",
"type": "number",
"title": {
"en": "<script>alert('hi');</script>",
"es": "PC (es)",
"fr": "PC"
}
},
{
"name": "liberal",
"type": "number",
"title": {
"en": "Liberal",
"es": "Libéral",
"fr": "Libéral"
}
},
{
"name": "ndp",
"type": "number",
"title": {
"en": "NDP",
"es": "NPD (es)",
"fr": "NPD"
}
},
{
"name": "bq",
"type": "number",
"title": {
"en": "BQ",
"es": "BQ (es)",
"fr": "BQ"
}
},
{
"name": "reform",
"type": "number",
"title": {
"en": "Reform",
"es": "Réform",
"fr": "Réform"
}
}
]
},
"data": [
[
"1993/09/9",
35,
37,
8,
8,
10
],
[
"1993/09/14",
36,
33,
8,
10,
11
],
[
"1993/09/20",
35,
35,
6,
11,
11
],
[
"1993/09/25",
30,
37,
8,
10,
13
],
[
"1993/09/26",
31,
36,
7,
11,
13
],
[
"1993/09/26",
28,
34,
7,
12,
15
],
[
"1993/09/30",
25,
39,
6,
12,
17
],
[
"1993/10/02",
26,
38,
8,
12,
14
],
[
"1993/10/08",
22,
37,
8,
12,
18
],
[
"1993/10/16",
22,
40,
7,
13,
16
],
[
"1993/10/19",
21,
39,
6,
14,
17
],
[
"1993/10/22",
18,
43,
7,
14,
18
],
[
"1993/10/22",
16,
44,
7,
12,
19
],
[
"1993/10/25",
16.04,
41.24,
6.88,
13.52,
18.69
]
]
}
4mqym5f5d773yozns4z57d9j0ib8qkc
Data:1993 Canadian federal election.tab
486
2414
4940
4939
2024-11-14T09:39:07Z
Brooke Vibber (WMF)
1355
4940
Tabular.JsonConfig
application/json
{"license":"CC0-1.0","description":{"en":"Favorite pizza toppings!"},"schema":{"fields":[{"name":"date","type":"string","title":{"en":"Date","fr":"Date"}},{"name":"pc","type":"number","title":{"en":"PC","fr":"PC"}},{"name":"liberal","type":"number","title":{"en":"Liberal","fr":"Libéral"}},{"name":"ndp","type":"number","title":{"en":"NDP","fr":"NPD"}},{"name":"bq","type":"number","title":{"en":"BQ","fr":"BQ"}},{"name":"reform","type":"number","title":{"en":"Reform","fr":"Réform"}}]},"data":[["1993-09-09",35,37,8,8,10],["1993-09-14",36,33,8,10,11],["1993-09-20",35,35,6,11,11],["1993-09-25",30,37,8,10,13],["1993-09-26",31,36,7,11,13],["1993-09-26",28,34,7,12,15],["1993-09-30",25,39,6,12,17],["1993-10-02",26,38,8,12,14],["1993-10-08",22,37,8,12,18],["1993-10-16",22,40,7,13,16],["1993-10-19",21,39,6,14,17],["1993-10-22",18,43,7,14,18],["1993-10-22",16,44,7,12,19],["1993-10-25",16.04,41.24,6.88,13.52,18.69]]}
onxyd7cwvektonx7sc3yl1qtm8mnrw1
Data:1993 Canadian federal election.chart
486
2415
5016
4980
2025-06-13T00:57:50Z
Brooke Vibber (WMF)
1355
5016
Chart.JsonConfig
application/json
{"license":"CC0-1.0","version":1,"type":"bar","xAxis":{"title":{"en":"Days of the week","fr":"Les jours de semaine"}},"yAxis":{"title":{"en":"%support","fr":"%soutien"}},"legend":{"en":"Party","fr":"Parti"},"source":"1993 Canadian federal election.tab","title":{"en":"1993 Canadian federal election"}}
l5ur84w1t5i8i0huz1a1cpb20167c0u
Data:1993 Canadian federal election2.tab
486
2416
4926
2024-11-07T21:54:46Z
Jon (WMF)
1353
Created page with "{ "license": "CC0-1.0", "description": { "en": "Favorite pizza toppings!" }, "schema": { "fields": [ { "name": "date", "type": "string", "title": { "en": "Date", "fr": "Date" } }, { "name": "pc", "type": "number", "title": { "en": "PC"..."
4926
Tabular.JsonConfig
application/json
{"license":"CC0-1.0","description":{"en":"Favorite pizza toppings!"},"schema":{"fields":[{"name":"date","type":"string","title":{"en":"Date","fr":"Date"}},{"name":"pc","type":"number","title":{"en":"PC","fr":"PC"}},{"name":"liberal","type":"number","title":{"en":"Liberal","fr":"Libéral"}},{"name":"ndp","type":"number","title":{"en":"NDP","fr":"NPD"}},{"name":"bq","type":"number","title":{"en":"BQ","fr":"BQ"}},{"name":"reform","type":"number","title":{"en":"Reform","fr":"Réform"}}]},"data":[["1993-09-09",35,37,8,8,10],["1993-09-14",36,33,8,10,11],["1993-09-20",35,35,6,11,11],["1993-09-25",30,37,8,10,13],["1993-09-26",31,36,7,11,13],["1993-09-26",28,34,7,12,15],["1993-09-30",25,39,6,12,17],["1993-10-02",26,38,8,12,14],["1993-10-08",22,37,8,12,18],["1993-10-16",22,40,7,13,16],["1993-10-19",21,39,6,14,17],["1993-10-22",18,43,7,14,18],["1993-10-22",16,44,7,12,19],["1993-10-25",16.04,41.24,6.88,13.52,18.69]]}
onxyd7cwvektonx7sc3yl1qtm8mnrw1
Data:Chart Example Data.tab
486
2417
5003
4990
2025-06-04T15:48:04Z
CCiufo-WMF
1354
5003
Tabular.JsonConfig
application/json
{"license":"CC0-1.0","description":{"en":"Some meaningless example data about Middle-Earth"},"schema":{"fields":[{"name":"a1","type":"string","title":{"en":"Date"}},{"name":"a2","type":"number","title":{"en":"Elves"}},{"name":"a3","type":"number","title":{"en":"Ents"}},{"name":"a4","type":"number","title":{"en":"Orcs"}},{"name":"a5","type":"number","title":{"en":"Hobbits"}},{"name":"a6","type":"number","title":{"en":"Trolls"}}]},"data":[["1993/09/09",25,37,8,8,10],["1993/09/14",36,33,8,10,11],["1993/09/20",35,35,6,11,11],["1993/09/25",30,37,8,10,13],["1993/09/26",31,36,7,11,13],["1993/09/26",28,34,7,12,15],["1993/09/30",25,39,6,12,17],["1993/10/02",26,38,8,12,14],["1993/10/08",22,37,8,12,18],["1993/10/16",22,40,7,13,16],["1993/10/19",21,39,6,14,17],["1993/10/22",18,43,7,14,18],["1993/10/22",16,44,7,12,19],["1993/10/25",16,41,1,13,18]]}
iwh8bw9ma01n6ol6ipag0xz3axanubf
Data:Example Area Chart.chart
486
2418
4933
4931
2024-11-11T19:32:35Z
CCiufo-WMF
1354
4933
Chart.JsonConfig
application/json
{"license":"CC0-1.0","version":1,"type":"area","title":{"en":"Sample Area Chart"},"xAxis":{"title":{"en":"Date"}},"yAxis":{"title":{"en":"%support"}},"source":"Chart Example Data.tab"}
1iqfzj40h5gius7kcj2z999owezoam0
Data:Example Line Chart.chart
486
2419
5011
4981
2025-06-04T17:30:36Z
CCiufo-WMF
1354
5011
Chart.JsonConfig
application/json
{"license":"CC0-1.0","version":1,"type":"line","xAxis":{"title":{"en":"Date"}},"yAxis":{"title":{"en":"%support"}},"transform":{"module":"TabUtils","function":"select","args":{"cols":"a1,a2,a3"}},"source":"Chart Example Data.tab","title":{"en":"Sample Line Chart"}}
oxe66c6521ygn9j227b3t3ivwva429w
Data:Example Bar Chart.chart
486
2420
4989
4985
2025-04-04T21:28:04Z
CCiufo-WMF
1354
4989
Chart.JsonConfig
application/json
{"license":"CC0-1.0","mediawikiCategories":[{"name":"Example charts"}],"version":1,"type":"bar","xAxis":{"title":{"en":"Date"}},"yAxis":{"title":{"en":"%support"},"format":"auto"},"source":"Chart Example Data.tab","title":{"en":"Sample Bar Chart"}}
72ga13ae7r9va90fw98afn6s11gsyhf
Data:Example Pie Chart.chart
486
2421
4935
2024-11-11T19:34:12Z
CCiufo-WMF
1354
Created page with "{ "license": "CC0-1.0", "version": 1, "type": "pie", "title": { "en": "Sample Pie Chart" }, "xAxis": { "title": { "en": "Date" } }, "yAxis": { "title": { "en": "%support" } }, "source": "Chart Example Data.tab" }"
4935
Chart.JsonConfig
application/json
{"license":"CC0-1.0","version":1,"type":"pie","title":{"en":"Sample Pie Chart"},"xAxis":{"title":{"en":"Date"}},"yAxis":{"title":{"en":"%support"}},"source":"Chart Example Data.tab"}
35bwjpe9ey8tm8l3hebzxoxdx91u1di
MediaWiki:BabelConfig.json
8
2423
4984
2025-01-31T00:07:21Z
Maintenance script
611
Migrating server configuration to an on-wiki JSON file ([[phab:T374348]])
4984
json
application/json
{
"$version": "1.0.0",
"BabelAutoCreate": true,
"BabelCategoryNames": {
"0": "User %code%-0",
"1": "User %code%-1",
"2": "User %code%-2",
"3": "User %code%-3",
"4": "User %code%-4",
"5": "",
"N": "User %code%-N"
},
"BabelMainCategory": "User %code%",
"BabelUseUserLanguage": true
}
dy2ak68aedi7q0fctei2vqj9m8geha3
Module:Weekly average temperature chart
828
2427
4995
2025-05-29T16:13:39Z
Brooke Vibber (WMF)
1355
Created page with "local p = {} local function celsius_to_fahrenheit(val) return val * 1.8 + 32 end -- -- input data: -- * tabular JSON strcuture with 1 label and 2 temp rows stored in C -- -- arguments: -- * units: "F" or "C" -- function p.convert_temps(tab, args) if args.units == "C" then -- Stored data is in Celsius return tab elseif args.units == "F" then -- Have to convert if asked for Fahrenheit for _, row in ipairs(tab.data) do -- first column is month row[2] = ce..."
4995
Scribunto
text/plain
local p = {}
local function celsius_to_fahrenheit(val)
return val * 1.8 + 32
end
--
-- input data:
-- * tabular JSON strcuture with 1 label and 2 temp rows stored in C
--
-- arguments:
-- * units: "F" or "C"
--
function p.convert_temps(tab, args)
if args.units == "C" then
-- Stored data is in Celsius
return tab
elseif args.units == "F" then
-- Have to convert if asked for Fahrenheit
for _, row in ipairs(tab.data) do
-- first column is month
row[2] = celsius_to_fahrenheit(row[2])
row[3] = celsius_to_fahrenheit(row[3])
end
return tab
else
error("Units must be either 'C' or 'F'")
end
end
return p
fctw0a854fk0jij95ps5uowyuijlxp3
Data:Sample weekly temperature dataset.tab
486
2428
4996
2025-05-29T16:14:19Z
Brooke Vibber (WMF)
1355
Created page with "{ "license": "CC0-1.0", "description": { "en": "Sample monthly temperature data" }, "schema": { "fields": [ { "name": "month", "type": "localized", "title": { "en": "Month" } }, { "name": "low", "type": "number", "title": { "en": "Low temp"..."
4996
Tabular.JsonConfig
application/json
{"license":"CC0-1.0","description":{"en":"Sample monthly temperature data"},"schema":{"fields":[{"name":"month","type":"localized","title":{"en":"Month"}},{"name":"low","type":"number","title":{"en":"Low temp"}},{"name":"high","type":"number","title":{"en":"High temp"}}]},"data":[[{"en":"January"},5,20],[{"en":"July"},15,30]]}
gi70dqn2d1y9kpy23je7lxtadq0447i
Data:Weekly average temperatures (C).chart
486
2429
4997
2025-05-29T16:14:39Z
Brooke Vibber (WMF)
1355
Created page with "{ "license": "CC0-1.0", "version": 1, "type": "bar", "xAxis": { "title": { "en": "Day" } }, "yAxis": { "title": { "en": "Temperature (C)" } }, "source": "Sample weekly temperature dataset.tab" }"
4997
Chart.JsonConfig
application/json
{"license":"CC0-1.0","version":1,"type":"bar","xAxis":{"title":{"en":"Day"}},"yAxis":{"title":{"en":"Temperature (C)"}},"source":"Sample weekly temperature dataset.tab"}
q90vlc1z7k0tw6oz8hp7936ydf6wqor
Data:Weekly average temperatures (F).chart
486
2430
4999
4998
2025-05-29T16:57:58Z
Brooke Vibber (WMF)
1355
4999
Chart.JsonConfig
application/json
{"license":"CC0-1.0","version":1,"type":"bar","xAxis":{"title":{"en":"Day"}},"yAxis":{"title":{"en":"Temperature (F)"}},"transform":{"module":"Weekly average temperature chart","function":"convert_temps","args":{"units":"F"}},"source":"Sample weekly temperature dataset.tab"}
7kipu3gvljp1k8g4dmtovbv7cuarjaq
Module:Charts/Wikibase property/test
828
2431
5000
2025-05-29T22:30:17Z
Brooke Vibber (WMF)
1355
Created page with "-- -- Experimental module for Chart transform testing. -- Fetches claims for a single Wikidata item on a single property, -- grouping by a single qualifier. -- -- Can eg show a list of population figures for a city over time. -- -- Returns data in tabular JSON format: -- see https://www.mediawiki.org/wiki/Help:Tabular_data -- -- Meant to be used through reference in a Chart format definition: -- see https://www.mediawiki.org/wiki/Extension:Chart -- but this feature hasn'..."
5000
Scribunto
text/plain
--
-- Experimental module for Chart transform testing.
-- Fetches claims for a single Wikidata item on a single property,
-- grouping by a single qualifier.
--
-- Can eg show a list of population figures for a city over time.
--
-- Returns data in tabular JSON format:
-- see https://www.mediawiki.org/wiki/Help:Tabular_data
--
-- Meant to be used through reference in a Chart format definition:
-- see https://www.mediawiki.org/wiki/Extension:Chart
-- but this feature hasn't landed. This test module is living here
-- on Commons in order to facilitate production of test data for
-- now.
--
-- Currently hardcodes values as numbers and qualifiers as datetimes.
--
-- To use in a .chart:
-- "source": "<any empty template page>.tab"
-- "transform": {
-- "module": "Charts/Wikibase_property/test",
-- "function": "transform",
-- "args": {
-- "entity": "Q65", // Los Angeles
-- "property": "P1082", // population
-- "qualifier": "P585" // point in time
-- }
-- }
--
-- To dump raw JSON in a wiki template:
-- {{#invoke:Charts/Wikibase_property/test
-- |invoke
-- |entity=Q65
-- |property=P1082
-- |qualifier=P585}}
--
-- maintained by [[User:Brooke Vibber (WMF)]] during testing
--
-- @todo clarify localization behavior
-- @todo validate data format (numeric)
-- @todo validate qualifier format (timestamp, or support grouping others)
--
local p = {}
function p.transform(tab, args)
--
-- Transform function for tabular data loaded into charts
-- see https://www.mediawiki.org/wiki/Extension:JsonConfig/Transforms
--
-- tab is a template tabular data setfenv
-- see https://www.mediawiki.org/wiki/Help:Tabular_data
-- return value is modified dataset, with our lookup data inserted
--
-- args:
-- * entity - entity to look up on, eg 'Q65' - Los Angeles
-- * property - property to look up claims for , eg 'P1082' - population
-- * qualifier - qualifier to show lookups for, eg 'P585' - point in time
local label_entity = mw.wikibase.getLabel(args.entity)
local label_prop = mw.wikibase.getLabel(args.property)
local label_qualifier = mw.wikibase.getLabel(args.qualifier)
tab.description = { ["en"] = label_entity .. " - " .. label_prop }
table.insert(tab.schema.fields, {
["name"] = args.qualifier,
["type"] = "string",
["title"] = { ["en"] = label_qualifier },
})
table.insert(tab.schema.fields, {
["name"] = args.entity,
["type"] = "number", -- @todo: support other types
["title"] = { ["en"] = label_prop },
})
local statements = mw.wikibase.getAllStatements(args.entity, args.property)
for _, statement in ipairs(statements) do
local row = {}
local label_qual = ""
local qualifiers = statement.qualifiers[args.qualifier]
if qualifiers then
for _, snak in pairs(qualifiers) do
-- hack assumes gregorian date
-- @fixme use the month/day if available too
local date = string.match(snak.datavalue.value.time, "^+(%d%d%d%d)%-.*$")
if date then
label_qual = date
else
label_qual = snak.datavalue.value.time
end
end
end
table.insert(row, label_qual)
-- hack assumes numeric
local value = statement.mainsnak.datavalue.value.amount
value = tonumber(value)
table.insert(row, value)
table.insert(tab.data, row)
end
table.sort(tab.data, function(a, b)
return a[1] < b[1]
end)
return tab
end
--
-- #invoke-compatible demo
-- dumps raw JSON to output
--
function p.invoke(frame)
local tab = {
["license"] = "CC0-1.0",
["description"] = {},
["sources"] = "from wikibase", -- @todo fill out sources
["schema"] = {
["fields"] = {}
},
["data"] = {}
}
tab = p.transform(tab, frame.args)
return mw.text.jsonEncode(tab)
end
function p.demo(entity)
mw.log(p.invoke({
["args"] = {
["entity"] = entity or "Q65", -- Los Angeles
["property"] = "P1082", -- Population
["qualifier"] = "P585" -- point in time
}
}))
end
return p
gx6g8lzh87wnu8r24v6dczrqthyeoae
Data:Charts/Wikibase property/test-skeleton.tab
486
2432
5001
2025-05-29T22:32:52Z
Brooke Vibber (WMF)
1355
Created page with "{ "license": "CC0-1.0", "description": { "en": "Population by year" }, "sources": "from wikibase", "schema": { "fields": [] }, "data": [ ] }"
5001
Tabular.JsonConfig
application/json
{"license":"CC0-1.0","description":{"en":"Population by year"},"sources":"from wikibase","schema":{"fields":[]},"data":[]}
0inowvdnvwsmzd1sihl0mrd3rd662mr
Data:Charts/Wikibase property/test.chart
486
2433
5002
2025-05-29T23:34:23Z
Brooke Vibber (WMF)
1355
Created page with "{ "license": "CC0-1.0", "version": 1, "type": "line", "xAxis": { "title": { "en": "Year" } }, "yAxis": { "title": { "en": "Population" } }, "transform": { "module": "Charts/Wikibase property/test", "function": "transform", "args": { "entity": "Q84", "property": "P1082", "qualifier": "P585" } }, "source": "Charts/Wikiba..."
5002
Chart.JsonConfig
application/json
{"license":"CC0-1.0","version":1,"type":"line","xAxis":{"title":{"en":"Year"}},"yAxis":{"title":{"en":"Population"}},"transform":{"module":"Charts/Wikibase property/test","function":"transform","args":{"entity":"Q84","property":"P1082","qualifier":"P585"}},"source":"Charts/Wikibase property/test-skeleton.tab"}
r3fxr3kyfccr2xoh04d41liinya1lfk
Module:TabUtils
828
2434
5026
5025
2025-06-16T20:28:28Z
Brooke Vibber (WMF)
1355
decimate option
5026
Scribunto
text/plain
--
-- Experimental tabular data utilities for Chart transforms
-- See https://www.mediawiki.org/wiki/Extension:Chart/Transforms
--
local p = {}
--
-- build a map of column names -> indexes
-- @internal
--
function colmap( tab )
local cols = {}
for i, field in ipairs( tab.schema.fields ) do
cols[field.name] = i
end
return cols
end
--
-- select: subset a data set by column reference or comparison on row values
--
-- Arguments:
-- * cols: comma-separated list of column names to keep, otherwise returns all cols
-- * where: column name to match on, otherwise returns all rows
-- * eq, ne, gt, lt, gte, lte: value to compare against to keep rows
-- * sort: column name to sort on
-- * order: sort order "asc" or "desc", defaults to "asc"
-- * decimate: keep only every nth row
--
function p.select( tab, args )
local map = colmap( tab )
if args.decimate then
local n = tonumber( args.decimate )
local newdata = {}
for i, row in ipairs( tab.data ) do
if i % n == 0 then
table.insert(newdata, row)
end
end
tab.data = newdata
end
local where = nil
if args.where then
local index = map[args.where]
local field = tab.schema.fields[index]
local function convert( val )
if field.type == "number" then
return tonumber( val )
elseif field.type == "localized" then
error( "todo: support localized fields" )
else
return val
end
end
local comparator
if args.eq then
local against = convert( args.eq )
comparator = function ( val )
return val == against
end
elseif args.ne then
local against = convert( args.ne )
comparator = function ( val )
return val ~= against
end
elseif args.gt then
local against = convert( args.gt )
comparator = function ( val )
return val > against
end
elseif args.lt then
local against = convert( args.lt )
comparator = function ( val )
return val < against
end
elseif args.gte then
local against = convert( args.gte )
comparator = function ( val )
return val >= against
end
elseif args.lte then
local against = convert( args.lte )
comparator = function ( val )
return val <= against
end
else
error( "'where' must provide argument for 'eq', 'ne', 'gt', 'lt', 'gte', or 'lte'" )
end
local newdata = {}
for _, row in ipairs( tab.data ) do
if comparator( row[index] ) then
table.insert( newdata, row )
end
end
tab.data = newdata
end
if args.cols then
local cols = mw.text.split( args.cols, ",", true )
local newfields = {}
local newdata = {}
for i, name in ipairs( cols ) do
table.insert( newfields, tab.schema.fields[map[name]] )
end
for n, row in ipairs( tab.data ) do
local newrow = {}
for i, name in ipairs( cols ) do
table.insert( newrow, row[map[name]] )
end
table.insert( newdata, newrow )
end
tab.schema.fields = newfields
tab.data = newdata
map = colmap( tab )
end
if args.sort then
local index = map[args.sort]
if not index then
error("Missing sort column: " .. args.sort)
end
local comparator
if args.order == "desc" then
comparator = function ( a, b )
return a[index] > b[index]
end
elseif args.order == "asc" or not args.order then
comparator = function ( a, b )
return a[index] < b[index]
end
else
error("Invalid sort order: " .. args.order)
end
table.sort( tab.data, comparator )
end
return tab
end
--
-- Convenience function for testing/debugging, run from console
-- while editing this module.
--
function p.demo()
local tab = mw.ext.data.get( "Sample_weekly_temperature_dataset.tab", "_" )
mw.logObject( p.select( tab, {
["cols"] = "month,high",
["where"] = "high",
["lt"] = "25"
} ) )
end
function p.demoSort(order)
local tab = mw.ext.data.get( "Sample_weekly_temperature_dataset.tab", "_" )
mw.logObject( p.select( tab, {
["cols"] = "month,high",
["sort"] = "high",
["order"] = order
} ) )
end
return p
3p58jcioul6t8knsya8tqf0yvzu10gn
Data:Inline data test chart.chart
486
2436
5022
5020
2025-06-13T01:10:42Z
Brooke Vibber (WMF)
1355
use a skeleton
5022
Chart.JsonConfig
application/json
{"license":"CC0-1.0","version":1,"type":"bar","xAxis":{"title":{"en":"Days of the week","fr":"Les jours de semaine"}},"yAxis":{"title":{"en":"%support","fr":"%soutien"}},"legend":{"en":"Party","fr":"Parti"},"transform":{"module":"TabUtils","function":"inline","args":{}},"source":"Charts/Wikibase property/test-skeleton.tab","title":{"en":"1993 Canadian federal election"}}
tw2x2c54nbb9jvs8qhhxce3tddtv2ri