Wikisource
rowikisource
https://ro.wikisource.org/wiki/Pagina_principal%C4%83
MediaWiki 1.45.0-wmf.7
first-letter
Media
Special
Discuție
Utilizator
Discuție Utilizator
Wikisource
Discuție Wikisource
Fișier
Discuție Fișier
MediaWiki
Discuție MediaWiki
Format
Discuție Format
Ajutor
Discuție Ajutor
Categorie
Discuție Categorie
Autor
Discuție Autor
Pagină
Discuție Pagină
Index
Discuție Index
TimedText
TimedText talk
Modul
Discuție Modul
Manifestul Partidului Comunist
0
1643
144193
144074
2025-06-27T08:23:24Z
TiberiuFr25
11409
144193
wikitext
text/x-wiki
{{titlu
| titlu = Manifestul Partidului Comunist
| autor = Karl Marx
| autor2 = Friedrich Engels
| traducător = Editura de Stat pentru Literatură Politică
| traducător-nolink = da
| secțiune =
| anterior =
| următor = [[/Prefețe/]]
| an = 1954
| note = Publicat inițial în 1848, în limba germană, la Londra.
| copertă = Manifestul Partidului Comunist (trad. 1954).pdf/1
}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="3" />
{{ppb}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="5" />
{{ppb}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="7" />
{{ppb}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="8" />
{{ppb}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="111" />
{{Control de autoritate}}
[[Categorie:Manifeste]]
5stn8q5jf6gma21u9g3jzwtnifcn8ao
Trei culori
0
5974
144099
143929
2025-06-26T16:25:24Z
2A04:241E:502:F000:7C46:63CA:331:410C
/* Versiune originală */Am corectat o informație eronată.
144099
wikitext
text/x-wiki
{{Calitatealucrării|75%}}{{titlu
| titlu = Trei culori
| autor = Ciprian Porumbescu
| override_autor = [[Ciprian Porumbescu]] (cu modificări)
| secțiune =
| anterior = [[Wikisource:Imnuri naționale|Imnuri naționale]]
| următor =
| an = 1977
| note = Textele de mai jos reprezintă două versiuni ale imnului național al [[w:Republica Socialistă România|Republicii Socialiste România]], în uz între anii 1977 și 1990. Ambele variante sunt bazate pe poemul '''[[Tricolorul (Porumbescu)|Tricolorul]]''' de [[Ciprian Porumbescu]]. Prima versiune este cea oficială, adoptată ca imn național prin Legea nr.33/1977. A doua versiune pare să fie foarte răspândită, dar este de origine incertă.
}}
==Imnului Republicii Socialiste România==
<poem>Trei culori cunosc pe lume,
Amintind de-un brav popor,
Ce-i viteaz, cu vechi renume,
În luptă triumfător.
Multe secole luptară
Străbunii noștri eroi,
Să trăim stăpîni în țară,
Ziditori ai lumii noi.
Roșu, galben și albastru
Este-al nostru tricolor.
Se înalță ca un astru
Gloriosul meu popor.
Suntem un popor în lume
Strîns unit și muncitor,
Liber, cu un nou renume
Și un țel cutezător.
Azi partidul ne unește
Și pe plaiul românesc
Socialismul se clădește,
Prin elan muncitoresc.
Pentru-a patriei onoare,
Vrăjmașii-n luptă-i zdrobim.
Cu alte neamuri sub soare,
Demn, în pace, să trăim.
Iar tu, Românie mîndră,
Tot mereu să dăinuiești
Și în comunista eră
Ca o stea să strălucești.</poem>
==Versiune originală==
<poem>Trei culori cunosc pe lume
Ce le țin ca sfânt odor,
Sunt culori de-un vechi renume
Amintind de-un brav popor.
Cât pe cer și cât pe lume,
Vor fi aste trei culori,
Vom avea un falnic nume,
Și un falnic viitor.
Roșu-i focul vitejiei,
Jertfele ce-n veci nu pier
Galben, aurul câmpiei,
Și-albastru-al nostru cer.
Multe secole luptară
Bravi și ne-nfricați eroi
Liberi să trăim în țară
Ziditori ai lumii noi.
Iar când fraților m-oi duce
De la voi și-o fi să mor
Pe mormânt atunci să-mi puneți
Mândrul nostru tricolor.</poem>
{{DP-ROGov}}
oyjncj9iqenzceukj3n0uvd07842tnt
144100
144099
2025-06-26T16:27:46Z
2A04:241E:502:F000:7C46:63CA:331:410C
Am corectat o informație eronată.
144100
wikitext
text/x-wiki
{{Calitatealucrării|75%}}{{titlu
| titlu = Trei culori
| autor = Ciprian Porumbescu
| override_autor = [[Ciprian Porumbescu]] (cu modificări)
| secțiune =
| anterior = [[Wikisource:Imnuri naționale|Imnuri naționale]]
| următor =
| an = 1977
| note = Textele de mai jos reprezintă două versiuni ale imnului național al [[w:Republica Socialistă România|Republicii Socialiste România]], în uz între anii 1977 și 1990. Ambele variante sunt bazate pe poemul '''[[Tricolorul (Porumbescu)|Tricolorul]]''' de [[Ciprian Porumbescu]]. Prima versiune este cea oficială, adoptată ca imn național prin Legea nr.33/1977. A doua versiune este cea originală pe care Partidul Comunist a modificat-o.
}}
==Imnului Republicii Socialiste România==
<poem>Trei culori cunosc pe lume,
Amintind de-un brav popor,
Ce-i viteaz, cu vechi renume,
În luptă triumfător.
Multe secole luptară
Străbunii noștri eroi,
Să trăim stăpîni în țară,
Ziditori ai lumii noi.
Roșu, galben și albastru
Este-al nostru tricolor.
Se înalță ca un astru
Gloriosul meu popor.
Suntem un popor în lume
Strîns unit și muncitor,
Liber, cu un nou renume
Și un țel cutezător.
Azi partidul ne unește
Și pe plaiul românesc
Socialismul se clădește,
Prin elan muncitoresc.
Pentru-a patriei onoare,
Vrăjmașii-n luptă-i zdrobim.
Cu alte neamuri sub soare,
Demn, în pace, să trăim.
Iar tu, Românie mîndră,
Tot mereu să dăinuiești
Și în comunista eră
Ca o stea să strălucești.</poem>
==Versiune originală==
<poem>Trei culori cunosc pe lume
Ce le țin ca sfânt odor,
Sunt culori de-un vechi renume
Amintind de-un brav popor.
Cât pe cer și cât pe lume,
Vor fi aste trei culori,
Vom avea un falnic nume,
Și un falnic viitor.
Roșu-i focul vitejiei,
Jertfele ce-n veci nu pier
Galben, aurul câmpiei,
Și-albastru-al nostru cer.
Multe secole luptară
Bravi și ne-nfricați eroi
Liberi să trăim în țară
Ziditori ai lumii noi.
Iar când fraților m-oi duce
De la voi și-o fi să mor
Pe mormânt atunci să-mi puneți
Mândrul nostru tricolor.</poem>
{{DP-ROGov}}
rc574qrhj78o4zzi7shi4qhr21na75g
MediaWiki:Common.css
8
6013
144185
89721
2025-06-27T08:12:42Z
TiberiuFr25
11409
eliminare fundal tabele
144185
css
text/css
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
border: 1px solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px solid;
padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}
/* style pentru Format:CarteDigitizată */
.openbook {
background: url(//upload.wikimedia.org/wikipedia/commons/thumb/9/92/Open_book_nae_02.svg/20px-Open_book_nae_02.svg.png) center right no-repeat;
}
/* Style for "notices" */
.notice {
text-align: justify;
margin: 1em;
padding: 0.2em;
}
/* Cutii navigație dinamice */
div.Boxmerge,
div.NavFrame,
div.CutieNav {
margin: 0px;
padding: 2px;
border: 1px solid #aaaaaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
clear:both;
}
div.Boxmerge div.NavFrame {
border-style: none;
border-style: hidden;
}
div.CutieNav + div.CutieNav,
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic,
div.ImgNav {
background-color: #ffffff;
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead,
div.CutieNav div.CapNav {
height: 1.6em;
font-weight: bold;
background-color: #efefef;
}
div.CutieNav p,
div.NavFrame p {
font-size: 100%;
}
div.CutieNav div.ContinutNav,
div.NavFrame div.NavContent {
font-size: 100%;
}
div.CutieNav div.ContinutNav p,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.SfarsitNav,
div.NavEnd {
margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
.ActivareNav,
.NavToggle {
font-size: x-small;
float:right;
}
/* Cutii navigare fără imprimare */
@media print{
.NavFrame {
display: none;
}
.Boxmerge {
display: none;
}
}
/* Sfârșit cutii navigare dinamice */
/* Colorarea numărului caracterelor modificate în lista Schimbărilor Recente */
.mw-plusminus-pos {
color: #00aa00; /* verde */
}
.mw-plusminus-neg {
color: #aa0000; /* roșu */
}
.mw-plusminus-null {
color: #888888; /* gri */
}
/* </pre>
==={{[[template:intro|intro]]}}===
<pre> */
.formatautor {
width:100%;
margin-bottom:5px;
border:1px solid #BEA2A2;
background:#E4D8D8;
}
.formatautor .autor_înapoi, .formatautor .autor_înainte {
width:20%;
font-size:0.9em;
}
.formatautor .author_nume {
width:60%;
text-align:center;
}
.autor_note {
width:100%;
border-bottom:1px solid #A88;
background:#FFFBFC;
font-size:0.9em;
}
.autor_vezisi {
float:right;
padding:2px;
margin:0 0 0.5em 1em;
border:1px solid #CCC;
}
/* Proza cu linii scurte */
.proza {
width:35em;
margin:0px auto;
text-align:justify;
}
/* {{titlu}} */
table.titlu_format {
width:100%;
margin-bottom:5px;
border:1px solid #ADA;
background:#E4F2E4;
text-align:center;
font-size:0.9em;
}
.titlu_format .titlu_anterior, .titlu_format .titlu_urmator {
width:20%;
font-size:0.9em;
line-height:normal;
}
.titlu_note {
width:100%;
border-bottom:1px solid #A88;
background:#FAFAFF;
font-size:0.9em;
}
.titlu_format .titlu_titlu { width: 60%; }
.titlu_format .titlu_anterior { text-align:left; }
.titlu_format .titlu_urmator { text-align:right; }
/* ProofreadPage */
.quality4 { background-color: #90ff90; }
.quality3 { background-color: #ffe867; }
.quality2 { background-color: #b0b0ff; }
.quality1 { background-color: #ffa0a0; }
.quality0 { background-color: #ddd; }
.ns-104 .editsection { visibility:hidden; }
/* not in remarks */
div#remarks a.quality4 { background:#ffffff; }
div#remarks a.quality3 { background:#ffffff; }
div#remarks a.quality2 { background:#ffffff; }
div#remarks a.quality1 { background:#ffffff; }
div#remarks a.quality0 { background:#ffffff; }
.hiddenStructure {
display: none;
speak: none;
}
34zbjneasv7db0tx9bc30xyp4v0scus
Format:Titlu
10
6172
144186
142967
2025-06-27T08:16:39Z
TiberiuFr25
11409
144186
wikitext
text/x-wiki
{{#invoke:Header|header}}{{#if:{{{autor|}}}|{{#if:{{{autor-nolink|}}}||{{#switch: {{{autor|}}}
| necunoscut
| anonim =
| #default = [[Categorie:{{{autor}}}]]
}}}}}}{{#if:{{{traducător|}}}|{{#if:{{{traducător-nolink|}}}||[[Categorie:{{{traducător}}}]]}}}}
<noinclude>{{documentație}}</noinclude>
2be02m8lo1w13iav3f1pnznong0xypl
MediaWiki:Sidebar
8
8397
144133
141396
2025-06-26T21:52:21Z
TiberiuFr25
11409
adăugare opțiuni pentru opere și autori aleatorii; adăugare opțiuni aspect pentru opere
144133
wikitext
text/x-wiki
* Navigare
** mainpage|mainpage
** Wikisource:Scriptoriu|Scriptoriu
** portal-url|portal
** recentchanges-url|recentchanges
** Categorie:Autori în ordine alfabetică|Indexul autorilor
** randomwork-url|randomwork
** randomauthor-url|randomauthor
** randomindex-url|randomindex
** helppage|Ajutor
** aboutpage|aboutsite
** sitesupport-url|sitesupport
** specialpages-url|specialpages
** Wikisource:Proiecte|Proiecte
* do
* TOOLBOX
** TOOLBOXEND
l1zewm1c7k2013lwvtpjluyc9ctin6f
144134
144133
2025-06-26T21:53:10Z
TiberiuFr25
11409
144134
wikitext
text/x-wiki
* navigation
** mainpage|mainpage
** Wikisource:Scriptoriu|Scriptoriu
** portal-url|portal
** recentchanges-url|recentchanges
** Categorie:Autori în ordine alfabetică|Indexul autorilor
** randomwork-url|randomwork
** randomauthor-url|randomauthor
** randomindex-url|randomindex
** helppage|Ajutor
** aboutpage|aboutsite
** sitesupport-url|sitesupport
** specialpages-url|specialpages
* do
* TOOLBOX
** TOOLBOXEND
gc8pcbgzp1qb5xn41fprje6znhrn7ki
Pagină:Nicolae Iorga - America și românii din America.djvu/212
104
31461
144180
110195
2025-06-27T06:58:36Z
Monedula
18856
typos
144180
proofread-page
text/x-wiki
<noinclude><pagequality level="3" user="Monedula" />{{rh|||NAȚIILE}}</noinclude>mare, nu fățiș, ci pe ascuns. Om de serviciu, încă de la 1800 era greu de găsit și atunci a trebuit să se recurgă la fostul sclav care e legat prin disposițiile lui naturale de serviciu: îi place a servi, e atent să nu rămâie gol o clipă păharul „stăpânului”; dacă se întâmplă să fiii pătat pe haină, din colțul celalt al odăii aleargă el să ți-o șteargă; a aduce un serviciu „bos”-ului, este pentru dânsul cea mai mare mulțămire. E politicos: nu se supără nici-dată când țipi la dânsul, e bine crescut în felul lui. Foarte sălbatec, în fond, une ori, poate ucide zeci de oameni când îi vin furiile, dar de obiceiu e om foarte bl<span style="color: darkred">â</span>nd. Dacă te superi pe dânsul, își zice că ești om rău crescut, dar după față nu cunoști nimic. Dacă i-ai dat un bacșiș prea mic, nu se supără, ci zice „{{lang|en|thank you very much}}”, ca și atunci când îi dai un bacșiș mare.
Tânăr și bătrân—fața negrului e foarte curioasă; dacă nu i-a înălbit părul, nu poți face deosebire între negrul tânăr și cel {{nowrap|bătrân—,}} negrul este în toate casele; el știe toate lucrurile; el crește copiii, și în accentul american poate să fie și o influență a cutării dădace negre. Musica neagră a pătruns pretutindeni, musică pe care o putem auzi și la cinematografele vorbitoare, musică întovărășită de anumite mișcări de bălăbănire continuă și de gemete dureroase. Musica astăzi la modă vine de la dânșii; danțurile răpezite, săriturile pe loc, îmbrățișările strânse, acestea este neastâmpărul sălbatec al negrului de odinioară. Rasa de sclavi pătrunde pe scara mare a societății americane.
De la o bucată de vreme, de când a înсeput marea industrie americană, pe la jumătatea secolului al XIX-lea, înainte de a se inventa mașinele care astăzi cruță din munca omului, cruțare dureroasă prin faptul că mașina ajunge de nu mai are nevoie de brațul omului și muncitorul trebuie să ia bățul pribegiei și să se ducă aiurea, a fost nevoie de multe brațe.
A fost însă un timp când în America trebuiau create<noinclude>{{rh|||''203''}}
<references/></noinclude>
1fzod0hwlcfy0po6n4hba1muhpyu9ed
Manifestul Partidului Comunist/1. Burghezi și proletari
0
46874
144188
144069
2025-06-27T08:19:14Z
TiberiuFr25
11409
144188
wikitext
text/x-wiki
{{titlu
| titlu = Manifestul Partidului Comunist
| autor = Karl Marx
| autor2 = Friedrich Engels
| traducător = Editura de Stat pentru Literatură Politică
| traducător-nolink = da
| secțiune = I. Burghezi și proletari
| anterior = [[../Prefețe/]]
| următor = [[../2. Proletari și comuniști|Capitolul 2]]
| an = 1954
| note =
}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="35" />
{{ppb}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="37" />
{{ppb}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="36,38-51" />
{{ppb}}
{{referințe mici}}
{{aspect implicit|Aspect 2}}
g8wyunswajkqk32iyzoygzen4t71ql5
Manifestul Partidului Comunist/2. Proletari și comuniști
0
46876
144189
144068
2025-06-27T08:21:02Z
TiberiuFr25
11409
144189
wikitext
text/x-wiki
{{titlu
| titlu = Manifestul Partidului Comunist
| autor = Karl Marx
| autor2 = Friedrich Engels
| traducător = Editura de Stat pentru Literatură Politică
| traducător-nolink = da
| secțiune = II. Proletari și comuniști
| anterior = [[../1. Burghezi și proletari|Capitolul 1]]
| următor = [[../3. Literatura socialistă și comunistă|Capitolul 3]]
| an = 1954
| note =
}}
{{aspect implicit|Aspect 2}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="52-62" />
{{ppb}}
{{referințe mici}}
mzzto3s3xrgmu84doi7wh2bpy1o1zdi
Manifestul Partidului Comunist/3. Literatura socialistă și comunistă
0
46889
144190
144067
2025-06-27T08:21:15Z
TiberiuFr25
11409
144190
wikitext
text/x-wiki
{{titlu
| titlu = Manifestul Partidului Comunist
| autor = Karl Marx
| autor2 = Friedrich Engels
| traducător = Editura de Stat pentru Literatură Politică
| traducător-nolink = da
| secțiune = III. Literatura socialistă și comunistă
| anterior = [[../2. Proletari și comuniști|Capitolul 2]]
| următor = [[../4. Poziția comuniștilor față de diferitele partide opoziționiste|Capitolul 4]]
| an = 1954
| note =
}}
{{aspect implicit|Aspect 2}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="63-70" />
{{ppb}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="71" />
{{ppb}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="72-75" />
{{ppb}}
{{referințe mici}}
f1o7x5vk3tl8tneezi2ev7yfhx3lilf
Manifestul Partidului Comunist/4. Poziția comuniștilor față de diferitele partide opoziționiste
0
47406
144191
144066
2025-06-27T08:21:43Z
TiberiuFr25
11409
144191
wikitext
text/x-wiki
{{titlu
| titlu = Manifestul Partidului Comunist
| autor = Karl Marx
| autor2 = Friedrich Engels
| traducător = Editura de Stat pentru Literatură Politică
| traducător-nolink = da
| secțiune = IV. Poziția comuniștilor față de diferitele partide opoziționiste
| anterior = [[../3. Literatura socialistă și comunistă|Capitolul 3]]
| următor = [[../Anexe/1. Contribuții la istoria „Ligii comuniștilor”|Anexa 1]]
| an = 1954
| note =
}}
{{aspect implicit|Aspect 2}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="76-78" />
{{ppb}}
{{referințe mici}}
ixaup5zf0mzhbt0diewukybzfzm987a
Manifestul Partidului Comunist/Anexe/1. Contribuții la istoria „Ligii comuniștilor”
0
47413
144192
144083
2025-06-27T08:21:51Z
TiberiuFr25
11409
144192
wikitext
text/x-wiki
{{titlu
| titlu = Manifestul Partidului Comunist
| autor = Karl Marx
| autor2 = Friedrich Engels
| traducător = Editura de Stat pentru Literatură Politică
| traducător-nolink = da
| secțiune = Anexe: I. Contribuții la istoria „Ligii comuniștilor”
| anterior = [[../../4. Poziția comuniștilor față de diferitele partide opoziționiste|Capitolul 4]]
| următor = [[../2. Statutele Ligii comuniștilor|Anexa 2]]
| an = 1954
| note =
}}
{{aspect implicit|Aspect 2}}
<pages index="Manifestul Partidului Comunist (trad. 1954).pdf" include="79-103" />
{{ppb}}
{{referințe mici}}
clbtg3fd8271llnffdjxi5vtse05i2t
MediaWiki:Gadgets-definition
8
47425
144101
2025-06-26T20:48:20Z
TiberiuFr25
11409
Activare gadgeturi (listă preluată de la en.wikisource)
144101
wikitext
text/x-wiki
== editing-tools ==
* charinsert[ResourceLoader|default]|charinsert.js
* charinsert-core[ResourceLoader|hidden|dependencies=jquery.textSelection,user,mediawiki.storage]|charinsert-core.js|charinsert-core.css
* WikiEditorTools[ResourceLoader]|WikiEditor-Tools-loader.js
<!-- Loaded by WikiEditorTools only when needed -->
* WikiEditor-CssTools[ResourceLoader|hidden]|WikiEditor-CssTools.js
* WikiEditor-ModuleTools[ResourceLoader|hidden]|WikiEditor-ModuleTools.js
* edittop[ResourceLoader|dependencies=mediawiki.util]|edittop.js
* HotCat[ResourceLoader|rights=edit]|HotCat.js
* popups[ResourceLoader|type=general]|popups.js|navpop.css
* RegexMenuFramework[ResourceLoader|dependencies=mediawiki.util]|RegexMenuFramework.js
* refToolbar[ResourceLoader|dependencies=user.options]|refToolbar.js
* TemplatePreloader[ResourceLoader|actions=edit]|TemplatePreloader.js
* contrast-reducer[ResourceLoader|type=styles|actions=edit]|contrast-reducer.css
== editing-tools-for-Page-namespace ==
* nsPage[ResourceLoader|default|hidden|namespaces=104|type=styles]|Page_namespace.css
* notext[ResourceLoader|default|namespaces=104|actions=edit|dependencies=ext.proofreadpage.page.edit]|notext.js
* Easy_LST[ResourceLoader|default]|Easy_LST.js
* NopInserter[ResourceLoader|dependencies=mediawiki.util]|NopInserter.js
* pilcrowMarkers[ResourceLoader]|pilcrowMarkers.css
* Preload_Page_Images[ResourceLoader|namespaces=104]|Preload_Page_Images.js
* RunningHeader[ResourceLoader|dependencies=mediawiki.util,mediawiki.api]|RunningHeader.js
* ImageUploader[ResourceLoader|dependencies=mediawiki.util]|ImageUploader.js
== editing-tools-for-Index-namespace ==
* nsIndex[ResourceLoader|default|hidden|namespaces=106|type=styles]|Index_namespace.css
* Fill_Index[ResourceLoader|default]|Fill_Index.js
* IndexFormTools[ResourceLoader|default|dependencies=oojs-ui-core]|IndexFormTools.js
* ImportPagelist[ResourceLoader|dependencies=mediawiki.util]|ImportPagelist.js
* transclusion-check[ResourceLoader|default|dependencies=mediawiki.util,mediawiki.api|actions=view|namespaces=106]|transclusion-check.js|transclusion-check.css
* mark-proofread[ResourceLoader|type=styles|namespaces=106|actions=view]|mark-proofread.css
== interface ==
* Site[ResourceLoader|default|dependencies=mediawiki.util|peers=Site-styles]|SiteMessages.js|DisplayFooter.js|ToolbarFixes.js
* Site-styles[hidden|type=styles]|Site.css|DisplayFooter.css
* prefill-template-preview[ResourceLoader|hidden|default|actions=edit|namespaces=10,828]|prefill-template-preview.js
* PageNumbers[ResourceLoader|default]|PageNumbers.js
* PageNumbers-core[ResourceLoader|hidden|dependencies=mediawiki.util,user,mediawiki.cookie]|PageNumbers-core.js|PageNumbers-core.css
* MobileSite[ResourceLoader|default|skins=minerva|namespaces=0,114]|MobileDownloadLink.js
* MoreMenu-local[ResourceLoader|default|dependencies=mediawiki.api,mediawiki.util,user.options|peers=MoreMenu-local-pagestyles]|MoreMenu-local.js
* MoreMenu-local-pagestyles[hidden]|MoreMenu-local-pagestyles.css
* addsection-plus[ResourceLoader]|addsection-plus.js
* userMessages[ResourceLoader]|UserMessages.js
* PurgeTab[ResourceLoader|dependencies=mediawiki.util,mediawiki.api|default]|PurgeTab.js
* UTCLiveClock[ResourceLoader|dependencies=mediawiki.util,mediawiki.api,user|peers=UTCLiveClock-pagestyles]|UTCLiveClock.js|UTCLiveClock.css
* UTCLiveClock-pagestyles[hidden|skins=vector,vector-2022,monobook]|UTCLiveClock-pagestyles.css
* WhatLeavesHere[ResourceLoader|dependencies=mediawiki.util]|WhatLeavesHere.js
* ShowMessageNames[ResourceLoader|dependencies=mediawiki.util]|ShowMessageNames.js
* DebugMode[ResourceLoader|dependencies=mediawiki.util]|DebugMode.js
* CurIDLink[ResourceLoader|dependencies=mediawiki.util]|CurIDLink.js
* BugStatusUpdate[ResourceLoader]|BugStatusUpdate.js
* Visibility[ResourceLoader|dependencies=mediawiki.cookie]|Visibility.js
* interwiki-transclusion[ResourceLoader|default|dependencies=mediawiki.util,mediawiki.api]|interwiki-transclusion.js
== watchlist ==
* watchlist-notice[ResourceLoader|default|rights=viewmywatchlist]|watchlist-notice.js
* watchlist-notice-core[ResourceLoader|dependencies=mediawiki.storage|hidden]|watchlist-notice-core.js
== development ==
* ResultListSort[ResourceLoader]|ResultListSort.js
* WE-framework WS[ResourceLoader]|WE-framework WS.js
* WikidataInfo [ResourceLoader|dependencies=mediawiki.jqueryMsg] | WikidataInfo.js|WikidataInfo.css
* sandbox[ResourceLoader|dependencies=mediawiki.util]|sandbox.js|sandbox.css
* legacyToolbar[ResourceLoader]|legacyToolbar.js
* extra-toolbar-buttons[ResourceLoader|default]|extra-toolbar-buttons.js
* extra-toolbar-buttons-core[ResourceLoader|hidden]|extra-toolbar-buttons-core.js
* pr_test_layout[ResourceLoader]|pr_test_layout.js|pr_test_layout.css
== maintenance-tools==
* markblocked[ResourceLoader]|markblocked.js
== admin-tools ==
* CleanDeleteReasons[ResourceLoader|rights=delete|actions=delete]|CleanDeleteReasons.js
* massdelete[ResourceLoader|rights=delete]|massdelete.js
== hidden ==
* utils-difference[ResourceLoader|hidden]|utils-difference.js
* a11y-page-status[ResourceLoader|hidden|default|namespaces=104|actions=edit]|a11y-page-status.js
gsxl7o8ib0kzk5zkqxfvma9zsk3ypz5
MediaWiki:Gadget-edittop.js
8
47426
144102
2025-06-26T20:51:07Z
TiberiuFr25
11409
Pagină nouă: /* MediaWiki:Gadget-edittop.js */ /* * Adds an edit link for the first section of a wikipage, the article's lead on * Wikipedias. * * Global script; loaded from enWP. */ mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-edittop.js&action=raw&ctype=text/javascript');
144102
javascript
text/javascript
/* MediaWiki:Gadget-edittop.js */
/*
* Adds an edit link for the first section of a wikipage, the article's lead on
* Wikipedias.
*
* Global script; loaded from enWP.
*/
mw.loader.load('//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-edittop.js&action=raw&ctype=text/javascript');
qy5gp25dehp0s8s52jo1gf9lpu8posn
MediaWiki:Gadget-HotCat.js
8
47427
144103
2025-06-26T20:51:34Z
TiberiuFr25
11409
Pagină nouă: if ( mw.config.get( 'wgPageContentModel' ) !== 'proofread-page' ) { mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); }
144103
javascript
text/javascript
if ( mw.config.get( 'wgPageContentModel' ) !== 'proofread-page' ) {
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
}
1yvzv2fth70tvwbedp5ua85l3p1fglw
MediaWiki:Gadget-popups.js
8
47428
144104
2025-06-26T20:52:11Z
TiberiuFr25
11409
Pagină nouă: // [[File:Wikipedia_Gadget-popups.js]] Pop-ups imported from enWS mw.loader.load( '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript' );
144104
javascript
text/javascript
// [[File:Wikipedia_Gadget-popups.js]] Pop-ups imported from enWS
mw.loader.load( '//en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&action=raw&ctype=text/javascript' );
sz7jixh4bpyy7qkmz9g67z6g3gjjj99
MediaWiki:Gadget-navpop.css
8
47429
144105
2025-06-26T20:52:30Z
TiberiuFr25
11409
Pagină nouă: .popupMoreLink { display: block; text-align: right; cursor: pointer; } ins.popupDiff { background: #afe; } del.popupDiff { background: #ffe6e6; } #selectionPreview { border: 2px solid #ddd; background-color: #eef; padding: 6px; } .navpopup { border: 1px solid #bbb; background-color: #fff; padding: 10px; padding-bottom: 5px; font-size: 11px; box-shadow: 0 3px 8px rgba( 50, 50, 50, 0.35 ); word-wrap: break-word; } .navpopup hr { color: #aaa...
144105
css
text/css
.popupMoreLink {
display: block;
text-align: right;
cursor: pointer;
}
ins.popupDiff {
background: #afe;
}
del.popupDiff {
background: #ffe6e6;
}
#selectionPreview {
border: 2px solid #ddd;
background-color: #eef;
padding: 6px;
}
.navpopup {
border: 1px solid #bbb;
background-color: #fff;
padding: 10px;
padding-bottom: 5px;
font-size: 11px;
box-shadow: 0 3px 8px rgba( 50, 50, 50, 0.35 );
word-wrap: break-word;
}
.navpopup hr {
color: #aaa !important;
background-color: #aaa !important;
}
/* Configure Drag bar color */
.popupDrag {
background-color: #ffbe20;
height: 5px;
margin-top: -5px;
margin-bottom: 5px;
}
.popupDragHandle {
cursor: move;
position: relative;
}
/* menu magic - many thanks to [[User:Zocky]]! */
/* popups */
.popup_menu {
display: none;
position: absolute;
left: 0;
margin: 0;
margin-top: 1.4em;
line-height: 1.25em;
top: 0;
z-index: 2;
width: 10em;
background: white;
border: 1px solid grey;
padding: 0 !important;
margin-left: -6px;
border-width: 1px 1px 1px 6px;
}
.popup_menu li { /* both: popup_menu_row and popup_menu_item */
list-style: none;
margin:0;
padding:0;
}
.popup_menu a {
display: block;
padding: 3px;
color: #555;
}
.popup_menu_row a {
display: inline-block;
}
.popup_menu_row {
color: #aaa;
}
.popup_drop {
display: inline;
position: relative;
}
.popup_drop a,
.popup_drop a:visited {
padding: 3px;
margin: 0;
font-weight: bold;
color: #0645ad;
}
.popup_drop:hover .popup_menu,
.popup_drop .popup_menu:hover {
display: inline;
background: white;
padding: 2px;
color: #555;
}
.popup_drop:hover {
background: #ccf;
color: #44f;
}
/* other colours, styles and so on */
.popup_menu a:hover {
background: grey;
color: #fff;
text-decoration: none;
}
.popup_mainlink {
font-size: 140%;
font-weight: bold;
}
.popup_mainlink a {
color: #000;
}
a.popup_change_title_link {
color: #152;
}
.popup_diff_dates {
font-style: italic;
background: none;
}
.popup_menu_item a {
display: block;
}
.popup_history_row_even {
background: #eee;
}
.popup_history_date {
font-weight: bold;
font-size: 120%;
}
.popup_history_row_odd,
.popup_history_row_even {
display: flex;
}
.popup_history_row_even td:nth-child(3),
.popup_history_row_odd td:nth-child(3) {
flex: 3;
word-break: break-word;
}
.popup_history_row_even td:nth-child(4),
.popup_history_row_odd td:nth-child(4) {
flex: 7;
word-break: break-word;
}
.popup_history_row_even > td:not(:last-child),
.popup_history_row_odd > td:not(:last-child) {
margin-right: 2px;
}
/* disable interwiki styling */
.popupPreview a.extiw,
.popupPreview a.extiw:active {
color: #36b;
background: none;
padding: 0;
}
.popupPreview .external {
color: #36b;
}
/* this can be used in the content area to switch off
special external link styling */
.popupPreview .plainlinks a {
background: none !important;
padding: 0 !important;
}
/*
Mouse safe zones for popup menu.
*/
/* eye guide suggestion */
.popup_menu:hover
{
box-shadow: 0 0 5px 5px rgba(179, 179, 255, 0.3)
}
/* trapezoid guide for the cursor */
.popup_menu::before {
content: '';
display: block;
position: absolute;
height: 1.5em;
top: -1.4em;
left: -1.2em;
width: calc(2 * var(--navpop-m-len, 6ch));
transform: perspective(1px) rotateX(1deg);
}
/* make the trapezoid go behing menu items */
.popup_menu::before {
z-index: 1;
}
.popup_menu li {
position: relative;
z-index: 2;
}
/* additional hover margin on the sides */
.popup_menu li::before {
content: '';
display: block;
position: absolute;
top: 0;
height: calc(100% + .5em);
left: -1.7em;
width: 1.7em;
}
.popup_menu li::after {
content: '';
display: block;
position: absolute;
top: 0;
height: calc(100% + .5em);
left: calc(10em - 1px); /* depends on the width of the menu */
width: 1em;
}
qmr5ez0u5xsj795xy2ckwiewe2gxlwl
MediaWiki:Gadget-RegexMenuFramework.js
8
47430
144106
2025-06-26T20:54:32Z
TiberiuFr25
11409
Pagină nouă: /** * TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor. * @see https://meta.wikimedia.org/wiki/TemplateScript * @update-token [[File:pathoschild/templatescript.js]] */ mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js');
144106
javascript
text/javascript
/**
* TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
* @see https://meta.wikimedia.org/wiki/TemplateScript
* @update-token [[File:pathoschild/templatescript.js]]
*/
mw.loader.load('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js');
r7tb2mdha7tg9u6ha3lvfy70qd8kd68
MediaWiki:Gadget-contrast-reducer.css
8
47431
144107
2025-06-26T20:56:33Z
TiberiuFr25
11409
Pagină nouă: #mw-content-text { background-color: #DDD; color: #222; } a { color: #22F; } .new { color: #BA0000; } .extiw { color: #33F; } textarea, input#wpSummary { background-color: #DDD; }
144107
css
text/css
#mw-content-text {
background-color: #DDD;
color: #222;
}
a {
color: #22F;
}
.new {
color: #BA0000;
}
.extiw {
color: #33F;
}
textarea, input#wpSummary {
background-color: #DDD;
}
fmadp2oqwp9fiqz42nqvzix0pq3de95
MediaWiki:Gadget-section-editing-tools
8
47432
144108
2025-06-26T20:57:30Z
TiberiuFr25
11409
Pagină nouă: Unelte de editare
144108
wikitext
text/x-wiki
Unelte de editare
ednqp7m0x7kiqsiy2t9q9g6kv6bcpqu
MediaWiki:Gadget-section-editing-tools-for-Page-namespace
8
47433
144109
2025-06-26T20:58:11Z
TiberiuFr25
11409
Pagină nouă: Unelte de editare pentru spațiul de nume [[Ajutor:Spații de nume|Pagină:]]
144109
wikitext
text/x-wiki
Unelte de editare pentru spațiul de nume [[Ajutor:Spații de nume|Pagină:]]
6wufbcl5sag1cm2qplwh339q4jy02ho
MediaWiki:Gadget-Page namespace.css
8
47434
144110
2025-06-26T20:58:40Z
TiberiuFr25
11409
Pagină nouă: /* MediaWiki:Gadget-Page namespace.css */ /* * Styles applied to all page views in the Page namespace */ /* Justify text in Page namespace */ .pagetext { text-align: justify; }
144110
css
text/css
/* MediaWiki:Gadget-Page namespace.css */
/*
* Styles applied to all page views in the Page namespace
*/
/* Justify text in Page namespace */
.pagetext {
text-align: justify;
}
06fulgh1fbyhwxjkrwzf1re6bikdgv5
MediaWiki:Gadget-notext.js
8
47435
144111
2025-06-26T20:59:22Z
TiberiuFr25
11409
Pagină nouă: /* Gadget-notext.js: Empty out "Without text" pages. */ // Wait for the page to be parsed (new-style $(document).ready()) $(function () { $('.prp-quality-radio.quality0 > input').on('click', function () { $('#wpHeaderTextbox, #wpTextbox1, #wpFooterTextbox').each(function () { $(this).data('wsg-notext-saved-value', $(this).val()); // Save data. $(this).val(''); // Clear field. }); }); for (const i of [1, 2, 3, 4]) { // Page quality level values. var selector =...
144111
javascript
text/javascript
/* Gadget-notext.js: Empty out "Without text" pages. */
// Wait for the page to be parsed (new-style $(document).ready())
$(function () {
$('.prp-quality-radio.quality0 > input').on('click', function () {
$('#wpHeaderTextbox, #wpTextbox1, #wpFooterTextbox').each(function () {
$(this).data('wsg-notext-saved-value', $(this).val()); // Save data.
$(this).val(''); // Clear field.
});
});
for (const i of [1, 2, 3, 4]) { // Page quality level values.
var selector = '.prp-quality-radio.quality' + i + ' > input';
$(selector).on('click', function () {
$('#wpHeaderTextbox, #wpTextbox1, #wpFooterTextbox').each(function () {
if ($(this).data('wsg-notext-saved-value')) {
$(this).val($(this).data('wsg-notext-saved-value')); // Restore data.
$(this).data('wsg-notext-saved-value', ''); // Clear saved data.
}
});
});
}
}); // END: $(document).ready()
611v1sn1dyn5a9v12y1b76nv3gw8dc7
MediaWiki:Gadget-Easy LST.js
8
47436
144112
2025-06-26T21:00:52Z
TiberiuFr25
11409
Pagină nouă: /** * Easy Labelled Section Transclusion Syntax * * Configurations: * enabled: Set to false to disable this gadget on the current page * * Configure it like this, from your main JS: * * { * var easySectSyntaxConfig = { * enabled: true, * }; * * mw.hook("easy_section_syntax.config").fire(easySectSyntaxConfig); * } */ "use strict"; // IIFE used when including as a user script (to allow debug or config) // Default gadget use will get an IIFE wrap...
144112
javascript
text/javascript
/**
* Easy Labelled Section Transclusion Syntax
*
* Configurations:
* enabled: Set to false to disable this gadget on the current page
*
* Configure it like this, from your main JS:
*
* {
* var easySectSyntaxConfig = {
* enabled: true,
* };
*
* mw.hook("easy_section_syntax.config").fire(easySectSyntaxConfig);
* }
*/
"use strict";
// IIFE used when including as a user script (to allow debug or config)
// Default gadget use will get an IIFE wrapper as well
(function($, mw) {
var gadget_name = "easy_section_syntax";
var EasySS = {
enabled: true,
debug: true,
configured: false,
};
function log(msg) {
if (EasySS.debug) {
console.log(gadget_name + ": ", msg);
}
}
function error(msg) {
console.error(gadget_name + ": ", msg);
}
/*
* Read config from user. This function fired by hook
*/
function apply_config(cfg) {
console.log("Configuring " + gadget_name);
// Bail if the config looks like junk
if (!cfg || typeof cfg !== "object") {
console.error("Invalid " + gadget_name + " config", cfg);
return;
}
if (typeof cfg.enabled === "boolean") {
EasySS.enabled = cfg.enabled;
}
if (typeof cfg.debug === "boolean") {
EasySS.debug = cfg.debug;
}
EasySS.configured = true;
}
/*
* Convert ## syntax to <section> syntax
*/
function restore_lst() {
log("Restoring section markers from ##-syntax");
var editbox = $("#wpTextbox1");
if (!editbox) {
error("Couldn't find editbox");
return;
}
var search = /##[\s]*(.*?)[\s]*##[\s]*\n/;
var a = editbox.textSelection('getContents').split(search);
var s = a[0];
var m = parseInt(a.length / 2);
for (var i = 0; i < m; i++) {
var title = a[i * 2 + 1];
// Ensure we'll don't get twice quote.
title = title.replace(/^"(.*)"$/, "$1");
title = title.replace(/^'(.*)'$/, "$1");
var content = a[i * 2 + 2];
if (title && content.substring(0, 2) == "{|") {
content = "\n" + content;
}
if (title) {
s = s + "<section begin=\"" + title + "\" />" +
content +
"<section end=\"" + title + "\" />\n";
} else {
s = s + content;
}
/* if( i < m-1 ) s = s + "----\n"; */
}
editbox.textSelection('setContents', s);
}
/**
* easy lst: hide section markers
*/
function easy_section_syntax() {
log("Converting section markers to ##-syntax");
var editbox = $("#wpTextbox1");
if (!editbox) {
error("Couldn't find editbox");
return;
}
var search = /<section\sbegin=[\s]*(.*?)[\s]*\/>/;
var a = editbox.textSelection('getContents').split(search);
var s = a[0];
var ok = true;
for (var i = 0; i < parseInt(a.length / 2); i++) {
var title = a[i * 2 + 1];
var content = a[i * 2 + 2];
var r2 = /^([\s\S]*?)<section\send=(.*?)\/>(\n|)[\s]*([\s\S]*?)$/;
var m2 = content.match(r2);
if (m2) {
title = title.replace(/^"(.*)"$/, "$1");
title = title.replace(/^'(.*)'$/, "$1");
if (s && s.charAt(s.length - 1) != "\n" &&
s.charAt(s.length - 1) != "|") {
s = s + "\n";
}
s = s + "## " + title + " ##\n" + m2[1];
if (m2[4]) {
if (m2[4] != "----\n") {
if (s && s.charAt(s.length - 1) != "\n") {
s = s + "\n";
}
s = s + "####\n" + m2[4];
}
}
} else {
ok = false;
error("Error" + title);
}
}
if (ok) {
// val() function is important, as just setting .value on a raw
// element doesn't work in CodeMirror
editbox.textSelection('setContents', s);
}
}
/*
* Run setup, and convert to ## syntax for LST
*/
function on_load() {
easy_section_syntax();
// Install the on-save hook on all edit buttons
$('.editButtons').click(restore_lst);
}
/**
* Install a load hook in the editor
* @param {Function} callback: function to call when editor text is loaded
*/
function install_load_hook(callback) {
if ($.inArray(mw.config.get("wgAction"), ["edit", "submit"]) !== -1) {
mw.loader.using("ext.proofreadpage.page", function() {
// mimic code in the extension, there is a conditionnal deps on ext.wikiEditor.
if (mw.user.options.get("usebetatoolbar") &&
$.inArray("ext.wikiEditor", mw.loader.getModuleNames()) > -1) {
var load_deps = ["ext.wikiEditor"];
if (mw.user.options.get("codemirror-syntax-highlight") == 1) {
load_deps.push("ext.CodeMirror.lib");
}
mw.loader.using(load_deps, function() {
callback();
});
} else {
callback();
}
});
}
}
function easy_sect_syn_setup() {
// Get user config, if any
mw.hook(gadget_name + ".config").add(apply_config);
// LST only in Page NS and if user has it enabled
if (!EasySS.enabled || mw.config.get("wgCanonicalNamespace") !== "Page") {
return;
}
install_load_hook(on_load);
}
$(easy_sect_syn_setup);
}(jQuery, mediaWiki));
nyo65sedyubzdjrlidddp3ex088s8o3
MediaWiki:Gadget-NopInserter.js
8
47437
144113
2025-06-26T21:01:33Z
TiberiuFr25
11409
Pagină nouă: // Inserts a NOP on the previous Page: page. // Complain to User:Inductiveload // Release 1.0 - 2012-04-23 - initial release // 1.1 - 2012-04-25 - add user option to auto advance // // To automatically advance to the edited page after adding a {{nop}}, // add the following to your user JS: // // Automatically advance to the previous page after checking for nops // mw.user.options.set({'nopinserter_auto_advance':true}); NopInserter = function() { var myself=this;...
144113
javascript
text/javascript
// Inserts a NOP on the previous Page: page.
// Complain to User:Inductiveload
// Release 1.0 - 2012-04-23 - initial release
// 1.1 - 2012-04-25 - add user option to auto advance
//
// To automatically advance to the edited page after adding a {{nop}},
// add the following to your user JS:
//
// Automatically advance to the previous page after checking for nops
// mw.user.options.set({'nopinserter_auto_advance':true});
NopInserter = function() {
var myself=this;
var match = /(.*?)\/([0-9]+)/.exec(mw.config.get( 'wgPageName' ));
if (match === null ){ return }
var basename = match[1];
var pagenum = parseInt(match[2]);
if (pagenum < 1 ){ return }
this.prev_page = basename + '/' + (pagenum - 1);
var portletLink = mw.util.addPortletLink(
'p-tb', '#', 'Prev. page {{nop}}', 't-check-prev-page-nop', 'Check if the previous page ends in a newline-{{nop}}.'
);
$( portletLink ).click( function ( e ) {
e.preventDefault();
myself.get_raw_page(myself.prev_page, myself.check_nop);
});
};
NopInserter.prototype.get_page_parts = function(data) {
//split up the page into header, body and footer
var match = /<noinclude>([\s\S]*)<\/noinclude>([\s\S]*?)<noinclude>([\s\S]*)<\/noinclude>/m.exec(data);
return match;
};
NopInserter.prototype.assemble_page_parts = function(parts) {
//re-assemble a page from the header, body and footer
return '<noinclude>'+parts[1]+'</noinclude>'+parts[2]+'<noinclude>' + parts[3] +'</noinclude>';
};
NopInserter.prototype.check_nop = function(parts) {
var match = /\n{{[Nn]op}}\s*$/.exec(parts[2]);
var prefs = mw.config.get('userjs-nopinserter') || {};
if (match!==null) {
alert('A trailing {{nop}} found on the previous page.');
this.go_to_page();
} else {
if (prefs.dontConfirmNopAddition === true) {
this.add_trailing_nop(parts); // Don't prompt if explicitly requested not to.
} else {
if (confirm('No trailing {{nop}} was found on the previous page. Add one?')) {
this.add_trailing_nop(parts);
}
}
}
};
NopInserter.prototype.add_trailing_nop = function(parts) {
//remove trailing space and add the nop
parts[2] = parts[2].replace(/\s*$/i,'') + '\n{{nop}}';
var new_text = this.assemble_page_parts(parts);
this.save_page(this.prev_page, new_text, 'Adding trailing {{nop}} to break paragraph at the page boundary.');
};
NopInserter.prototype.get_raw_page = function(pagetitle, callback) {
var myself = this,
api = new mw.Api();
//get the current page text
api.get( {
action: 'parse',
page: pagetitle,
prop: 'wikitext'
} ).done( function ( data ) {
var parts = myself.get_page_parts(data.parse.wikitext['*']);
$.proxy(callback, myself)(parts);
} ).fail( function () {
alert('Previous page could not be loaded: [[' + pagetitle + ']]');
} );
};
NopInserter.prototype.save_page = function(title, content, summary) {
var myself = this;
var prefs = mw.config.get('userjs-nopinserter') || {};
var highlightCSS = "";
var resetCSS = "";
var resetTimeout = prefs.notificationTimeout ? prefs.notificationTimeout : 2000;
if (prefs.notificationStyle === "highlight") {
highlightCSS = {'background-color': 'palegreen'};
resetCSS = {'background-color': ''};
} else {
highlightCSS = {'outline': '2px solid green'};
resetCSS = {'outline': ''};
}
$.ajax({
url: mw.util.wikiScript( 'api' ),
data: {
format: 'json',
action: 'edit',
title: title,
summary: summary,
text: content,
token: mw.user.tokens.get( 'csrfToken' )
},
dataType: 'json',
type: 'POST',
success: function( data ) {
if ( data && data.edit && data.edit.result == 'Success' ) {
if (prefs.notificationStyle === "none") {
// No notification at all.
}
else if (prefs.notificationStyle === "message") {
mw.notify(
"A {{nop}} was added to the preceding page.",
{title: '{{nop}} added', type: 'info', tag: 'NopInserterNopAdded'}
);
}
else { // Defaults to "highlight".
$('#ca-proofreadPagePrevLink').children().css(highlightCSS);
setTimeout(function() {
$('#ca-proofreadPagePrevLink').children().css(resetCSS);
}, resetTimeout);
}
myself.go_to_page();
} else if ( data && data.error ) {
alert( 'Error: API returned error code "' + data.error.code + '": ' + data.error.info );
} else {
alert( 'Error: Unknown result from API.' );
}
},
error: function( xhr ) {
$.alert( 'Error: Request failed.' );
}
});
};
NopInserter.prototype.go_to_page = function() {
//go to the previous page if the user's options specify to do so
if ( mw.user.options.exists( 'nopinserter_auto_advance' ) && mw.user.options.get('nopinserter_auto_advance') ) {
window.location = mw.config.get('wgArticlePath').replace('$1', this.prev_page);
}
};
$(document).ready( function() {
//Page namespace only
if( mw.config.get( 'wgNamespaceNumber' ) == 104 ) {
var NopInserterInstance = new NopInserter(96);
}
});
t20f3w0ye5e6tvdrpmhn9469f0v9p1x
MediaWiki:Gadget-pilcrowMarkers.css
8
47438
144114
2025-06-26T21:03:15Z
TiberiuFr25
11409
Pagină nouă: /* Generate paragraph markers in the Page: namespace (IE7 and lower not supported) */ /* body.ns-104 div.pagetext > p:before { */ body.ns-104 div.pagetext div.mw-parser-output p:before { position: absolute; left: -1.1250em; font-size: inherit; line-height: inherit; content: "¶"; /* content: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Paragraph-mark.svg/7px-Paragraph-mark.svg.png'); */ vertical-align: text-top; }
144114
css
text/css
/* Generate paragraph markers in the Page: namespace (IE7 and lower not supported) */
/* body.ns-104 div.pagetext > p:before { */
body.ns-104 div.pagetext div.mw-parser-output p:before {
position: absolute;
left: -1.1250em;
font-size: inherit;
line-height: inherit;
content: "¶";
/* content: url('//upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Paragraph-mark.svg/7px-Paragraph-mark.svg.png'); */
vertical-align: text-top;
}
75cm44yox78t4dzzld9cj37pbjozzyn
MediaWiki:Gadget-Preload Page Images.js
8
47439
144115
2025-06-26T21:03:40Z
TiberiuFr25
11409
Pagină nouă: /* Preload next page image in Page namespace */ $(function () { var page = mw.config.get('wgPageName'); var next = page.replace(/(.*\/)(\d+)$/, function(match, p1, p2) { return p1 + (parseInt(p2) + 1); }); var query = { "action": "query", "format": "json", "prop": "imageforpage", "titles": next, "formatversion": "2" }; var api = new mw.Api(); api.get(query).done(prefetchImages); }); function prefetchImages (data) { var images = data.quer...
144115
javascript
text/javascript
/* Preload next page image in Page namespace */
$(function () {
var page = mw.config.get('wgPageName');
var next = page.replace(/(.*\/)(\d+)$/, function(match, p1, p2) {
return p1 + (parseInt(p2) + 1);
});
var query = {
"action": "query",
"format": "json",
"prop": "imageforpage",
"titles": next,
"formatversion": "2"
};
var api = new mw.Api();
api.get(query).done(prefetchImages);
});
function prefetchImages (data) {
var images = data.query.pages[0].imagesforpage;
var promises = [];
promises.push($.get(images.thumbnail));
promises.push($.get(images.responsiveimages["1.5"]));
promises.push($.get(images.responsiveimages["2"]));
// promises.push($.get(images.fullsize));
/* Fullsize doesn't seem to be used for anything and could be huge. */
Promise.all(promises).then(function () {
$('#ca-proofreadPageNextLink').css({
'border-bottom': '3px solid lightgreen'
});
});
}
q0045t3t5ddrvf0f97iozpqdulyfmiz
MediaWiki:Gadget-RunningHeader.js
8
47440
144116
2025-06-26T21:04:39Z
TiberiuFr25
11409
Pagină nouă: /* * Does a lookup two previous Page:* from the current, extract the rh from * its content, insert it in the header after trying to increase the rh page * number. See the FIXME comment(s) for caveats. * * Originally at User:Phe/Running header.js * * To use this script, add the following to your .js: * importScript('User:Inductiveload/Running header.js'); */ (function($, mw) { "use strict"; // Roman numeral functions // From http://blog.stevenlevithan.com/ar...
144116
javascript
text/javascript
/*
* Does a lookup two previous Page:* from the current, extract the rh from
* its content, insert it in the header after trying to increase the rh page
* number. See the FIXME comment(s) for caveats.
*
* Originally at User:Phe/Running header.js
*
* To use this script, add the following to your .js:
* importScript('User:Inductiveload/Running header.js');
*/
(function($, mw) {
"use strict";
// Roman numeral functions
// From http://blog.stevenlevithan.com/archives/javascript-roman-numeral-converter
function int_to_roman(num) {
if (Number(num) === 0) {
return false;
}
var digits = String(Number(num)).split(""),
key = ["", "C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCCC", "CM",
"", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC",
"", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"
],
roman = "",
i = 3;
while (i--) {
roman = (key[+digits.pop() + (i * 10)] || "") + roman;
}
return Array(+digits.join("") + 1).join("M") + roman;
}
function roman_to_int(in_str) {
var str = in_str.toUpperCase(),
validator =
/^M*(?:D?C{0,3}|C[MD])(?:L?X{0,3}|X[CL])(?:V?I{0,3}|I[XV])$/,
token = /[MDLV]|C[MD]?|X[CL]?|I[XV]?/g,
key = {
M: 1000,
CM: 900,
D: 500,
CD: 400,
C: 100,
XC: 90,
L: 50,
XL: 40,
X: 10,
IX: 9,
V: 5,
IV: 4,
I: 1
},
num = 0,
m;
if (!(str && validator.test(str)))
return false;
while ((m = token.exec(str)))
num += key[m[0]];
return num;
}
var RunningHeaderAutoComplete = function() {
this.offsets = [-2, -4, 2, 4, -1, 1]; //offsets to try, in order
this.offset = 0;
// swap the header around if the offset is odd
this.recto_verso_swap_sides = true;
this.flash_textbox = true;
this.header = document.getElementsByName('wpHeaderTextbox')[0];
};
RunningHeaderAutoComplete.prototype.increment_arabic = function(rh, inc) {
try {
// now attempt to increment the number
var r = new RegExp(
"^(.*[\\|][\\[\\( ]*)(\\d+)([\\]\\)\\. ]*[\\|}].*)$");
var regex_res = r.exec(rh);
var page = Number(r.exec(rh)[2]) + inc;
rh = regex_res[1] + String(page) + regex_res[3];
this.add_rh(rh);
return true;
} catch (err) {
return false;
}
};
RunningHeaderAutoComplete.prototype.increment_roman = function(rh, inc) {
try {
// now attempt to increment a roman numeral
var r = new RegExp(
"^(.*[\\|] *)([ivxlcm]+|[IVXLCM]+)(\\.? *[\\|}].*)$");
var regex_res = r.exec(rh);
var numeral = regex_res[2];
var lower_case = false;
if (numeral.charCodeAt(0) > 96 && numeral.charCodeAt(0) < 123) {
lower_case = true;
}
var number = roman_to_int(numeral) + inc;
numeral = int_to_roman(number);
if (lower_case) {
numeral = numeral.toLowerCase();
}
//insert the numeral back into the RH
rh = regex_res[1] + numeral + regex_res[3];
this.add_rh(rh);
return true;
} catch (err) {
return false;
}
};
RunningHeaderAutoComplete.prototype.swap_rh = function(rh) {
rh = rh.replace(/\{\{ *([Rr]h|[Rr]unning header|[[Rr]unningHeader) *\|(.*?)\|(.*?)(?:\|(.*?))?\}\}/,
"{{running header|$4|$3|$2}}");
return rh;
}
RunningHeaderAutoComplete.prototype.add_rh = function(rh) {
//remove existing RH
this.header.value = this.header.value.replace(
/{{([Rr]h|[Rr]unning ?[Hh]eader) *\|.*}}\n?/, '');
// swap sides if the offset is odd
if (this.recto_verso_swap_sides && (this.offsets[this.offset] % 2) !== 0) {
rh = this.swap_rh(rh);
} else {
// normalise the template name
rh = rh.replace(/\{\{ *([Rr]h|[Rr]unning header|[[Rr]unningHeader) */, "{{running header");
}
var r = new RegExp(/^\s*$/);
if (r.test(this.header.value)) {
this.header.value = rh;
} else {
this.header.value = rh + '\n' + this.header.value;
}
// flash the textbox
if (this.flash_textbox) {
this.header.animate({ backgroundColor: "lightgreen"}, 500);
}
};
RunningHeaderAutoComplete.prototype.fill_rh = function(data) {
var success = false;
if (this.header && !data.query.pages[0].missing) {
var content = data.query.pages[0].revisions[0].slots.main.content;
var r = new RegExp("{" +
"{ *([Rr]h|[Rr]unning header|[[Rr]unningHeader) *\\|[^\n<]*}}");
var match = r.exec(content);
if (match) {
// FIXME: needs to be tweaked, actually works only if the first
// rh parameters consisting of only digits or roman numerals is the one to increment
var rh = match[0];
var pg_offset = this.offsets[this.offset];
//try to increment the number
success = this.increment_arabic(rh, -pg_offset);
if (!success) { //we failed to get a number, see if there is a roman numeral
success = this.increment_roman(rh, -pg_offset);
}
if (!success) {
//we didn't find a number to increment
//set equal to the previous page's header, the user needs to edit by hand
this.add_rh(rh);
}
if ($("prp_header").css('display') == 'none') {
pr_toggle_visibility();
}
}
}
return success;
};
RunningHeaderAutoComplete.prototype.next_offset = function() {
if (this.offset < this.offsets.length -1) {
this.offset++;
return true;
}
return false;
}
RunningHeaderAutoComplete.prototype.try_offset = function() {
var rhac = this;
var r = new RegExp("(\\d+)$");
var page = Number(r.exec(mw.config.get("wgPageName"))[1]) + this.offsets[
this.offset];
var pagename = mw.config.get("wgPageName").replace(/\d+$/g, page);
var offset = this.offsets[this.offset];
// console.log("Trying offset: ", offset);
mw.loader.using(['mediawiki.api'], function() {
var api = new mw.Api();
api.get({
'action': 'query',
'prop': 'revisions',
'rvprop': 'content',
'rvslots': 'main',
'titles': pagename,
'format': 'json',
'formatversion': 2,
})
.done(function(jsondata) {
var success = rhac.fill_rh(jsondata);
if (!success && rhac.next_offset()) {
rhac.try_offset();
}
})
.fail(function() {
if (rhac.next_offset()) {
rhac.try_offset();
}
});
});
};
RunningHeaderAutoComplete.prototype.set_running_header = function() {
if (!this.header) {
return;
}
this.try_offset();
};
function install_css(css) {
$('head').append('<style type="text/css">' + css + '</style>');
}
function add_portlet(callback) {
var portlet = mw.util.addPortletLink(
'p-tb',
'#',
"Running header",
't-running-header',
'Add a running header based on the running headers on surrounding pages',
);
$(portlet)
.click(function(e) {
e.preventDefault();
callback();
});
}
function handle_alt_click(elem, callback) {
$(elem).click(function(event) {
if (event.altKey) {
callback();
}
});
}
if (["Page"].indexOf(mw.config.get("wgCanonicalNamespace")) !== -1) {
var RunningHeaderAutoCompleteInstance = new RunningHeaderAutoComplete();
var go_fn = function() {
RunningHeaderAutoCompleteInstance.set_running_header();
};
add_portlet(go_fn);
handle_alt_click(RunningHeaderAutoCompleteInstance.header, go_fn);
}
}(jQuery, mediaWiki));
jq1ab6m4sn13siandeqi9o69ry6fehc
MediaWiki:Gadget-ImageUploader.js
8
47441
144117
2025-06-26T21:05:43Z
TiberiuFr25
11409
Pagină nouă: /* * Simple gadget to add image upload links to the Wikisource Image Upload * to the sidebar and elsewhere. */ ( function ( $, mw ) { var ImageUpload = { hostname: 'https://ws-image-uploader.toolforge.org', toolname: 'Wikisource Image Uploader', accesskey: 'u', toolbarIcon: '//upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Wikisource-logo-green.svg/22px-Wikisource-logo-green.svg.png' }; var wikiEditorConfigIncantation = function ( callback ) { mw.loader.u...
144117
javascript
text/javascript
/*
* Simple gadget to add image upload links to the Wikisource Image Upload
* to the sidebar and elsewhere.
*/
( function ( $, mw ) {
var ImageUpload = {
hostname: 'https://ws-image-uploader.toolforge.org',
toolname: 'Wikisource Image Uploader',
accesskey: 'u',
toolbarIcon: '//upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Wikisource-logo-green.svg/22px-Wikisource-logo-green.svg.png'
};
var wikiEditorConfigIncantation = function ( callback ) {
mw.loader.using( 'user.options' ).then( function () {
// This can be the string '0' if the user disabled the preference
// ([[phab:T54542#555387]])
if ( mw.user.options.get( 'usebetatoolbar' ) === 1 ) {
$.when(
mw.loader.using( 'ext.wikiEditor' ), $.ready
).then( function () {
/* eslint-disable-next-line no-jquery/no-global-selector */
var $tb = $( '#wpTextbox1' );
callback( $tb.wikiEditor.bind( $tb ) );
} );
}
} );
};
$( function () {
var indexPage = mw.config.get( 'wgTitle' ).replace( /\/[0-9]+$/, '' );
var params = {
index: 'Index:' + indexPage
};
var page;
if ( mw.config.get( 'wgCanonicalNamespace' ) === 'Page' ) {
page = mw.config.get( 'prpFormattedPageNumber' ) || undefined;
}
if ( page ) { // T285218
params.pageNumber = page;
}
// eslint-disable-next-line compat/compat
var url = ImageUpload.hostname + '?' + new URLSearchParams( params );
if ( ImageUpload.accesskey ) {
$( 'a[accesskey="' + ImageUpload.accesskey + '"]' ).attr( 'accesskey', null );
}
mw.util.addPortletLink( 'p-tb',
url, 'Upload image', 'ws-img-upload',
'Upload an image for this page using ' + ImageUpload.toolname,
ImageUpload.accesskey
);
function setUpWikiEditorButton( wikiEditor ) {
wikiEditor( 'addToToolbar', {
section: 'main',
group: 'insert',
tools: {
smile: {
label: 'Upload image with ' + ImageUpload.toolname,
type: 'button',
icon: ImageUpload.toolbarIcon,
action: {
type: 'callback',
execute: function () {
window.open( url );
}
}
}
}
} );
}
wikiEditorConfigIncantation( setUpWikiEditorButton );
} );
mw.hook( 'gadget-imageuploader.config' ).fire( ImageUpload );
// eslint-disable-next-line no-undef
}( jQuery, mediaWiki ) );
tmy728a1vj2e6lrdgkcl701rm4wjr19
MediaWiki:Gadget-section-editing-tools-for-Index-namespace
8
47442
144118
2025-06-26T21:07:24Z
TiberiuFr25
11409
Pagină nouă: Unelte de editare pentru spațiul de nume [[Ajutor:Spații de nume|Index:]]
144118
wikitext
text/x-wiki
Unelte de editare pentru spațiul de nume [[Ajutor:Spații de nume|Index:]]
ptvvlbf80qxgokxfhg5n4p2df1z5d84
MediaWiki:Gadget-mark-proofread.css
8
47443
144119
2025-06-26T21:09:52Z
TiberiuFr25
11409
Pagină nouă: /* All pages have a border. */ .prp-index-pagelist-page { border: 1px solid transparent; } /* Pages the current user can progress have a red border. */ .prp-index-pagelist .wsg-user-can-progress { border: 1px solid red; }
144119
css
text/css
/* All pages have a border. */
.prp-index-pagelist-page {
border: 1px solid transparent;
}
/* Pages the current user can progress have a red border. */
.prp-index-pagelist .wsg-user-can-progress {
border: 1px solid red;
}
11x09rr0kv37l0jya665uy54ri59otl
MediaWiki:Gadget-section-interface
8
47444
144120
2025-06-26T21:10:07Z
TiberiuFr25
11409
Pagină nouă: Interfață
144120
wikitext
text/x-wiki
Interfață
sl9092zt2bz96frsb21d2jvrbijcm6u
MediaWiki:Gadget-PageNumbers.js
8
47445
144121
2025-06-26T21:12:08Z
TiberiuFr25
11409
Pagină nouă: /** * PageNumbers loader * * Loads the dynamic layouts module on suitable pages */ $( function ( $ ) { var ns = mw.config.get( 'wgNamespaceNumber' ); var title = mw.config.get( 'wgTitle' ); var disabledTitle = [ 'Main Page' ].indexOf( title ) !== -1; var nsOK = [ 0, 114 ].indexOf( ns ) !== -1; // disable on the mobile skins (actually the mobile doesn't serve this gadget at all, but // this makes testing easier) var skinOk = [ 'minerva' ].indexOf( mw.config.get(...
144121
javascript
text/javascript
/**
* PageNumbers loader
*
* Loads the dynamic layouts module on suitable pages
*/
$( function ( $ ) {
var ns = mw.config.get( 'wgNamespaceNumber' );
var title = mw.config.get( 'wgTitle' );
var disabledTitle = [ 'Main Page' ].indexOf( title ) !== -1;
var nsOK = [ 0, 114 ].indexOf( ns ) !== -1;
// disable on the mobile skins (actually the mobile doesn't serve this gadget at all, but
// this makes testing easier)
var skinOk = [ 'minerva' ].indexOf( mw.config.get( 'skin' ) ) === -1;
var isRedirect = mw.config.get( 'wgIsRedirect' );
// Sandboxes in the the User and Wikisource namespaces
var isSandbox = ( [ 2, 4 ].indexOf( ns ) !== -1 ) && ( title.indexOf( 'Sandbox' ) !== -1 );
if ( !disabledTitle && ( nsOK || isSandbox ) && skinOk && !isRedirect ) {
// done the easy ones - now a slower (?) check for a disabling object
// eslint-disable-next-line no-jquery/no-global-selector
if ($('.ws-dynlayout-disable').length) {
return;
}
mw.loader.load( 'ext.gadget.PageNumbers-core' );
}
} );
fgoi4ys9adwbcfk8k064nuvfnm1l56u
MediaWiki:Gadget-PageNumbers-core.js
8
47446
144122
2025-06-26T21:22:26Z
TiberiuFr25
11409
Pagină nouă: /* eslint-disable camelcase */ ( function ( mw, $ ) { function initSetting( cookie_name, init ) { /* Sets JS variable to (in order of preference): 2. current cookie value 3. provided init parameter 4. false */ // get current value of appropriate cookie var cookie_val = mw.cookie.get( cookie_name ); // If JS variable still has no value, use provided init value. If no init // value provided, use false. if ( typeof cookie_val === 'undefined' || cookie...
144122
javascript
text/javascript
/* eslint-disable camelcase */
( function ( mw, $ ) {
function initSetting( cookie_name, init ) {
/* Sets JS variable to (in order of preference):
2. current cookie value
3. provided init parameter
4. false
*/
// get current value of appropriate cookie
var cookie_val = mw.cookie.get( cookie_name );
// If JS variable still has no value, use provided init value. If no init
// value provided, use false.
if ( typeof cookie_val === 'undefined' || cookie_val === null ) {
cookie_val = init || false;
}
// If JS variable is now the string "false", convert to boolean false
// (to fix JS confusion where "false" string evaluates to true).
if ( cookie_val === 'false' ) {
cookie_val = false;
}
return cookie_val;
}
function saveSetting( name, value ) {
mw.cookie.set( name, value );
}
/**
* Messages are configurable here
*/
mw.messages.set( {
do: 'Opțiuni de afișare',
displayOptions: 'Opțiuni de afișare',
optlist: 'Opțiuni de afișare',
'p-do': 'Opțiuni de afișare',
page_numbers_hidden: 'Legături către pagini ascunse',
page_numbers_displayed: 'Legături către pagini afișate',
page_numbers_inline: 'Legături către pagini în text',
page_numbers_beside: 'Legături către pagini lângă text',
layout_name: 'layout_1',
layout: 'Aspect',
use_serif: 'Folosește fonturi cu serife',
use_sans_serif: 'Folosește fonturi fără serife',
serif_text_title: 'Modifică tipul de font utilizat de pagină',
default_layout_on: 'Aspect implicit activat',
default_layout_off: 'Aspect implicit dezactivat',
default_layout_title: 'Aspectele implicite permit paginilor să aleagă un anumit aspect pentru dvs. Dezactivați această opțiune dacă doriți să utilizați întotdeauna aspectul pe care l-ați setat ultima oară.',
default_layout_suffix: 'default',
what_is_this_title: 'Ce este asta?',
what_is_this_symbol: '?'
} );
var standard_layouts = [
{
id: 'layout_1',
name: 'Aspect 1'
},
{
id: 'layout_2',
name: 'Aspect 2'
},
{
id: 'layout_3',
name: 'Aspect 3'
},
{
id: 'layout_4',
name: 'Aspect 4'
}
];
// eslint-disable-next-line no-jquery/no-global-selector
var $classedContainer = $( '#mw-content-text' );
var containers = {};
function removeClassesWithPrefix( el, prefix ) {
if (!el) {
console.log("el is undefined!");
return;
}
var classes = el.className.split( ' ' ).filter( function ( c ) {
return c.lastIndexOf( prefix, 0 ) !== 0;
} );
// eslint-disable-next-line mediawiki/class-doc
el.className = classes.join( ' ' ).trim();
}
/*
* The display control options:
* * serif/sans serif fonts
*/
var display = ( function () {
// My kingdom for Vuex
var State = {
serif: false,
cache: {}
};
function updateSerifs() {
// tthe relevant class on the content
containers.$page.toggleClass( 'ws-display-serif', State.serif );
var msg = mw.msg( State.serif ? 'use_sans_serif' : 'use_serif' );
State.cache.$serifSwitch.children( 'a' ).html( msg );
}
function init() {
State.cache.$serifSwitch = $( mw.util.addPortletLink(
'p-do', '#', '', 'd-serif', mw.msg( 'serif_text_title' ) )
)
.on( 'click', function () {
State.serif = !State.serif;
updateSerifs();
saveSetting( 'ws-display-serif', State.serif );
} );
State.serif = initSetting( 'ws-display-serif', false );
updateSerifs();
}
return {
init: init
};
}() );
var layout = ( function () {
var State = {
allow_default: true,
default_applied: false,
layout_name: 'Aspect 1',
layouts: [],
cache: {}
};
function set_by_name( name ) {
var selected_layout;
for ( var i = 0; i < State.layouts.length; ++i ) {
if ( State.layouts[ i ].name.toLowerCase() === name.toLowerCase() ) {
selected_layout = State.layouts[ i ];
}
}
if ( !selected_layout ) {
return false; // does not exist
}
State.layout_name = selected_layout.name;
var layoutText = selected_layout.name;
if ( State.allow_default && State.default_applied ) {
layoutText += ' (' + mw.msg( 'default_layout_suffix' ) + ')';
}
State.cache.$layoutSwitch.children( 'a' ).html( layoutText );
removeClassesWithPrefix( $classedContainer[ 0 ], 'dynlayout-' );
// eslint-disable-next-line mediawiki/class-doc
$classedContainer.addClass( 'dynlayout-' + selected_layout.id );
pagenumbers.refresh_offsets();
return true;
}
function updateLayout() {
var name;
State.default_applied = false;
if ( State.allow_default || !mw.cookie.get( 'layout' ) ) {
var overrider = State.cache.$overrider || $classedContainer.find( '#dynamic_layout_overrider' );
name = overrider.text();
if ( name ) {
State.default_applied = true;
}
} else {
name = State.layout_name || mw.cookie.get( 'layout' );
}
if ( !set_by_name( name || State.layout_name ) ) {
// failed to set the default: maybe it's not a valid layout
State.default_applied = false;
set_by_name( State.layout_name );
}
}
function set_by_number( number ) {
State.layout_name = State.layouts[ number ].name;
updateLayout();
}
function getLayoutIndexWithName( name ) {
for ( var i = 0; i < State.layouts.length; ++i ) {
if ( State.layouts[ i ].name === name ) {
return i;
}
}
return -1;
}
function toggle() {
var cur = getLayoutIndexWithName( State.layout_name );
// disable override for this page only (no persistence)
State.allow_default = false;
set_by_number( ( cur + 1 ) % State.layouts.length );
// store the changed layout
mw.cookie.set( 'layout', State.layout_name );
}
function updateDefault() {
var msg = mw.msg( State.allow_default ? 'default_layout_on' : 'default_layout_off' );
State.cache.$defaultLayoutSwitch.children( 'a' ).html( msg );
updateLayout();
}
function init() {
// do return if we're already set up
if ($(".ws-page-container").length) {
return;
}
// collect any user or other gadget layouts
mw.hook( 'ws.layouts.register' ).fire( {
layouts: standard_layouts
} );
State.layouts = standard_layouts;
// If cookie is not set, default layout is first available option.
// Use index "0" in case layout name is ever changed.
State.layout_name = initSetting( 'layout', '0' );
State.allow_default = initSetting( 'ws-display-default-layouts', true );
State.cache.$layoutSwitch = $( mw.util.addPortletLink(
'p-do',
'#',
mw.msg( 'layout' ),
'd-textLayout',
'Numărul aspectului dinamic aplicat în prezent',
'l',
'#d-defaultLayouts'
) )
.on( 'click', function ( e ) {
e.preventDefault();
toggle();
} );
State.cache.$defaultLayoutSwitch = $( mw.util.addPortletLink(
'p-do',
'#',
'',
'd-defaultLayouts',
mw.msg( 'default_layout_title' )
) )
.on( 'click', function ( e ) {
State.allow_default = !State.allow_default;
// if we just turned the default off, use the cookie value
if ( !State.allow_default ) {
State.layout_name = mw.cookie.get( 'layout' );
}
updateDefault();
saveSetting( 'ws-display-default-layouts', State.allow_default );
e.preventDefault();
} );
// remove all these classes to maintain backwards-compatibility
$classedContainer
.find( 'div.text, .lefttext, .centertext, .indented-page, .prose' )
.removeClass();
// DynamicFlaw - a independent Div should have been the parent
// to this 3-into-1 step
var $parserOutput = $('.mw-parser-output', $classedContainer)
.contents().not('.dynlayout-exempt')
.wrapAll(
$('<div>').addClass('mw-parser-output ws-page-container').append(
$('<div>').addClass('ws-region-container').append(
$('<div>').addClass('ws-column-container')
)
)
);
// cache the containers
containers.$column = $parserOutput.parent();
containers.$region = containers.$column.parent();
containers.$page = containers.$region.parent();
// If layouts have changed, the cookie might refer to a missing layout
// in which case, set the first one
if ( getLayoutIndexWithName( State.layout_name ) === -1 ) {
set_by_number( 0, true );
}
// set the layout by default (override) layout, or from the user's setting
updateDefault();
mw.hook( 'ws.layouts.ready' ).fire();
}
return {
init: init
};
}() ),
pagenumbers = ( function () {
// some shared variables to avoid selecting these elements repeatedly
var $div_pagenumbers,
dp_y,
y_prev,
$pagenumbers_collection,
$div_ss,
$div_highlight,
show_params = {
link_text: mw.msg( 'page_numbers_displayed' ),
visible: true
},
hide_params = {
link_text: mw.msg( 'page_numbers_hidden' ),
visible: false
};
function pagenum_in() {
if ( self.proofreadpage_disable_highlighting ) {
return false;
}
if ( !$div_highlight ) {
return false; // could not find it
}
var id = this.id.substring( 11 ),
$page_span = $( document.getElementById( id ) ),
$next = self.$pagenum_ml.eq( self.$pagenum_ml.index( $page_span ) + 1 );
if ( $next.length === 0 ) {
$next = $div_ss;
}
var $container = containers.$column;
// we need to use document offsets in case a page break occurs within
// a positioned element
var c_os = $container.offset(),
ps_os = $page_span.offset(),
n_os = $next.offset();
ps_os = {
top: ps_os.top - c_os.top,
left: ps_os.left - c_os.left
};
n_os = {
top: n_os.top - c_os.top,
left: n_os.left - c_os.left
};
$div_highlight.css( {
display: 'block',
top: ps_os.top + 'px'
} );
$div_highlight.children().eq( 0 ).css( {
height: $page_span.height() + 'px',
width: ( ps_os.left < 1 ) ? '100%' : ( ( $container.width() - ps_os.left ) + 'px' )
} );
// div_ss.height() ~= height of 1 line of text
$div_highlight.children().eq( 1 ).css( 'height', ( n_os.top - ps_os.top - $page_span.height() ) + 'px' );
$div_highlight.children().eq( 2 ).css( {
height: $next.height() + 'px',
width: n_os.left + 'px'
} );
return true;
}
function pagenum_out() {
if ( self.proofreadpage_disable_highlighting ) {
return false;
}
if ( !$div_highlight ) {
return false; // could not find it
}
$div_highlight.css( 'display', 'none' );
$div_highlight.children().eq( 0 ).css( 'width', '0px' );
$div_highlight.children().eq( 1 ).css( 'height', '0px' );
$div_highlight.children().eq( 2 ).css( 'width', '0px' );
return true;
}
function refresh_elem_offset( page_span, $pagenumber ) {
var y = $( page_span ).offset().top;
$pagenumber.css( 'top', y - dp_y );
if ( self.proofreadpage_numbers_visible && y - y_prev.val > 5 ) {
y_prev.val = y;
$pagenumber.removeClass( 'pagenumber-invisible' );
} else {
$pagenumber.addClass( 'pagenumber-invisible' );
}
}
function refresh_offsets() {
// do nothing if container is not set up
if ( self.proofreadpage_numbers_inline || !$div_pagenumbers ) {
return false;
}
dp_y = $div_pagenumbers.offset().top;
y_prev = {
val: -10
};
var $pagenumber = $pagenumbers_collection.first();
self.$pagenum_ml.each( function ( i, page_span ) {
refresh_elem_offset( page_span, $pagenumber );
$pagenumber = $pagenumber.next();
} );
return true;
}
var inline_params = {
elem: 'span',
link_pre: ' [',
link_post: ']'
},
beside_params = {
elem: 'div',
link_pre: '[',
link_post: ']'
};
function setup_elem(i, page_span) {
const params = self.proofreadpage_numbers_inline ? inline_params : beside_params;
// styled also by classes: div.pagenumber or span.pagenumber
let $pagenumber = $('<' + params.elem + '>')
.attr('id', $(page_span).data('pagenumber_id'))
.addClass('pagenumber noprint')
.append(params.link_pre + $(page_span).data('link_str') + params.link_post)
.toggleClass('pagenumber-invisible', !self.proofreadpage_numbers_visible);
if (!self.proofreadpage_numbers_inline) {
refresh_elem_offset(page_span, $pagenumber);
}
// clear the span provided by [[MediaWiki:Proofreadpage pagenum template]]
$(page_span).find('.pagenum-inner').empty();
$pagenumber.appendTo(self.proofreadpage_numbers_inline ?
page_span : $div_pagenumbers
);
$pagenumbers_collection = $pagenumbers_collection.add($pagenumber);
}
function init_elem(i, page_span) {
const name = $(page_span).data('page-number').toString() || page_span.id;
let pagenumber_id = 'pagenumber_' + page_span.id;
let count; // what if two pages have the same number? increment the id
if ($pagenumbers_collection.is('#' + $.escapeSelector(pagenumber_id))) {
count = ($pagenumbers_collection.filter("[id ^= '" + pagenumber_id + "']").length + 1);
page_span.id += ('_' + count);
pagenumber_id += ('_' + count);
}
if (!page_span.title) {
// there's no page to link to - just set plain text
$(page_span).data('link_str', mw.html.escape(name));
} else {
$(page_span).data('pagenumber_id', pagenumber_id);
const page_title = decodeURI(page_span.title)
.replace(/%26/g, '&').replace(/%3F/g, '?');
const page_url = mw.config.get('wgArticlePath')
.replace('$1', encodeURIComponent(page_title.replace(/ /g, '_')))
.replace(/%2F/g, '/');
// encodeURIComponent encodes '/', which breaks subpages
// if transcluded Page: (ll) is a redlink then make page
// class (class_str) a redlink also
let class_str = '';
let action_str = '';
let $ll = $(page_span).parent().next('a.new');
if ($ll.length && $ll.attr('href').includes($(page_span).data('page-name'))) {
class_str = ' class="new" ';
action_str = '?action=edit&redlink=1';
}
$(page_span).data('link_str',
'<a href= "' + page_url + action_str + '"' +
class_str +
' title= "' + mw.html.escape(page_title) + '">' +
mw.html.escape(name) +
'</a>'
);
}
setup_elem(i, page_span);
}
function refresh_display() {
// determine if we need to set things up
var inited = !$pagenumbers_collection;
// JQuery collection of all pagenumber elements
if ( !inited ) {
$pagenumbers_collection.remove();
}
$pagenumbers_collection = $();
if ( $div_pagenumbers ) {
$div_pagenumbers.remove();
}
if ( !self.proofreadpage_numbers_inline ) {
// html div container for page numbers stored in shared variable div_pagenumbers
// put pagenumbers container div in the outermost layout container
$div_pagenumbers = $( '<div>' )
.attr( 'id', 'ct-pagenumbers' )
.appendTo( containers.$page );
dp_y = $div_pagenumbers.offset().top;
y_prev = {
val: -10
};
}
self.$pagenum_ml.each( inited ? init_elem : setup_elem );
if ( self.proofreadpage_numbers_inline ) {
$pagenumbers_collection.off( 'mouseenter mouseleave' );
} else {
$pagenumbers_collection.on( {
mouseenter: pagenum_in,
mouseleave: pagenum_out
} );
}
}
function toggle_visible() {
var params = self.proofreadpage_numbers_visible ? hide_params : show_params;
$pagenumbers_collection.toggleClass( 'pagenumber-invisible', !params.visible );
$( '#d-pageNumbers_visible' ).children( 'a' ).html( params.link_text );
self.proofreadpage_numbers_visible = params.visible;
mw.cookie.set( 'pagenums_visible', params.visible );
}
function toggle_inline() {
// toggle inline view unless layouts are not set up
self.proofreadpage_numbers_inline = !layout || !self.proofreadpage_numbers_inline;
$( '#d-pageNumbers_inline' ).children( 'a' )
.html( mw.msg( self.proofreadpage_numbers_inline ? 'page_numbers_inline' : 'page_numbers_beside' ) );
mw.cookie.set( 'pagenums_inline', self.proofreadpage_numbers_inline );
refresh_display();
}
function doInit() {
// Mark the container as having pagenumbers.
// Some layouts can use that information.
$( containers.$page )
.addClass( 'dynlayout-haspagenums' );
// get_optlist();
self.proofreadpage_numbers_visible = initSetting( 'pagenums_visible', true );
var portletLink = mw.util.addPortletLink(
'p-do',
'#',
self.proofreadpage_numbers_visible ? mw.msg( 'page_numbers_displayed' ) : mw.msg( 'page_numbers_hidden' ),
'd-pageNumbers_visible',
'Starea prezentă a vizibilității legăturilor către pagini individuale',
'n',
'#d-serif'
);
$( portletLink ).on( 'click', function ( e ) {
e.preventDefault();
toggle_visible();
} );
self.proofreadpage_numbers_inline = initSetting( 'pagenums_inline', false );
// if layouts are not initialized show pagenumbers inline since
// "beside" view won't work
if ( !layout ) {
self.proofreadpage_numbers_inline = true;
}
portletLink = mw.util.addPortletLink(
'p-do',
'#',
self.proofreadpage_numbers_inline ? mw.msg( 'page_numbers_inline' ) : mw.msg( 'page_numbers_beside' ),
'd-pageNumbers_inline',
'Starea prezentă a așezării în pagină a legăturilor către pagini individuale',
'i',
'#d-pageNumbers_visible'
);
$( portletLink ).on( 'click', function ( e ) {
e.preventDefault();
toggle_inline();
} );
// store container for the highlight to shared variable "div_highlight"
$div_highlight = $( '<div id= "highlight-area">' +
'<div style="float:right; width:0px;"><div class="wsg-pagenumbers-clearfix"></div></div>' +
'<div style="width:100%; height:0px; clear:both;"></div>' +
'<div style="width:0px;"><div class="wsg-pagenumbers-clearfix" style= "float:left; clear:both;"></div></div>' +
'</div>'
);
// assign new div element to shared variable "div_ss"
$div_ss = $( '<div id= "my-ss"><div class="wsg-pagenumbers-clearfix"></div></div>' ); // empty span following some text
// put divs in the innermost dynamic layout container
if ( layout ) {
containers.$column
.append( $div_highlight );
$classedContainer.append( $div_ss );
} else {
$classedContainer.append( $div_highlight, $div_ss );
}
self.$pagenum_ml = $classedContainer.find( '.pagenum' );
refresh_display();
}
function init() {
// skip if pagenumbers are already set up
if ( $pagenumbers_collection ) {
return false;
}
// wait for the layouts code to signal that the containers are ready
mw.hook( 'ws.layouts.ready' ).add( function () {
doInit();
} );
}
return {
init: init,
refresh_offsets: refresh_offsets
};
}() );
if ( [ 'view', 'submit', 'purge' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) {
if ( !self.debug_page_layout &&
// don't do anything on DoubleWiki or difference comparison views
document.URL.indexOf( 'match=' ) === -1 ) {
layout.init();
display.init();
$( function () {
if ( $classedContainer.find( '.pagenum' ).length ) {
pagenumbers.init();
if ( document.readyState === 'complete' ) {
$( pagenumbers.refresh_offsets );
} else {
$( window ).on( 'load', pagenumbers.refresh_offsets );
}
}
} );
// Add a "what's this" helper to display options
// eslint-disable-next-line no-jquery/no-global-selector
$( '#p-do-label' ).append( $( '<span>' )
.css( { float: 'right' } )
.append( $( '<a>' )
.attr( {
href: '/wiki/Ajutor:Aspect',
title: mw.msg( 'what_is_this_title' )
} )
.append( mw.msg( 'what_is_this_symbol' ) )
)
);
}
var position = window.location.hash.substring( 1 );
if ( position && document.getElementById( position ) ) {
document.getElementById( position ).scrollIntoView();
}
/**
* Install the DOM-ready hook to force header and footer content out of
* Dynamic Layouts
*/
$( function () {
var $c = $classedContainer;
$c.find( '.acContainer' ).insertAfter( $c.find( 'div.printfooter' ) );
$( '<div>' )
.addClass( 'mw-parser-output dynlayout-exempt dynlayout-exempt-footer' )
.insertBefore( 'div#catlinks' )
.append( $c.find( '.acContainer' ) )
.append( $c.find( 'div.licenseContainer' ).not( 'div.licenseContainer div.licenseContainer' ) )
.append( $c.find( '#editform' ) )
.append( $c.find( '.ws-footer' ) );
$( '<div>' )
.addClass( 'mw-parser-output dynlayout-exempt dynlayout-exempt-header' )
.insertBefore( containers.$page )
.prepend( $c.find( '.ws-header' ).not( '#headerContainer' ) )
.prepend( $c.find( '#headerContainer' ) )
.prepend( $c.find( '.similar' ) )
.prepend( $c.find( '.ambox' ) )
.prepend( $c.find( '#mw-previewheader' ) );
} );
}
/* eslint-disable-next-line no-undef */
}( mediaWiki, jQuery ) );
jd97iffnsaeacjsng4pe0bfa22y5cpg
144135
144122
2025-06-26T21:55:52Z
TiberiuFr25
11409
144135
javascript
text/javascript
/* eslint-disable camelcase */
( function ( mw, $ ) {
function initSetting( cookie_name, init ) {
/* Sets JS variable to (in order of preference):
2. current cookie value
3. provided init parameter
4. false
*/
// get current value of appropriate cookie
var cookie_val = mw.cookie.get( cookie_name );
// If JS variable still has no value, use provided init value. If no init
// value provided, use false.
if ( typeof cookie_val === 'undefined' || cookie_val === null ) {
cookie_val = init || false;
}
// If JS variable is now the string "false", convert to boolean false
// (to fix JS confusion where "false" string evaluates to true).
if ( cookie_val === 'false' ) {
cookie_val = false;
}
return cookie_val;
}
function saveSetting( name, value ) {
mw.cookie.set( name, value );
}
/**
* Messages are configurable here
*/
mw.messages.set( {
do: 'Opțiuni de afișare',
displayOptions: 'Opțiuni de afișare',
optlist: 'Opțiuni de afișare',
'p-do': 'Opțiuni de afișare',
page_numbers_hidden: 'Legături pagini ascunse',
page_numbers_displayed: 'Legături pagini afișate',
page_numbers_inline: 'Legături pagini în text',
page_numbers_beside: 'Legături pagini lângă text',
layout_name: 'layout_1',
layout: 'Aspect',
use_serif: 'Folosește fonturi cu serife',
use_sans_serif: 'Folosește font fără serife',
serif_text_title: 'Modifică tipul de font utilizat de pagină',
default_layout_on: 'Aspect implicit activat',
default_layout_off: 'Aspect implicit dezactivat',
default_layout_title: 'Aspectele implicite permit paginilor să aleagă un anumit aspect pentru dvs. Dezactivați această opțiune dacă doriți să utilizați întotdeauna aspectul pe care l-ați setat ultima oară.',
default_layout_suffix: 'default',
what_is_this_title: 'Ce este asta?',
what_is_this_symbol: '?'
} );
var standard_layouts = [
{
id: 'layout_1',
name: 'Aspect 1'
},
{
id: 'layout_2',
name: 'Aspect 2'
},
{
id: 'layout_3',
name: 'Aspect 3'
},
{
id: 'layout_4',
name: 'Aspect 4'
}
];
// eslint-disable-next-line no-jquery/no-global-selector
var $classedContainer = $( '#mw-content-text' );
var containers = {};
function removeClassesWithPrefix( el, prefix ) {
if (!el) {
console.log("el is undefined!");
return;
}
var classes = el.className.split( ' ' ).filter( function ( c ) {
return c.lastIndexOf( prefix, 0 ) !== 0;
} );
// eslint-disable-next-line mediawiki/class-doc
el.className = classes.join( ' ' ).trim();
}
/*
* The display control options:
* * serif/sans serif fonts
*/
var display = ( function () {
// My kingdom for Vuex
var State = {
serif: false,
cache: {}
};
function updateSerifs() {
// tthe relevant class on the content
containers.$page.toggleClass( 'ws-display-serif', State.serif );
var msg = mw.msg( State.serif ? 'use_sans_serif' : 'use_serif' );
State.cache.$serifSwitch.children( 'a' ).html( msg );
}
function init() {
State.cache.$serifSwitch = $( mw.util.addPortletLink(
'p-do', '#', '', 'd-serif', mw.msg( 'serif_text_title' ) )
)
.on( 'click', function () {
State.serif = !State.serif;
updateSerifs();
saveSetting( 'ws-display-serif', State.serif );
} );
State.serif = initSetting( 'ws-display-serif', false );
updateSerifs();
}
return {
init: init
};
}() );
var layout = ( function () {
var State = {
allow_default: true,
default_applied: false,
layout_name: 'Aspect 1',
layouts: [],
cache: {}
};
function set_by_name( name ) {
var selected_layout;
for ( var i = 0; i < State.layouts.length; ++i ) {
if ( State.layouts[ i ].name.toLowerCase() === name.toLowerCase() ) {
selected_layout = State.layouts[ i ];
}
}
if ( !selected_layout ) {
return false; // does not exist
}
State.layout_name = selected_layout.name;
var layoutText = selected_layout.name;
if ( State.allow_default && State.default_applied ) {
layoutText += ' (' + mw.msg( 'default_layout_suffix' ) + ')';
}
State.cache.$layoutSwitch.children( 'a' ).html( layoutText );
removeClassesWithPrefix( $classedContainer[ 0 ], 'dynlayout-' );
// eslint-disable-next-line mediawiki/class-doc
$classedContainer.addClass( 'dynlayout-' + selected_layout.id );
pagenumbers.refresh_offsets();
return true;
}
function updateLayout() {
var name;
State.default_applied = false;
if ( State.allow_default || !mw.cookie.get( 'layout' ) ) {
var overrider = State.cache.$overrider || $classedContainer.find( '#dynamic_layout_overrider' );
name = overrider.text();
if ( name ) {
State.default_applied = true;
}
} else {
name = State.layout_name || mw.cookie.get( 'layout' );
}
if ( !set_by_name( name || State.layout_name ) ) {
// failed to set the default: maybe it's not a valid layout
State.default_applied = false;
set_by_name( State.layout_name );
}
}
function set_by_number( number ) {
State.layout_name = State.layouts[ number ].name;
updateLayout();
}
function getLayoutIndexWithName( name ) {
for ( var i = 0; i < State.layouts.length; ++i ) {
if ( State.layouts[ i ].name === name ) {
return i;
}
}
return -1;
}
function toggle() {
var cur = getLayoutIndexWithName( State.layout_name );
// disable override for this page only (no persistence)
State.allow_default = false;
set_by_number( ( cur + 1 ) % State.layouts.length );
// store the changed layout
mw.cookie.set( 'layout', State.layout_name );
}
function updateDefault() {
var msg = mw.msg( State.allow_default ? 'default_layout_on' : 'default_layout_off' );
State.cache.$defaultLayoutSwitch.children( 'a' ).html( msg );
updateLayout();
}
function init() {
// do return if we're already set up
if ($(".ws-page-container").length) {
return;
}
// collect any user or other gadget layouts
mw.hook( 'ws.layouts.register' ).fire( {
layouts: standard_layouts
} );
State.layouts = standard_layouts;
// If cookie is not set, default layout is first available option.
// Use index "0" in case layout name is ever changed.
State.layout_name = initSetting( 'layout', '0' );
State.allow_default = initSetting( 'ws-display-default-layouts', true );
State.cache.$layoutSwitch = $( mw.util.addPortletLink(
'p-do',
'#',
mw.msg( 'layout' ),
'd-textLayout',
'Numărul aspectului dinamic aplicat în prezent',
'l',
'#d-defaultLayouts'
) )
.on( 'click', function ( e ) {
e.preventDefault();
toggle();
} );
State.cache.$defaultLayoutSwitch = $( mw.util.addPortletLink(
'p-do',
'#',
'',
'd-defaultLayouts',
mw.msg( 'default_layout_title' )
) )
.on( 'click', function ( e ) {
State.allow_default = !State.allow_default;
// if we just turned the default off, use the cookie value
if ( !State.allow_default ) {
State.layout_name = mw.cookie.get( 'layout' );
}
updateDefault();
saveSetting( 'ws-display-default-layouts', State.allow_default );
e.preventDefault();
} );
// remove all these classes to maintain backwards-compatibility
$classedContainer
.find( 'div.text, .lefttext, .centertext, .indented-page, .prose' )
.removeClass();
// DynamicFlaw - a independent Div should have been the parent
// to this 3-into-1 step
var $parserOutput = $('.mw-parser-output', $classedContainer)
.contents().not('.dynlayout-exempt')
.wrapAll(
$('<div>').addClass('mw-parser-output ws-page-container').append(
$('<div>').addClass('ws-region-container').append(
$('<div>').addClass('ws-column-container')
)
)
);
// cache the containers
containers.$column = $parserOutput.parent();
containers.$region = containers.$column.parent();
containers.$page = containers.$region.parent();
// If layouts have changed, the cookie might refer to a missing layout
// in which case, set the first one
if ( getLayoutIndexWithName( State.layout_name ) === -1 ) {
set_by_number( 0, true );
}
// set the layout by default (override) layout, or from the user's setting
updateDefault();
mw.hook( 'ws.layouts.ready' ).fire();
}
return {
init: init
};
}() ),
pagenumbers = ( function () {
// some shared variables to avoid selecting these elements repeatedly
var $div_pagenumbers,
dp_y,
y_prev,
$pagenumbers_collection,
$div_ss,
$div_highlight,
show_params = {
link_text: mw.msg( 'page_numbers_displayed' ),
visible: true
},
hide_params = {
link_text: mw.msg( 'page_numbers_hidden' ),
visible: false
};
function pagenum_in() {
if ( self.proofreadpage_disable_highlighting ) {
return false;
}
if ( !$div_highlight ) {
return false; // could not find it
}
var id = this.id.substring( 11 ),
$page_span = $( document.getElementById( id ) ),
$next = self.$pagenum_ml.eq( self.$pagenum_ml.index( $page_span ) + 1 );
if ( $next.length === 0 ) {
$next = $div_ss;
}
var $container = containers.$column;
// we need to use document offsets in case a page break occurs within
// a positioned element
var c_os = $container.offset(),
ps_os = $page_span.offset(),
n_os = $next.offset();
ps_os = {
top: ps_os.top - c_os.top,
left: ps_os.left - c_os.left
};
n_os = {
top: n_os.top - c_os.top,
left: n_os.left - c_os.left
};
$div_highlight.css( {
display: 'block',
top: ps_os.top + 'px'
} );
$div_highlight.children().eq( 0 ).css( {
height: $page_span.height() + 'px',
width: ( ps_os.left < 1 ) ? '100%' : ( ( $container.width() - ps_os.left ) + 'px' )
} );
// div_ss.height() ~= height of 1 line of text
$div_highlight.children().eq( 1 ).css( 'height', ( n_os.top - ps_os.top - $page_span.height() ) + 'px' );
$div_highlight.children().eq( 2 ).css( {
height: $next.height() + 'px',
width: n_os.left + 'px'
} );
return true;
}
function pagenum_out() {
if ( self.proofreadpage_disable_highlighting ) {
return false;
}
if ( !$div_highlight ) {
return false; // could not find it
}
$div_highlight.css( 'display', 'none' );
$div_highlight.children().eq( 0 ).css( 'width', '0px' );
$div_highlight.children().eq( 1 ).css( 'height', '0px' );
$div_highlight.children().eq( 2 ).css( 'width', '0px' );
return true;
}
function refresh_elem_offset( page_span, $pagenumber ) {
var y = $( page_span ).offset().top;
$pagenumber.css( 'top', y - dp_y );
if ( self.proofreadpage_numbers_visible && y - y_prev.val > 5 ) {
y_prev.val = y;
$pagenumber.removeClass( 'pagenumber-invisible' );
} else {
$pagenumber.addClass( 'pagenumber-invisible' );
}
}
function refresh_offsets() {
// do nothing if container is not set up
if ( self.proofreadpage_numbers_inline || !$div_pagenumbers ) {
return false;
}
dp_y = $div_pagenumbers.offset().top;
y_prev = {
val: -10
};
var $pagenumber = $pagenumbers_collection.first();
self.$pagenum_ml.each( function ( i, page_span ) {
refresh_elem_offset( page_span, $pagenumber );
$pagenumber = $pagenumber.next();
} );
return true;
}
var inline_params = {
elem: 'span',
link_pre: ' [',
link_post: ']'
},
beside_params = {
elem: 'div',
link_pre: '[',
link_post: ']'
};
function setup_elem(i, page_span) {
const params = self.proofreadpage_numbers_inline ? inline_params : beside_params;
// styled also by classes: div.pagenumber or span.pagenumber
let $pagenumber = $('<' + params.elem + '>')
.attr('id', $(page_span).data('pagenumber_id'))
.addClass('pagenumber noprint')
.append(params.link_pre + $(page_span).data('link_str') + params.link_post)
.toggleClass('pagenumber-invisible', !self.proofreadpage_numbers_visible);
if (!self.proofreadpage_numbers_inline) {
refresh_elem_offset(page_span, $pagenumber);
}
// clear the span provided by [[MediaWiki:Proofreadpage pagenum template]]
$(page_span).find('.pagenum-inner').empty();
$pagenumber.appendTo(self.proofreadpage_numbers_inline ?
page_span : $div_pagenumbers
);
$pagenumbers_collection = $pagenumbers_collection.add($pagenumber);
}
function init_elem(i, page_span) {
const name = $(page_span).data('page-number').toString() || page_span.id;
let pagenumber_id = 'pagenumber_' + page_span.id;
let count; // what if two pages have the same number? increment the id
if ($pagenumbers_collection.is('#' + $.escapeSelector(pagenumber_id))) {
count = ($pagenumbers_collection.filter("[id ^= '" + pagenumber_id + "']").length + 1);
page_span.id += ('_' + count);
pagenumber_id += ('_' + count);
}
if (!page_span.title) {
// there's no page to link to - just set plain text
$(page_span).data('link_str', mw.html.escape(name));
} else {
$(page_span).data('pagenumber_id', pagenumber_id);
const page_title = decodeURI(page_span.title)
.replace(/%26/g, '&').replace(/%3F/g, '?');
const page_url = mw.config.get('wgArticlePath')
.replace('$1', encodeURIComponent(page_title.replace(/ /g, '_')))
.replace(/%2F/g, '/');
// encodeURIComponent encodes '/', which breaks subpages
// if transcluded Page: (ll) is a redlink then make page
// class (class_str) a redlink also
let class_str = '';
let action_str = '';
let $ll = $(page_span).parent().next('a.new');
if ($ll.length && $ll.attr('href').includes($(page_span).data('page-name'))) {
class_str = ' class="new" ';
action_str = '?action=edit&redlink=1';
}
$(page_span).data('link_str',
'<a href= "' + page_url + action_str + '"' +
class_str +
' title= "' + mw.html.escape(page_title) + '">' +
mw.html.escape(name) +
'</a>'
);
}
setup_elem(i, page_span);
}
function refresh_display() {
// determine if we need to set things up
var inited = !$pagenumbers_collection;
// JQuery collection of all pagenumber elements
if ( !inited ) {
$pagenumbers_collection.remove();
}
$pagenumbers_collection = $();
if ( $div_pagenumbers ) {
$div_pagenumbers.remove();
}
if ( !self.proofreadpage_numbers_inline ) {
// html div container for page numbers stored in shared variable div_pagenumbers
// put pagenumbers container div in the outermost layout container
$div_pagenumbers = $( '<div>' )
.attr( 'id', 'ct-pagenumbers' )
.appendTo( containers.$page );
dp_y = $div_pagenumbers.offset().top;
y_prev = {
val: -10
};
}
self.$pagenum_ml.each( inited ? init_elem : setup_elem );
if ( self.proofreadpage_numbers_inline ) {
$pagenumbers_collection.off( 'mouseenter mouseleave' );
} else {
$pagenumbers_collection.on( {
mouseenter: pagenum_in,
mouseleave: pagenum_out
} );
}
}
function toggle_visible() {
var params = self.proofreadpage_numbers_visible ? hide_params : show_params;
$pagenumbers_collection.toggleClass( 'pagenumber-invisible', !params.visible );
$( '#d-pageNumbers_visible' ).children( 'a' ).html( params.link_text );
self.proofreadpage_numbers_visible = params.visible;
mw.cookie.set( 'pagenums_visible', params.visible );
}
function toggle_inline() {
// toggle inline view unless layouts are not set up
self.proofreadpage_numbers_inline = !layout || !self.proofreadpage_numbers_inline;
$( '#d-pageNumbers_inline' ).children( 'a' )
.html( mw.msg( self.proofreadpage_numbers_inline ? 'page_numbers_inline' : 'page_numbers_beside' ) );
mw.cookie.set( 'pagenums_inline', self.proofreadpage_numbers_inline );
refresh_display();
}
function doInit() {
// Mark the container as having pagenumbers.
// Some layouts can use that information.
$( containers.$page )
.addClass( 'dynlayout-haspagenums' );
// get_optlist();
self.proofreadpage_numbers_visible = initSetting( 'pagenums_visible', true );
var portletLink = mw.util.addPortletLink(
'p-do',
'#',
self.proofreadpage_numbers_visible ? mw.msg( 'page_numbers_displayed' ) : mw.msg( 'page_numbers_hidden' ),
'd-pageNumbers_visible',
'Starea prezentă a vizibilității legăturilor către pagini individuale',
'n',
'#d-serif'
);
$( portletLink ).on( 'click', function ( e ) {
e.preventDefault();
toggle_visible();
} );
self.proofreadpage_numbers_inline = initSetting( 'pagenums_inline', false );
// if layouts are not initialized show pagenumbers inline since
// "beside" view won't work
if ( !layout ) {
self.proofreadpage_numbers_inline = true;
}
portletLink = mw.util.addPortletLink(
'p-do',
'#',
self.proofreadpage_numbers_inline ? mw.msg( 'page_numbers_inline' ) : mw.msg( 'page_numbers_beside' ),
'd-pageNumbers_inline',
'Starea prezentă a așezării în pagină a legăturilor către pagini individuale',
'i',
'#d-pageNumbers_visible'
);
$( portletLink ).on( 'click', function ( e ) {
e.preventDefault();
toggle_inline();
} );
// store container for the highlight to shared variable "div_highlight"
$div_highlight = $( '<div id= "highlight-area">' +
'<div style="float:right; width:0px;"><div class="wsg-pagenumbers-clearfix"></div></div>' +
'<div style="width:100%; height:0px; clear:both;"></div>' +
'<div style="width:0px;"><div class="wsg-pagenumbers-clearfix" style= "float:left; clear:both;"></div></div>' +
'</div>'
);
// assign new div element to shared variable "div_ss"
$div_ss = $( '<div id= "my-ss"><div class="wsg-pagenumbers-clearfix"></div></div>' ); // empty span following some text
// put divs in the innermost dynamic layout container
if ( layout ) {
containers.$column
.append( $div_highlight );
$classedContainer.append( $div_ss );
} else {
$classedContainer.append( $div_highlight, $div_ss );
}
self.$pagenum_ml = $classedContainer.find( '.pagenum' );
refresh_display();
}
function init() {
// skip if pagenumbers are already set up
if ( $pagenumbers_collection ) {
return false;
}
// wait for the layouts code to signal that the containers are ready
mw.hook( 'ws.layouts.ready' ).add( function () {
doInit();
} );
}
return {
init: init,
refresh_offsets: refresh_offsets
};
}() );
if ( [ 'view', 'submit', 'purge' ].indexOf( mw.config.get( 'wgAction' ) ) !== -1 ) {
if ( !self.debug_page_layout &&
// don't do anything on DoubleWiki or difference comparison views
document.URL.indexOf( 'match=' ) === -1 ) {
layout.init();
display.init();
$( function () {
if ( $classedContainer.find( '.pagenum' ).length ) {
pagenumbers.init();
if ( document.readyState === 'complete' ) {
$( pagenumbers.refresh_offsets );
} else {
$( window ).on( 'load', pagenumbers.refresh_offsets );
}
}
} );
// Add a "what's this" helper to display options
// eslint-disable-next-line no-jquery/no-global-selector
$( '#p-do-label' ).append( $( '<span>' )
.css( { float: 'right' } )
.append( $( '<a>' )
.attr( {
href: '/wiki/Ajutor:Aspect',
title: mw.msg( 'what_is_this_title' )
} )
.append( mw.msg( 'what_is_this_symbol' ) )
)
);
}
var position = window.location.hash.substring( 1 );
if ( position && document.getElementById( position ) ) {
document.getElementById( position ).scrollIntoView();
}
/**
* Install the DOM-ready hook to force header and footer content out of
* Dynamic Layouts
*/
$( function () {
var $c = $classedContainer;
$c.find( '.acContainer' ).insertAfter( $c.find( 'div.printfooter' ) );
$( '<div>' )
.addClass( 'mw-parser-output dynlayout-exempt dynlayout-exempt-footer' )
.insertBefore( 'div#catlinks' )
.append( $c.find( '.acContainer' ) )
.append( $c.find( 'div.licenseContainer' ).not( 'div.licenseContainer div.licenseContainer' ) )
.append( $c.find( '#editform' ) )
.append( $c.find( '.ws-footer' ) );
$( '<div>' )
.addClass( 'mw-parser-output dynlayout-exempt dynlayout-exempt-header' )
.insertBefore( containers.$page )
.prepend( $c.find( '.ws-header' ).not( '#headerContainer' ) )
.prepend( $c.find( '#headerContainer' ) )
.prepend( $c.find( '.similar' ) )
.prepend( $c.find( '.ambox' ) )
.prepend( $c.find( '#mw-previewheader' ) );
} );
}
/* eslint-disable-next-line no-undef */
}( mediaWiki, jQuery ) );
evfxhe392itbskgc5ax90gpgfmm3a3t
MediaWiki:Gadget-PageNumbers-core.css
8
47447
144123
2025-06-26T21:23:14Z
TiberiuFr25
11409
Pagină nouă: /** * This is CSS for the [[MediaWiki:Gadget-PageNumbers-core.js]] gadget * * This defines some common CSS that applies to all layouts, as well * as the side-wide Layouts. */ /* The clearfix */ .wsg-pagenumbers-clearfix:after { content: ""; display: table; clear: both; } #ct-pagenumbers { position: absolute; top: 0; left: 0; } /* * Style of the pagenumber span when inline with the text */ span.pagenumber { color: #666666; font-size: inherit; line-height: in...
144123
css
text/css
/**
* This is CSS for the [[MediaWiki:Gadget-PageNumbers-core.js]] gadget
*
* This defines some common CSS that applies to all layouts, as well
* as the side-wide Layouts.
*/
/* The clearfix */
.wsg-pagenumbers-clearfix:after {
content: "";
display: table;
clear: both;
}
#ct-pagenumbers {
position: absolute;
top: 0;
left: 0;
}
/*
* Style of the pagenumber span when inline with the text
*/
span.pagenumber {
color: #666666;
font-size: inherit;
line-height: inherit;
font-family: monospace;
font-weight: 600;
text-shadow: 0 0 .25em #A8A;
vertical-align: top;
}
/*
* Style of the pagenumbers when beside the text
*/
div.pagenumber {
position: absolute;
font-size: calc(1rem - 5px);
line-height: calc(1rem * 1);
font-weight: normal;
font-style: normal;
text-indent: 0;
}
/*
* Hidden pagenumbers
*/
.pagenumber.pagenumber-invisible {
display: none;
}
/*
* Page extent overlay
*/
#highlight-area {
display: none;
position: absolute;
width: 100%;
}
#highlight-area > div {
background-color: #000000;
opacity: 0.2;
filter: alpha(opacity=20);
}
/*
* Display options (other than layouts)
*/
.ws-display-serif {
font-family: Georgia, serif;
}
/*
* Built-in Layouts
*/
/* the basic layouts */
.ws-page-container {
position: relative;
display: block;
margin-right: 0;
margin-left: 0;
/* Add some top margin to avoid pagenumbers crashing into header */
margin-top: 14px;
}
.ws-region-container {
position: relative;
display: block;
}
/* Space for the page numbers if there are any */
.dynlayout-haspagenums .ws-region-container {
margin-right: 3em;
margin-left: 3em;
}
.ws-column-container {
position: static;
display: block;
margin-right: auto;
margin-left: auto;
}
.ws-column-container img {
/* Prevent images leaking out of the container */
max-width: 100%;
height: auto;
}
/*
* Layout 1: full width, sidenotes inset into text
*/
div.dynlayout-layout_1 .wst-sidenote {
margin: .5em;
padding: 3px;
border: solid 1px gray;
max-width: 9em;
text-indent: 0;
text-align: left;
}
div.dynlayout-layout_1 .wst-sidenote-right {
clear: right;
float: right;
}
div.dynlayout-layout_1 .wst-sidenote-left {
clear: left;
float: left;
}
/*
* Layout 2: narrow, sidenotes on either side
*/
div.dynlayout-layout_2 .ws-region-container {
width: 36em;
margin: 0 auto;
}
div.dynlayout-layout_2 .ws-column-container {
text-align: justify;
}
div.dynlayout-layout_2 .wst-sidenote {
position: absolute;
left: 37em;
width: 16em;
text-indent: 0;
text-align: left;
}
/*
* Layout 3: nearly-full width, sidenotes on right
*/
div.dynlayout-layout_3 .ws-column-container {
text-align: justify;
margin-right: calc(1rem * 9);
}
div.dynlayout-layout_3 .wst-sidenote {
position: absolute;
right: 0;
width: 9em;
background-color: #eeeeee;
text-indent: 0;
text-align: left;
}
/*
* Layout 4: narrow, sidenotes on either side
*/
div.dynlayout-layout_4 .ws-region-container {
width: 36em;
margin: 0 auto;
}
div.dynlayout-layout_4 .ws-column-container {
text-align: justify;
}
div.dynlayout-layout_4 .wst-sidenote {
position: absolute;
left: 37em;
width: 16em;
text-indent: 0;
text-align: left;
}
8hnj1f81vnj1tl7axdl2rqtpjh54zfz
MediaWiki:Epub.css
8
47448
144124
2025-06-26T21:31:08Z
TiberiuFr25
11409
Pagină nouă: /* This stylesheet affects the style used for ePub export via wsexport. */ .mw-parser-output { text-align: justify; /* most text is justified */ } /* * Used for centered images * * Copies site-global CSS in load.php */ .center { width: 100%; text-align: center; } .center * { margin-left: auto; margin-right: auto; } /* * Left/right-floated images * e.g. [[File:Foo.jpg|left]] */ .floatleft { float: left; clear: left; } .floatright { float: right; clear: righ...
144124
css
text/css
/* This stylesheet affects the style used for ePub export via wsexport. */
.mw-parser-output {
text-align: justify; /* most text is justified */
}
/*
* Used for centered images
*
* Copies site-global CSS in load.php
*/
.center {
width: 100%;
text-align: center;
}
.center * {
margin-left: auto;
margin-right: auto;
}
/*
* Left/right-floated images
* e.g. [[File:Foo.jpg|left]]
*/
.floatleft {
float: left;
clear: left;
}
.floatright {
float: right;
clear: right;
}
.tiInherit,
/* this one is to override some e-readers' own "helpful" CSS */
.tiInherit p {
text-indent: inherit;
}
/*
* Sidenotes
*/
.wst-sidenote-right,
.wst-sidenote-left {
margin:0.5em;
padding:3px;
max-width:9em;
text-indent:0;
text-align:left;
}
.wst-sidenote-right {
float:right;
}
.wst-sidenote-left{
float:left;
}
/*
* Use the same formatting choices as on-wiki for consistency
*/
dt {
font-weight: bold;
margin-bottom: 0.1em;
}
/**
* Remove this forced background color as the dots are not exported
*/
.toc-line-entry-text {
background: transparent !important;
}
/* Prevent huge DHR's which usually result in content disappearing over page
* breaks */
.wst-dhr {
line-height: 100% !important;
}
/* Make sure tables fit on the page (even if a manual size if set) */
/* and generally avoid breaking in the middle of them */
table {
max-width: 100%;
break-inside: avoid;
}
/*
* Centre table header like on-wiki
*/
table caption {
text-align: center;
}
/*
* The double-float for the drop initials works for the margins on the inner
* initial, but it trips up some Epub engine, so nerf it for now.
* Eventually, the margins on {{di}} should be set on the top element and this
* will be easier.
*/
.ws-poem-hi span.dropinitial-initial {
float:none;
}
/*
* Disable "helpful" auto-indents for poems in some e-readers
* (note: this means using <poem> is better than <br/>, which has no semantic
* content and can't be used to target this styling)
*/
.poem, .poem p {
text-indent: 0;
}
/*
* Disable the indented-page pagenumber margin styles
*/
.indented-page, .prose {
margin: inherit;
padding: inherit;
}
/* This generally doesn't export well, so fall back on the inner em-dashes
* revisit this if it can be improved in readers */
.wst-bar-inner {
color: inherit !important;
}
.wst-bar {
text-decoration: inherit !important;
}
/* normally this would not be included anyway as exports don't come from the page NS,
* but sometimes it's useful to do so when debugging EPUBs */
.prp-page-qualityheader {
display: none;
}
/* Workaround for T345723 */
.mw-halign-center {
display: block;
}
p0041bf9x889i8tpobsbrq0bc075lfq
MediaWiki:Randomindex
8
47449
144125
2025-06-26T21:38:25Z
TiberiuFr25
11409
Pagină nouă: Transcriere aleatorie
144125
wikitext
text/x-wiki
Transcriere aleatorie
g9ydwum671h74uk86jupmxjdl97hywc
MediaWiki:Randomindex-url
8
47450
144126
2025-06-26T21:38:49Z
TiberiuFr25
11409
Pagină nouă: Special:Randomrootpage/Index
144126
wikitext
text/x-wiki
Special:Randomrootpage/Index
26nddt3eqn62dilx4seahy438hzvrjz
MediaWiki:Randomwork
8
47451
144127
2025-06-26T21:39:06Z
TiberiuFr25
11409
Pagină nouă: Lucrare aleatorie
144127
wikitext
text/x-wiki
Lucrare aleatorie
0yqf5d9bzmoc5zjbsg1msrv736ycfbn
MediaWiki:Randomwork-url
8
47452
144128
2025-06-26T21:39:21Z
TiberiuFr25
11409
Pagină nouă: Special:Randomrootpage/Main
144128
wikitext
text/x-wiki
Special:Randomrootpage/Main
7txiwp0pqxuryxsrja3b2znx5kgvjoy
MediaWiki:Randomauthor
8
47453
144129
2025-06-26T21:39:40Z
TiberiuFr25
11409
Pagină nouă: Autor aleatoriu
144129
wikitext
text/x-wiki
Autor aleatoriu
hn5a90juijh380c1s5jvf7ryjievy06
MediaWiki:Randomauthor-url
8
47454
144130
2025-06-26T21:40:00Z
TiberiuFr25
11409
Pagină nouă: Special:Randomrootpage/Author
144130
wikitext
text/x-wiki
Special:Randomrootpage/Author
9wcpzybh31mw1bsxpcj0p3c8sap4qjv
MediaWiki:Scribunto-doc-page-header
8
47455
144131
2025-06-26T21:41:48Z
TiberiuFr25
11409
Pagină nouă: <div class="mw-parser-output"> {{subpagină documentație}} </div>
144131
wikitext
text/x-wiki
<div class="mw-parser-output">
{{subpagină documentație}}
</div>
qvj1lvxcvs1qug8tmmjik2rhtjeeuuy
MediaWiki:Do
8
47456
144132
2025-06-26T21:44:44Z
TiberiuFr25
11409
Pagină nouă: {{#ifeq:{{NAMESPACENUMBER}}|0|{{{|Opțiuni de afișare}}}|}}
144132
wikitext
text/x-wiki
{{#ifeq:{{NAMESPACENUMBER}}|0|{{{|Opțiuni de afișare}}}|}}
jxxo54fp0h3p111mg0irc2ita61jp9a
MediaWiki:Gadget-MoreMenu-local.js
8
47457
144136
2025-06-26T22:00:28Z
TiberiuFr25
11409
Pagină nouă: mw.loader.load('https://meta.wikimedia.org/w/load.php?modules=ext.gadget.MoreMenu');
144136
javascript
text/javascript
mw.loader.load('https://meta.wikimedia.org/w/load.php?modules=ext.gadget.MoreMenu');
4a8nztnsxwdkzojyvj6omx0u6wdapgy
MediaWiki:Gadget-MoreMenu-local-pagestyles.css
8
47458
144137
2025-06-26T22:00:43Z
TiberiuFr25
11409
Pagină nouă: /*** VECTOR ***/ /* User menu */ .client-js .skin-vector.ns-2 #p-views, .client-js .skin-vector.ns-3 #p-views, .client-js > .skin-vector.mw-special-Contributions #p-views, .client-js > .skin-vector.mw-special-DeletedContributions #p-views, .client-js > .skin-vector.mw-special-Block #p-views { padding-right: 3.68em; } /* Page menu */ .client-js .skin-vector:not(.ns-special) #p-views .vector-menu-content::after { content: ''; display: inline-block; width: 3.85...
144137
css
text/css
/*** VECTOR ***/
/* User menu */
.client-js .skin-vector.ns-2 #p-views,
.client-js .skin-vector.ns-3 #p-views,
.client-js > .skin-vector.mw-special-Contributions #p-views,
.client-js > .skin-vector.mw-special-DeletedContributions #p-views,
.client-js > .skin-vector.mw-special-Block #p-views {
padding-right: 3.68em;
}
/* Page menu */
.client-js .skin-vector:not(.ns-special) #p-views .vector-menu-content::after {
content: '';
display: inline-block;
width: 3.85em;
}
f4yxp9ch7es3zcl750yqbd9ff2lkhda
MediaWiki:Gadget-addsection-plus.js
8
47459
144138
2025-06-26T22:01:16Z
TiberiuFr25
11409
Pagină nouă: // ********************************************************************** // ** ***WARNING GLOBAL GADGET FILE*** ** // ** changes to this file affect many users. ** // ** please discuss on the talk page before editing ** // ** ** // ********************************************************************** $( function () { var tab, tablin...
144138
javascript
text/javascript
// **********************************************************************
// ** ***WARNING GLOBAL GADGET FILE*** **
// ** changes to this file affect many users. **
// ** please discuss on the talk page before editing **
// ** **
// **********************************************************************
$( function () {
var tab, tablink, skin;
tab = document.getElementById('ca-addsection');
if ( !tab ) {
return;
}
skin = mw.config.get( 'skin' );
tablink = tab.getElementsByTagName( skin === 'vector' ? 'span' : 'a' )[0];
if ( !tablink ) {
return;
}
tablink.firstChild.nodeValue = '+';
if ( skin === 'monobook' ) {
tablink.style.paddingLeft = ".4em";
tablink.style.paddingRight = ".4em";
}
});
8bw9o8uwof3foorqdckvvi9stihafy9
MediaWiki:Gadget-PurgeTab.js
8
47460
144139
2025-06-26T22:06:51Z
TiberiuFr25
11409
Pagină nouă: /* MediaWiki:Gadget-PurgeTab.js * * Gadget to add tools to the toolbar for purging pages */ $(function () { if (mw.config.get('wgCanonicalNamespace') === "File" && mw.config.get('wgArticleId') === 0) { // Active on File: pages for non-existent files too. // FIXME: This logic is pretty awkward. } else if (!mw.config.get('wgArticleId')) { return; } let purgePortlet = mw.util.addPortletLink( 'p-cactions', '#', 'Curățare cache', 'ca-purge', 'Curăță memoria...
144139
javascript
text/javascript
/* MediaWiki:Gadget-PurgeTab.js
*
* Gadget to add tools to the toolbar for purging pages
*/
$(function () {
if (mw.config.get('wgCanonicalNamespace') === "File" && mw.config.get('wgArticleId') === 0) {
// Active on File: pages for non-existent files too.
// FIXME: This logic is pretty awkward.
} else if (!mw.config.get('wgArticleId')) {
return;
}
let purgePortlet = mw.util.addPortletLink(
'p-cactions', '#', 'Curățare cache', 'ca-purge',
'Curăță memoria cache pentru această pagină', '*'
);
$(purgePortlet).on('click', e => {
doPurge(false);
e.preventDefault();
});
let hardpurgePortlet = mw.util.addPortletLink(
'p-cactions', '#', 'Curățare+ cache', 'ca-purge-hardpurge',
'Curăță memoria cache cu o actualizare forțată a tabelului de legături recursive', ','
);
$(hardpurgePortlet).on('click', e => {
doPurge(true);
e.preventDefault();
});
let nulleditPortlet = mw.util.addPortletLink(
'p-cactions', '#', 'Editare nulă', 'ca-nulledit',
'Efectuează o editare nulă asupra acestei pagini', '0'
);
$(nulleditPortlet).on('click', e => {
doNullEdit();
e.preventDefault();
});
});
function doPurge (hard) {
let params = {
action: 'purge',
pageids: mw.config.get('wgArticleId')
};
if (hard) {
params.forcerecursivelinkupdate = 1;
params.redirects = 1;
}
new mw.Api().post(params)
.catch(httpErrorHandler)
.then(() => location.reload());
}
function doNullEdit () {
new mw.Api().postWithEditToken({
action: 'edit',
pageid: mw.config.get('wgArticleId'),
appendtext: '',
watchlist: 'nochange',
nocreate: '1',
})
.catch(httpErrorHandler)
.then(() => location.reload());
}
function httpErrorHandler (code, details) {
let msg;
switch (code) {
case 'http':
msg = 'HTTP error: ' + details.xhr.statusText;
break;
case 'ok-but-empty':
msg = 'Received empty response.';
break;
default:
msg = details.error.info;
}
mw.notify(msg, {title: 'Curățare cache eșuată', type: 'error', tag: 'purge'});
}
kaazsc5mzrm1anxje2zncrnrqkz6no5
144172
144139
2025-06-26T23:11:09Z
TiberiuFr25
11409
144172
javascript
text/javascript
/* MediaWiki:Gadget-PurgeTab.js
*
* Gadget to add tools to the toolbar for purging pages
*/
$(function () {
if (mw.config.get('wgCanonicalNamespace') === "File" && mw.config.get('wgArticleId') === 0) {
// Active on File: pages for non-existent files too.
// FIXME: This logic is pretty awkward.
} else if (!mw.config.get('wgArticleId')) {
return;
}
let purgePortlet = mw.util.addPortletLink(
'p-cactions', '#', 'Curățare cache', 'ca-purge',
'Curăță memoria cache pentru această pagină', '*'
);
$(purgePortlet).on('click', e => {
doPurge(false);
e.preventDefault();
});
// let hardpurgePortlet = mw.util.addPortletLink(
// 'p-cactions', '#', 'Curățare+ cache', 'ca-purge-hardpurge',
// 'Curăță memoria cache cu o actualizare forțată a tabelului de legături recursive', ','
// );
// $(hardpurgePortlet).on('click', e => {
// doPurge(true);
// e.preventDefault();
// });
// let nulleditPortlet = mw.util.addPortletLink(
// 'p-cactions', '#', 'Editare nulă', 'ca-nulledit',
// 'Efectuează o editare nulă asupra acestei pagini', '0'
// );
// $(nulleditPortlet).on('click', e => {
// doNullEdit();
// e.preventDefault();
// });
});
function doPurge (hard) {
let params = {
action: 'purge',
pageids: mw.config.get('wgArticleId')
};
if (hard) {
params.forcerecursivelinkupdate = 1;
params.redirects = 1;
}
new mw.Api().post(params)
.catch(httpErrorHandler)
.then(() => location.reload());
}
function doNullEdit () {
new mw.Api().postWithEditToken({
action: 'edit',
pageid: mw.config.get('wgArticleId'),
appendtext: '',
watchlist: 'nochange',
nocreate: '1',
})
.catch(httpErrorHandler)
.then(() => location.reload());
}
function httpErrorHandler (code, details) {
let msg;
switch (code) {
case 'http':
msg = 'HTTP error: ' + details.xhr.statusText;
break;
case 'ok-but-empty':
msg = 'Received empty response.';
break;
default:
msg = details.error.info;
}
mw.notify(msg, {title: 'Curățare cache eșuată', type: 'error', tag: 'purge'});
}
299fuggj7gl6y5an3jaio2uzf5rw4v8
MediaWiki:Gadget-WhatLeavesHere.js
8
47461
144140
2025-06-26T22:08:53Z
TiberiuFr25
11409
Pagină nouă: // [[File:Krinkle_WhatLeavesHere.js]] mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Tools/WhatLeavesHere.js&action=raw&ctype=text/javascript');
144140
javascript
text/javascript
// [[File:Krinkle_WhatLeavesHere.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=User:Krinkle/Tools/WhatLeavesHere.js&action=raw&ctype=text/javascript');
n282pyotac2l7e0aopk24mclxinlhki
MediaWiki:Gadget-ShowMessageNames.js
8
47462
144141
2025-06-26T22:09:51Z
TiberiuFr25
11409
Pagină nouă: /* MediaWiki:Gadget-ShowMessageNames.js * * Add a toolbox link to display the current page with * MediaWiki message names replacing their text. */ $(() => { mw.util.addPortletLink( 'p-tb', location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'uselang=qqx', 'Nume mesaje MediaWiki', 't-messagenames', 'Afișează pagina actuală cu numele mesajelor MediaWiki înlocuind textul introdus de acestea' ); });
144141
javascript
text/javascript
/* MediaWiki:Gadget-ShowMessageNames.js
*
* Add a toolbox link to display the current page with
* MediaWiki message names replacing their text.
*/
$(() => {
mw.util.addPortletLink(
'p-tb',
location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'uselang=qqx',
'Nume mesaje MediaWiki',
't-messagenames',
'Afișează pagina actuală cu numele mesajelor MediaWiki înlocuind textul introdus de acestea'
);
});
pgnomx483u0zwxd6aqhjscg51046749
MediaWiki:Gadget-CurIDLink.js
8
47463
144142
2025-06-26T22:13:38Z
TiberiuFr25
11409
Pagină nouă: $(function(){ var curid = mw.config.get('wgArticleId'); if (curid !== 0){ var url = mw.config.get('wgServer') + '?curid=' + curid; mw.util.addPortletLink('p-tb', url, 'Legătură după ID', 't-curlink', 'Arată legătura către această pagină după identificatorul său'); } });
144142
javascript
text/javascript
$(function(){
var curid = mw.config.get('wgArticleId');
if (curid !== 0){
var url = mw.config.get('wgServer') + '?curid=' + curid;
mw.util.addPortletLink('p-tb', url, 'Legătură după ID', 't-curlink', 'Arată legătura către această pagină după identificatorul său');
}
});
q4gvwnbefazhzat50d4dghk7n44r660
MediaWiki:Gadget-DebugMode.js
8
47464
144143
2025-06-26T22:15:43Z
TiberiuFr25
11409
Pagină nouă: /* MediaWiki:Gadget-DebugMode.js * * Add a toolbox link to reload the current page with debug mode enabled */ $(() => { mw.util.addPortletLink( 'p-tb', location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'debug=true', 'Mod depanare', 't-debugmode', 'Reîncarcă pagina actuală cu modul de depanare activat' ); });
144143
javascript
text/javascript
/* MediaWiki:Gadget-DebugMode.js
*
* Add a toolbox link to reload the current page with debug mode enabled
*/
$(() => {
mw.util.addPortletLink(
'p-tb',
location.href.replace( location.hash, '' ) + ( location.search ? '&' : '?' ) + 'debug=true',
'Mod depanare',
't-debugmode',
'Reîncarcă pagina actuală cu modul de depanare activat'
);
});
d321fpwte5yjv5nyqyilxprxtqqyjqx
MediaWiki:Gadget-interwiki-transclusion.js
8
47465
144144
2025-06-26T22:17:26Z
TiberiuFr25
11409
Pagină nouă: // Interwiki Transclusion script imported from mulWS. mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:InterWikiTransclusion.js&action=raw&ctype=text/javascript');
144144
javascript
text/javascript
// Interwiki Transclusion script imported from mulWS.
mw.loader.load('//wikisource.org/w/index.php?title=MediaWiki:InterWikiTransclusion.js&action=raw&ctype=text/javascript');
d8b6kbctkkne36oz4dzxg2sd3r62f5p
MediaWiki:Gadget-markblocked.js
8
47466
144145
2025-06-26T22:20:16Z
TiberiuFr25
11409
Pagină nouă: //Strike out links to blocked users [[meta:MediaWiki:Gadget-markblocked.js]] mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');
144145
javascript
text/javascript
//Strike out links to blocked users [[meta:MediaWiki:Gadget-markblocked.js]]
mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Gadget-markblocked.js&action=raw&ctype=text/javascript');
2f9saogphe5722brn4hje7hfkgmgg4x
MediaWiki:Gadget-section-maintenance-tools
8
47467
144146
2025-06-26T22:20:25Z
TiberiuFr25
11409
Pagină nouă: Întreținere
144146
wikitext
text/x-wiki
Întreținere
dfgll3x5l7nw1a922ai4xazbx9tnkwf
Format:Informații gadget
10
47468
144147
2025-06-26T22:23:34Z
TiberiuFr25
11409
Pagină nouă: <includeonly><sup><!-- -->{{#ifeq:{{#invoke:String|find|{{{1}}}|D}}|0||<abbr title="{{int:gadgets-default}}">(D)</abbr>}}<!-- -->{{#ifeq:{{#invoke:String|find|{{{1}}}|E}}|0||<abbr title="{{int:gadgets-external}}">(E)</abbr>}}<!-- -->{{#ifeq:{{#invoke:String|find|{{{1}}}|U}}|0||<abbr title="{{int:gadgets-user}}">(U)</abbr>}}<!-- -->{{#ifeq:{{#invoke:String|find|{{{1}}}|S}}|0||<abbr title="{{int:gadgets-sister}}">(S)</abbr>}}<!-- --></sup> </includeonly><noinclude> {{documenta...
144147
wikitext
text/x-wiki
<includeonly><sup><!--
-->{{#ifeq:{{#invoke:String|find|{{{1}}}|D}}|0||<abbr title="{{int:gadgets-default}}">(D)</abbr>}}<!--
-->{{#ifeq:{{#invoke:String|find|{{{1}}}|E}}|0||<abbr title="{{int:gadgets-external}}">(E)</abbr>}}<!--
-->{{#ifeq:{{#invoke:String|find|{{{1}}}|U}}|0||<abbr title="{{int:gadgets-user}}">(U)</abbr>}}<!--
-->{{#ifeq:{{#invoke:String|find|{{{1}}}|S}}|0||<abbr title="{{int:gadgets-sister}}">(S)</abbr>}}<!--
--></sup> </includeonly><noinclude>
{{documentation}}
</noinclude>
jj5i1eamo8sm3zyxcvq2c2yt2a73pef
144156
144147
2025-06-26T22:47:49Z
TiberiuFr25
11409
144156
wikitext
text/x-wiki
<includeonly><sup><!--
-->{{#ifeq:{{#invoke:String|find|{{{1}}}|D}}|0||<abbr title="{{int:gadgets-default}}">(IM)</abbr>}}<!--
-->{{#ifeq:{{#invoke:String|find|{{{1}}}|E}}|0||<abbr title="{{int:gadgets-external}}">(E)</abbr>}}<!--
-->{{#ifeq:{{#invoke:String|find|{{{1}}}|U}}|0||<abbr title="{{int:gadgets-user}}">(U)</abbr>}}<!--
-->{{#ifeq:{{#invoke:String|find|{{{1}}}|S}}|0||<abbr title="{{int:gadgets-sister}}">(S)</abbr>}}<!--
--></sup> </includeonly><noinclude>
{{documentation}}
</noinclude>
t1yr4qy4xrju15inqs2fy3ep4yuqrph
MediaWiki:Gadget-markblocked
8
47469
144148
2025-06-26T22:30:24Z
TiberiuFr25
11409
Pagină nouă: {{informații gadget|S}} Aplică un stil specific legăturilor către utilizatorii blocați
144148
wikitext
text/x-wiki
{{informații gadget|S}} Aplică un stil specific legăturilor către utilizatorii blocați
njgpf9xch0t44vkcr41aik479j961bb
MediaWiki:Gadgets-external
8
47470
144149
2025-06-26T22:38:21Z
TiberiuFr25
11409
Pagină nouă: Acest gadget are legături, face solicitări sau utilizează coduri de pe un site care nu este acoperit de Politica de confidențialitate a WMF
144149
wikitext
text/x-wiki
Acest gadget are legături, face solicitări sau utilizează coduri de pe un site care nu este acoperit de Politica de confidențialitate a WMF
26wra82krkzedl6rmk677s2xgsgnuy0
MediaWiki:Gadgets-sister
8
47471
144150
2025-06-26T22:39:03Z
TiberiuFr25
11409
Pagină nouă: Acest gadget utilizează cod din proiecte surori ale WMF
144150
wikitext
text/x-wiki
Acest gadget utilizează cod din proiecte surori ale WMF
rio815a6j0qexy0pq7ony4r4h4ty2z4
Format:Mai mic bloc
10
47472
144151
2025-06-26T22:44:53Z
TiberiuFr25
11409
Pagină nouă: {{mai mic bloc/s|class={{{class|{{{clasă|}}}}}}|style={{{style|{{{stil|}}}}}}}} {{{1}}} {{mai mic bloc/e}}<noinclude> {{documentație|Format:Mărime font bloc/doc}} </noinclude>
144151
wikitext
text/x-wiki
{{mai mic bloc/s|class={{{class|{{{clasă|}}}}}}|style={{{style|{{{stil|}}}}}}}}
{{{1}}}
{{mai mic bloc/e}}<noinclude>
{{documentație|Format:Mărime font bloc/doc}}
</noinclude>
r5hke6xuo8masgiqrf4avbemhacs19r
Format:Mai mic bloc/s
10
47473
144152
2025-06-26T22:46:04Z
TiberiuFr25
11409
Pagină nouă: <includeonly>{{Mărime font bloc/s|font-size-name=smaller|style={{{style|}}}|class={{{class|}}}}}</includeonly><noinclude>{{documentație|Format:Mărime font bloc/doc}}
144152
wikitext
text/x-wiki
<includeonly>{{Mărime font bloc/s|font-size-name=smaller|style={{{style|}}}|class={{{class|}}}}}</includeonly><noinclude>{{documentație|Format:Mărime font bloc/doc}}
c054ddsp7w624a5r9nc1p99r933hj55
Format:Mai mic bloc/e
10
47474
144153
2025-06-26T22:46:34Z
TiberiuFr25
11409
Redirecționat înspre [[Div end]]
144153
wikitext
text/x-wiki
#REDIRECT [[Div end]]
r6ak9uvc5tl8h30p10gcsebvz5k0xnw
144154
144153
2025-06-26T22:46:55Z
TiberiuFr25
11409
Ținta redirecționării a fost schimbată de la [[Div end]] la [[Format:Div end]]
144154
wikitext
text/x-wiki
#REDIRECT [[Format:Div end]]
3bq3l4m943a74fvywuvgjcj01kzcmx7
MediaWiki:Gadgets-prefstext
8
47475
144155
2025-06-26T22:47:13Z
TiberiuFr25
11409
Pagină nouă: Mai jos este o listă de „gadgeturi” speciale pe care le puteți activa pentru contul dvs. Aceste gadgeturi se bazează în principal pe JavaScript, așa că JavaScript trebuie să fie activat în navigatorul dvs. pentru ca acestea să funcționeze. Țineți cont că aceste gadgeturi nu vor avea niciun efect asupra acestei pagini de preferințe. Aceste gadgeturi nu fac parte din software-ul MediaWiki și sunt, de obicei, dezvoltate și întreținute de alți utilizatori...
144155
wikitext
text/x-wiki
Mai jos este o listă de „gadgeturi” speciale pe care le puteți activa pentru contul dvs.
Aceste gadgeturi se bazează în principal pe JavaScript, așa că JavaScript trebuie să fie activat în navigatorul dvs. pentru ca acestea să funcționeze.
Țineți cont că aceste gadgeturi nu vor avea niciun efect asupra acestei pagini de preferințe.
Aceste gadgeturi nu fac parte din software-ul MediaWiki și sunt, de obicei, dezvoltate și întreținute de alți utilizatori ai Wikisource.
Administratorii de interfață locali pot edita [[MediaWiki:Gadgets-definition|definițiile]] gadgeturilor disponibile, iar administratorii locali pot edita [[Special:Gadgets|descrierile]] lor, unde puteți vedea și codul sursă al fiecărui gadget. Numărul de utilizatori pentru fiecare gadget de pe acest wiki este listat pe pagina [[Special:GadgetUsage|Statistici de utilizare a gadgeturilor]].
{{mai mic bloc|1=
Legendă pentru gadgeturi:
*<sup><abbr title="{{int:gadgets-default}}">(IM)</abbr></sup>: Aceste gadgeturi sunt activate în mod <u>im</u>plicit
*<sup><abbr title="{{int:gadgets-external}}">(E)</abbr></sup>: Aceste gadgeturi utilizează coduri din sisteme <u>e</u>xterne (terță parte) care nu fac obiectul politicii de confidențialitate a WMF
*<sup><abbr title="{{int:gadgets-sister}}">(S)</abbr></sup>: Aceste gadgeturi utilizează cod din proiecte <u>s</u>urori ale WMF, gestionate la rândul lor de administratorii proiectelor respective
}}
hrmcj3pzfpinmguo9b3mhukmq8m8yv3
MediaWiki:Gadget-CleanDeleteReasons.js
8
47476
144157
2025-06-26T22:50:07Z
TiberiuFr25
11409
Pagină nouă: /* MediaWiki:Gadget-CleanDeleteReasons.js */ /* * Empty the "Other/additional reason" text field on action=delete pages. * * This field by default contains the raw wikitext of the page being deleted, * which is pretty useless most of the time and makes the deletion log very * hard to read. It also tends to discourage admins (humans) from actually * entering a real explanation of why they are deleting the page, unlike an * empty textfield that actually tends to encourag...
144157
javascript
text/javascript
/* MediaWiki:Gadget-CleanDeleteReasons.js */
/*
* Empty the "Other/additional reason" text field on action=delete pages.
*
* This field by default contains the raw wikitext of the page being deleted,
* which is pretty useless most of the time and makes the deletion log very
* hard to read. It also tends to discourage admins (humans) from actually
* entering a real explanation of why they are deleting the page, unlike an
* empty textfield that actually tends to encourage that.
*/
$(function () {
var $reason = $("#wpReason input");
var regexp = /(?:content was|page was empty|content before blanking was)/i;
if (regexp.test($reason.val())) {
$reason.val("");
}
});
7jz5a056h6ak780trvyqbv43tm0fgnu
MediaWiki:Gadget-a11y-page-status.js
8
47477
144158
2025-06-26T22:52:13Z
TiberiuFr25
11409
Pagină nouă: $(function () { $('.prp-quality-radio.quality0').attr('title', 'Fără text'); $('.prp-quality-radio.quality1').attr('title', 'Neverificat'); $('.prp-quality-radio.quality2').attr('title', 'Problematic'); $('.prp-quality-radio.quality3').attr('title', 'Verificat'); $('.prp-quality-radio.quality4').attr('title', 'Validat'); });
144158
javascript
text/javascript
$(function () {
$('.prp-quality-radio.quality0').attr('title', 'Fără text');
$('.prp-quality-radio.quality1').attr('title', 'Neverificat');
$('.prp-quality-radio.quality2').attr('title', 'Problematic');
$('.prp-quality-radio.quality3').attr('title', 'Verificat');
$('.prp-quality-radio.quality4').attr('title', 'Validat');
});
8gvt9s4kxakmqcx03jo9pbjxuz5di96
MediaWiki:Gadget-utils-difference.js
8
47478
144159
2025-06-26T22:52:50Z
TiberiuFr25
11409
Pagină nouă: /** * Functions for showing the difference between two strings * * Taken from the popups gadget and modified for re-use as * a module for other gadgets. * * Source: https://en.wikipedia.org/wiki/MediaWiki:Gadget-popups.js * * Access by loading then through the inductiveload.difference * object: * * mw.loader.using(["ext.gadget.util-difference"], function() { * // code that uses this module * }); * * Methods: * * * diffString: get the complete diff string be...
144159
javascript
text/javascript
/**
* Functions for showing the difference between two strings
*
* Taken from the popups gadget and modified for re-use as
* a module for other gadgets.
*
* Source: https://en.wikipedia.org/wiki/MediaWiki:Gadget-popups.js
*
* Access by loading then through the inductiveload.difference
* object:
*
* mw.loader.using(["ext.gadget.util-difference"], function() {
* // code that uses this module
* });
*
* Methods:
*
* * diffString: get the complete diff string between two strings
* * shortenDiffString: shorten a given diff string with 'n' chars
* of context
*/
"use strict";
// IIFE used when including as a user script (to allow debug or config)
// Default gadget use will get an IIFE wrapper as well
(function() {
window.inductiveload = window.inductiveload || {}; // use window for ResourceLoader compatibility
if (inductiveload.difference) {
return; // already initialised, don't overwrite
}
function delFmt(x) {
if (!x.length) { return ''; }
return "<del class='popupDiff'>" + x.join('') +"</del>";
}
function insFmt(x) {
if (!x.length) { return ''; }
return "<ins class='popupDiff'>" + x.join('') +"</ins>";
}
function countCrossings(a, b, i, eject) {
// count the crossings on the edge starting at b[i]
if (!b[i].row && b[i].row !== 0) { return -1; }
var count=0;
for (var j=0; j<a.length; ++j) {
if (!a[j].row && a[j].row !== 0) { continue; }
if ( (j-b[i].row)*(i-a[j].row) > 0) {
if(eject) { return true; }
count++;
}
}
return count;
}
var entify = function(s) {
//var shy='­';
return s.split('&').join('&').split('<').join('<').split('>').join('>'/*+shy*/).split('"').join('"');
};
// see http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object
// FIXME: use obj.hasOwnProperty instead of this kludge!
var jsReservedProperties=RegExp('^(constructor|prototype|__((define|lookup)[GS]etter)__' +
'|eval|hasOwnProperty|propertyIsEnumerable' +
'|to(Source|String|LocaleString)|(un)?watch|valueOf)$');
function diffBugAlert(word) {
if (!diffBugAlert.list[word]) {
diffBugAlert.list[word]=1;
alert('Bad word: '+word+'\n\nPlease report this bug.');
}
}
diffBugAlert.list={};
function makeDiffHashtable(src) {
var ret={};
for ( var i = 0; i < src.length; i++ ) {
if ( jsReservedProperties.test(src[i]) ) { src[i] += '<!-- -->'; }
if ( !ret[ src[i] ] ) { ret[ src[i] ] = []; }
try { ret[ src[i] ].push( i ); } catch (err) { diffBugAlert(src[i]); }
}
return ret;
}
function diff( o, n ) {
// pass 1: make hashtable ns with new rows as keys
var ns = makeDiffHashtable(n);
// pass 2: make hashtable os with old rows as keys
var os = makeDiffHashtable(o);
// pass 3: pair unique new rows and matching unique old rows
var i;
for ( i in ns ) {
if ( ns[i].length == 1 && os[i] && os[i].length == 1 ) {
n[ ns[i][0] ] = { text: n[ ns[i][0] ], row: os[i][0], paired: true };
o[ os[i][0] ] = { text: o[ os[i][0] ], row: ns[i][0], paired: true };
}
}
// pass 4: pair matching rows immediately following paired rows (not necessarily unique)
for ( i = 0; i < n.length - 1; i++ ) {
if ( n[i].paired && ! n[i+1].paired && n[i].row + 1 < o.length && ! o[ n[i].row + 1 ].paired &&
n[i+1] == o[ n[i].row + 1 ] ) {
n[i+1] = { text: n[i+1], row: n[i].row + 1, paired: true };
o[n[i].row+1] = { text: o[n[i].row+1], row: i + 1, paired: true };
}
}
// pass 5: pair matching rows immediately preceding paired rows (not necessarily unique)
for ( i = n.length - 1; i > 0; i-- ) {
if ( n[i].paired && ! n[i-1].paired && n[i].row > 0 && ! o[ n[i].row - 1 ].paired &&
n[i-1] == o[ n[i].row - 1 ] ) {
n[i-1] = { text: n[i-1], row: n[i].row - 1, paired: true };
o[n[i].row-1] = { text: o[n[i].row-1], row: i - 1, paired: true };
}
}
return { o: o, n: n };
}
inductiveload.difference = {
/**
* Given a complete diff string, produce a shortened string with
* a certain number of characters of context around the differences.
* @param {string} str the complete diff string
* @param {number} context number of context chars
* @return {string} shortened diff string
*/
shortenDiffString: function(str, context) {
var re=RegExp('(<del[\\s\\S]*?</del>|<ins[\\s\\S]*?</ins>)');
var splitted=str.split(re);
var ret=[''];
for (var i=0; i<splitted.length; i+=2) {
if (splitted[i].length < 2*context) {
ret[ret.length-1] += splitted[i];
if (i+1<splitted.length) { ret[ret.length-1] += splitted[i+1]; }
continue;
}
else {
if (i > 0) { ret[ret.length-1] += splitted[i].substring(0,context); }
if (i+1 < splitted.length) {
ret.push(splitted[i].substring(splitted[i].length-context) +
splitted[i+1]);
}
}
}
while (ret.length > 0 && !ret[0]) { ret = ret.slice(1); }
return ret;
},
/**
* Produce a complete difference string from two strings (old and new)
* @param {string} o old string
* @param {string} n new string
* @param {bool} simpleSplit use a simple split method
* @return {string} the difference string
*/
diffString: function( o, n, simpleSplit ) {
var splitRe=RegExp('([[]{2}|[\\]]{2}|[{]{2,3}|[}]{2,3}|[|]|=|<|>|[*:]+|\\s|\\b)');
// We need to split the strings o and n first, and entify() the parts
// individually, so that the HTML entities are never cut apart. (AxelBoldt)
var out, i, oSplitted, nSplitted;
if (simpleSplit) {
oSplitted=o.split(/\b/);
nSplitted=n.split(/\b/);
} else {
oSplitted=o.split(splitRe);
nSplitted=n.split(splitRe);
}
for (i=0; i<oSplitted.length; ++i) {oSplitted[i]=entify(oSplitted[i]);}
for (i=0; i<nSplitted.length; ++i) {nSplitted[i]=entify(nSplitted[i]);}
out = diff (oSplitted, nSplitted);
var str = "";
var acc=[]; // accumulator for prettier output
// crossing pairings -- eg 'A B' vs 'B A' -- cause problems, so let's iron them out
// this doesn't always do things optimally but it should be fast enough
var maxOutputPair=0;
for (i=0; i<out.n.length; ++i) {
if ( out.n[i].paired ) {
if( maxOutputPair > out.n[i].row ) {
// tangle - delete pairing
out.o[ out.n[i].row ]=out.o[ out.n[i].row ].text;
out.n[i]=out.n[i].text;
}
if (maxOutputPair < out.n[i].row) { maxOutputPair = out.n[i].row; }
}
}
// output the stuff preceding the first paired old line
for (i=0; i<out.o.length && !out.o[i].paired; ++i) { acc.push( out.o[i] ); }
str += delFmt(acc); acc=[];
// main loop
for ( i = 0; i < out.n.length; ++i ) {
// output unpaired new "lines"
while ( i < out.n.length && !out.n[i].paired ) { acc.push( out.n[i++] ); }
str += insFmt(acc); acc=[];
if ( i < out.n.length ) { // this new "line" is paired with the (out.n[i].row)th old "line"
str += out.n[i].text;
// output unpaired old rows starting after this new line's partner
var m = out.n[i].row + 1;
while ( m < out.o.length && !out.o[m].paired ) { acc.push ( out.o[m++] ); }
str += delFmt(acc); acc=[];
}
}
return str;
},
};
}());
4tdiwkqu5rff9inpgqska9o4aukpncu
MediaWiki:Gadget-a11y-page-status
8
47479
144160
2025-06-26T22:53:58Z
TiberiuFr25
11409
Pagină nouă: ''Stare pagină accesibilă:'' Adaugă un atribut ''title'' (afișat de obicei ca un ''tooltip'' în navigatoarele web) la butoanele radio [[Ajutor:Starea paginilor|stare pagină]] din spațiul de nume Pagină:
144160
wikitext
text/x-wiki
''Stare pagină accesibilă:'' Adaugă un atribut ''title'' (afișat de obicei ca un ''tooltip'' în navigatoarele web) la butoanele radio [[Ajutor:Starea paginilor|stare pagină]] din spațiul de nume Pagină:
fx5n47ax3ht9up7dslto6em403emv86
MediaWiki:Gadget-section-hidden
8
47480
144161
2025-06-26T22:54:14Z
TiberiuFr25
11409
Pagină nouă: Ascunse
144161
wikitext
text/x-wiki
Ascunse
i4sd9iq7nl8e1dogbunuj7zzi6ljhrt
MediaWiki:Gadget-section-admin-tools
8
47481
144162
2025-06-26T22:54:53Z
TiberiuFr25
11409
Pagină nouă: Unelte doar pentru [[Special:ListGroupRights#sysop|administratori]]
144162
wikitext
text/x-wiki
Unelte doar pentru [[Special:ListGroupRights#sysop|administratori]]
23q5zoug9ymhfyx5n3hd4y4mcha2qyy
MediaWiki:Gadget-notext
8
47482
144163
2025-06-26T22:57:37Z
TiberiuFr25
11409
Pagină nouă: {{informații gadget|D}} ''Goliți automat paginile „Fără text”:'' Goliți automat casetele de text din antet, corp și subsol atunci când faceți clic pe butonul radio de stare a paginii „Fără text”. Dacă vă răzgândiți și selectați o altă stare, textul vechi va fi restituit în casetele respective.
144163
wikitext
text/x-wiki
{{informații gadget|D}} ''Goliți automat paginile „Fără text”:'' Goliți automat casetele de text din antet, corp și subsol atunci când faceți clic pe butonul radio de stare a paginii „Fără text”. Dacă vă răzgândiți și selectați o altă stare, textul vechi va fi restituit în casetele respective.
9acvmjz1sbcb4cjv55t07rmk3sj5qqh
MediaWiki:Gadget-Easy LST
8
47483
144164
2025-06-26T23:00:01Z
TiberiuFr25
11409
Pagină nouă: {{informații gadget|D}} ''Easy LST'': Activeză sintaxa de etichetare ușoară a secțiunilor în spațiul de nume Pagină: ([[:en:Help:Gadget-Easy LST|documentație în limba engleză]]).
144164
wikitext
text/x-wiki
{{informații gadget|D}} ''Easy LST'': Activeză sintaxa de etichetare ușoară a secțiunilor în spațiul de nume Pagină: ([[:en:Help:Gadget-Easy LST|documentație în limba engleză]]).
30x05j0imoxgljq8dn3d5cg94sk4vkn
144165
144164
2025-06-26T23:00:16Z
TiberiuFr25
11409
144165
wikitext
text/x-wiki
{{informații gadget|D}} ''Easy LST'': Activeză sintaxa de etichetare a secțiunilor în spațiul de nume Pagină: ([[:en:Help:Gadget-Easy LST|documentație în limba engleză]]).
0uo9y2d9ua1q6hb4h8bu7ecetz6796v
MediaWiki:Gadget-nsPage
8
47484
144166
2025-06-26T23:01:11Z
TiberiuFr25
11409
Pagină nouă: {{informații gadget|D}} Stiluri implicite pentru spațiul de nume Pagină:
144166
wikitext
text/x-wiki
{{informații gadget|D}} Stiluri implicite pentru spațiul de nume Pagină:
rhnjuo8o34cfigdc47dbdom5yzxvoum
MediaWiki:Gadget-NopInserter
8
47485
144167
2025-06-26T23:02:36Z
TiberiuFr25
11409
Pagină nouă: Adaugă un buton în bara de instrumente pentru a introducere o întrerupere de paragraf de tip {{f|nop}} la sfârșitul paginii anterioare.
144167
wikitext
text/x-wiki
Adaugă un buton în bara de instrumente pentru a introducere o întrerupere de paragraf de tip {{f|nop}} la sfârșitul paginii anterioare.
9y965ed2gemrorwaroemz7z341z57vn
MediaWiki:Gadget-pilcrowMarkers
8
47486
144168
2025-06-26T23:04:08Z
TiberiuFr25
11409
Pagină nouă: Generate paragraph (pilcrow) markers, <b>¶</b> , in the left margin of the Page: namespace to indicate HTML paragraph tag starts. Adaugă marcaje de paragraf (de tip „pilcrow”), <b>¶</b> , în marginea stângă a spațiului de nume Pagină: pentru a indica începutul etichetelor de paragraf HTML.
144168
wikitext
text/x-wiki
Generate paragraph (pilcrow) markers, <b>¶</b> , in the left margin of the Page: namespace to indicate HTML paragraph tag starts.
Adaugă marcaje de paragraf (de tip „pilcrow”), <b>¶</b> , în marginea stângă a spațiului de nume Pagină: pentru a indica începutul etichetelor de paragraf HTML.
jotclgfsh1coyqx9rtse0w22dm4nk3s
144169
144168
2025-06-26T23:04:14Z
TiberiuFr25
11409
144169
wikitext
text/x-wiki
Adaugă marcaje de paragraf (de tip „pilcrow”), <b>¶</b> , în marginea stângă a spațiului de nume Pagină: pentru a indica începutul etichetelor de paragraf HTML.
ou5co7eqv4eteeinq6gqezkxyvzglb3
MediaWiki:Gadget-Preload Page Images
8
47487
144170
2025-06-26T23:06:24Z
TiberiuFr25
11409
Pagină nouă: Preîncarcă scanarea paginii următoare în fundal. În spațiul de nume Pagină:, acest gadget preîncarcă scanarea paginii următoare pentru a accelera încărcarea acesteia în viitor. Astfel, după ce faceți clic pe fila pentru a trece la pagina următoare, aceasta se va încărca mai repede. O linie verde sub buton ([[File:Preload prp page image notify icon (underline).png|16px]]) indică faptul că pagina următoare a fost preîncărcată.
144170
wikitext
text/x-wiki
Preîncarcă scanarea paginii următoare în fundal. În spațiul de nume Pagină:, acest gadget preîncarcă scanarea paginii următoare pentru a accelera încărcarea acesteia în viitor. Astfel, după ce faceți clic pe fila pentru a trece la pagina următoare, aceasta se va încărca mai repede. O linie verde sub buton ([[File:Preload prp page image notify icon (underline).png|16px]]) indică faptul că pagina următoare a fost preîncărcată.
1e9s34o93dxsw5mpsg907b943fd1yys
MediaWiki:Gadgets-pagetext
8
47488
144171
2025-06-26T23:09:34Z
TiberiuFr25
11409
Pagină nouă: Mai jos este o listă de gadgeturi speciale pe care utilizatorii le pot activa pe [[Special:Preferences#mw-prefsection-gadgets|pagina lor de preferințe]], conform [[MediaWiki:Gadgets-definition|definițiilor]] fiecăruia dintre gadgeturi. Această prezentare generală oferă un acces facil către paginile de mesaje ale sistemului în care sunt definite descrierea și codul fiecărui gadget.
144171
wikitext
text/x-wiki
Mai jos este o listă de gadgeturi speciale pe care utilizatorii le pot activa pe [[Special:Preferences#mw-prefsection-gadgets|pagina lor de preferințe]], conform [[MediaWiki:Gadgets-definition|definițiilor]] fiecăruia dintre gadgeturi. Această prezentare generală oferă un acces facil către paginile de mesaje ale sistemului în care sunt definite descrierea și codul fiecărui gadget.
ohk8olvu5m1mardkbqoszjsw827kz16
MediaWiki:Gadget-HotCat
8
47489
144173
2025-06-26T23:15:06Z
TiberiuFr25
11409
Pagină nouă: {{informații gadget|S}} '''HotCat''': adăugați/eliminați/modificați cu ușurință categorii pe pagini, inclusiv cu sugestii dinamice ([[Commons:Help:Gadget-HotCat|documentație la Commons]])
144173
wikitext
text/x-wiki
{{informații gadget|S}} '''HotCat''': adăugați/eliminați/modificați cu ușurință categorii pe pagini, inclusiv cu sugestii dinamice ([[Commons:Help:Gadget-HotCat|documentație la Commons]])
surk1ark6x6ybwiuar8bq2a1ke6sivu
MediaWiki:Gadget-popups
8
47490
144174
2025-06-26T23:17:14Z
TiberiuFr25
11409
Pagină nouă: {{informații gadget|S}} ferestre de tip [[w:Wikipedia:Tools/Navigation popups|pop-up]], cu capabilități integrate de [[:en:Help:Patrolling|patrulare]] a modificărilor
144174
wikitext
text/x-wiki
{{informații gadget|S}} ferestre de tip [[w:Wikipedia:Tools/Navigation popups|pop-up]], cu capabilități integrate de [[:en:Help:Patrolling|patrulare]] a modificărilor
g7yt15rmvkan7hsuypc5tpv8schplzd
MediaWiki:Gadget-RunningHeader
8
47491
144175
2025-06-26T23:19:39Z
TiberiuFr25
11409
Pagină nouă: ''Colontitluri'': Introduce anteturi și subsoluri adaptate automat, bazat pe celelalte pagini ([[:en:Help:Gadget-RunningHeader|documentație în engleză]])
144175
wikitext
text/x-wiki
''Colontitluri'': Introduce anteturi și subsoluri adaptate automat, bazat pe celelalte pagini ([[:en:Help:Gadget-RunningHeader|documentație în engleză]])
m05jb5ygfysuscwxcqoxmnm6zlvaq91
144176
144175
2025-06-26T23:20:05Z
TiberiuFr25
11409
144176
wikitext
text/x-wiki
''Colontitluri'': Introduce anteturi și subsoluri adaptate automat, bazate pe celelalte pagini din operă ([[:en:Help:Gadget-RunningHeader|documentație în engleză]])
se5vcp08jhs8achgkosbkwi1kcubawb
144177
144176
2025-06-26T23:20:15Z
TiberiuFr25
11409
144177
wikitext
text/x-wiki
''Colontitluri'': Introduce anteturi și subsoluri adaptate automat, bazate pe celelalte pagini ale lucrării ([[:en:Help:Gadget-RunningHeader|documentație în engleză]])
r8ehz6ev37f1dbzeyve365h5x6dz98i
MediaWiki:Gadget-ImageUploader
8
47492
144178
2025-06-26T23:22:06Z
TiberiuFr25
11409
Pagină nouă: {{informații gadget|E}} ''Wikisource Image Uploader'': adaugă o legătură, în paginile Index: și Pagină:, către formularul simplificat de încărcare a imaginilor ([[:en:Help:Gadget-ImageUploader|documentație în engleză]])
144178
wikitext
text/x-wiki
{{informații gadget|E}} ''Wikisource Image Uploader'': adaugă o legătură, în paginile Index: și Pagină:, către formularul simplificat de încărcare a imaginilor ([[:en:Help:Gadget-ImageUploader|documentație în engleză]])
1wv4svazzsg6uhxwd99kd0crdhgqshc
144179
144178
2025-06-26T23:22:15Z
TiberiuFr25
11409
144179
wikitext
text/x-wiki
{{informații gadget|E}} ''Wikisource Image Uploader:'' adaugă o legătură, în paginile Index: și Pagină:, către formularul simplificat de încărcare a imaginilor ([[:en:Help:Gadget-ImageUploader|documentație în engleză]])
qukzz2dxm1nhnboo68b7zi6k7wb629h
MediaWiki:Gadget-DisplayFooter.js
8
47493
144181
2025-06-27T07:42:21Z
TiberiuFr25
11409
Pagină nouă: /* MediaWiki:Gadget-DisplayFooter.js */ /* * Automatically generate page footer from values in {{header}} * by [[user:GrafZahl]] and [[user:Tpt]] */ /* eslint-disable one-var, vars-on-top, no-jquery/no-global-selector */ $(function () { // Only active in the main namespace // TODO: (for now; need to add Translation:) if (mw.config.get('wgNamespaceNumber') !== 0) { return; } // Disabled if explicitly requested. if ($("#nofooter").length !== 0) { return; } //...
144181
javascript
text/javascript
/* MediaWiki:Gadget-DisplayFooter.js */
/*
* Automatically generate page footer from values in {{header}}
* by [[user:GrafZahl]] and [[user:Tpt]]
*/
/* eslint-disable one-var, vars-on-top, no-jquery/no-global-selector */
$(function () {
// Only active in the main namespace
// TODO: (for now; need to add Translation:)
if (mw.config.get('wgNamespaceNumber') !== 0) {
return;
}
// Disabled if explicitly requested.
if ($("#nofooter").length !== 0) {
return;
}
// Grab the prev/next links from the {{header}}
var $headerBack = $(".wst-header-back-link");
var $headerForward = $(".wst-header-forward-link");
// If neither of them has content, bail.
if ($headerBack.length === 0 && $headerForward.length === 0) {
return;
}
// The footer div.
var $footer = $("<div>").addClass("ws-footer ws-noexport noprint dynlayout-exempt");
// Copy the previous link and add it to the footer
if ($headerBack.find("a").length !== 0) {
$headerBack.clone()
.removeAttr("id")
.removeClass("wst-header-back-link wst-header-back wst-header-previous")
.addClass("ws-footer-back")
.appendTo($footer);
} else {
$("<div>").addClass("ws-footer-back ws-footer-empty")
.appendTo($footer);
}
// Add the "return to top" text
var $footerCenter = $("<div>")
.addClass("ws-footer-center")
.append( // TODO: this message name is needlessly cryptic
$('<a href="#top">' + mw.msg('▲') + '</a>')
);
$footerCenter.appendTo($footer);
// Copy the next link and add it to the footer
if ($headerForward.find("a").length !== 0) {
$headerForward.clone()
.removeAttr("id")
.removeClass("wst-header-forward-link wst-header-forward wst-header-next")
.addClass("ws-footer-forward")
.appendTo($footer);
} else {
$("<div>").addClass("ws-footer-forward ws-footer-empty")
.appendTo($footer);
}
var $printlinksElt = $('.printfooter');
if ($printlinksElt.length !== 0) { // place footer before category box
$printlinksElt.after($footer);
} else {
$('#mw-content-text').after($footer);
}
});
1iixo971oecij13bh1x0rai1u8ji7gk
MediaWiki:Gadget-DisplayFooter.css
8
47494
144182
2025-06-27T07:43:45Z
TiberiuFr25
11409
Pagină nouă: /* The overall footer block. */ .ws-footer { clear: both; display: flex; flex-direction: row; justify-content: space-between; margin-top: 1em; margin-bottom: 4px; padding: .5em .1em; border: 1px solid var(--border-color-success, #ACA); background-color: var(--background-color-success-subtle, #E6F2E6); color: var(--color-base, #202122); font-size: .9em; } /* When prev/next link is empty the UA tends to collapse it to zero. */ .ws-footer .ws-footer-empty { min-widt...
144182
css
text/css
/* The overall footer block. */
.ws-footer {
clear: both;
display: flex;
flex-direction: row;
justify-content: space-between;
margin-top: 1em;
margin-bottom: 4px;
padding: .5em .1em;
border: 1px solid var(--border-color-success, #ACA);
background-color: var(--background-color-success-subtle, #E6F2E6);
color: var(--color-base, #202122);
font-size: .9em;
}
/* When prev/next link is empty the UA tends to collapse it to zero. */
.ws-footer .ws-footer-empty {
min-width: 1em;
}
/* The previous (back) link. */
.ws-footer-back {
text-align: left;
}
.ws-footer-back::before {
content: "←";
}
.ws-footer-back.ws-footer-empty {
content: " "; /* Non-breaking space to avoid collapsing. */
}
.ws-footer-back.ws-footer-empty::before {
content: ""; /* Hide arrow when empty. */
}
/* The next (forward) link. */
.ws-footer-forward {
text-align: right;
}
.ws-footer-forward::after {
content: "→";
}
.ws-footer-forward.ws-footer-empty {
content: " "; /* Non-breaking space to avoid collapsing. */
}
.ws-footer-forward.ws-footer-empty::after {
content: ""; /* Hide arrow when empty. */
}
/* The central block. */
.ws-footer-center {
text-align: center;
}
a9ascbbsicv917j4hcibvwtqeu0tliv
MediaWiki:Gadget-Site.css
8
47495
144183
2025-06-27T07:47:16Z
TiberiuFr25
11409
Pagină nouă: /* MediaWiki:Gadget-Site.css */ /* * Global styles for enWS, applied on every page view */ /* Hide firstHeading etc. & timestamp on edit-protected Main Page */ .page-Main_Page.action-view #siteSub, .page-Main_Page.action-view #contentSub, .page-Main_Page #footer-info-lastmod { display: none !important; } /* show deleted text hidden by CopyVio template */ .page-Special_Undelete div#copyvio { display: block !important; } /* #### Category formatting #### */ /* displays hi...
144183
css
text/css
/* MediaWiki:Gadget-Site.css */
/*
* Global styles for enWS, applied on every page view
*/
/* Hide firstHeading etc. & timestamp on edit-protected Main Page */
.page-Main_Page.action-view #siteSub,
.page-Main_Page.action-view #contentSub,
.page-Main_Page #footer-info-lastmod {
display: none !important;
}
/* show deleted text hidden by CopyVio template */
.page-Special_Undelete div#copyvio {
display: block !important;
}
/* #### Category formatting #### */
/* displays hidden categories with a smaller font, and separates below normal categories */
#mw-hidden-catlinks {
font-size: 90%;
}
/*
* enWS-specific tweaks to upstream extensions etc.
*/
/***********
* Score extension
***********/
.mw-ext-score {
display: table;
margin: auto;
}
/* Prevent scores spilling over [[phab:T67252]] */
.mw-ext-score img {
max-width: 100%;
height: auto;
}
/***********
* Poem extension
***********/
/* Avoid extra margins between transcluded pages */
.poem {
line-height: inherit;
margin-top: 0;
margin-bottom: 0;
text-indent: inherit;
}
.poem p {
margin-top: 0 !important;
margin-bottom: 0 !important;
text-indent: inherit !important;
/* white-space: nowrap !important; */
}
.poem .mw-poem-indented {
margin-top: 0 !important;
margin-bottom: 0 !important;
text-indent: inherit !important;
white-space: nowrap !important;
}
/* Inhibit div with defined-list wiki mark-up for indentation */
.poem dl {
margin-top: 0 !important;
margin-bottom: 0 !important;
text-indent: inherit !important;
}
.poem dd {
margin-top: 0 !important;
margin-bottom: 0 !important;
text-indent: inherit !important;
}
/* @end */
jb3tbi0k5z84hfq12tj1ml7losl8ou3
MediaWiki:Gadget-SiteMessages.js
8
47496
144184
2025-06-27T07:54:01Z
TiberiuFr25
11409
Pagină nouă: /** * Central message storage */ /** * Messages are configurable here */ mw.messages.set( { 'author':'Autor', 'translator':'Traducător', 'editor':'Editor', 'publisher':'Editură', 'place':'Loc', 'volume':'Volum', 'school':'Școală', 'book':'Carte', 'collection':'Colecție', 'journal':'Jurnal sau revistă', 'phdthesis':'Teză, raport', 'dictionary':'Dicționar', 'progress':'Progres', 'progress_T':'Terminat', 'progress_V':'Trebuie validat', 'progress_C':'...
144184
javascript
text/javascript
/**
* Central message storage
*/
/**
* Messages are configurable here
*/
mw.messages.set( {
'author':'Autor',
'translator':'Traducător',
'editor':'Editor',
'publisher':'Editură',
'place':'Loc',
'volume':'Volum',
'school':'Școală',
'book':'Carte',
'collection':'Colecție',
'journal':'Jurnal sau revistă',
'phdthesis':'Teză, raport',
'dictionary':'Dicționar',
'progress':'Progres',
'progress_T':'Terminat',
'progress_V':'Trebuie validat',
'progress_C':'Trebuie verificat',
'progress_MS':'Gata pentru transcludere',
'progress_OCR':'Fișierul sursă are nevoie de un strat OCR',
'progress_L':'Fișierul sursă are greșeli (pagini lipsă etc.)',
'progress_X':'Trebuie adăugată o listă de pagini',
'▲':'Reveniți la începutul paginii.',
'iwtrans':'Textul său provine din',
'iwtrans2':'Textul său provine din alte subdomenii Wikisource.',
'page_namespace_name': 'Pagină',
'page_trascluded_in': 'Pagină transclusă în:',
'text_number': 'Text',
'compare_with': 'Comparație cu:',
'compare_texts': 'Compară textele'
} );
bz5c5vw8it05fv1g3k3u32wqeuumeca
Format:Aspect implicit
10
47497
144187
2025-06-27T08:18:38Z
TiberiuFr25
11409
Pagină nouă: <span style="display:none" id="dynamic_layout_overrider">{{{1|Aspect 1}}}</span><noinclude> {{documentație}} </noinclude>
144187
wikitext
text/x-wiki
<span style="display:none" id="dynamic_layout_overrider">{{{1|Aspect 1}}}</span><noinclude>
{{documentație}}
</noinclude>
d0bgmgrheli71i6c10ym1z59bx22rdn