<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>https://w.hil.su/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AAddSumButton.js</id>
		<title>MediaWiki:AddSumButton.js - История изменений</title>
		<link rel="self" type="application/atom+xml" href="https://w.hil.su/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AAddSumButton.js"/>
		<link rel="alternate" type="text/html" href="https://w.hil.su/index.php?title=MediaWiki:AddSumButton.js&amp;action=history"/>
		<updated>2026-04-27T13:35:58Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.27.1</generator>

	<entry>
		<id>https://w.hil.su/index.php?title=MediaWiki:AddSumButton.js&amp;diff=1651&amp;oldid=prev</id>
		<title>MailGik в 12:55, 14 августа 2016</title>
		<link rel="alternate" type="text/html" href="https://w.hil.su/index.php?title=MediaWiki:AddSumButton.js&amp;diff=1651&amp;oldid=prev"/>
				<updated>2016-08-14T12:55:41Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;col class=&#039;diff-marker&#039; /&gt;
				&lt;col class=&#039;diff-content&#039; /&gt;
				&lt;tr style=&#039;vertical-align: top;&#039; lang=&#039;ru&#039;&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&#039;2&#039; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 12:55, 14 августа 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot; &gt;Строка 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	mw.util.addCSS( &amp;#039;\&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	mw.util.addCSS( &amp;#039;\&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		input#wpSummary { margin-bottom: 0 }\&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		input#wpSummary { margin-bottom: 0 }\&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		#userSummaryButtonsA a { background:#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;cef&lt;/del&gt;; border:1px solid #&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;adf&lt;/del&gt;; padding:0 2px;\&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		#userSummaryButtonsA a { background:#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2c353a&lt;/ins&gt;; border:1px solid #&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;4a6373&lt;/ins&gt;; padding:0 2px;\&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			margin:0 2px;cursor:pointer; font-size:86%; color:#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;666 &lt;/del&gt;}\&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			margin:0 2px;cursor:pointer; font-size:86%; color:#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;a5a5a5 &lt;/ins&gt;}\&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		#userSummaryButtonsA a:hover { background:#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;bdf&lt;/del&gt;; color:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;black&lt;/del&gt;; text-decoration:none }&amp;#039; );&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		#userSummaryButtonsA a:hover { background:#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;3b4752&lt;/ins&gt;; color:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;#c7c7c7&lt;/ins&gt;; text-decoration:none }&amp;#039; );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	$( &amp;#039;&amp;lt;div id=userSummaryButtonsA /&amp;gt;&amp;#039; ).insertAfter( &amp;#039;#wpSummary&amp;#039; );&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	$( &amp;#039;&amp;lt;div id=userSummaryButtonsA /&amp;gt;&amp;#039; ).insertAfter( &amp;#039;#wpSummary&amp;#039; );&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	$.each(&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;	$.each(&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:version:1.11a:oldid:1648:newid:1651 --&gt;
&lt;/table&gt;</summary>
		<author><name>MailGik</name></author>	</entry>

	<entry>
		<id>https://w.hil.su/index.php?title=MediaWiki:AddSumButton.js&amp;diff=1648&amp;oldid=prev</id>
		<title>MailGik: Новая страница: «//Кнопки для описания правки  function insertSummary ( txt ) { 	if ( typeof txt !== &#039;string&#039; ) { 		txt = this.title; 	} 	var vv = $( &#039;#wpSu…»</title>
		<link rel="alternate" type="text/html" href="https://w.hil.su/index.php?title=MediaWiki:AddSumButton.js&amp;diff=1648&amp;oldid=prev"/>
				<updated>2016-08-14T12:47:39Z</updated>
		
		<summary type="html">&lt;p&gt;Новая страница: «//Кнопки для описания правки  function insertSummary ( txt ) { 	if ( typeof txt !== &amp;#039;string&amp;#039; ) { 		txt = this.title; 	} 	var vv = $( &amp;#039;#wpSu…»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;//Кнопки для описания правки&lt;br /&gt;
&lt;br /&gt;
function insertSummary ( txt ) {&lt;br /&gt;
	if ( typeof txt !== &amp;#039;string&amp;#039; ) {&lt;br /&gt;
		txt = this.title;&lt;br /&gt;
	}&lt;br /&gt;
	var vv = $( &amp;#039;#wpSummary&amp;#039; ).val();&lt;br /&gt;
	if ( vv.indexOf( txt ) !== -1 ) {&lt;br /&gt;
		return;&lt;br /&gt;
	}&lt;br /&gt;
	if ( /[^,; \/]$/.test( vv ) ) {&lt;br /&gt;
		vv += &amp;#039;,&amp;#039;;&lt;br /&gt;
	}&lt;br /&gt;
	if ( /[^ ]$/.test( vv ) ) {&lt;br /&gt;
		vv += &amp;#039; &amp;#039;;&lt;br /&gt;
	}&lt;br /&gt;
	$( &amp;#039;#wpSummary&amp;#039; ).val( vv + txt );&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
function addSumButton ( btn, txt ) {&lt;br /&gt;
	$( &amp;#039;&amp;lt;a title=&amp;quot;&amp;#039; + txt + &amp;#039;&amp;quot;&amp;gt;&amp;#039; + btn + &amp;#039;&amp;lt;/a&amp;gt;&amp;#039; )&lt;br /&gt;
		.appendTo( &amp;#039;#userSummaryButtonsA&amp;#039; )&lt;br /&gt;
		.click( insertSummary );&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
$( function() {&lt;br /&gt;
	var frm = document.getElementById( &amp;#039;editform&amp;#039; );&lt;br /&gt;
	if ( !mw.config.get( &amp;#039;wgArticleId&amp;#039; ) || !frm || $( frm.wpSection ).val() === &amp;#039;new&amp;#039; ) {&lt;br /&gt;
		return;&lt;br /&gt;
	}&lt;br /&gt;
	mw.util.addCSS( &amp;#039;\&lt;br /&gt;
		input#wpSummary { margin-bottom: 0 }\&lt;br /&gt;
		#userSummaryButtonsA a { background:#cef; border:1px solid #adf; padding:0 2px;\&lt;br /&gt;
			margin:0 2px;cursor:pointer; font-size:86%; color:#666 }\&lt;br /&gt;
		#userSummaryButtonsA a:hover { background:#bdf; color:black; text-decoration:none }&amp;#039; );&lt;br /&gt;
	$( &amp;#039;&amp;lt;div id=userSummaryButtonsA /&amp;gt;&amp;#039; ).insertAfter( &amp;#039;#wpSummary&amp;#039; );&lt;br /&gt;
	$.each(&lt;br /&gt;
		[&lt;br /&gt;
		&amp;#039;викиф|икация&amp;#039;, &amp;#039;оформл|ение&amp;#039;, &amp;#039;стил|евые правки&amp;#039;, &amp;#039;орфогр|афия&amp;#039;,&lt;br /&gt;
		&amp;#039;пункт|уация&amp;#039;, &amp;#039;ответ&amp;#039;, &amp;#039;комм|ентарий&amp;#039;, &amp;#039;кат|егория&amp;#039;, &amp;#039;шабл|онизация&amp;#039;, &amp;#039;к удал|ению&amp;#039;,&lt;br /&gt;
		&amp;#039;иллюстрация&amp;#039;, &amp;#039;доп|олнение&amp;#039;, &amp;#039;уточ|нение&amp;#039;, &amp;#039;обнов|ление данных&amp;#039;, &amp;#039;интервики&amp;#039;, &amp;#039;вандализм&amp;#039;&lt;br /&gt;
		],&lt;br /&gt;
		function ( i, s ) {&lt;br /&gt;
			addSumButton( s.replace( /\|.*/, &amp;#039;&amp;#039; ), s.replace( /\|/, &amp;#039;&amp;#039; ) );&lt;br /&gt;
		}&lt;br /&gt;
	);&lt;br /&gt;
} );&lt;/div&gt;</summary>
		<author><name>MailGik</name></author>	</entry>

	</feed>