위키백과:사랑방 (기술)/2024년 5월
DISPLAYTITLE 관련 질문
편집영어 위키백과의 Equation xy = yx 문서를 번역하다가 한국어 위키백과에서 DISPLAYTITLE과 관련한 기능을 사용할 수 없음을 알게 되었습니다. en:Template:DISPLAYTITLE의 소스를 참고해서 틀:제목표시 문서를 만들었음에도 안 되는 것으로 보아 우리 위키에 해당 기능을 미디어위키의 지침에 따라 설치해야 하는 것으로 보입니다.. 혹시 DISPLAYTITLE 확장 기능이 우리 위키에 설치되었는지 확인해주실 수 있나요? -- Kyeon-go (토론) 2024년 5월 4일 (토) 19:24 (KST)
- 한국어 위키백과도 영어 위키백과와 똑같이 {{DISPLAYTITLE}}이라는 텍스트를 사용해야 제목의 효과가 적용됩니다. 그리고 {{DISPLAYTITLE}}는 틀이 아니라 특수 명령문입니다. '제목표시'라는 것은 처음 듣는데, 한국어로 번역해서 직접 만드신 용어이신가요? --ted (토론) 2024년 5월 4일 (토) 22:21 (KST)
- 네! 일부 다른 언어 위키백과에선 자국어로 번역한 걸 참고해서(예: 에스페란토 버전, 프랑스어 버전) 만들어 본 것입니다 -- Kyeon-go (토론) 2024년 5월 5일 (일) 00:39 (KST)
- 설명문서를 보시면 아시겠지만 해당 틀은 사용을 하지 말라고 적혀있습니다. (Please use {{DISPLAYTITLE:Pagetitle}}, rather than {{DISPLAYTITLE|Pagetitle}}. 문장 참고) 지금 도입하신 틀은 특수 명령문을 감싼 것 말고는 다른 역할이 없습니다. {{DISPLAYTITLE}}을 직접 사용해주세요. --ted (토론) 2024년 5월 5일 (일) 08:21 (KST)
- 감사합니다! 제가 만든 틀은 삭제 신청할게요!
- 문서 번역 기능에선 우리나라 위키에 없는 틀이라 떴던데 왜 그런 거죠? Kyeon-go (토론) 2024년 5월 5일 (일) 08:28 (KST)
- 제가 이해를 잘 했는지 모르겠으나, "Equation xy = yx" 문서를 번역하실 때 해당 틀이 한국어 위키백과에는 존재하지 않는다는 메시지가 표시됐다는 말씀이신가요? 해당 문서는 DISPLAYTITLE 틀을 사용하지 않습니다. 특수명령문 DISPLAYTITLE의 용법은 {{DISPLAYTITLE:설명문서}}이고, 틀로서의 DISPLAYTITLE 사용법은 (틀이 존재하는 경우) {{DISPLAYTITLE|설명문서}}입니다. (가운데 :와 |의 차이에 따라 특수명령문을 쓸지, 틀을 쓸지 결정됨) 그리고 영어 위키백과에서는 DISPLAYTITLE 틀을 사용하는 일반 문서는 없다고 보셔도 무방합니다.[1] 다시 말해 영어 위키백과에서 사용하지 않는 틀인데 왜 한국어 위키에 없는 틀이라고 경고가 나왔는지 이해가 안 됩니다. --ted (토론) 2024년 5월 5일 (일) 08:45 (KST)
- 네 맞습니다.. 제대로 이해하셨습니다. 처음엔 그 메시지가 뜨고 '해당 부분은 평문으로 추가된다' 같은 주의도 봤었습니다. 아무래도 이중 중괄호({{ }}) 안에 있어서 틀이라고 인식하지 않았나 싶습니다 -- Kyeon-go (토론) 2024년 5월 5일 (일) 10:02 (KST)
- 제가 이해를 잘 했는지 모르겠으나, "Equation xy = yx" 문서를 번역하실 때 해당 틀이 한국어 위키백과에는 존재하지 않는다는 메시지가 표시됐다는 말씀이신가요? 해당 문서는 DISPLAYTITLE 틀을 사용하지 않습니다. 특수명령문 DISPLAYTITLE의 용법은 {{DISPLAYTITLE:설명문서}}이고, 틀로서의 DISPLAYTITLE 사용법은 (틀이 존재하는 경우) {{DISPLAYTITLE|설명문서}}입니다. (가운데 :와 |의 차이에 따라 특수명령문을 쓸지, 틀을 쓸지 결정됨) 그리고 영어 위키백과에서는 DISPLAYTITLE 틀을 사용하는 일반 문서는 없다고 보셔도 무방합니다.[1] 다시 말해 영어 위키백과에서 사용하지 않는 틀인데 왜 한국어 위키에 없는 틀이라고 경고가 나왔는지 이해가 안 됩니다. --ted (토론) 2024년 5월 5일 (일) 08:45 (KST)
- 설명문서를 보시면 아시겠지만 해당 틀은 사용을 하지 말라고 적혀있습니다. (Please use {{DISPLAYTITLE:Pagetitle}}, rather than {{DISPLAYTITLE|Pagetitle}}. 문장 참고) 지금 도입하신 틀은 특수 명령문을 감싼 것 말고는 다른 역할이 없습니다. {{DISPLAYTITLE}}을 직접 사용해주세요. --ted (토론) 2024년 5월 5일 (일) 08:21 (KST)
- 네! 일부 다른 언어 위키백과에선 자국어로 번역한 걸 참고해서(예: 에스페란토 버전, 프랑스어 버전) 만들어 본 것입니다 -- Kyeon-go (토론) 2024년 5월 5일 (일) 00:39 (KST)
제 사용자 토론 문서를 편집하던 중에 이 문제를 발견했습니다. 사용자:Bluehill/토론 상단 틀에는 버튼 두개가 있는데 이게 링크로 렌더링되더라고요. Bluehill (토론) 2024년 5월 5일 (일) 23:26 (KST)
- 해당 문제가 발생한 원인은 미리 보기를 할 때 mw-ui-button 클래스와 연계가 되는 mediawiki.ui.button이 로드되지 않아서입니다. 이 문제가 왜 발생했는지, 그리고 실질적인 문제 해결은 올려주신 파브리케이터에서 확인을 기다려야 할 듯 합니다. 긴급히 해결을 원하시면 스크립트에 아래 내용을 추가하시면 됩니다. 위키페이지 콘텐츠가 표시될 때 해당 기능을 로드하는 스크립트입니다.
mw.hook( 'wikipage.content' ).add(function(){ if ($('.mw-ui-button').length > 0) { if (mw.loader.getState('mediawiki.ui.button') === 'registered') { mw.loader.load('mediawiki.ui.button'); } } });
- mediawiki.ui.button의 경우 구식 모듈로 경고가 표시되어 Codex 문법으로 치환이 권고되고 있습니다. 그러나 phab:T346469에 따르면 해당 모듈은 2024년 1월 18일 기준으로 stable이 아니기 때문에(추후 CSS 변화로 인해 깨질 우려가 있어서 이에 따라 관리를 해주어야 함) 누군가가 꾸준히 이곳에서 코드를 관리해주는 사람이 없는 한 이곳에 적용하기엔 무리가 있을 듯 합니다. mw:Module:Clickable button 3, mw:Template:Clickable button 3/styles.css처럼 mediawiki.ui.button에 의존하지 않도록 강제 해결하는 방법도 존재하나 시스템 자체에서 제공하는 스타일을 사용하는 것이 아니기에(변화가 반영되지 않음) 이 방법도 고려 대상은 아닙니다. --ted (토론) 2024년 5월 7일 (화) 18:49 (KST)
Tech News: 2024-19
편집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
- The appearance of talk pages changed for all wikis, except for Commons, Wikidata and most Wikipedias (a few have already received this design change). You can read the detail of the changes on Diff. It is possible to opt-out these changes in user preferences ("토론 활동 표시"). The deployment will happen at remaining wikis in the coming weeks. [2][3]
- Interface admins now have greater control over the styling of article components on mobile with the introduction of the
SiteAdminHelper
. More information on how styles can be disabled can be found at the extension's page. [4] - Wikimedia Enterprise has added article body sections in JSON format and a curated short description field to the existing parsed Infobox. This expansion to the API is also available via Wikimedia Cloud Services. [5]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 7 May. It will be on non-Wikipedia wikis and some Wikipedias from 8 May. It will be on all wikis from 9 May (calendar). [6][7]
- When you look at the Special:Log page, the first view is labelled "All public logs", but it only shows some logs. This label will now say "Main public logs". [8]
Future changes
- A new service will be built to replace Extension:Graph. Details can be found in the latest update regarding this extension.
- Starting May 21, English Wikipedia and German Wikipedia will get the possibility to activate "Add a link". This is part of the progressive deployment of this tool to all Wikipedias. These communities can activate and configure the feature locally. [9]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
MediaWiki message delivery 2024년 5월 7일 (화) 01:44 (KST)
Hi everyone, as announced in November, the Web team at the Wikimedia Foundation is working on dark (sometimes also called night) mode. Now, we have released the feature for logged-in users of advanced mobile mode across all wikis for testing purposes. But don't worry, the new feature is not disruptive! (See the "known limitations" section below.) It's just important for us to work together with you before we release this feature to a wider audience. Our goals for the early rollout are to:
- Show what we've built very early. The earlier you are involved, the more your voices will be reflected in the final version
- Get your help with flagging bugs, issues, and requests
- Work with technical editors to adjust various templates and gadgets to the dark mode
Go to the project page and the FAQ page to see more information about the basics of this project.
Known limitations of the initial release
- Currently, dark mode is only available on mobile, for logged-in users who have opted into advanced mode, as an opt-in feature.
- Gadgets may initially not work well with dark mode and may have to be updated.
- Our first goal is making dark mode work on articles. Special pages, talk pages, and other namespaces have not been updated to work in dark mode yet. We have temporarily disabled dark mode on some of these pages.
What we would like you to do (the broad community)
If you have questions - ask us! Also, where appropriate, consider linking to the Recommendations for dark mode compatibility on Wikimedia wikis on pages explaining how to define colors in code. Soon, this page will be marked for translation. We would like to emphasize that the recommendations may evolve. For this reason, we are not suggesting to create your local wiki copies of recommendations. At some point, the copy could become different from the original version.
What we would like you to do (template editors, interface admins, technical editors)
When most bugs are solved, we'll be able to make the dark mode available for readers on both desktop and mobile. To make this happen, we need to work together with you on reporting and solving the problems.
- To turn it on, use the mobile website and go to the settings part of your menu and opt into advanced mode, if you haven't already. Then, set the color to dark. (Later, we will be allowing the device preferences to set dark mode automatically).
- Next, go to different articles and look for issues:
- If you have noticed an issue with a template but do not know how to fix it
- Go to the recommendations page and find a relevant example
- If no relevant example is available or you're not sure of the fix, contact us
- If you want to debug many templates in dark mode
- Install the WCAG color contrast browser extension (Chrome, Firefox) and visit some articles. Use it to identify problems
- Go to the recommendations page and find relevant examples
- If no relevant example is available or you're not sure of the fix, contact us
- If you have a bug report for dark mode that is not related to templates
- Take a screenshot of what you are observing.
- Contact us. If possible, please write down your browser version and operating system version.
- If you have noticed an issue with a template but do not know how to fix it
Thank you. We're looking forward to your opinions and comments! SGrabarczuk (WMF) (토론) 2024년 5월 11일 (토) 01:21 (KST)
Tech News: 2024-20
편집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
- On Wikisource there is a special page listing pages of works without corresponding scan images. Now you can use the new magic word
__EXPECTWITHOUTSCANS__
to exclude certain pages (list of editions or translations of works) from that list. [10] - If you use the user-preference "페이지를 다시 불러오지 않고 미리 보기 표시", then the template-page feature "이 틀과 함께 문서 미리 보기" will now also work without reloading the page. [11]
- Kartographer maps can now specify an alternative text via the
alt=
attribute. This is identical in usage to thealt=
attribute in the image and gallery syntax. An exception for this feature is wikis like Wikivoyage where the miniature maps are interactive. [12] - The old Guided Tour for the "New Filters for Edit Review" feature has been removed. It was created in 2017 to show people with older accounts how the interface had changed, and has now been seen by most of the intended people. [13]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 14 May. It will be on non-Wikipedia wikis and some Wikipedias from 15 May. It will be on all wikis from 16 May (calendar). [14][15]
- The 특수:검색 results page will now use CSS flex attributes, for better accessibility, instead of a table. If you have a gadget or script that adjusts search results, you should update your script to the new HTML structure. [16]
Future changes
- In the Vector 2022 skin, main pages will be displayed at full width (like special pages). The goal is to keep the number of characters per line large enough. This is related to the coming changes to typography in Vector 2022. Learn more. [17]
- Two columns of the
pagelinks
database table (pl_namespace
andpl_title
) are being dropped soon. Users must use two columns of the newlinktarget
table instead (lt_namespace
andlt_title
). In your existing SQL queries:- Replace
JOIN pagelinks
withJOIN linktarget
andpl_
withlt_
in theON
statement - Below that add
JOIN pagelinks ON lt_id = pl_target_id
- See phab:T222224 for technical reasoning. [18][19]
- Replace
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
아이콘 디자인 변경
편집기존의 아이콘들은 명암 묘사가 많아서 몇몇 분들께는 보기 불편할 수 있습니다. 그래서 다음 틀들의 아이콘을 변경해 주실 것을 부탁드립니다. (크기는 틀에 맞게 조정하면 됩니다.)
Tech News: 2024-21
편집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
- The Nuke feature, which enables administrators to mass delete pages, will now correctly delete pages which were moved to another title. [20]
- New changes have been made to the UploadWizard in Wikimedia Commons: the overall layout has been improved, by following new styling and spacing for the form and its fields; the headers and helper text for each of the fields was changed; the Caption field is now a required field, and there is an option for users to copy their caption into the media description. [21][22]
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 21 May. It will be on non-Wikipedia wikis and some Wikipedias from 22 May. It will be on all wikis from 23 May (calendar). [23][24]
- The HTML used to render all headings is being changed to improve accessibility. It will change on 22 May in some skins (Timeless, Modern, CologneBlue, Nostalgia, and Monobook). Please test gadgets on your wiki on these skins and report any related problems so that they can be resolved before this change is made in all other skins. The developers are also considering the introduction of a Gadget API for adding buttons to section titles if that would be helpful to tool creators, and would appreciate any input you have on that.
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
아이콘 디자인 변경 (2)
편집이전에 {{의견 요청}}의 아이콘 변경 요청을 올렸었는데 다시 보니 아래의 아이콘이 가시성이 더 좋을 것 같네요. 죄송하지만 다시 부탁드려도 될까요?
Tech News: 2024-22
편집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
- Several bugs related to the latest updates to the UploadWizard on Wikimedia Commons have been fixed. For more information, see T365107 and T365119.
- In March 2024 a new addPortlet API was added to allow gadgets to create new portlets (menus) in the skin. In certain skins this can be used to create dropdowns. Gadget developers are invited to try it and give feedback.
- Some CSS in the Minerva skin has been removed to enable easier community configuration. Interface editors should check the rendering on mobile devices for aspects related to the classes:
.collapsible
,.multicol
,.reflist
,.coordinates
,.topicon
. Further details are available on replacement CSS if it is needed.
Changes later this week
- The new version of MediaWiki will be on test wikis and MediaWiki.org from 28 May. It will be on non-Wikipedia wikis and some Wikipedias from 29 May. It will be on all wikis from 30 May (calendar). [25][26]
- When you visit a wiki where you don't yet have a local account, local rules such as edit filters can sometimes prevent your account from being created. Starting this week, MediaWiki takes your global rights into account when evaluating whether you can override such local rules. [27]
Tech news prepared by Tech News writers and posted by bot • Contribute • Translate • Get help • Give feedback • Subscribe or unsubscribe.
Mbox 계열 기본 아이콘들의 디자인 변경.
편집{{Mbox}} 계열 틀들({{Ambox}}, {{Tmbox}}, {{Imbox}}, {{Cmbox}}, {{Ombox}})에 쓰이는 기본 아이콘의 설정을 플랫 디자인으로 변경해 주신다면 좋겠습니다.
- 신속, 삭제: 파일:Achtung.svg
- 내용: 파일:Achtung-orange.svg
- 모양: 파일:OOjs UI icon broom.svg
- 안내: 파일:Info Simple.svg
- 이동, 보호는 지금 그대로 유지하면 됩니다.