Wikipédia:Kaviareň/Technické
Stôl diskusií o technických otázkach v Kaviarni sa používa na diskusie o technických veciach na Wikipédii.
Prosím, podpíšte sa menom a dátumom (použite ~~~~ alebo kliknite na symbol podpisu v paneli nástrojov).
Archív technických tém
Diskusie pri tomto stole staršie ako 30 dní (dátum poslednej reakcie) sú presúvané do archívu.
- archív: 2004 · 2005 · 2006 · 2007 · 2008 · 2009 · 2010 · 2011 · 2012 · 2013 · 2014 · 2015 · 2016 · 2017 · 2018 · 2019 · 2020
Severné Macedónsko
Zdravím! Všimol som si dnes, že po premenovaní Macedónska na Severné Macedónsko sme síce premiestnili článok a presmerovali nejaké wikilinky, ale s kategóriami sme nepohli. Niektoré z nich som teda popresúval, ale ešte niektoré ostali (potrebujem aj do práce pracovať). Otázne je ako vyriešiť prídavné meno, teda kategórie typu Kategória:Macedónske osobnosti v kultúre. Presunúť na severomacedónske osobnosti?--Jetam2 (diskusia) 09:02, 3. apríl 2020 (UTC)
- Nikto nič?--Jetam2 (diskusia) 12:56, 7. apríl 2020 (UTC)
- @Jetam2: [1] – podľa mňa presunúť. --TomášP ✉ 13:38, 7. apríl 2020 (UTC)
- Rovnako Názvy štátov používa prídavné meno „severomacedónska“, takže aj pri kategóriach by som tak šiel. Vasiľ (diskusia) 17:40, 7. apríl 2020 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Problems
- There was a problem with user pages not being shown properly on desktop. This was because of a bug. It will soon be fixed. [2]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 7 April. It will be on non-Wikipedia wikis and some Wikipedias from 8 April. It will be on all wikis from 9 April (calendar).
Future changes
- MediaWiki will use a newer version of Unicode. Some characters that did not have an upper case equivalent before do now. Titles beginning with one of these characters will be moved. A list of these titles can be seen on Phabricator. The titles will be renamed by the user
Maintenance script
. This will start on 13 April 2020. You can rename them before this if you wish and the new title can be different from the one the script would rename it to. [3]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
19:01, 6. apríl 2020 (UTC)
Editing news 2020 #1 – Discussion tools
Read this in another language • Subscription list for this multilingual newsletter
The Editing team has been working on the talk pages project. The goal of the talk pages project is to help contributors communicate on wiki more easily. This project is the result of the Talk pages consultation 2019.
The team is building a new tool for replying to comments now. This early version can sign and indent comments automatically. Please test the new Reply tool.
- On 31 March 2020, the new odpovedať tool was offered as a Beta Feature editors at four Wikipedias: Arabic, Dutch, French, and Hungarian. If your community also wants early access to the new tool, contact User:Whatamidoing (WMF).
- The team is planning some upcoming changes. Please review the proposed design and share your thoughts on the talk page. The team will test features such as:
- an easy way to mention another editor ("pinging"),
- a rich-text visual editing option, and
- other features identified through user testing or recommended by editors.
To hear more about Editing Team updates, please add your name to the "Get involved" section of the project page. You can also watch these pages: the main project page, Updates, Replying, and User testing.
– PPelberg (WMF) (talk) & Whatamidoing (WMF) (talk)
19:27, 8. apríl 2020 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- You can now use the
articletopic
search word on all Wikipedias. It searches articles by topic. [4] - You can see wiki tools in the new Tools Gallery. [5]
- You can see edits from the Wikimedia Cloud Services in a new dashboard.
- When you use filters on a history page you sometimes don't see any edits. There is a text explaining this now. Before it was just empty. [6]
- There is a new Wikimedia Technical Blog. [7]
Problems
- There was a problem with the Wikidata database last week. Some wikis went down for twenty minutes. Wikidata and other projects showed error messages. Interwiki links were not shown, some tools did not work and other problems. Some of this was fixed quickly. The developers are working on fixing the rest. [8][9][10]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from April 14. It will be on non-Wikipedia wikis and some Wikipedias from April 15. It will be on all wikis from April 16 (calendar).
Future changes
- Some graphs have not worked on mobile. This will soon be fixed. [11]
- The article tab on talk pages of redirects links to the target of the redirect. It could link to the redirect page itself instead. You can leave feedback on this.
- For pages using syntax highlighting, the use of the deprecated
<source>
tag, as well as the use of the deprecatedenclose
parameter, will add tracking categories.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
15:30, 13. apríl 2020 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Tech News
- The next issue of Tech News will be sent out on 4 May 2020.
Recent changes
- The small wiki toolkits is to help smaller wikis that need technical skills. They can learn and share technical skills. [12]
- Over-qualified CSS selectors in Wikimedia skins have been removed.
div#content
is now.mw-body
.div.portal
is now.portal
.div#footer
is now#footer
. This is so the skins can use HTML5 elements. If your gadgets or user styles used them you will have to update them. [13]
Changes later this week
- There is no new MediaWiki version this week.
Future changes
- Some things on the wikis might look weird or not work in Internet Explorer 8 in the future. Internet Explorer 8 was replaced in 2011. [14]
- The font in the diffs will change. [15]
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 28 April next week. It will be on non-Wikipedia wikis and some Wikipedias from 29 April next week. It will be on all wikis from 30 April next week (calendar).
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
18:44, 20. apríl 2020 (UTC)
Technical maintenance planned
(Sorry for using English. Pomôžte prosím s prekladom do svojho jazyka.)
A maintenance operation will be performed on Thursday 30th April at 05:00 AM UTC.
It impacts all wikis and is supposed to last a few minutes.
During this time, new translations may fail, and Notifications may not be delivered. For more details about the operation and on all impacted services, please check on Phabricator.
A banner will be displayed 30 minutes before the operation.
Please help making your community aware of this maintenance operation.
Trizek (WMF), 18:01, 27. apríl 2020 (UTC)
Reminder: Technical maintenance planed
Sorry to use English. Pomôžte prosím s prekladom do svojho jazyka.
This is a reminder of the message sent on Monday 27th April.
A maintenance operation will be performed on Thursday 30th April at 05:00 AM UTC.
It impacts all wikis and is supposed to last a few minutes.
During this time, new translations may fail, and Notifications may not be delivered. For more details about the operation and on all impacted services, please check on Phabricator.
A banner will be displayed 30 minutes before the operation.
Please help making your community aware of this maintenance operation.
Trizek (WMF) 15:13, 29. apríl 2020 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Problems
- Some wikis will be on read-only for a few minutes on 5 May. This will happen around 05:00 UTC. This is for database maintenance. [16]
- Some wikis will be on read-only for a few minutes on 7 May. This will also affect CentralAuth. This can for example affect global renames, password changes, changing or confirming your email address and logging in to new wikis. This will happen around 05:00 UTC. This is for database maintenance. [17]
Changes later this week
- You can get a notification when someone links to a page you created. You can soon turn these notifications off for individual pages. [18]
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 5 May. It will be on non-Wikipedia wikis and some Wikipedias from 6 May. It will be on all wikis from 7 May (calendar).
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
16:59, 4. máj 2020 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- Everyone can now import photos from Flickr to Commons with the UploadWizard. Before this only autopatrollers on Commons could import photos from Flickr. [19]
Problems
- Commons will be on read-only for a few minutes on 12 May. This will happen around 05:00 UTC. This is for database maintenance. [20]
- Several wikis including Wikidata will be on read-only for a few minutes on 19 May. This will happen around 05:00 UTC. English Wikipedia will be on read-only for a few minutes on 21 May 05:00 UTC. This is for database maintenance. [21][22]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 12 May. It will be on non-Wikipedia wikis and some Wikipedias from 13 May. It will be on all wikis from 14 May (calendar).
Future changes
- JavaScript scripts and gadgets can no longer check multiple keys at once via
mw.config.exists()
ormw.user.tokens.exists()
. You can useexists()
orget()
to check one at a time instead. [23]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
20:40, 11. máj 2020 (UTC)
Obyvateľstvo v rakúskych obciach
Všimla som si, že šablóny na počet obyvateľov v rakúskych obciach sú s dátumom k 01. 01. 2014. Na de wiki je už údaj k 01. 01. 2019. Poprosím technických majstrov o aktualizáciu.--Lalina (diskusia) 20:40, 12. máj 2020 (UTC)
- Teslaton (diskusia) 11:07, 22. máj 2020 (UTC)
- Taktiež nemám na to chuť ani kapacitu.--Jetam2 (diskusia) 11:29, 22. máj 2020 (UTC)
Je to vec na ľudí, ktorí to sem importovali. Buď by bolo treba aktualizovať dátové šablóny, alebo to preklopiť na ťahanie z Wikiúdajov, alebo neaktualizovať ID obcí. Ja sa starám o SK obce, konzistencia a aktuálnosť AT je už mimo môj scope a časové možnosti. --
Záporné čísla v tabuľke
Pri úprave stránky Pandémia koronavírusu SARS-CoV-2 na Slovensku som pridal do tabuľky záporné čísla (zmena počtu aktívnych prípadov), ale znak "-" tabuľka chápe ako nový riadok. Čo mám použiť namiesto neho? (Upravím to sám, len trochu zmením python program a mám to za minútu) 1Mmarek (diskusia) 15:56, 18. máj 2020 (UTC)
- Vyriešil som to tak, že som "-" zamenil za "{{--}}". Vyzerá to čudne, keďže je to omnoho širšie než normálne mínus (-5 vs. – 5), ale určite je to zlepšenie oproti trhaniu riadkov. 1Mmarek (diskusia) 16:18, 18. máj 2020 (UTC)
- {{--}} vkladá pomlčku (U+2013,
–
, „–“), navyše ešte obalenú nedeliteľnými medzerami a používa sa na typograficky korektnú sadzbu číselných rozsahov (1{{--}}5
→ „1 – 5“). Znak mínus je odlišný od pomlčky (U+2212,−
, „−“), v tabuľkách sa ale bežne používa ASCII variant pre mínus/spojovník (U+002D, „-“), dostupný z klávesnice. Pointa je, že hodnoty buniek sa vo wikimarkupe štandardne odsadzujú medzerou [24], potom záporné č. s tagmi pre začiatok bunky nekolidujú. Ďalšia vec, že číselné hodnoty je v tabuľkách dobrým zvykom zarovnávať doprava, aby boli rády pod sebou, v tomto prípade je možné doprava zarovnať všetky dátové bunky tabuľky. --Teslaton (diskusia) 17:02, 18. máj 2020 (UTC)- Ďakujem za vyjasnenie a opravu; mínusy, pomlčky i spojovníky ma vždy mýlili --1Mmarek (diskusia) 10:03, 19. máj 2020 (UTC)
To pls. nerob, š.
- {{--}} vkladá pomlčku (U+2013,
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- If you forget your password you can ask for a new one to be sent to your email address. You need to know your email address or your username. You can choose that you need to enter both your email address and your username. This is a preference. This is to get fewer password reset emails someone else asked for. This is now available on all Wikimedia wikis. [25][26]
Problems
- There is a bug that creates problems for iPhone users with iOS 13 and Safari. If you use an iPhone to read or edit Wikipedia and see bugs on the mobile site you can report them. [27]
- Several wikis including Wikidata will be on read-only for a few minutes on 19 May. This will happen around 05:00 UTC. English Wikipedia will be on read-only for a few minutes on 21 May 05:00 UTC. This is for database maintenance. [28][29]
Changes later this week
- The Wikipedia app for Android can let users add depicts on Commons. The beta version used computer-aided tagging. This was removed to get more specific depicts. [30]
- There is no new MediaWiki version this week.
Future changes
- Graphs will be rendered in the reader's browser. This will use Javascript. Graphs will hopefully work better for everyone who uses Javascript. It will not work for users who don't use Javascript. This will not affect diagrams in image files. [31]
- Some CSS for the skins has been simplified. This affects
div#p-personal
,div#p-navigation
,div#p-interaction
,div#p-tb
,div#p-lang
,div#p-namespaces
,div#p-variants
anddiv#footer
. They will have to removediv
. You will have to update your gadgets, scripts or user styles. This is so we can use HTML5. [32] - Some CSS for the Vector skin has been changed. This affects
#p-variants
,#p-namespaces
,#p-personal
,#p-views
and#p-cactions
. They can no longer use> ul
. You might need to update your gadgets, scripts or user styles. See how.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
17:18, 18. máj 2020 (UTC)
Kategória pre olympionikov, ktorým boli odobraté medaily
Zdravím! Ako naformulovať kategóriu pre olympionikov, ktorým boli odobraté medaily? Skúsil som Kategória:Olympionici s odobratými medailami, ale znie to akoby tie medaily (ešte) mali. Máte niekto nápad? Vďaka.--Jetam2 (diskusia) 17:07, 22. máj 2020 (UTC)
- Olympionici, ktorým boli odobraté medaily?
- Olympionici po odobratí medailí?
- Olympionici zbavení [olympijských] medailí?
- Súťažiaci zbavení olympijských medailí? (je ešte na mieste „olympionici“?)
- Športovci zbavení olympijských medailí? (ak nie Olympionici, tak asi skôr Športovci, je to konzistentnejšie s kat., ktoré tu už máme [33])
- --Teslaton (diskusia) 17:32, 22. máj 2020 (UTC)
- Dobrá pripomienka či je vôbec na mieste „olympionici“. Celkom sa prikláňam k poslednému návrhu. Hm, akosi som si myslel, že čiarky sa technicky nedajú použiť, ale pokiaľ áno, aj tá prvá je ok. Iné názory?--Jetam2 (diskusia) 17:51, 22. máj 2020 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Changes later this week
- The visual editor will now work in the Modern skin. The changes that needed to happen for this to work could cause problems for some scripts or gadgets. [34]
- The new version of MediaWiki will be on test wikis and MediaWiki.org from May 26. It will be on non-Wikipedia wikis and some Wikipedias from May 27. It will be on all wikis from May 28 (calendar).
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
14:17, 25. máj 2020 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- There is a new beta version of the Wikimedia Commons app for Android. It has a new zoom function when you look at images. It can also suggest places when you upload geotagged photos. [35]
Problems
- There was a problem with the Commons database on 27 May. Commons could not be edited for eight minutes. Because of this problem the database was moved. This caused another short read-only time on 29 May. [36][37][38]
- The Vector skin had a problem where you couldn't add links to the article in other languages. You couldn't see the section if there were no links to other languages already. It also removed content translation links and links to language settings. This has now been fixed. [39]
Changes later this week
- You can get a notification when someone links to a page you created. You can turn these notifications off for individual pages. You can soon turn them off also in the notifications you get. [40]
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 2 June. It will be on non-Wikipedia wikis and some Wikipedias from 3 June. It will be on all wikis from 4 June (calendar).
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
22:30, 1. jún 2020 (UTC)
Šablóna Infoboxu
Vytvoril som novú šablónu Šablóna:Infobox protest, podľa šablóny Šablóna:Infobox Bitka. Do syntaxu vytvárania šablón sa veľmi nevyznám a chvíľu mi trvalo, kým som dosiahol to, čo som s tou šablónou chcel dosiahnuť, lenže má jeden problém. Hociaký text, ktorý sa dá ďalej na stránke, za tú šablónu, tak sa vloží na koniec do vnútra Infoboxu. To sa mi stalo aj na tejto rozpracovanej stránke, kde som vložil sekciu Zdroje. Tá sa vložila priamo na spodok infoboxu. Ak by ste to niekto vedel napraviť, poprípade vysvetliť mi, ako to môžem napraviť, budem vám veľmi vďačný :). - Matroxko 💬 ✒️ 01:55, 2. jún 2020 (UTC)
- @Matroxko: Myslím si, že vhodnejšie by bolo použiť priamo šablónu Šablóna:Infobox, namiesto taubľky, ktorá je štylizovaná ako infobox. Tam by mali problémy tohto druhu zaniknúť. --KasciJ 06:15, 2. jún 2020 (UTC)
- Šablónu ktorú si vytvoril už tu máme takže je to zbytočná duplicita a treba používať len jednu, túto treba zmazať. Rovnakú šablónu na takéto účely máš tu - Šablóna:Infobox Konflikt, anglická je tu Template:Infobox civil conflict, ktorá sa používa aj na protesty. Keď ti tam chýbajú nejaké položky stačí len doplniť pôvodnú, nie vytvárať novú.--2A02:AB04:27BD:D900:955:1473:96B3:880B 15:21, 4. jún 2020 (UTC)
- Áno, už som si to všimol. Napísal som o tom v diskusii k šablóne protest. Tak trochu upravím Šablóna: Infobox Konflikt a vymažem tie šablóny spojiť s na ostatných stránkach. Keď to spravím, napíšem sem, aby niekto potom vymazal šablónu protest - Matroxko 💬 ✒️ 15:49, 4. jún 2020 (UTC)
- Pokúsil som sa upraviť tú šablónu konflikt, ale niečo tam nie je dobre. Teraz je robená pomocou wikitable a ja v tom mám taký menši chaos, ale ak by som mohol tak ju spravím cez Infobox. Alebo ak by to niekto vedel napraviť, tak prosím aj tak urobte. Ďakujem - Matroxko 💬 ✒️ 16:25, 4. jún 2020 (UTC)
- Šablóna:Infobox Konflikt je už prerobená a použitá aj v článku Protesty po smrti Georga Floyda. Všetky 3 články, v ktorých bola použitá Šablóna:Infobox Konflikt, pred tým, ako som ju teraz upravil, som aktualizoval. Tým pádom sa môže Šablóna:Infobox protest zmazať. - Matroxko 💬 ✒️ 17:18, 4. jún 2020 (UTC)
- Ešte by bolo dobre nejako poriešiť tu koláž v infoboxe. Zobrazuje sa zle, ostáva tam hore „[[Obrázok:“ a dole „|300px“. --2A02:AB04:27BD:D900:955:1473:96B3:880B 17:31, 4. jún 2020 (UTC)
- Áno, už som si to všimol. Napísal som o tom v diskusii k šablóne protest. Tak trochu upravím Šablóna: Infobox Konflikt a vymažem tie šablóny spojiť s na ostatných stránkach. Keď to spravím, napíšem sem, aby niekto potom vymazal šablónu protest - Matroxko 💬 ✒️ 15:49, 4. jún 2020 (UTC)
- Šablónu ktorú si vytvoril už tu máme takže je to zbytočná duplicita a treba používať len jednu, túto treba zmazať. Rovnakú šablónu na takéto účely máš tu - Šablóna:Infobox Konflikt, anglická je tu Template:Infobox civil conflict, ktorá sa používa aj na protesty. Keď ti tam chýbajú nejaké položky stačí len doplniť pôvodnú, nie vytvárať novú.--2A02:AB04:27BD:D900:955:1473:96B3:880B 15:21, 4. jún 2020 (UTC)
Vyhľadávací box v Monobooku
Čaute. Nejaké nedávne zmeny/aktualizácie MW mali za následok, že sa vyhľadávací box v skine Monobook dostal až na spodok ľavého sidebaru (defaultného Vectoru sa to netýka, ten má vyhľadávanie hore v záhlaví). Vrátil som ho hore, nepamätal som si ale už, či bol pôvodne úplne hore pod logom, alebo až pod sekciou „navigácia“, takže som to robil iteratívne a nechal som ho nakoniec úplne hore [41]. Spätne ale pozerám v hist. screenshotoch ([42] napr.), že bol zrejme až pod navigáciou. Pokiaľ by nevyhovovalo súčasné umiestnenie pod logom (ergonomickú logiku to má a majú to tak v Monobooku na viacerých wiki – de, cz napr.), dajte vedieť, presuniem ho pod navigáciu. --Teslaton (diskusia) 17:43, 5. jún 2020 (UTC)
Infobox číslo
Chcel by som prerobiť Infobox číslo tak, aby vyzeral ako na anglickej alebo českej wiki. Už som s tým začal a skoro to tak aj vyzerá, len mám jeden problém. Infobox je zatiaľ len ako pieskovisko, aby sa neporušil vzhľad stránok o číslach. Ak si to pozriete, tak si všimnete, že to číslo, o ktorom je stránka, je v tabuľke a má iný font (V dokumentácii je ako príklad 1). S tým by som potreboval pomôcť. Skúšal som už rôzne veci a aj som hľadal v kóde anglického a českého Infoboxu, ale aj tak som to nevedel napraviť. Tak, ak to niekto viete opraviť, tak prosím, aj tak urobte. Ďakujem pekne. - Matroxko 💬 ✒️ 20:03, 8. jún 2020 (UTC)
- Teslaton (diskusia) 20:08, 8. jún 2020 (UTC)
- Matroxko 💬 ✒️ 20:16, 8. jún 2020 (UTC)
- Nateraz len takto [43] (problém sú tam tie zalomenia riadkov, pretože vo wikimarkupe spôsobujú vkladanie
<p>...<p>
resp. v kombinácii s medzerami pred normálnym obsahom riadku aj<pre>...</pre>
). Momentálne nemám viac času na nejaký zmysluplnejší feedback k úpravám tej š., možno niekto iný sa ešte ozve. --Teslaton (diskusia) 20:27, 8. jún 2020 (UTC)- Takto je to podľa mňa super. Môže sa zmeniť Infobox číslo na ten z pieskoviska? - Matroxko 💬 ✒️ 20:33, 8. jún 2020 (UTC)
- Počkal by som ešte pár dní na prípadný feedback. --Teslaton (diskusia) 20:34, 8. jún 2020 (UTC)
- Jasné. Ešte by som chcel vyladiť ten navigačný riadok s číslami, aby nemuseli byť samostatné podšablóny, ale aby sa to spravilo automaticky podľa zadaného čísla. - Matroxko 💬 ✒️ 20:38, 8. jún 2020 (UTC)
- infobox už je hotový. Otestoval som to aj s rôzne veľkými číslami a funguje to. Rád by som obohatil našu wiki o viac článkov o číslach, lenže by som to chcel robiť až po tom, keď bude tento nový infobox na miesto toho starého. Viem, že si písal, že by sme mohli počkať na prípadný feedback, ale vyzerá to, že už je všetko v poriadku. Tak teraz neviem, či sa tu musím spýtať, či tak môžem urobiť alebo to môžem zmeniť už teraz. Ďakujem - Matroxko 💬 ✒️ 08:53, 9. jún 2020 (UTC)
- [44], pastneš ho do š. {{Infobox číslo}} (bez uloženia obsahu) a necháš si cez spodné „Náhľad stránky s touto šablónou“ zobraziť obsah čl. 2147483647, sú tam pri volaní nového IB chyby. Túto funkcionalitu je dobré celkovo využívať pri úpravách š. (namiesto opakovaného ukladania rozpracovanej ostrej š. a pozerania dotknutých článkov), pretože šetrí prostriedky (každé uloženie š. vyvolá invalidáciu keší stránok kde je použitá) a hlavne neobťažuje čitateľov prípadnými chybami v rozpracovanej š. Ďalší tool, čo sa môže hodiť pri ladení š. resp. komplexnejšieho wikimarkupu je potom Special:ExpandTemplates. --Teslaton (diskusia) 11:21, 9. jún 2020 (UTC)
- {{Infobox číslo}} je použité {{{meno čísla}}}, ako hlavný nadpis v Infoboxe, zatiaľ čo Šablóna:Infobox číslo/pieskovisko je ako hlavný nadpis {{{číslo}}}. Skúsil som to dať do dokumentácie a všetko pekne funguje, aj pri takýchto veľkých číslach. - Matroxko 💬 ✒️ 11:33, 9. jún 2020 (UTC)
- Pokiaľ tým plánuješ nahradiť existujúcu š., bolo by žiadúce spraviť ju spätne kompatibilnú (napr. cez defaultné hodnoty parametrov,
{{{parameter|{{{starý parameter|...}}}}}}
), minimálne do momentu, kým budú upravené všetky volania (pokiaľ je nevyhnutné ich prechádzať a meniť, lepšie je, keď netreba). Ten problém sa týka viacerých čl. (námatkovo 555 (číslo) a asi aj ďalšie). V každom prípade treba predísť stavu (aj prechodnému), kedy po uložení novej verzie š., bude zobrazovaná v článkoch chybne. --Teslaton (diskusia) 11:43, 9. jún 2020 (UTC)- Matroxko 💬 ✒️ 12:00, 9. jún 2020 (UTC)
- Aj keď ich plánuješ prerábať, novú verziu š. treba vložiť vždy v takej podobe, ktorá nebude v článkoch ani prechodne (do momentu úpravy všetkých volaní) problematická. Aj tak by som ale s úpravou pre protokol počkal pár dní, aby si prípadní záujemci mohli v kľude pozrieť navrhovanú podobu (redaktorov je na skwiki málo a nekontrolujú kaviareň denne). Ja som na to napr. rovnako zatiaľ nemal moc čas a nie som si takto narýchlo istý, či som s tým poňatím stotožnený. --Teslaton (diskusia) 12:13, 9. jún 2020 (UTC)
- diskusiu k šablóne? Ešte k tomu prechodnému stavu. Mám čas, takže si môžem spravit tie Infoboxy len v nejakom textovom editore u mňa na pc a potom ich len nakopírujem, čo zaberie len pár minút. - Matroxko 💬 ✒️ 13:16, 9. jún 2020 (UTC) Ok v pohode počkajme. Stačí, že je tu táto diskusia v kaviarni alebo mám spraviť novú
To je to, o čom som hovoril, že by som chcel prerobiť už existujúce články, teda minimálne ich infoboxy, aby vyhovovali tomu novému. Ako ja mám dnes čas celý deň a článkov s Infoxom čislo je iba 30. - - Aj keď ich plánuješ prerábať, novú verziu š. treba vložiť vždy v takej podobe, ktorá nebude v článkoch ani prechodne (do momentu úpravy všetkých volaní) problematická. Aj tak by som ale s úpravou pre protokol počkal pár dní, aby si prípadní záujemci mohli v kľude pozrieť navrhovanú podobu (redaktorov je na skwiki málo a nekontrolujú kaviareň denne). Ja som na to napr. rovnako zatiaľ nemal moc čas a nie som si takto narýchlo istý, či som s tým poňatím stotožnený. --Teslaton (diskusia) 12:13, 9. jún 2020 (UTC)
- Matroxko 💬 ✒️ 12:00, 9. jún 2020 (UTC)
Chyby ukazuje preto, lebo sú v šablóne zmenené názvy pre dáta. V šablóne - Pokiaľ tým plánuješ nahradiť existujúcu š., bolo by žiadúce spraviť ju spätne kompatibilnú (napr. cez defaultné hodnoty parametrov,
Skús v tom drafte pls. ešte pozrieť vetvu pre veľké č. Keď zoberieš svoj kód z - {{Infobox číslo}} je použité {{{meno čísla}}}, ako hlavný nadpis v Infoboxe, zatiaľ čo Šablóna:Infobox číslo/pieskovisko je ako hlavný nadpis {{{číslo}}}. Skúsil som to dať do dokumentácie a všetko pekne funguje, aj pri takýchto veľkých číslach. - Matroxko 💬 ✒️ 11:33, 9. jún 2020 (UTC)
Ako som včera písal, tak sa mi podarilo spraviť ten navigačný riadok s ostatnými číslami a vyzerá to tak, že - [44], pastneš ho do š. {{Infobox číslo}} (bez uloženia obsahu) a necháš si cez spodné „Náhľad stránky s touto šablónou“ zobraziť obsah čl. 2147483647, sú tam pri volaní nového IB chyby. Túto funkcionalitu je dobré celkovo využívať pri úpravách š. (namiesto opakovaného ukladania rozpracovanej ostrej š. a pozerania dotknutých článkov), pretože šetrí prostriedky (každé uloženie š. vyvolá invalidáciu keší stránok kde je použitá) a hlavne neobťažuje čitateľov prípadnými chybami v rozpracovanej š. Ďalší tool, čo sa môže hodiť pri ladení š. resp. komplexnejšieho wikimarkupu je potom Special:ExpandTemplates. --Teslaton (diskusia) 11:21, 9. jún 2020 (UTC)
- Počkal by som ešte pár dní na prípadný feedback. --Teslaton (diskusia) 20:34, 8. jún 2020 (UTC)
- Takto je to podľa mňa super. Môže sa zmeniť Infobox číslo na ten z pieskoviska? - Matroxko 💬 ✒️ 20:33, 8. jún 2020 (UTC)
Ok, už som to zmenil, odstránil som to krikľavé pozadie a zmenil farbu textu na takú tmavšiu červenú. Dúfam, že takto to môže ostať. Ohľadom toho Infoboxu, by si to nevedel spraviť? - - Nateraz len takto [43] (problém sú tam tie zalomenia riadkov, pretože vo wikimarkupe spôsobujú vkladanie
Prosím ťa, ak sa dá, zruš si v prvom rade ten krikľavý červeno-biely box, vkladaný namiesto štandardného podpisu. Som si vedomý, že podpisy sa dajú customizovať, no toto predstavuje brutálny vizuálny smog na každej DS, kde sa vyskytneš. Meno v podobe normálneho štandardného wikilinku s tými ikonkami za tým by podľa mňa mohlo ako customizácia stačiť. Vďaka za zváženie. -- - Matroxko 💬 ✒️ 20:16, 8. jún 2020 (UTC)
Latest tech news from the Wikimedia technical community. Please tell other users about these changes. Not all changes will affect you. Translations are available.
Recent changes
- Some articles have tables that can be sorted in different ways. For example a list of countries can be sorted alphabetically but you can click on the size column to sort them by size. If you clicked on the column a second time it would sort the countries from the bottom to the top instead. A third click will now take you back to the original sorting. [45]
- Self-closed tags now work as in the HTML5 specifications. This means you should stop using some of them.
<b/>
is an example of a self-closed tag that won't work.area, base, br, col, embed, hr, img, input, keygen, link, meta, param, source, track, wbr
can be self-closed. Pages with tags that should not be self-closed have been listed in a tracking category since 2016. They will be listed in Special:LintErrors/self-closed-tag. This doesn't affect<references />
or<ref />
. [46] - There is a banner called
WikidataPageBanner
. It is for example used by the Wikivoyages, Wikimedia Russia and the Catalan, Basque, Galician and Turkish Wikipedias. It will now been seen by mobile visitors too. Before this it was only seen on desktop. The wikis should update instructions onMediaWiki:Sitenotice
so that editors know to test and style for mobile too. [47][48]
Changes later this week
- You can now edit MassMessage descriptions through the API. This is useful for tools and gadgets. [49]
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 9 June. It will be on non-Wikipedia wikis and some Wikipedias from 10 June. It will be on all wikis from 11 June (calendar).
Future changes
- A temporary fix helped wikis make their main pages more mobile friendly. This was in 2012. It has not been recommended since 2017. It will not work after 13 July. Wikis should use TemplateStyles instead. 118 wikis need to fix this. You can read more and see if your wiki is affected. [50]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
21:11, 8. jún 2020 (UTC)