CINXE.COM
Gerrit/コミット メッセージの指針 - MediaWiki
<!DOCTYPE html> <html class="client-nojs vector-feature-language-in-header-disabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available" lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Gerrit/コミット メッセージの指針 - MediaWiki</title> <script>(function(){var className="client-js vector-feature-language-in-header-disabled vector-feature-language-in-main-page-header-disabled vector-feature-sticky-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-feature-night-mode-disabled skin-theme-clientpref-day vector-toc-available";var cookie=document.cookie.match(/(?:^|; )mediawikiwikimwclientpreferences=([^;]+)/);if(cookie){cookie[1].split('%2C').forEach(function(pref){className=className.replace(new RegExp('(^| )'+pref.replace(/-clientpref-\w+$|[^\w-]+/g,'')+'-clientpref-\\w+( |$)'),'$1'+pref+'$2');});}document.documentElement.className=className;}());RLCONF={"wgBreakFrames":false,"wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""], "wgDefaultDateFormat":"ja","wgMonthNames":["","1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],"wgRequestId":"c75da2b3-5435-4f86-9173-86552c78dc00","wgCanonicalNamespace":"","wgCanonicalSpecialPageName":false,"wgNamespaceNumber":0,"wgPageName":"Gerrit/Commit_message_guidelines/ja","wgTitle":"Gerrit/Commit message guidelines/ja","wgCurRevisionId":6637470,"wgRevisionId":6637470,"wgArticleId":1125576,"wgIsArticle":true,"wgIsRedirect":false,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["Development guidelines/ja"],"wgPageViewLanguage":"ja","wgPageContentLanguage":"ja","wgPageContentModel":"wikitext","wgRelevantPageName":"Gerrit/Commit_message_guidelines/ja","wgRelevantArticleId":1125576,"wgIsProbablyEditable":true,"wgRelevantPageIsProbablyEditable":true,"wgRestrictionEdit":[],"wgRestrictionMove":[],"wgNoticeProject":"mediawiki","wgCiteReferencePreviewsActive":true,"wgMediaViewerOnClick":true,"wgMediaViewerEnabledByDefault": true,"wgVisualEditor":{"pageLanguageCode":"ja","pageLanguageDir":"ltr","pageVariantFallbacks":"ja"},"wgMFDisplayWikibaseDescriptions":{"search":true,"watchlist":true,"tagline":false,"nearby":true},"wgWMESchemaEditAttemptStepOversample":false,"wgWMEPageLength":20000,"wgTranslatePageTranslation":"translation","wgCentralAuthMobileDomain":false,"wgVisualEditorDisabledByHook":true,"wgDiscussionToolsFeaturesEnabled":{"replytool":true,"newtopictool":true,"sourcemodetoolbar":true,"topicsubscription":false,"autotopicsub":false,"visualenhancements":false,"visualenhancements_reply":false,"visualenhancements_pageframe":false},"wgDiscussionToolsFallbackEditMode":"visual","wgULSPosition":"personal","wgULSisCompactLinksEnabled":true,"wgVector2022LanguageInHeader":false,"wgULSisLanguageSelectorEmpty":false,"wgCheckUserClientHintsHeadersJsApi":["brands","architecture","bitness","fullVersionList","mobile","model","platform","platformVersion"]};RLSTATE={"ext.globalCssJs.user.styles":"ready","site.styles" :"ready","user.styles":"ready","ext.globalCssJs.user":"ready","user":"ready","user.options":"loading","oojs-ui-core.styles":"ready","oojs-ui.styles.indicators":"ready","mediawiki.widgets.styles":"ready","oojs-ui-core.icons":"ready","ext.translate.tag.languages":"ready","ext.pygments":"ready","ext.cite.styles":"ready","ext.discussionTools.init.styles":"ready","skins.vector.search.codex.styles":"ready","skins.vector.styles":"ready","skins.vector.icons":"ready","ext.translate":"ready","ext.wikimediamessages.styles":"ready","ext.uls.pt":"ready","wikibase.client.init":"ready","ext.wikimediaBadges":"ready"};RLPAGEMODULES=["ext.pygments.view","ext.cite.ux-enhancements","site","mediawiki.page.ready","mediawiki.toc","skins.vector.js","ext.centralNotice.geoIP","ext.centralNotice.startUp","ext.translate.pagetranslation.uls","ext.urlShortener.toolbar","ext.centralauth.centralautologin","mmv.bootstrap","ext.echo.centralauth","ext.discussionTools.init","ext.eventLogging","ext.wikimediaEvents", "ext.navigationTiming","ext.uls.compactlinks","ext.uls.interface","ext.checkUser.clientHints"];</script> <script>(RLQ=window.RLQ||[]).push(function(){mw.loader.impl(function(){return["user.options@12s5i",function($,jQuery,require,module){mw.user.tokens.set({"patrolToken":"+\\","watchToken":"+\\","csrfToken":"+\\"}); }];});});</script> <link rel="stylesheet" href="/w/load.php?lang=en&modules=ext.cite.styles%7Cext.discussionTools.init.styles%7Cext.pygments%2Ctranslate%2CwikimediaBadges%7Cext.translate.tag.languages%7Cext.uls.pt%7Cext.wikimediamessages.styles%7Cmediawiki.widgets.styles%7Coojs-ui-core.icons%2Cstyles%7Coojs-ui.styles.indicators%7Cskins.vector.icons%2Cstyles%7Cskins.vector.search.codex.styles%7Cwikibase.client.init&only=styles&skin=vector-2022"> <script async="" src="/w/load.php?lang=en&modules=startup&only=scripts&raw=1&skin=vector-2022"></script> <meta name="ResourceLoaderDynamicStyles" content=""> <link rel="stylesheet" href="/w/load.php?lang=en&modules=site.styles&only=styles&skin=vector-2022"> <meta name="generator" content="MediaWiki 1.44.0-wmf.4"> <meta name="referrer" content="origin"> <meta name="referrer" content="origin-when-cross-origin"> <meta name="robots" content="max-image-preview:standard"> <meta name="format-detection" content="telephone=no"> <meta name="viewport" content="width=1120"> <meta property="og:site_name" content="MediaWiki"> <meta property="og:title" content="Gerrit/コミット メッセージの指針 - MediaWiki"> <meta property="og:type" content="website"> <link rel="preconnect" href="//upload.wikimedia.org"> <link rel="alternate" media="only screen and (max-width: 640px)" href="//m.mediawiki.org/wiki/Gerrit/Commit_message_guidelines/ja"> <link rel="alternate" type="application/x-wiki" title="Edit" href="/w/index.php?title=Gerrit/Commit_message_guidelines/ja&action=edit"> <link rel="apple-touch-icon" href="/static/apple-touch/mediawiki.png"> <link rel="icon" href="/static/favicon/mediawiki.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/w/rest.php/v1/search" title="MediaWiki (en)"> <link rel="EditURI" type="application/rsd+xml" href="//www.mediawiki.org/w/api.php?action=rsd"> <link rel="canonical" href="https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines/ja"> <link rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"> <link rel="alternate" type="application/atom+xml" title="MediaWiki Atom feed" href="/w/index.php?title=Special:RecentChanges&feed=atom"> <link rel="dns-prefetch" href="//meta.wikimedia.org" /> <link rel="dns-prefetch" href="//login.wikimedia.org"> </head> <body class="ext-discussiontools-replytool-enabled ext-discussiontools-newtopictool-enabled ext-discussiontools-sourcemodetoolbar-enabled skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject mw-editable page-Gerrit_Commit_message_guidelines_ja rootpage-Gerrit skin-vector-2022 action-view"><a class="mw-jump-link" href="#bodyContent">Jump to content</a> <div class="vector-header-container"> <header class="vector-header mw-header"> <div class="vector-header-start"> <nav class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-dropdown" class="vector-dropdown vector-main-menu-dropdown vector-button-flush-left vector-button-flush-right" > <input type="checkbox" id="vector-main-menu-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-main-menu-dropdown" class="vector-dropdown-checkbox " aria-label="Main menu" > <label id="vector-main-menu-dropdown-label" for="vector-main-menu-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-menu mw-ui-icon-wikimedia-menu"></span> <span class="vector-dropdown-label-text">Main menu</span> </label> <div class="vector-dropdown-content"> <div id="vector-main-menu-unpinned-container" class="vector-unpinned-container"> <div id="vector-main-menu" class="vector-main-menu vector-pinnable-element"> <div class="vector-pinnable-header vector-main-menu-pinnable-header vector-pinnable-header-unpinned" data-feature-name="main-menu-pinned" data-pinnable-element-id="vector-main-menu" data-pinned-container-id="vector-main-menu-pinned-container" data-unpinned-container-id="vector-main-menu-unpinned-container" > <div class="vector-pinnable-header-label">Main menu</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-main-menu.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-main-menu.unpin">hide</button> </div> <div id="p-navigation" class="vector-menu mw-portlet mw-portlet-navigation" > <div class="vector-menu-heading"> Navigation </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mainpage-description" class="mw-list-item"><a href="/wiki/MediaWiki" title="Visit the main page [z]" accesskey="z"><span>Main page</span></a></li><li id="n-mw-download" class="mw-list-item"><a href="/wiki/Download"><span>Get MediaWiki</span></a></li><li id="n-mw-extensions" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Category:Extensions"><span>Get extensions</span></a></li><li id="n-blog-text" class="mw-list-item"><a href="https://techblog.wikimedia.org/"><span>Tech blog</span></a></li><li id="n-mw-contribute" class="mw-list-item"><a href="/wiki/Special:MyLanguage/How_to_contribute"><span>Contribute</span></a></li> </ul> </div> </div> <div id="p-support" class="vector-menu mw-portlet mw-portlet-support" > <div class="vector-menu-heading"> Support </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-help" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Help:Contents" title="The place to find out"><span>User help</span></a></li><li id="n-mw-faq" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Manual:FAQ"><span>FAQ</span></a></li><li id="n-mw-manual" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Manual:Contents"><span>Technical manual</span></a></li><li id="n-mw-supportdesk" class="mw-list-item"><a href="/wiki/Project:Support_desk"><span>Support desk</span></a></li><li id="n-mw-communication" class="mw-list-item"><a href="/wiki/Special:MyLanguage/Communication"><span>Communication</span></a></li> </ul> </div> </div> <div id="p-development" class="vector-menu mw-portlet mw-portlet-development" > <div class="vector-menu-heading"> Development </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-mw-developerportal" class="mw-list-item"><a href="https://developer.wikimedia.org/"><span>Developer portal</span></a></li><li id="n-svn-statistics" class="mw-list-item"><a href="/wiki/Development_statistics"><span>Code statistics</span></a></li> </ul> </div> </div> <div id="p-mediawiki.org" class="vector-menu mw-portlet mw-portlet-mediawiki_org" > <div class="vector-menu-heading"> mediawiki.org </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="n-portal" class="mw-list-item"><a href="/wiki/Project:Help" title="About the project, what you can do, where to find things"><span>Community portal</span></a></li><li id="n-recentchanges" class="mw-list-item"><a href="/wiki/Special:RecentChanges" title="A list of recent changes in the wiki [r]" accesskey="r"><span>Recent changes</span></a></li><li id="n-mw-translate" class="mw-list-item"><a href="/wiki/Special:LanguageStats"><span>Translate content</span></a></li><li id="n-randompage" class="mw-list-item"><a href="/wiki/Special:Random" title="Load a random page [x]" accesskey="x"><span>Random page</span></a></li><li id="n-mw-discussion" class="mw-list-item"><a href="/wiki/Project:Village_Pump"><span>Village pump</span></a></li><li id="n-Sandboxlink-portlet-label" class="mw-list-item"><a href="/wiki/Project:Sandbox"><span>Sandbox</span></a></li> </ul> </div> </div> <div id="p-lang" class="vector-menu mw-portlet mw-portlet-lang" > <div class="vector-menu-heading"> In other languages </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> <div class="after-portlet after-portlet-lang"><span class="wb-langlinks-add wb-langlinks-link"><a href="https://www.wikidata.org/wiki/Special:NewItem?site=mediawikiwiki&page=Gerrit%2FCommit+message+guidelines%2Fja" title="Add interlanguage links" class="wbc-editpage">Add links</a></span></div> </div> </div> </div> </div> </div> </div> </nav> <a href="/wiki/MediaWiki" class="mw-logo"> <img class="mw-logo-icon" src="/static/images/icons/mediawikiwiki.svg" alt="" aria-hidden="true" height="50" width="50"> <span class="mw-logo-container skin-invert"> <img class="mw-logo-wordmark" alt="MediaWiki" src="/static/images/mobile/copyright/mediawikiwiki-wordmark.svg" style="width: 7.5em; height: 1.125em;"> </span> </a> </div> <div class="vector-header-end"> <div id="p-search" role="search" class="vector-search-box-vue vector-search-box-collapses vector-search-box-show-thumbnail vector-search-box-auto-expand-width vector-search-box"> <a href="/wiki/Special:Search" class="cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only search-toggle" title="Search MediaWiki [f]" accesskey="f"><span class="vector-icon mw-ui-icon-search mw-ui-icon-wikimedia-search"></span> <span>Search</span> </a> <div class="vector-typeahead-search-container"> <div class="cdx-typeahead-search cdx-typeahead-search--show-thumbnail cdx-typeahead-search--auto-expand-width"> <form action="/w/index.php" id="searchform" class="cdx-search-input cdx-search-input--has-end-button"> <div id="simpleSearch" class="cdx-search-input__input-wrapper" data-search-loc="header-moved"> <div class="cdx-text-input cdx-text-input--has-start-icon"> <input class="cdx-text-input__input" type="search" name="search" placeholder="Search MediaWiki" aria-label="Search MediaWiki" autocapitalize="sentences" title="Search MediaWiki [f]" accesskey="f" id="searchInput" > <span class="cdx-text-input__icon cdx-text-input__start-icon"></span> </div> <input type="hidden" name="title" value="Special:Search"> </div> <button class="cdx-button cdx-search-input__end-button">Search</button> </form> </div> </div> </div> <nav class="vector-user-links vector-user-links-wide" aria-label="Personal tools"> <div class="vector-user-links-main"> <div id="p-vector-user-menu-preferences" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-uls" class="mw-list-item active user-links-collapsible-item"><a data-mw="interface" href="#" class="uls-trigger cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet"><span class="vector-icon mw-ui-icon-wikimedia-language mw-ui-icon-wikimedia-wikimedia-language"></span> <span>English</span></a> </li> </ul> </div> </div> <div id="p-vector-user-menu-userpage" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-dropdown" class="vector-dropdown " title="Change the appearance of the page's font size, width, and color" > <input type="checkbox" id="vector-appearance-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-appearance-dropdown" class="vector-dropdown-checkbox " aria-label="Appearance" > <label id="vector-appearance-dropdown-label" for="vector-appearance-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-appearance mw-ui-icon-wikimedia-appearance"></span> <span class="vector-dropdown-label-text">Appearance</span> </label> <div class="vector-dropdown-content"> <div id="vector-appearance-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <div id="p-vector-user-menu-notifications" class="vector-menu mw-portlet emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> <div id="p-vector-user-menu-overflow" class="vector-menu mw-portlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="https://donate.wikimedia.org/?utm_source=donate&utm_medium=sidebar&utm_campaign=spontaneous&uselang=en" class=""><span>Donate</span></a> </li> <li id="pt-createaccount-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:CreateAccount&returnto=Gerrit%2FCommit+message+guidelines%2Fja" title="You are encouraged to create an account and log in; however, it is not mandatory" class=""><span>Create account</span></a> </li> <li id="pt-login-2" class="user-links-collapsible-item mw-list-item user-links-collapsible-item"><a data-mw="interface" href="/w/index.php?title=Special:UserLogin&returnto=Gerrit%2FCommit+message+guidelines%2Fja" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o" class=""><span>Log in</span></a> </li> </ul> </div> </div> </div> <div id="vector-user-links-dropdown" class="vector-dropdown vector-user-menu vector-button-flush-right vector-user-menu-logged-out" title="More options" > <input type="checkbox" id="vector-user-links-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-user-links-dropdown" class="vector-dropdown-checkbox " aria-label="Personal tools" > <label id="vector-user-links-dropdown-label" for="vector-user-links-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-ellipsis mw-ui-icon-wikimedia-ellipsis"></span> <span class="vector-dropdown-label-text">Personal tools</span> </label> <div class="vector-dropdown-content"> <div id="p-personal" class="vector-menu mw-portlet mw-portlet-personal user-links-collapsible-item" title="User menu" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-sitesupport" class="user-links-collapsible-item mw-list-item"><a href="https://donate.wikimedia.org/?utm_source=donate&utm_medium=sidebar&utm_campaign=spontaneous&uselang=en"><span>Donate</span></a></li><li id="pt-createaccount" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:CreateAccount&returnto=Gerrit%2FCommit+message+guidelines%2Fja" title="You are encouraged to create an account and log in; however, it is not mandatory"><span class="vector-icon mw-ui-icon-userAdd mw-ui-icon-wikimedia-userAdd"></span> <span>Create account</span></a></li><li id="pt-login" class="user-links-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:UserLogin&returnto=Gerrit%2FCommit+message+guidelines%2Fja" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o"><span class="vector-icon mw-ui-icon-logIn mw-ui-icon-wikimedia-logIn"></span> <span>Log in</span></a></li> </ul> </div> </div> <div id="p-user-menu-anon-editor" class="vector-menu mw-portlet mw-portlet-user-menu-anon-editor" > <div class="vector-menu-heading"> Pages for logged out editors <a href="/wiki/Help:Introduction" aria-label="Learn more about editing"><span>learn more</span></a> </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="pt-anoncontribs" class="mw-list-item"><a href="/wiki/Special:MyContributions" title="A list of edits made from this IP address [y]" accesskey="y"><span>Contributions</span></a></li><li id="pt-anontalk" class="mw-list-item"><a href="/wiki/Special:MyTalk" title="Discussion about edits from this IP address [n]" accesskey="n"><span>Talk</span></a></li> </ul> </div> </div> </div> </div> </nav> </div> </header> </div> <div class="mw-page-container"> <div class="mw-page-container-inner"> <div class="vector-sitenotice-container"> <div id="siteNotice"><!-- CentralNotice --></div> </div> <div class="vector-column-start"> <div class="vector-main-menu-container"> <div id="mw-navigation"> <nav id="mw-panel" class="vector-main-menu-landmark" aria-label="Site"> <div id="vector-main-menu-pinned-container" class="vector-pinned-container"> </div> </nav> </div> </div> <div class="vector-sticky-pinned-container"> <nav id="mw-panel-toc" aria-label="Contents" data-event-name="ui.sidebar-toc" class="mw-table-of-contents-container vector-toc-landmark"> <div id="vector-toc-pinned-container" class="vector-pinned-container"> <div id="vector-toc" class="vector-toc vector-pinnable-element"> <div class="vector-pinnable-header vector-toc-pinnable-header vector-pinnable-header-pinned" data-feature-name="toc-pinned" data-pinnable-element-id="vector-toc" > <h2 class="vector-pinnable-header-label">Contents</h2> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-toc.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-toc.unpin">hide</button> </div> <ul class="vector-toc-contents" id="mw-panel-toc-list"> <li id="toc-mw-content-text" class="vector-toc-list-item vector-toc-level-1"> <a href="#" class="vector-toc-link"> <div class="vector-toc-text">Beginning</div> </a> </li> <li id="toc-構造" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#構造"> <div class="vector-toc-text"> <span class="vector-toc-numb">1</span> <span>構造</span> </div> </a> <button aria-controls="toc-構造-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle 構造 subsection</span> </button> <ul id="toc-構造-sublist" class="vector-toc-list"> <li id="toc-件名" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#件名"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.1</span> <span>件名</span> </div> </a> <ul id="toc-件名-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-本文" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#本文"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.2</span> <span>本文</span> </div> </a> <ul id="toc-本文-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-フッターとメタ_データ" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#フッターとメタ_データ"> <div class="vector-toc-text"> <span class="vector-toc-numb">1.3</span> <span>フッターとメタ データ</span> </div> </a> <ul id="toc-フッターとメタ_データ-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-例" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#例"> <div class="vector-toc-text"> <span class="vector-toc-numb">2</span> <span>例</span> </div> </a> <button aria-controls="toc-例-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle 例 subsection</span> </button> <ul id="toc-例-sublist" class="vector-toc-list"> <li id="toc-いい例" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#いい例"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.1</span> <span>いい例</span> </div> </a> <ul id="toc-いい例-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-悪い例" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#悪い例"> <div class="vector-toc-text"> <span class="vector-toc-numb">2.2</span> <span>悪い例</span> </div> </a> <ul id="toc-悪い例-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-追加的な例" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#追加的な例"> <div class="vector-toc-text"> <span class="vector-toc-numb">3</span> <span>追加的な例</span> </div> </a> <button aria-controls="toc-追加的な例-sublist" class="cdx-button cdx-button--weight-quiet cdx-button--icon-only vector-toc-toggle"> <span class="vector-icon mw-ui-icon-wikimedia-expand"></span> <span>Toggle 追加的な例 subsection</span> </button> <ul id="toc-追加的な例-sublist" class="vector-toc-list"> <li id="toc-件名_2" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#件名_2"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1</span> <span>件名</span> </div> </a> <ul id="toc-件名_2-sublist" class="vector-toc-list"> <li id="toc-コンポーネント" class="vector-toc-list-item vector-toc-level-3"> <a class="vector-toc-link" href="#コンポーネント"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.1.1</span> <span>コンポーネント</span> </div> </a> <ul id="toc-コンポーネント-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-Phabricator" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#Phabricator"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.2</span> <span>Phabricator</span> </div> </a> <ul id="toc-Phabricator-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-相互参照" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#相互参照"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.3</span> <span>相互参照</span> </div> </a> <ul id="toc-相互参照-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-変更_ID" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#変更_ID"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.4</span> <span>変更 ID</span> </div> </a> <ul id="toc-変更_ID-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-依存関係" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#依存関係"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.5</span> <span>依存関係</span> </div> </a> <ul id="toc-依存関係-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-他の人をクレジット表示する" class="vector-toc-list-item vector-toc-level-2"> <a class="vector-toc-link" href="#他の人をクレジット表示する"> <div class="vector-toc-text"> <span class="vector-toc-numb">3.6</span> <span>他の人をクレジット表示する</span> </div> </a> <ul id="toc-他の人をクレジット表示する-sublist" class="vector-toc-list"> </ul> </li> </ul> </li> <li id="toc-参考資料" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#参考資料"> <div class="vector-toc-text"> <span class="vector-toc-numb">4</span> <span>参考資料</span> </div> </a> <ul id="toc-参考資料-sublist" class="vector-toc-list"> </ul> </li> <li id="toc-脚注" class="vector-toc-list-item vector-toc-level-1 vector-toc-list-item-expanded"> <a class="vector-toc-link" href="#脚注"> <div class="vector-toc-text"> <span class="vector-toc-numb">5</span> <span>脚注</span> </div> </a> <ul id="toc-脚注-sublist" class="vector-toc-list"> </ul> </li> </ul> </div> </div> </nav> </div> </div> <div class="mw-content-container"> <main id="content" class="mw-body"> <header class="mw-body-header vector-page-titlebar"> <nav aria-label="Contents" class="vector-toc-landmark"> <div id="vector-page-titlebar-toc" class="vector-dropdown vector-page-titlebar-toc vector-button-flush-left" > <input type="checkbox" id="vector-page-titlebar-toc-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-titlebar-toc" class="vector-dropdown-checkbox " aria-label="Toggle the table of contents" > <label id="vector-page-titlebar-toc-label" for="vector-page-titlebar-toc-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet cdx-button--icon-only " aria-hidden="true" ><span class="vector-icon mw-ui-icon-listBullet mw-ui-icon-wikimedia-listBullet"></span> <span class="vector-dropdown-label-text">Toggle the table of contents</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-titlebar-toc-unpinned-container" class="vector-unpinned-container"> </div> </div> </div> </nav> <h1 id="firstHeading" class="firstHeading mw-first-heading">Gerrit/コミット メッセージの指針</h1> <div class="mw-indicators"> </div> </header> <div class="vector-page-toolbar"> <div class="vector-page-toolbar-container"> <div id="left-navigation"> <nav aria-label="Namespaces"> <div id="p-associated-pages" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-associated-pages" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-nstab-main" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Gerrit/Commit_message_guidelines/ja" title="View the content page [c]" accesskey="c"><span>Page</span></a></li><li id="ca-talk" class="new vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Talk:Gerrit/Commit_message_guidelines/ja&action=edit&redlink=1" rel="discussion" class="new" title="Discussion about the content page (page does not exist) [t]" accesskey="t"><span>Discussion</span></a></li> </ul> </div> </div> <div id="vector-variants-dropdown" class="vector-dropdown emptyPortlet" > <input type="checkbox" id="vector-variants-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-variants-dropdown" class="vector-dropdown-checkbox " aria-label="Change language variant" > <label id="vector-variants-dropdown-label" for="vector-variants-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">日本語</span> </label> <div class="vector-dropdown-content"> <div id="p-variants" class="vector-menu mw-portlet mw-portlet-variants emptyPortlet" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </nav> </div> <div id="right-navigation" class="vector-collapsible"> <nav aria-label="Views"> <div id="p-views" class="vector-menu vector-menu-tabs mw-portlet mw-portlet-views" > <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-view" class="selected vector-tab-noicon mw-list-item"><a href="/wiki/Gerrit/Commit_message_guidelines/ja"><span>Read</span></a></li><li id="ca-edit" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Special:Translate&group=page-Gerrit%2FCommit+message+guidelines&action=page&filter=&language=ja" title="Edit this page [e]" accesskey="e"><span>Translate</span></a></li><li id="ca-history" class="vector-tab-noicon mw-list-item"><a href="/w/index.php?title=Gerrit/Commit_message_guidelines/ja&action=history" title="Past revisions of this page [h]" accesskey="h"><span>View history</span></a></li> </ul> </div> </div> </nav> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-dropdown" class="vector-dropdown vector-page-tools-dropdown" > <input type="checkbox" id="vector-page-tools-dropdown-checkbox" role="button" aria-haspopup="true" data-event-name="ui.dropdown-vector-page-tools-dropdown" class="vector-dropdown-checkbox " aria-label="Tools" > <label id="vector-page-tools-dropdown-label" for="vector-page-tools-dropdown-checkbox" class="vector-dropdown-label cdx-button cdx-button--fake-button cdx-button--fake-button--enabled cdx-button--weight-quiet" aria-hidden="true" ><span class="vector-dropdown-label-text">Tools</span> </label> <div class="vector-dropdown-content"> <div id="vector-page-tools-unpinned-container" class="vector-unpinned-container"> <div id="vector-page-tools" class="vector-page-tools vector-pinnable-element"> <div class="vector-pinnable-header vector-page-tools-pinnable-header vector-pinnable-header-unpinned" data-feature-name="page-tools-pinned" data-pinnable-element-id="vector-page-tools" data-pinned-container-id="vector-page-tools-pinned-container" data-unpinned-container-id="vector-page-tools-unpinned-container" > <div class="vector-pinnable-header-label">Tools</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-page-tools.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-page-tools.unpin">hide</button> </div> <div id="p-cactions" class="vector-menu mw-portlet mw-portlet-cactions emptyPortlet vector-has-collapsible-items" title="More options" > <div class="vector-menu-heading"> Actions </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="ca-more-view" class="selected vector-more-collapsible-item mw-list-item"><a href="/wiki/Gerrit/Commit_message_guidelines/ja"><span>Read</span></a></li><li id="ca-more-edit" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Special:Translate&group=page-Gerrit%2FCommit+message+guidelines&action=page&filter=&language=ja" title="Edit this page [e]" accesskey="e"><span>Translate</span></a></li><li id="ca-more-history" class="vector-more-collapsible-item mw-list-item"><a href="/w/index.php?title=Gerrit/Commit_message_guidelines/ja&action=history"><span>View history</span></a></li> </ul> </div> </div> <div id="p-tb" class="vector-menu mw-portlet mw-portlet-tb" > <div class="vector-menu-heading"> General </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="t-whatlinkshere" class="mw-list-item"><a href="/wiki/Special:WhatLinksHere/Gerrit/Commit_message_guidelines/ja" title="A list of all wiki pages that link here [j]" accesskey="j"><span>What links here</span></a></li><li id="t-recentchangeslinked" class="mw-list-item"><a href="/wiki/Special:RecentChangesLinked/Gerrit/Commit_message_guidelines/ja" rel="nofollow" title="Recent changes in pages linked from this page [k]" accesskey="k"><span>Related changes</span></a></li><li id="t-upload" class="mw-list-item"><a href="//commons.wikimedia.org/wiki/Special:UploadWizard" title="Upload files [u]" accesskey="u"><span>Upload file</span></a></li><li id="t-specialpages" class="mw-list-item"><a href="/wiki/Special:SpecialPages" title="A list of all special pages [q]" accesskey="q"><span>Special pages</span></a></li><li id="t-permalink" class="mw-list-item"><a href="/w/index.php?title=Gerrit/Commit_message_guidelines/ja&oldid=6637470" title="Permanent link to this revision of this page"><span>Permanent link</span></a></li><li id="t-info" class="mw-list-item"><a href="/w/index.php?title=Gerrit/Commit_message_guidelines/ja&action=info" title="More information about this page"><span>Page information</span></a></li><li id="t-cite" class="mw-list-item"><a href="/w/index.php?title=Special:CiteThisPage&page=Gerrit%2FCommit_message_guidelines%2Fja&id=6637470&wpFormIdentifier=titleform" title="Information on how to cite this page"><span>Cite this page</span></a></li><li id="t-urlshortener" class="mw-list-item"><a href="/w/index.php?title=Special:UrlShortener&url=https%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FGerrit%2FCommit_message_guidelines%2Fja"><span>Get shortened URL</span></a></li><li id="t-urlshortener-qrcode" class="mw-list-item"><a href="/w/index.php?title=Special:QrCode&url=https%3A%2F%2Fwww.mediawiki.org%2Fwiki%2FGerrit%2FCommit_message_guidelines%2Fja"><span>Download QR code</span></a></li> </ul> </div> </div> <div id="p-coll-print_export" class="vector-menu mw-portlet mw-portlet-coll-print_export" > <div class="vector-menu-heading"> Print/export </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> <li id="coll-create_a_book" class="mw-list-item"><a href="/w/index.php?title=Special:Book&bookcmd=book_creator&referer=Gerrit%2FCommit+message+guidelines%2Fja"><span>Create a book</span></a></li><li id="coll-download-as-rl" class="mw-list-item"><a href="/w/index.php?title=Special:DownloadAsPdf&page=Gerrit%2FCommit_message_guidelines%2Fja&action=show-download-screen"><span>Download as PDF</span></a></li><li id="t-print" class="mw-list-item"><a href="/w/index.php?title=Gerrit/Commit_message_guidelines/ja&printable=yes" title="Printable version of this page [p]" accesskey="p"><span>Printable version</span></a></li> </ul> </div> </div> <div id="p-wikibase-otherprojects" class="vector-menu mw-portlet mw-portlet-wikibase-otherprojects emptyPortlet" > <div class="vector-menu-heading"> In other projects </div> <div class="vector-menu-content"> <ul class="vector-menu-content-list"> </ul> </div> </div> </div> </div> </div> </div> </nav> </div> </div> </div> <div class="vector-column-end"> <div class="vector-sticky-pinned-container"> <nav class="vector-page-tools-landmark" aria-label="Page tools"> <div id="vector-page-tools-pinned-container" class="vector-pinned-container"> </div> </nav> <nav class="vector-appearance-landmark" aria-label="Appearance"> <div id="vector-appearance-pinned-container" class="vector-pinned-container"> <div id="vector-appearance" class="vector-appearance vector-pinnable-element"> <div class="vector-pinnable-header vector-appearance-pinnable-header vector-pinnable-header-pinned" data-feature-name="appearance-pinned" data-pinnable-element-id="vector-appearance" data-pinned-container-id="vector-appearance-pinned-container" data-unpinned-container-id="vector-appearance-unpinned-container" > <div class="vector-pinnable-header-label">Appearance</div> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-pin-button" data-event-name="pinnable-header.vector-appearance.pin">move to sidebar</button> <button class="vector-pinnable-header-toggle-button vector-pinnable-header-unpin-button" data-event-name="pinnable-header.vector-appearance.unpin">hide</button> </div> </div> </div> </nav> </div> </div> <div id="bodyContent" class="vector-body" aria-labelledby="firstHeading" data-mw-ve-target-container> <div class="vector-body-before-content"> <div id="siteSub" class="noprint">From mediawiki.org</div> </div> <div id="contentSub"><div id="mw-content-subtitle"><div class="subpages">< <bdi dir="ltr"><a href="/wiki/Special:MyLanguage/Gerrit" title="Special:MyLanguage/Gerrit">Gerrit</a></bdi></div></div></div> <div id="mw-content-text" class="mw-body-content"><div class="mw-pt-translate-header noprint" dir="ltr" lang="en">This page is a <span class="plainlinks"><a class="external text" href="https://www.mediawiki.org/w/index.php?title=Special:Translate&group=page-Gerrit%2FCommit+message+guidelines&action=page&filter=&language=ja">translated version</a></span> of the page <a href="/wiki/Gerrit/Commit_message_guidelines" title="Gerrit/Commit message guidelines">Gerrit/Commit message guidelines</a> and the translation is 92% complete.</div><div class="mw-pt-translate-header" dir="ltr" lang="en"><span class="mw-translate-fuzzy">Outdated translations are marked like this.</span></div><div class="mw-content-ltr mw-parser-output" lang="ja" dir="ltr"><div class="mw-pt-languages noprint navigation-not-searchable" lang="en" dir="ltr"><div class="mw-pt-languages-label">Languages:</div><ul class="mw-pt-languages-list"><li><a href="/wiki/Gerrit/Commit_message_guidelines/id" class="mw-pt-progress mw-pt-progress--low" title="Gerrit/Panduan pesan ''commit'' (12% translated)" lang="id" dir="ltr">Bahasa Indonesia</a></li> <li><a href="/wiki/Gerrit/Commit_message_guidelines/de" class="mw-pt-progress mw-pt-progress--low" title="Gerrit/Commit message guidelines/de (13% translated)" lang="de" dir="ltr">Deutsch</a></li> <li><a href="/wiki/Gerrit/Commit_message_guidelines" class="mw-pt-languages-ui mw-pt-progress mw-pt-progress--complete" title="Gerrit/Commit message guidelines (100% translated)" lang="en" dir="ltr">English</a></li> <li><a href="/wiki/Gerrit/Commit_message_guidelines/tr" class="mw-pt-progress mw-pt-progress--high" title="Gerrit/İleti yönergeleri sunma (71% translated)" lang="tr" dir="ltr">Türkçe</a></li> <li><a href="/wiki/Gerrit/Commit_message_guidelines/fr" class="mw-pt-progress mw-pt-progress--high" title="Gerrit/guide des messages Commit (99% translated)" lang="fr" dir="ltr">français</a></li> <li><a href="/wiki/Gerrit/Commit_message_guidelines/cs" class="mw-pt-progress mw-pt-progress--complete" title="Gerrit/Jak správně napsat text ke commitu (100% translated)" lang="cs" dir="ltr">čeština</a></li> <li><a href="/wiki/Gerrit/Commit_message_guidelines/zh" class="mw-pt-progress mw-pt-progress--low" title="Gerrit/提交消息指引 (8% translated)" lang="zh" dir="ltr">中文</a></li> <li><span class="mw-pt-languages-selected mw-pt-progress mw-pt-progress--high" lang="ja" dir="ltr">日本語</span></li></ul></div> <style data-mw-deduplicate="TemplateStyles:r6824882">.mw-parser-output table.ambox{margin:0 10%;width:unset;border:1px solid #a2a9b1;border-left:10px solid #36c;background-color:#fbfbfb;box-sizing:border-box}.mw-parser-output table.ambox+table.ambox,.mw-parser-output table.ambox+link+table.ambox,.mw-parser-output table.ambox+style+table.ambox{margin-top:-1px}.mw-parser-output .ambox td.mbox-empty-cell{border:none;padding:0;width:1px}.mw-parser-output .ambox th.mbox-text,.mw-parser-output .ambox td.mbox-text{border:none;padding:0.25em 0.5em;width:100%}.mw-parser-output .ambox td.mbox-image{padding:2px 0 2px 0.5em}.mw-parser-output .ambox td.mbox-imageright{padding:2px 0.5em 2px 0}.mw-parser-output table.ambox-notice{border-left-color:#36c}.mw-parser-output table.ambox-speedy{background-color:var(--background-color-error-subtle,#fee7e6)}.mw-parser-output table.ambox-delete,.mw-parser-output table.ambox-speedy{border-left-color:var(--background-color-error--active,#b32424)}.mw-parser-output table.ambox-content{border-left-color:#f28500}.mw-parser-output table.ambox-style{border-left-color:#fc3}.mw-parser-output table.ambox-move{border-left-color:#9932cc}.mw-parser-output table.ambox-protection{border-left-color:#a2a9b1}html body.mediawiki .mw-parser-output .ambox.mbox-small{clear:right;float:right;margin:4px 0 4px 1em;box-sizing:border-box;width:238px;font-size:88%;line-height:1.25em}html body.mediawiki .mw-parser-output .ambox.mbox-small-left{margin:4px 1em 4px 0;box-sizing:border-box;overflow:hidden;width:238px;border-collapse:collapse;font-size:88%;line-height:1.25em}</style><table class="ambox ambox-notice plainlinks metadata" role="presentation"><tbody><tr><td class="mbox-image"><div style="width:52px"><span typeof="mw:File"><span><img src="//upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/30px-OOjs_UI_icon_check-constructive.svg.png" decoding="async" width="30" height="30" class="mw-file-element" srcset="//upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/45px-OOjs_UI_icon_check-constructive.svg.png 1.5x, //upload.wikimedia.org/wikipedia/commons/thumb/f/f6/OOjs_UI_icon_check-constructive.svg/60px-OOjs_UI_icon_check-constructive.svg.png 2x" data-file-width="20" data-file-height="20"/></span></span></div></td><td class="mbox-text"><div class="mbox-text-span">このページでは、開発者の合意によって (または主任開発者 (lead developer) からの宣言によって) 長い時間をかけて作成されてきた、MediaWiki <a href="/wiki/Special:MyLanguage/Development_guidelines" title="Special:MyLanguage/Development guidelines">開発の指針</a>を文書化しています。</div></td></tr></tbody></table> <p>変更の<b>コミット メッセージ</b>は重要な役割を果たします。 あなたの変更の中でも、他の人が最初に目にする場所です。 </p> <div class="mw-highlight mw-highlight-lang-text mw-content-ltr" dir="ltr"><pre><span></span>component: Short subject line More details. The blank line between the subject and body is mandatory. The subject line is used to represent the commit in code-review requests, search results, git rebase, logs, and more. Bug: T54321 </pre></div> <p><span id="Structure"></span> </p> <meta property="mw:PageProp/toc"/> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="構造" data-mw-thread-id="h-構造"><span id=".E6.A7.8B.E9.80.A0"></span><span data-mw-comment-start="" id="h-構造"></span>構造<span data-mw-comment-end="h-構造"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u69cb\u9020","replies":["h-\u4ef6\u540d-\u69cb\u9020","h-\u672c\u6587-\u69cb\u9020","h-\u30d5\u30c3\u30bf\u30fc\u3068\u30e1\u30bf_\u30c7\u30fc\u30bf-\u69cb\u9020"]}}--></div> <p><span id="Subject"></span> </p> <div class="mw-heading mw-heading3"><h3 id="件名" data-mw-thread-id="h-件名-構造"><span id=".E4.BB.B6.E5.90.8D"></span><span data-mw-comment-start="" id="h-件名-構造"></span>件名<span data-mw-comment-end="h-件名-構造"></span></h3></div> <p>コミット メッセージの最初の行は <b>件名</b> (<b>subject</b>) と呼ばれます。 件名は 80 文字未満にする必要があります (50〜70 文字を目指します)。 </p> <ul><li>件名の行では変更を要約します。 これはリポジトリに永遠に残ることを心に留めておいてください。</li> <li>必要に応じて、関連する<a href="#Component">コンポーネント</a>を件名の前に付けます。 コンポーネントは、コミットが変更する全般的な領域のことです。</li> <li><span class="mw-translate-fuzzy">件名の行では<a href="https://ja.wikipedia.org/wiki/%E5%91%BD%E4%BB%A4%E6%B3%95" class="extiw" title="ja:命令法">命令形</a>を使用してください。</span> <span lang="en" dir="ltr" class="mw-content-ltr">Avoid stating a fact, like "<i><style data-mw-deduplicate="TemplateStyles:r4673781">.mw-parser-output .nowrap,.mw-parser-output .nowrap a:before,.mw-parser-output .nowrap .selflink:before{white-space:nowrap}</style><span class="nowrap">Badge hides zero</span></i>" or "<i><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4673781"><span class="nowrap">Zero in badges</span></i>", which is ambigious and does not describe a change (good or bad? before or after?).</span> <span lang="en" dir="ltr" class="mw-content-ltr">Consider instead "<i><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4673781"><span class="nowrap">Hide zeroes in badges</span></i>", "<i><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4673781"><span class="nowrap">Show zeroes in badges</span></i>", or "<i><link rel="mw-deduplicated-inline-style" href="mw-data:TemplateStyles:r4673781"><span class="nowrap">Badge: Restore display of zero</span></i>".</span><br/>命令形は、誰かに指示を与えているように聞こえます。"Change", "Fix", "Add", "Remove", "Document", "Refactor" のような単語で始まることがあります。</li> <li>件名の行は短くし、あなたのコミットが何を変更するかを明確に記述する必要があります。 <br/>異なることを行う2つのコミットに対して、同じ件名は使用できないはずです。 変更フィード、コード レビューのメール、git-blame のログ、リリース ノート、展開 (deployment) の変更履歴などで、あなたの件名が流れてくると、人々は文脈を無視して読んでしまいます。 いい件名は、数多くのコミットの中から、特定の興味や関心に関連するかどうかを素早く判断するのに役立ちます。</li> <li>件名の末尾にピリオド/ドット (<code>.</code>) を付けないでください。</li></ul> <table class="wikitable"> <tbody><tr> <th>いい例は以下の通り: </th> <th>悪い例は以下の通り: </th></tr> <tr> <td> <ul><li>"Add Badge::query to query the API"</li> <li>"Avoid API query in SimpleBadge"</li> <li>"Support zeroes in SimpleBadge::add"</li> <li>"badger: Add accessibility labels to form fields"</li> <li>"rdbms: Avoid infinite loop on null input"</li> <li>"htmlform: Change colours to match April 2020 design"</li></ul> </td> <td> <ul><li>"Added Badge::query method", "Badge can query the API"</li> <li>"Badge doesn't do API queries"</li> <li>"Fixed Badge::query method", "Zeroes work when adding badges"</li> <li>"Implement accessibility fixes"</li> <li>"Fix crash"</li> <li>"Use a better design"</li></ul> </td></tr></tbody></table> <p><span id="Body"></span> </p> <div class="mw-heading mw-heading3"><h3 id="本文" data-mw-thread-id="h-本文-構造"><span id=".E6.9C.AC.E6.96.87"></span><span data-mw-comment-start="" id="h-本文-構造"></span>本文<span data-mw-comment-end="h-本文-構造"></span></h3></div> <p>本文を書く際は、以下の質問について考えてください: </p> <ul><li>この変更を行う必要がある理由は? 現在のコードの何が問題点になっていますか?</li> <li>この方法で変更する必要がある理由は? 他の方法はありますか?</li> <li>他のアプローチを検討しましたか? その場合は、それらのアプローチがそれほどよくなかった理由を説明してください。</li> <li>レビュアーはどのようにして、コードが正しく機能していることをテストまたは検証できますか?</li></ul> <p>推奨: </p> <ul><li>… 本文と件名を 1 行の空白行で区切ります。</li> <li>… 行が最大100文字になるようにメッセージを折り返します。 多くのエディターやツールが自動的にこれを行うことができます。72 文字が改行する一般的な文字数です。<sup id="cite_ref-72col_1-0" class="reference"><a href="#cite_note-72col-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup> ただし、URL は「フィット」させるために分割するとクリックできなくなるため、長くなってもそのままにしてください。</li> <li>他のコミットを参照するには、<code>I83f83377f2</code> のような (短い) Gerrit Change-Id、または <code>51e3fb9a71</code> のような Git コミット ハッシュ を使用します。 関連する変更がまだマージされていない場合は、常に Gerrit Change-Id を使用します。マージされる際に Git のコミットハッシュが変更され、行き止まりになってしまうためです。</li></ul> <p>非推奨: </p> <ul><li>他のコミットを URL や変更番号 (change 番号) で参照しないでください。 <ul><li>代わりに、<code>I83f83377f2</code> のような Gerrit の Change-Id、または <code>51e3fb9a71</code> のような Git コミット ハッシュを使用します。 この種のハッシュは、Gerrit や Gitiles などのリポジトリ ブラウザーで変更を参照する際に、自動的にリンクに変換されます。 また、<code>git show</code> やテキスト エディター内など、開発中の Git リポジトリでのナビゲーションも容易に行えるようになります。</li> <li>一方、URL はウェブ ブラウザーでしか解決できず、固定された場所に遷移するため、コード レビューのワークフローを壊してしまい、ローカル コンテキストから離れることになります。 例えば、Git ブラウザーの中では、ハッシュを使用すれば、あるコミットから関連するコミットへ、Gerrit に遷移することなく、同じツール内で素早く移動できます。 また、このハッシュは Gerrit で検索することで、それを参照しているコミットを自動的に見つけられます。</li> <li>また、変更番号が曖昧になったり、意図したものとは異なるコミットに自動的にリンクされることも問題です。 これは、コミットハッシュが数字のみであることがあります。例えば、コミット <a href="https://gerrit.wikimedia.org/r/c/mediawiki/core/%2B/117149" class="extiw" title="gerrit:c/mediawiki/core/+/117149">665661</a> は<a href="https://gerrit.wikimedia.org/r/c/mediawiki/core/%2B/665661" class="extiw" title="gerrit:c/mediawiki/core/+/665661">変更 665661</a> とは別物です。</li></ul></li> <li>変更の説明として URL のみを使用するのはやめてください。 <ul><li>変更が他の場所での議論や外部の説明文書で正当化される場合は、コミット メッセージ内でキー ポイントを要約し、URL も参照するようにしてみてください。</li></ul></li></ul> <div class="mw-heading mw-heading3"><h3 id="フッターとメタ_データ" data-mw-thread-id="h-フッターとメタ_データ-構造"><span id=".E3.83.95.E3.83.83.E3.82.BF.E3.83.BC.E3.81.A8.E3.83.A1.E3.82.BF_.E3.83.87.E3.83.BC.E3.82.BF"></span><span data-mw-comment-start="" id="h-フッターとメタ_データ-構造"></span>フッターとメタ データ<span data-mw-comment-end="h-フッターとメタ_データ-構造"></span></h3></div> <p>フッターの最も重要な情報は、<code>Change-Id</code> (必須) と <code>Bug</code> です。 </p> <ul><li>"<code>Bug</code>" と "<code>Change-Id</code>" のメタデータを以下の例とまったく同じように整形し、本文の最終行の後に空行を入れた後に一緒に配置します。</li></ul> <p>各メタ データ フィールドの詳細情報は、下記を参照してください。 </p><p><span id="Examples"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="例" data-mw-thread-id="h-例"><span id=".E4.BE.8B"></span><span data-mw-comment-start="" id="h-例"></span>例<span data-mw-comment-end="h-例"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u4f8b","replies":["h-\u3044\u3044\u4f8b-\u4f8b","h-\u60aa\u3044\u4f8b-\u4f8b"]}}--></div> <p><span id="Good_example"></span> </p> <div class="mw-heading mw-heading3"><h3 id="いい例" data-mw-thread-id="h-いい例-例"><span id=".E3.81.84.E3.81.84.E4.BE.8B"></span><span data-mw-comment-start="" id="h-いい例-例"></span>いい例<span data-mw-comment-end="h-いい例-例"></span></h3></div> <pre>jquery.badge: Add ability to display the number zero Cupcake ipsum dolor sit. Amet tart cheesecake tiramisu chocolate cake topping. Icing ice cream sweet roll. Biscuit dragée toffee wypas. Does not yet address T44834 or T176. Follow-up to Id5e7cbb1. Bug: T42 Change-Id: I88c5f819c42d9fe1468be6b2cf74413d7d6d6907 </pre> <p><span id="Bad_example"></span> </p> <div class="mw-heading mw-heading3"><h3 id="悪い例" data-mw-thread-id="h-悪い例-例"><span id=".E6.82.AA.E3.81.84.E4.BE.8B"></span><span data-mw-comment-start="" id="h-悪い例-例"></span>悪い例<span data-mw-comment-end="h-悪い例-例"></span></h3></div> <pre>Improved the code by fixing a bug. Changed the files a.php and b.php Bug: T42 Change-Id: I88c5f819c42d9fe1468be6b2cf74413d7d6d6907 </pre> <p><span id="Additional_information"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="追加的な例" data-mw-thread-id="h-追加的な例"><span id=".E8.BF.BD.E5.8A.A0.E7.9A.84.E3.81.AA.E4.BE.8B"></span><span data-mw-comment-start="" id="h-追加的な例"></span>追加的な例<span data-mw-comment-end="h-追加的な例"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u8ffd\u52a0\u7684\u306a\u4f8b","replies":["h-\u4ef6\u540d_2-\u8ffd\u52a0\u7684\u306a\u4f8b","h-Phabricator-\u8ffd\u52a0\u7684\u306a\u4f8b","h-\u76f8\u4e92\u53c2\u7167-\u8ffd\u52a0\u7684\u306a\u4f8b","h-\u5909\u66f4_ID-\u8ffd\u52a0\u7684\u306a\u4f8b","h-\u4f9d\u5b58\u95a2\u4fc2-\u8ffd\u52a0\u7684\u306a\u4f8b","h-\u4ed6\u306e\u4eba\u3092\u30af\u30ec\u30b8\u30c3\u30c8\u8868\u793a\u3059\u308b-\u8ffd\u52a0\u7684\u306a\u4f8b"]}}--></div> <style data-mw-deduplicate="TemplateStyles:r4678680">.mw-parser-output .hint{background-position:left 7px top 50%;padding:0.5em;padding-left:40px;margin:0.5em 0;overflow:hidden;background-color:#f8f9fa;background-repeat:no-repeat;border:1px solid #ddd}.mw-parser-output .hint pre,.mw-parser-output .hint .mw-code{border:0}.mw-parser-output .hint-block{background-position:left 7px top 1.3em}.mw-parser-output .hint-inline{display:inline-block;vertical-align:middle}.mw-parser-output .hint-question,.mw-parser-output .hint-algorithm,.mw-parser-output .hint-example,.mw-parser-output .hint-info,.mw-parser-output .hint-history{background-image:url("https://upload.wikimedia.org/wikipedia/commons/1/10/OOjs_UI_icon_help-ltr-progressive.svg");background-size:25px;padding-left:40px;min-height:28px}.mw-parser-output .hint-algorithm{background-image:url("https://upload.wikimedia.org/wikipedia/commons/f/f6/OOjs_UI_icon_math-progressive.svg")}.mw-parser-output .hint-example{background-image:url("https://upload.wikimedia.org/wikipedia/commons/2/2a/OOjs_UI_icon_code-progressive.svg")}.mw-parser-output .hint-info,.mw-parser-output .hint-history{background-color:#f6efe5;background-image:url("https://upload.wikimedia.org/wikipedia/commons/d/d5/OOjs_UI_icon_reference_20_ac6600.svg");border-color:#ac6600}.mw-parser-output .hint-reminder,.mw-parser-output .hint-warn,.mw-parser-output .hint-caution,.mw-parser-output .hint-error{background-color:#fff9ea;background-image:url("https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg");background-size:25px;border-color:#fc3;min-height:28px}.mw-parser-output .hint-warn,.mw-parser-output .hint-caution{background-image:url("https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg")}.mw-parser-output .hint-caution{background-color:#f8f9fa;border-color:#ddd}.mw-parser-output .hint-error{background-color:#fee7e6;background-image:url("https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg");border-color:#c33}</style><div role="hint" class="hint hint-reminder"><span lang="en" dir="ltr" class="mw-content-ltr">If the repository you are contributing to has a <code>.gitmessage</code> file (<a class="external text" href="https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/core/+/refs/heads/master/.gitmessage">example</a>), use the following command to get a template to guide you in writing a commit message: <code>git config commit.template=.gitmessage</code></span></div> <p><span id="Subject"></span> </p> <div class="mw-heading mw-heading3"><h3 id="件名_2" data-mw-thread-id="h-件名_2-追加的な例"><span id=".E4.BB.B6.E5.90.8D_2"></span><span data-mw-comment-start="" id="h-件名_2-追加的な例"></span>件名<span data-mw-comment-end="h-件名_2-追加的な例"></span></h3></div> <p>私たちが使用するほとんどのプログラムは、Git コミットを表示する際に件名を<b>プレーン テキスト</b>としてレンダリングします。 つまり、URL が機能せず、テキストの選択/コピーができないことがよくあります。 したがって、件名の行内で Phabricator タスク、Git コミット、URL には言及しないでください。 代わりに、本文またはフッターのメタデータで言及してください。 こうすることで、普遍的に選択、コピー、クリックできます。 </p> <ul><li>Gerrit は件名を、メール通知、IRC 通知、<a href="https://gerrit.wikimedia.org/r/q/project:mediawiki/core%2Bbranch:master%2Bis:merged,n,z" class="extiw" title="gerrit:q/project:mediawiki/core+branch:master+is:merged,n,z">検索結果</a>で使用します。</li> <li>GitHub は件名を以下で使用します: <a rel="nofollow" class="external text" href="https://github.com/wikimedia/mediawiki-core/commits/">コミット履歴</a>, <a rel="nofollow" class="external text" href="https://github.com/wikimedia/mediawiki-core/commit/a943d0da14f1ff4435409171a32f03cb958025ad">コミットの件名</a>。</li> <li>Git CLIは、次のサブジェクトを使用します: <code><a rel="nofollow" class="external text" href="https://www.kernel.org/pub/software/scm/git/docs/git-log.html">git</a> shortlog</code>, <code>git log --oneline</code>, <code>git rebase -i</code>, <code>git show</code>, <i>etc.</i></li> <li><a href="/wiki/Special:MyLanguage/MediaWiki_1.29/wmf.20" title="Special:MyLanguage/MediaWiki 1.29/wmf.20">MediaWiki のウィキメディア展開ブランチのリリース ノート</a><span style="display:none"><a href="/wiki/MediaWiki_1.29/wmf.20" title="MediaWiki 1.29/wmf.20"> </a></span></li> <li>などなど、盛りだくさんです!</li></ul> <p><span id="Component"></span> </p> <div class="mw-heading mw-heading4"><h4 id="コンポーネント" data-mw-thread-id="h-コンポーネント-件名_2"><span id=".E3.82.B3.E3.83.B3.E3.83.9D.E3.83.BC.E3.83.8D.E3.83.B3.E3.83.88"></span><span data-mw-comment-start="" id="h-コンポーネント-件名_2"></span>コンポーネント<span data-mw-comment-end="h-コンポーネント-件名_2"></span></h4></div> <p>件名の先頭をコンポーネントにすることで、コミットによってプロジェクトのどの領域が変更されるかを示すこともできます。 </p><p>以下のいずれかである必要があります: </p> <ul><li>"installer"、"jobqueue"、"objectcache"、"resourceloader"、"rdbms"<i>など</i>、<code>includes/</code>あるいは<code>includes/libs</code>以下のPHP クラスのディレクトリです。</li> <li>PHP クラス名 (Title、User、OutputPage など)。通常、<code>includes/</code> に下位ディレクトリがないクラスの場合。</li> <li>* ResourceLoader モジュール名 (「mediawiki.Title」「mediawiki.util」など)。</li> <li>変更の種類に関連する複数の領域に影響を与える汎用的なキーワード: <ul><li>"build" - 開発ワークフローに関連するファイルの変更 (<code>package.json</code> <code>.travis.yml</code> などの更新など) の場合</li> <li>"tests" or "test" (depending on directory name) - QUnit や PHPUnit のテスト スイート、またはテスト スイート ランナーのみに影響する変更の場合。</li></ul></li></ul> <div class="mw-heading mw-heading3"><h3 id="Phabricator" data-mw-thread-id="h-Phabricator-追加的な例"><span data-mw-comment-start="" id="h-Phabricator-追加的な例"></span>Phabricator<span data-mw-comment-end="h-Phabricator-追加的な例"></span></h3></div> <p><a href="/wiki/Special:MyLanguage/Phabricator" title="Special:MyLanguage/Phabricator">Phabricator</a><span style="display:none"><a href="/wiki/Phabricator" title="Phabricator"> </a></span> のバグまたはタスクを参照するには、コミット メッセージで T<i>xxx</i> 表記を使用してインラインで言及します (例:「That was caused by <a href="https://phabricator.wikimedia.org/T169" class="extiw" title="phab:T169">T169</a>.」) </p><p>コミットが (部分的にでも) 解決するか、特にバグに関連することを表現するには、コミット メッセージの末尾にあるフッターに <code>Bug: T<i>xxx</i></code> を追加します。<sup id="cite_ref-2" class="reference"><a href="#cite_note-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> (コミット メッセージを修正 (amend) する場合は、<code>Change-Id:</code> 行のすぐ上に挿入します。<code>Change-Id:</code> 行との間に空白行は挿入しません。全体の構造ルールに従って、本文と件名を 1 行の空白行で区切ることを忘れないようにしましょう。) </p> <pre>Bug: T169 </pre> <p>ボットは Phabricator タスクに、重要なイベント (マージ、破棄など) に関するコメントを自動的に残します。 パッチが 2 つ以上のバグを解決する場合は、各 <code>Bug: T12345</code> 参照を末尾の独自の行に (1行に1個) 配置します。 </p> <pre>Bug: T299087 Bug: T299088 </pre> <p><span id="Cross-references"></span> </p> <div class="mw-heading mw-heading3"><h3 id="相互参照" data-mw-thread-id="h-相互参照-追加的な例"><span id=".E7.9B.B8.E4.BA.92.E5.8F.82.E7.85.A7"></span><span data-mw-comment-start="" id="h-相互参照-追加的な例"></span>相互参照<span data-mw-comment-end="h-相互参照-追加的な例"></span></h3></div> <p>別のコミットを参照するときは常に、マージ済みのコミットの <a href="https://ja.wikipedia.org/wiki/SHA-1" class="extiw" title="ja:SHA-1">SHA-1</a> git ハッシュを使用します。 コミットがまだ保留中のレビューの場合は、git ハッシュの代わりに Gerrit Change-Id ハッシュを使用します。これは、git ハッシュが個々のパッチセット (リベース時に変更されるため、行き止まりが生じる) に関連しているためです。 </p><p><span id="Change-Id"></span> </p> <div class="mw-heading mw-heading3"><h3 id="変更_ID" data-mw-thread-id="h-変更_ID-追加的な例"><span id=".E5.A4.89.E6.9B.B4_ID"></span><span data-mw-comment-start="" id="h-変更_ID-追加的な例"></span>変更 ID<span data-mw-comment-end="h-変更_ID-追加的な例"></span></h3></div> <p><a href="/wiki/Special:MyLanguage/Gerrit" title="Special:MyLanguage/Gerrit">Gerrit</a><span style="display:none"><a href="/wiki/Gerrit" title="Gerrit"> </a></span> の <code>git-review</code> ツールは、新しいコミットに「<code>Change-Id: I<i>xxx</i></code>」キーワードを自動的に追加します。 </p><p><span id="Dependencies"></span> </p> <div class="mw-heading mw-heading3"><h3 id="依存関係" data-mw-thread-id="h-依存関係-追加的な例"><span id=".E4.BE.9D.E5.AD.98.E9.96.A2.E4.BF.82"></span><span data-mw-comment-start="" id="h-依存関係-追加的な例"></span>依存関係<span data-mw-comment-end="h-依存関係-追加的な例"></span></h3></div> <p><code>Depends-On: Ixxx</code> </p><p><a href="/wiki/Special:MyLanguage/Gerrit/Cross-repo_dependencies" title="Special:MyLanguage/Gerrit/Cross-repo dependencies">クロス リポジトリ依存関係</a>がある場合 (=コミットは別のリポジトリの別のコミットに依存している)、最後の段落に <code>Depends-On: Ixxx...</code> を追加することで宣言します。 (「Ixxx」... は他のコミットの <code>Change-Id</code> です。) これは、Zuul に当該コミットと一緒にテストするように指示します。 </p><p>開発者に追加的なガイドを提供するために、他のリポジトリのコミット メッセージの最後の段落で <code>Needed-By: Iyyy...</code> を使用して逆方向の関係を示せます。 (「Iyyy」はあなたのコミットの <code>Change-Id</code> です。) Zuul はこれには反応せず、あくまで人間の読者のためにあることにご注意ください。 また、Gerrit は、<code>Depends-On</code> の存在に基づいて自動的にバックリンクを追加します。<code>Needed-By</code> の有無にかかわらずです。 </p><p><span id="Crediting_others"></span> </p> <div class="mw-heading mw-heading3"><h3 id="他の人をクレジット表示する" data-mw-thread-id="h-他の人をクレジット表示する-追加的な例"><span id=".E4.BB.96.E3.81.AE.E4.BA.BA.E3.82.92.E3.82.AF.E3.83.AC.E3.82.B8.E3.83.83.E3.83.88.E8.A1.A8.E7.A4.BA.E3.81.99.E3.82.8B"></span><span data-mw-comment-start="" id="h-他の人をクレジット表示する-追加的な例"></span>他の人をクレジット表示する<span data-mw-comment-end="h-他の人をクレジット表示する-追加的な例"></span></h3></div> <p><code>Co-Authored-by: gerrit_username <gerrit_user_email@example.com></code> </p><p><span class="mw-translate-fuzzy">Change-id の前にこの行を追加して、変更に取り組んでいる他の開発者のクレジットを表示します。</span> 改行で区切って複数人を追加できます。 </p> <style data-mw-deduplicate="TemplateStyles:r6651107">.mw-parser-output .note{background-position:left 7px top 50%;padding:0.5em 0.5em 0.5em 40px;margin:0.5em 0;overflow:hidden;background-color:#f8f9fa;color:#333;background-repeat:no-repeat;border:1px solid #ddd}.mw-parser-output .note-inline{display:inline-block;vertical-align:middle}.mw-parser-output .note-info{background-color:#eaf3ff;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/e/ec/OOjs_UI_icon_information-progressive.svg");background-size:25px;border-color:#a3caff;padding-left:40px;min-height:25px}.mw-parser-output .note-reminder{background-color:#fff9ea;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/a/a8/OOjs_UI_icon_lightbulb-yellow.svg");background-size:25px;border-color:#fc3;min-height:25px}.mw-parser-output .note-warn{background-color:#fff9ea;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/3/3b/OOjs_UI_icon_alert-warning.svg");background-size:25px;border-color:#fc3;min-height:25px}.mw-parser-output .note-error{background-color:#fee7e6;color:#333;background-image:url("https://upload.wikimedia.org/wikipedia/commons/b/bf/OOjs_UI_icon_notice-destructive.svg");background-size:25px;border-color:#c33;min-height:25px}@media screen{html.skin-theme-clientpref-night .mw-parser-output .note{background-color:transparent;color:inherit}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .note{background-color:transparent;color:inherit}}</style><div role="note" class="note note-info">コミット メッセージのフッターの他の単語とは異なり、<code>by</code> は大文字では<b>ありません</b>。<code>Co-Authored-By</code> ではなく <code>Co-Authored-by</code> です。</div> <p><span id="Further_reading"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="参考資料" data-mw-thread-id="h-参考資料"><span id=".E5.8F.82.E8.80.83.E8.B3.87.E6.96.99"></span><span data-mw-comment-start="" id="h-参考資料"></span>参考資料<span data-mw-comment-end="h-参考資料"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u53c2\u8003\u8cc7\u6599","replies":[]}}--></div> <ul><li><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions#Release_notes" title="Special:MyLanguage/Manual:Coding conventions">Manual:コーディング規約</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions#Release_notes" title="Manual:Coding conventions"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/commit-message-validator" title="Special:MyLanguage/commit-message-validator">commit-message-validator</a><span style="display:none"><a href="/wiki/Commit-message-validator" title="Commit-message-validator"> </a></span></li> <li><a rel="nofollow" class="external text" href="https://gerrit-review.googlesource.com/Documentation/dev-crafting-changes.html#commit-message"><span lang="en" dir="ltr" class="mw-content-ltr">Gerrit Commit Guidelines</span></a></li> <li><a rel="nofollow" class="external text" href="https://github.com/nodejs/node/blob/v0.10.5/CONTRIBUTING.md#commit">Node.js コミット ガイドライン</a></li> <li><a rel="nofollow" class="external text" href="https://github.com/git/git/blob/v1.8.4.2/Documentation/SubmittingPatches#L74">Git コア コミット ガイドライン</a></li> <li><a rel="nofollow" class="external text" href="http://contribute.jquery.org/commits-and-pull-requests/">jQuery コミット ガイドライン</a></li> <li><a rel="nofollow" class="external text" href="https://github.com/erlang/otp/wiki/Writing-good-commit-messages">Erlang コミット ガイドライン</a></li> <li><a rel="nofollow" class="external text" href="https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html">Git コミット メッセージについての注記</a> - Tim Pope 著</li> <li><a rel="nofollow" class="external text" href="https://cbea.ms/git-commit/">Git コミット メッセージの書き方</a> - Chris Beams 著</li> <li><a href="https://wikitech.wikimedia.org/wiki/Help:Puppet-compiler#Catalog_compiler_in_integration_Jenkins" class="extiw" title="wikitech:Help:Puppet-compiler">Gerrit integrations with the Puppet Catalogue Compiler</a></li></ul> <p><span id="References"></span> </p> <div class="mw-heading mw-heading2 ext-discussiontools-init-section"><h2 id="脚注" data-mw-thread-id="h-脚注"><span id=".E8.84.9A.E6.B3.A8"></span><span data-mw-comment-start="" id="h-脚注"></span>脚注<span data-mw-comment-end="h-脚注"></span></h2><!--__DTELLIPSISBUTTON__{"threadItem":{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-\u811a\u6ce8","replies":[]}}--></div> <div class="mw-references-wrap"><ol class="references"> <li id="cite_note-72col-1"><span class="mw-cite-backlink"><a href="#cite_ref-72col_1-0">↑</a></span> <span class="reference-text"><span lang="en" dir="ltr" class="mw-content-ltr">This is a legacy from times when lines were provided on <a href="https://en.wikipedia.org/wiki/Punched_card#IBM_80-column_format_and_character_codes" class="extiw" title="w:Punched card">punched cards</a>.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Columns 1 to 72 where used for the statement and columns 73 to 80 for short comments.</span> <span lang="en" dir="ltr" class="mw-content-ltr">Size 72 is reasonable enough to understand the code at first glance.</span></span> </li> <li id="cite_note-2"><span class="mw-cite-backlink"><a href="#cite_ref-2">↑</a></span> <span class="reference-text"> すべてのヘッダー/フッターと同様に、名前をハイフンで区切って、個別に先頭を大文字にした名前で記述します (例: <code>Hypothetical-Header-Or-Footer</code>)。 名前の後にコロン (":") を入力し、その後に空白を 1 つ挿入します。 Git コミット、HTTP ヘッダー、メール ヘッダーと同様に、フッターの上に余分な空白行を追加すると、フッターが切り捨てられ、空白行の前の部分も誤って本文と解釈されてしまいます。</span> </li> </ol></div> <div class="navbox-styles nomobile"><style data-mw-deduplicate="TemplateStyles:r6230902">.mw-parser-output .navbox{border:1px solid #aaa;box-sizing:border-box;width:100%;margin:auto;clear:both;font-size:88%;text-align:center;padding:1px}.mw-parser-output .navbox-inner,.mw-parser-output .navbox-subgroup{width:100%}.mw-parser-output .navbox+.navbox-styles+.navbox{margin-top:-1px}.mw-parser-output .navbox th,.mw-parser-output .navbox-title,.mw-parser-output .navbox-abovebelow{text-align:center;padding-left:1em;padding-right:1em}.mw-parser-output th.navbox-group{white-space:nowrap;text-align:right}.mw-parser-output .navbox,.mw-parser-output .navbox-subgroup{background:#fdfdfd}.mw-parser-output .navbox-list{border-color:#fdfdfd}.mw-parser-output .navbox th,.mw-parser-output .navbox-title{background:#eaeeff}.mw-parser-output .navbox-abovebelow,.mw-parser-output th.navbox-group,.mw-parser-output .navbox-subgroup .navbox-title{background:#ddddff}.mw-parser-output .navbox-subgroup .navbox-group,.mw-parser-output .navbox-subgroup .navbox-abovebelow{background:#e6e6ff}.mw-parser-output .navbox-even{background:#f7f7f7}.mw-parser-output .navbox-odd{background:transparent}.mw-parser-output th.navbox-title1{border-left:2px solid #fdfdfd;width:100%}.mw-parser-output td.navbox-list1{text-align:left;border-left-width:2px;border-left-style:solid}.mw-parser-output .navbox .hlist td dl,.mw-parser-output .navbox .hlist td ol,.mw-parser-output .navbox .hlist td ul,.mw-parser-output .navbox td.hlist dl,.mw-parser-output .navbox td.hlist ol,.mw-parser-output .navbox td.hlist ul{padding:0.125em 0}.mw-parser-output .navbox .hlist dd,.mw-parser-output .navbox .hlist dt,.mw-parser-output .navbox .hlist li{white-space:nowrap}.mw-parser-output .navbox .hlist dd dl,.mw-parser-output .navbox .hlist dt dl,.mw-parser-output .navbox .hlist li ol,.mw-parser-output .navbox .hlist li ul{white-space:normal}.mw-parser-output ol+.navbox-styles+.navbox,.mw-parser-output ul+.navbox-styles+.navbox{margin-top:0.5em}</style></div><div role="navigation" class="navbox" aria-labelledby="開発の指針" style="border: 1px solid #aaa; padding: 3px;;padding:3px"><table class="nowraplinks hlist navbox-inner" style="border-spacing:0;background:transparent;color:inherit"><tbody><tr><th scope="col" class="navbox-title" colspan="2"><style data-mw-deduplicate="TemplateStyles:r6387430">.mw-parser-output .hlist dl,.mw-parser-output .hlist ol,.mw-parser-output .hlist ul{margin:0;padding:0}.mw-parser-output .hlist dd,.mw-parser-output .hlist dt,.mw-parser-output .hlist li{margin:0;display:inline}.mw-parser-output .hlist dl dl,.mw-parser-output .hlist dl ol,.mw-parser-output .hlist dl ul,.mw-parser-output .hlist ol dl,.mw-parser-output .hlist ol ol,.mw-parser-output .hlist ol ul,.mw-parser-output .hlist ul dl,.mw-parser-output .hlist ul ol,.mw-parser-output .hlist ul ul{display:inline}.mw-parser-output .hlist .mw-empty-li,.mw-parser-output .hlist .mw-empty-elt{display:none}.mw-parser-output .hlist dt:after{content:": "}.mw-parser-output .hlist dd:after,.mw-parser-output .hlist li:after{content:" · ";font-weight:bold}.mw-parser-output .hlist dd:last-child:after,.mw-parser-output .hlist dt:last-child:after,.mw-parser-output .hlist li:last-child:after{content:none}.mw-parser-output .hlist dd dd:first-child:before,.mw-parser-output .hlist dd dt:first-child:before,.mw-parser-output .hlist dd li:first-child:before,.mw-parser-output .hlist dt dd:first-child:before,.mw-parser-output .hlist dt dt:first-child:before,.mw-parser-output .hlist dt li:first-child:before,.mw-parser-output .hlist li dd:first-child:before,.mw-parser-output .hlist li dt:first-child:before,.mw-parser-output .hlist li li:first-child:before{content:" (";font-weight:normal}.mw-parser-output .hlist dd dd:last-child:after,.mw-parser-output .hlist dd dt:last-child:after,.mw-parser-output .hlist dd li:last-child:after,.mw-parser-output .hlist dt dd:last-child:after,.mw-parser-output .hlist dt dt:last-child:after,.mw-parser-output .hlist dt li:last-child:after,.mw-parser-output .hlist li dd:last-child:after,.mw-parser-output .hlist li dt:last-child:after,.mw-parser-output .hlist li li:last-child:after{content:")";font-weight:normal}.mw-parser-output .hlist ol{counter-reset:listitem}.mw-parser-output .hlist ol>li{counter-increment:listitem}.mw-parser-output .hlist ol>li:before{content:" "counter(listitem)"\a0 "}.mw-parser-output .hlist dd ol>li:first-child:before,.mw-parser-output .hlist dt ol>li:first-child:before,.mw-parser-output .hlist li ol>li:first-child:before{content:" ("counter(listitem)"\a0 "}</style><style data-mw-deduplicate="TemplateStyles:r4692751">.mw-parser-output .navbar{display:inline;font-size:88%;font-weight:normal}.mw-parser-output .navbar ul{display:inline;white-space:nowrap}.mw-parser-output .navbar li{word-spacing:-0.125em}.mw-parser-output .navbox .navbar{display:block;font-size:100%}.mw-parser-output .navbox-title .navbar{float:left;text-align:left;margin-right:0.5em;width:6em}</style><div class="plainlinks hlist navbar mini"><ul><li class="nv-view"><a href="/wiki/Template:Development_guidelines_navigation" title="Template:Development guidelines navigation"><abbr title="View this template" style=";;background:none transparent;border:none;box-shadow:none; padding:0;">v</abbr></a></li><li class="nv-talk"><a href="/wiki/Template_talk:Development_guidelines_navigation" title="Template talk:Development guidelines navigation"><abbr title="Discuss this template" style=";;background:none transparent;border:none;box-shadow:none; padding:0;">t</abbr></a></li><li class="nv-edit"><a class="external text" href="https://www.mediawiki.org/w/index.php?title=Template:Development_guidelines_navigation&action=edit"><abbr title="Edit this template" style=";;background:none transparent;border:none;box-shadow:none; padding:0;">e</abbr></a></li></ul></div><div id="開発の指針" style="font-size:114%;margin:0 4em"><a href="/wiki/Special:MyLanguage/Development_guidelines" title="Special:MyLanguage/Development guidelines"><span style="font-weight: bold;">開発の指針</span></a><span style="display:none"><a href="/wiki/Development_guidelines" title="Development guidelines"> </a></span></div></th></tr><tr><th scope="row" class="navbox-group" style="width:1%">方針</th><td class="navbox-list1 navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Special:MyLanguage/Development_policy" title="Special:MyLanguage/Development policy">開発の方針</a><span style="display:none"><a href="/wiki/Development_policy" title="Development policy"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Wikimedia_Engineering_Architecture_Principles" title="Special:MyLanguage/Wikimedia Engineering Architecture Principles"><span lang="en" dir="ltr" class="mw-content-ltr">Architecture principles</span></a><span style="display:none"><a href="/wiki/Wikimedia_Engineering_Architecture_Principles" title="Wikimedia Engineering Architecture Principles"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Wikimedia_services_policy" title="Special:MyLanguage/Wikimedia services policy">サービスの方針</a><span style="display:none"><a href="/wiki/Wikimedia_services_policy" title="Wikimedia services policy"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Support_policy_for_PHP" title="Special:MyLanguage/Support policy for PHP">PHPのサポート方針</a><span style="display:none"><a href="/wiki/Support_policy_for_PHP" title="Support policy for PHP"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Gerrit/Privilege_policy" title="Special:MyLanguage/Gerrit/Privilege policy">Gerrit/特権方針</a><span style="display:none"><a href="/wiki/Gerrit/Privilege_policy" title="Gerrit/Privilege policy"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Stable_interface_policy" title="Special:MyLanguage/Stable interface policy">安定版インターフェイスの方針</a><span style="display:none"><a href="/wiki/Stable_interface_policy" title="Stable interface policy"> </a></span> <ul><li><a href="/wiki/Special:MyLanguage/Stable_interface_policy/Frontend" title="Special:MyLanguage/Stable interface policy/Frontend">フロントエンド</a><span style="display:none"><a href="/wiki/Stable_interface_policy/Frontend" title="Stable interface policy/Frontend"> </a></span></li></ul></li> <li><a href="/wiki/Special:MyLanguage/MediaWiki_database_policy" title="Special:MyLanguage/MediaWiki database policy">MediaWiki のデータベースの方針</a><span style="display:none"><a href="/wiki/MediaWiki_database_policy" title="MediaWiki database policy"> </a></span></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">全般的なガイドライン</th><td class="navbox-list1 navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Special:MyLanguage/Security_for_developers" title="Special:MyLanguage/Security for developers">開発者向けセキュリティ</a><span style="display:none"><a href="/wiki/Security_for_developers" title="Security for developers"> </a></span></li> <li><a href="https://wikitech.wikimedia.org/wiki/Performance/Guides/Backend_performance_practices" class="extiw" title="wikitech:Performance/Guides/Backend performance practices">パフォーマンスの指針</a></li> <li><b><a href="/wiki/Special:MyLanguage/Gerrit/Commit_message_guidelines" title="Special:MyLanguage/Gerrit/Commit message guidelines">コミット メッセージの指針</a></b><span style="display:none"><a href="/wiki/Gerrit/Commit_message_guidelines" title="Gerrit/Commit message guidelines"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Security_checklist_for_developers" title="Special:MyLanguage/Security checklist for developers">開発者向けセキュリティ チェックリスト</a><span style="display:none"><a href="/wiki/Security_checklist_for_developers" title="Security checklist for developers"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Localisation" title="Special:MyLanguage/Localisation">地域化(多言語への対応)</a><span style="display:none"><a href="/wiki/Localisation" title="Localisation"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Design/Living_style_guide" title="Special:MyLanguage/Design/Living style guide">設計のスタイル ガイド</a><span style="display:none"><a href="/wiki/Design/Living_style_guide" title="Design/Living style guide"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Documentation/Style_guide" title="Special:MyLanguage/Documentation/Style guide">説明文書/スタイル ガイド</a><span style="display:none"><a href="/wiki/Documentation/Style_guide" title="Documentation/Style guide"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Accessibility_guide_for_developers" title="Special:MyLanguage/Accessibility guide for developers">開発者向けアクセシビリティ ガイド</a><span style="display:none"><a href="/wiki/Accessibility_guide_for_developers" title="Accessibility guide for developers"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Inclusive_language" title="Special:MyLanguage/Inclusive language">包括的言語</a><span style="display:none"><a href="/wiki/Inclusive_language" title="Inclusive language"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Guidelines_for_a_healthy_code_review_culture" title="Special:MyLanguage/Guidelines for a healthy code review culture">健全なコード レビュー文化のための指針</a><span style="display:none"><a href="/wiki/Guidelines_for_a_healthy_code_review_culture" title="Guidelines for a healthy code review culture"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Collaborative_programming" title="Special:MyLanguage/Collaborative programming">協働プログラミング</a><span style="display:none"><a href="/wiki/Collaborative_programming" title="Collaborative programming"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Best_practices_for_extensions" title="Special:MyLanguage/Best practices for extensions">拡張機能の最善手法</a><span style="display:none"><a href="/wiki/Best_practices_for_extensions" title="Best practices for extensions"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Pre-commit_checklist" title="Special:MyLanguage/Manual:Pre-commit checklist">コミット前のチェックリスト</a><span style="display:none"><a href="/wiki/Manual:Pre-commit_checklist" title="Manual:Pre-commit checklist"> </a></span></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">コーディング規約</th><td class="navbox-list1 navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions#Code_structure" title="Special:MyLanguage/Manual:Coding conventions">すべての言語</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions#Code_structure" title="Manual:Coding conventions"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions/PHP" title="Special:MyLanguage/Manual:Coding conventions/PHP">PHP</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions/PHP" title="Manual:Coding conventions/PHP"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:PHP_unit_testing/Writing_unit_tests#Test_conventions" title="Special:MyLanguage/Manual:PHP unit testing/Writing unit tests">PHPUnit テスト規約</a><span style="display:none"><a href="/wiki/Manual:PHP_unit_testing/Writing_unit_tests#Test_conventions" title="Manual:PHP unit testing/Writing unit tests"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions/JavaScript" title="Special:MyLanguage/Manual:Coding conventions/JavaScript">JavaScript</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions/JavaScript" title="Manual:Coding conventions/JavaScript"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions/CSS" title="Special:MyLanguage/Manual:Coding conventions/CSS">CSS</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions/CSS" title="Manual:Coding conventions/CSS"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions/Selenium" title="Special:MyLanguage/Manual:Coding conventions/Selenium">Selenium</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions/Selenium" title="Manual:Coding conventions/Selenium"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions/Lua" title="Special:MyLanguage/Manual:Coding conventions/Lua">Lua</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions/Lua" title="Manual:Coding conventions/Lua"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions/Python" title="Special:MyLanguage/Manual:Coding conventions/Python">Python</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions/Python" title="Manual:Coding conventions/Python"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions/Java" title="Special:MyLanguage/Manual:Coding conventions/Java">Java</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions/Java" title="Manual:Coding conventions/Java"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions/SVG" title="Special:MyLanguage/Manual:Coding conventions/SVG">SVG</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions/SVG" title="Manual:Coding conventions/SVG"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions/Vue" title="Special:MyLanguage/Manual:Coding conventions/Vue">Vue</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions/Vue" title="Manual:Coding conventions/Vue"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions/Database" title="Special:MyLanguage/Manual:Coding conventions/Database">データベース スキーマ</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions/Database" title="Manual:Coding conventions/Database"> </a></span></li> <li><a href="/wiki/Special:MyLanguage/Product_Analytics/Style_guide" title="Special:MyLanguage/Product Analytics/Style guide"><span lang="en" dir="ltr" class="mw-content-ltr">Analytics (Python, R, SQL)</span></a><span style="display:none"><a href="/wiki/Product_Analytics/Style_guide" title="Product Analytics/Style guide"> </a></span></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">API クライアント コード</th><td class="navbox-list1 navbox-list navbox-even" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><a href="/wiki/Special:MyLanguage/API:Client_code/Gold_standard" title="Special:MyLanguage/API:Client code/Gold standard">API クライアント ライブラリの標準</a><span style="display:none"><a href="/wiki/API:Client_code/Gold_standard" title="API:Client code/Gold standard"> </a></span></li></ul> </div></td></tr><tr><th scope="row" class="navbox-group" style="width:1%">草稿:</th><td class="navbox-list1 navbox-list navbox-odd" style="width:100%;padding:0px"><div style="padding:0em 0.25em"> <ul><li><i><a href="/wiki/Special:MyLanguage/Manual:Coding_conventions/Documentation" title="Special:MyLanguage/Manual:Coding conventions/Documentation">コードの説明文書</a><span style="display:none"><a href="/wiki/Manual:Coding_conventions/Documentation" title="Manual:Coding conventions/Documentation"> </a></span></i></li></ul> </div></td></tr></tbody></table></div> <!-- NewPP limit report Parsed by mw‐api‐int.codfw.main‐f6c7df9b8‐7mqdg Cached time: 20241103092701 Cache expiry: 2592000 Reduced expiry: false Complications: [show‐toc] DiscussionTools time usage: 0.019 seconds CPU time usage: 0.586 seconds Real time usage: 0.721 seconds Preprocessor visited node count: 4171/1000000 Post‐expand include size: 57683/2097152 bytes Template argument size: 16510/2097152 bytes Highest expansion depth: 17/100 Expensive parser function count: 52/500 Unstrip recursion depth: 0/20 Unstrip post‐expand size: 15497/5000000 bytes Lua time usage: 0.237/10.000 seconds Lua memory usage: 1976832/52428800 bytes Number of Wikibase entities loaded: 0/400 --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 513.757 1 -total 66.41% 341.209 41 Template:Ll 66.17% 339.966 1 Template:Conventions_navigation 65.08% 334.365 1 Template:Navbox 41.07% 210.985 82 Template:Translatable 23.76% 122.059 82 Template:Pagelang 10.24% 52.604 1 Template:Development_guideline 9.51% 48.861 1 Template:Mbox 7.10% 36.488 17 Template:TNTN 2.45% 12.610 1 Template:Note --> <!-- Saved in parser cache with key mediawikiwiki:pcache:idhash:1125576-0!canonical and timestamp 20241103092701 and revision id 6637470. Rendering was triggered because: api-parse --> </div><!--esi <esi:include src="/esitest-fa8a495983347898/content" /> --><noscript><img src="https://login.wikimedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" width="1" height="1" style="border: none; position: absolute;"></noscript> <div class="printfooter" data-nosnippet="">Retrieved from "<a dir="ltr" href="https://www.mediawiki.org/w/index.php?title=Gerrit/Commit_message_guidelines/ja&oldid=6637470">https://www.mediawiki.org/w/index.php?title=Gerrit/Commit_message_guidelines/ja&oldid=6637470</a>"</div></div> <div id="catlinks" class="catlinks" data-mw="interface"><div id="mw-normal-catlinks" class="mw-normal-catlinks"><a href="/wiki/Special:Categories" title="Special:Categories">Category</a>: <ul><li><a href="/wiki/Category:Development_guidelines/ja" title="Category:Development guidelines/ja">Development guidelines/ja</a></li></ul></div></div> </div> </main> </div> <div class="mw-footer-container"> <footer id="footer" class="mw-footer" > <ul id="footer-info"> <li id="footer-info-lastmod"> This page was last edited on 13 July 2024, at 14:39.</li> <li id="footer-info-copyright">Text is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-ShareAlike License</a>; additional terms may apply. Text in <a class="external text" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents">the Help: namespace</a> is available under the <a rel="nofollow" class="external text" href="https://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 License</a>. By using this site, you agree to the <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use">Terms of Use</a> and <a class="external text" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy Policy</a>.</li> </ul> <ul id="footer-places"> <li id="footer-places-privacy"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy">Privacy policy</a></li> <li id="footer-places-about"><a href="/wiki/Project:About">About mediawiki.org</a></li> <li id="footer-places-disclaimers"><a href="/wiki/Project:General_disclaimer">Disclaimers</a></li> <li id="footer-places-wm-codeofconduct"><a href="https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct">Code of Conduct</a></li> <li id="footer-places-developers"><a href="https://developer.wikimedia.org">Developers</a></li> <li id="footer-places-statslink"><a href="https://stats.wikimedia.org/#/www.mediawiki.org">Statistics</a></li> <li id="footer-places-cookiestatement"><a href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement">Cookie statement</a></li> <li id="footer-places-mobileview"><a href="//m.mediawiki.org/w/index.php?title=Gerrit/Commit_message_guidelines/ja&mobileaction=toggle_view_mobile" class="noprint stopMobileRedirectToggle">Mobile view</a></li> </ul> <ul id="footer-icons" class="noprint"> <li id="footer-copyrightico"><a href="https://wikimediafoundation.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/static/images/footer/wikimedia-button.svg" width="84" height="29" alt="Wikimedia Foundation" loading="lazy"></a></li> <li id="footer-poweredbyico"><a href="https://www.mediawiki.org/" class="cdx-button cdx-button--fake-button cdx-button--size-large cdx-button--fake-button--enabled"><img src="/w/resources/assets/poweredby_mediawiki.svg" alt="Powered by MediaWiki" width="88" height="31" loading="lazy"></a></li> </ul> </footer> </div> </div> </div> <div class="vector-settings" id="p-dock-bottom"> <ul></ul> </div><script>(RLQ=window.RLQ||[]).push(function(){mw.config.set({"wgHostname":"mw-web.codfw.main-f69cdc8f6-w7plk","wgBackendResponseTime":231,"wgDiscussionToolsPageThreads":[{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-構造","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-件名-構造","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-本文-構造","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-フッターとメタ_データ-構造","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-例","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-いい例-例","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-悪い例-例","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-追加的な例","replies":[{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-件名_2-追加的な例","replies":[{"headingLevel":4,"name":"h-","type":"heading","level":0,"id":"h-コンポーネント-件名_2","replies":[]}]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-Phabricator-追加的な例","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-相互参照-追加的な例","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-変更_ID-追加的な例","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-依存関係-追加的な例","replies":[]},{"headingLevel":3,"name":"h-","type":"heading","level":0,"id":"h-他の人をクレジット表示する-追加的な例","replies":[]}]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-参考資料","replies":[]},{"headingLevel":2,"name":"h-","type":"heading","level":0,"id":"h-脚注","replies":[]}],"wgPageParseReport":{"limitreport":{"cputime":"0.001","walltime":"0.001","ppvisitednodes":{"value":3,"limit":1000000},"postexpandincludesize":{"value":0,"limit":2097152},"templateargumentsize":{"value":0,"limit":2097152},"expansiondepth":{"value":1,"limit":100},"expensivefunctioncount":{"value":0,"limit":500},"unstrip-depth":{"value":0,"limit":20},"unstrip-size":{"value":0,"limit":5000000},"entityaccesscount":{"value":0,"limit":400},"timingprofile":["100.00% 0.000 1 -total"]},"cachereport":{"origin":"mw-web.codfw.main-f69cdc8f6-w7plk","timestamp":"20241124062148","ttl":2592000,"transientcontent":false}}});});</script> </body> </html>