Extension:Page Forms/Input types/Datepicker/ko

입력 유형 datepicker을 사용하면 사용자가 그래픽 달력을 팝업하고 날짜를 선택하도록 할 수 있습니다. 캘린더는 모두 스크립트를 통해 생성되며 페이지를 새로 고치지 않고도 탐색할 수 있습니다. 항상 연도/월/일 식으로 날짜를 반환하므로 속성 값으로 직접 사용할 수 있습니다. You can tweak the appearance of the calendar by changing or overriding the CSS rules of the jQuery library.

The datepicker is somewhat peculiar in that the first day of the week is not set in a configuration variable, but in an internationalized message. This way most wikis should automatically get the right setting depending on the language. If you want to change the default first day of week, instead of changing a configuration variable you need to edit the page  in your wiki.

예시
A field that uses a date picker with all parameters set to their default values:

A field that uses a date picker with specific parameters:

Customization
You can change the general appearance and behavior of all the site's datepickers by placing settings in your LocalSettings.php file below the inclusion of Page Forms, e.g.

You can find the default settings and their descriptions in the file.

MediaWiki bug
When using the datepicker input with MediaWiki 1.26, you may get an error message that looks like the following:


 * Warning: OutputPage::getModuleStyles: style module should define its position explicitly: jquery.ui.datepicker ResourceLoaderFileModule

This is due to an apparent bug in core MediaWiki, which is thankfully easily fixed. In the file /resources/Resources.php, add the following line: