위키백과:사랑방 (기술)/2024년 5월

5

**DISPLAYTITLE 관련 질문**
영어 위키백과의 Equation xy = yx 문서를 번역하다가 한국어 위키백과에서 DISPLAYTITLE과 관련한 기능을 사용할 수 없음을 알게 되었습니다. :en:Template:DISPLAYTITLE의 소스를 참고해서 틀:제목표시 문서를 만들었음에도 안 되는 것으로 보아 우리 위키에 해당 기능을  미디어위키의 지침에 따라 설치해야 하는 것으로 보입니다.. 혹시 DISPLAYTITLE 확장 기능이 우리 위키에 설치되었는지 확인해주실 수 있나요? -- Kyeon-go (토론) 2024년 5월 4일 (토) 19:24 (KST)
 한국어 위키백과도 영어 위키백과와 똑같이 이라는 텍스트를 사용해야 제목의 효과가 적용됩니다. 그리고 는 틀이 아니라 특수 명령문입니다. '제목표시'라는 것은 처음 듣는데, 한국어로 번역해서 직접 만드신 용어이신가요? --ted (토론) 2024년 5월 4일 (토) 22:21 (KST)
:네! 일부 다른 언어 위키백과에선 자국어로 번역한 걸 참고해서(예: 에스페란토 버전, 프랑스어 버전) 만들어 본 것입니다 -- Kyeon-go (토론) 2024년 5월 5일 (일) 00:39 (KST)
::설명문서를 보시면 아시겠지만 해당 틀은 사용을 하지 말라고 적혀있습니다. ( 문장 참고) 지금 도입하신 틀은 특수 명령문을 감싼 것 말고는 다른 역할이 없습니다. 을 직접 사용해주세요. --ted (토론) 2024년 5월 5일 (일) 08:21 (KST)
:::감사합니다! 제가 만든 틀은 삭제 신청할게요!
:::문서 번역 기능에선 우리나라 위키에 없는 틀이라 떴던데 왜 그런 거죠? Kyeon-go (토론) 2024년 5월 5일 (일) 08:28 (KST)
::::제가 이해를 잘 했는지 모르겠으나, "Equation xy = yx" 문서를 번역하실 때 해당 틀이 한국어 위키백과에는 존재하지 않는다는 메시지가 표시됐다는 말씀이신가요? 해당 문서는 DISPLAYTITLE 틀을 사용하지 않습니다. 특수명령문 DISPLAYTITLE의 용법은 이고, 틀로서의 DISPLAYTITLE 사용법은 (틀이 존재하는 경우) 입니다. (가운데 :와 |의 차이에 따라 특수명령문을 쓸지, 틀을 쓸지 결정됨) 그리고 영어 위키백과에서는 DISPLAYTITLE 틀을 사용하는 일반 문서는 없다고 보셔도 무방합니다. 다시 말해 영어 위키백과에서 사용하지 않는 틀인데 왜 한국어 위키에 없는 틀이라고 경고가 나왔는지 이해가 안 됩니다. --ted (토론) 2024년 5월 5일 (일) 08:45 (KST)
:::::네 맞습니다.. 제대로 이해하셨습니다. 처음엔 그 메시지가 뜨고 '해당 부분은 평문으로 추가된다' 같은 주의도 봤었습니다. 아무래도 이중 중괄호() 안에 있어서 틀이라고 인식하지 않았나 싶습니다 -- Kyeon-go (토론) 2024년 5월 5일 (일) 10:02 (KST)

**실시간 미리 보기와 2017 위키텍스트 편집기의 미리 보기에서 클릭가능한 버튼2가 제대로 렌더링 되지 않는 문제**
제 사용자 토론 문서를 편집하던 중에 이 문제를 발견했습니다. 사용자: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
Example of a talk page with the new design, in French.- 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. - Advanced item 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. - Advanced item 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. 
Changes later this week- Recurrent item The new version of MediaWiki will be on test wikis and MediaWiki.org from en. It will be on non-Wikipedia wikis and some Wikipedias from en. It will be on all wikis from en (calendar). - 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". 
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. 
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)

**Dark mode is available as a Vector 2022 beta feature**
섬네일
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.
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. - If you use the user-preference "", then the template-page feature "" will now also work without reloading the page. - Kartographer maps can now specify an alternative text via the  attribute. This is identical in usage to the  attribute in the image and gallery syntax. An exception for this feature is wikis like Wikivoyage where the miniature maps are interactive. - 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. 
Changes later this week- Recurrent item The new version of MediaWiki will be on test wikis and MediaWiki.org from en. It will be on non-Wikipedia wikis and some Wikipedias from en. It will be on all wikis from en (calendar). - Advanced item 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. 
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. - Advanced item Two columns of the pagelinks database table (pl_namespace and pl_title) are being dropped soon. Users must use two columns of the new linktarget table instead (lt_namespace and lt_title). In your existing SQL queries:
*# Replace JOIN pagelinks with JOIN linktarget and pl_ with lt_ in the ON statement
*# Below that add JOIN pagelinks ON lt_id = pl_target_id
** See phab:T222224 for technical reasoning. 
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월 14일 (화) 08:58 (KST)

**아이콘 디자인 변경**
기존의 아이콘들은 명암 묘사가 많아서 몇몇 분들께는 보기 불편할 수 있습니다. 그래서 다음 틀들의 아이콘을 변경해 주실 것을 부탁드립니다. (크기는 틀에 맞게 조정하면 됩니다.)- 의견 요청
** 40px :파일:Icons8 flat idea.svg (다른 아이콘으로 다시 요청)- 토막글/그림 (매개변수 없는 기본 아이콘)
** 40px :파일:Caoandanielinblueaboutw.svg- 주의
** 40px :파일:Achtung-orange.svg- 경고
** 40px :파일:Stop hand octagon.svg- 차단, 전역 계정 잠김
** 40px :파일:Octagon delete flat icon.svg
RhapsoDJ (토론) 2024년 5월 20일 (월) 20:50 (KST)

**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. - 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. 
Changes later this week- Recurrent item The new version of MediaWiki will be on test wikis and MediaWiki.org from en. It will be on non-Wikipedia wikis and some Wikipedias from en. It will be on all wikis from en (calendar). - Advanced item  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.
MediaWiki message delivery 2024년 5월 21일 (화) 08:04 (KST)

**아이콘 디자인 변경 (2)**
이전에 의견 요청의 아이콘 변경 요청을 올렸었는데 다시 보니 아래의 아이콘이 가시성이 더 좋을 것 같네요. 죄송하지만 다시 부탁드려도 될까요?- 40px :파일:Light Bulb or Idea Flat Icon Vector.svg
RhapsoDJ (토론) 2024년 5월 24일 (금) 23:03 (KST)

**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.- Advanced item 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.- Advanced item 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- Recurrent item The new version of MediaWiki will be on test wikis and MediaWiki.org from en. It will be on non-Wikipedia wikis and some Wikipedias from en. It will be on all wikis from en (calendar). - 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. 
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월 28일 (화) 09:15 (KST)

**Mbox 계열 기본 아이콘들의 디자인 변경.**
계열 틀들(Ambox, Tmbox, Imbox, Cmbox, Ombox)에 쓰이는 기본 아이콘의 설정을 플랫 디자인으로 변경해 주신다면 좋겠습니다.- 신속, 삭제: 40px :파일:Achtung.svg- 내용: 40px :파일:Achtung-orange.svg- 모양: 40px :파일:OOjs UI icon broom.svg- 안내: 40px :파일:Info Simple.svg- 이동, 보호는 지금 그대로 유지하면 됩니다.
RhapsoDJ (토론) 2024년 5월 30일 (목) 14:11 (KST)

**Dark mode for logged-out users coming soon!**
thumb
Hi everyone, for the past year, the Web team at the Wikimedia Foundation has been working on dark mode. This work is part of the Accessibility for Reading initiative that introduces changes to the Vector 2022 and Minerva skins. It improves readability, and allows everyone, both logged-out and logged-in users, to customize reading-focused settings. 
Since early this year, dark mode has been available as a beta feature on both the mobile and the desktop website. We have been collaborating with template editors and other technical contributors to prepare wikis for this feature. This work included fixing templates and ensuring that many pages can appear with dark mode without any accessibility issues. We would like to express immense gratitude to everyone involved in this. Because so much has been done, over the next three weeks, we will be releasing the feature to all Wikipedias!
Deployment configuration and timeline- Tier 1 and 2 Wikipedias: wikis where the  number of issues in dark mode when compared to light mode is not significant. These wikis will receive dark mode for both logged-in and logged-out users. Some small issues might still exist within templates, though. We will be adding ways to report these issues so that we can continue fixing templates together with editors.- Tier 3 Wikipedias: wikis where the number of issues in dark mode when compared to light mode is significant. These wikis will only receive dark mode for logged-in users. We would like to make dark mode available to all users. However, some wikis still require work from communities to adapt templates. Similar to the group above, these wikis will also receive a link for reporting issues that will help identify remaining issues.- Week of July 1: mobile website (Minerva skin) on the Tier 1 Wikipedias (including Korean Wikipedia)- Week of July 15: desktop website (Vector 2022 skin) on all Wikipedias; mobile website: logged-in and logged-out on the Tier 2 Wikipedias, logged-in only on the Tier 3 Wikipedias
How to turn on dark mode
The feature will appear in the Appearance menu alongside the options for text and width. Depending on compatibility and technical architecture, some pages might not be available in dark mode. For these pages, a notice will appear in the menu providing more information.
How to make dark mode even better!
If you would like to help to make more pages dark-mode friendly, go to our previous message and see the section "What we would like you to do (template editors, interface admins, technical editors)".
Thank you everyone. We're looking forward to your questions, opinions, and comments! SGrabarczuk (WMF) (토론) 2024년 6월 28일 (금) 02:22 (KST)