
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
		<id>https://psaltiki.info/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACopyheadings.js</id>
		<title>MediaWiki:Copyheadings.js - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://psaltiki.info/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACopyheadings.js"/>
		<link rel="alternate" type="text/html" href="https://psaltiki.info/index.php?title=MediaWiki:Copyheadings.js&amp;action=history"/>
		<updated>2026-04-06T13:09:26Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://psaltiki.info/index.php?title=MediaWiki:Copyheadings.js&amp;diff=3290&amp;oldid=prev</id>
		<title>Root at 00:45, 2 November 2017</title>
		<link rel="alternate" type="text/html" href="https://psaltiki.info/index.php?title=MediaWiki:Copyheadings.js&amp;diff=3290&amp;oldid=prev"/>
				<updated>2017-11-02T00:45:33Z</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=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:45, 2 November 2017&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-l36&quot; &gt;Line 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;	}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;	}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;}, 1000);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;}, 1000);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:ΑΠΑΝΤΑ]] [[Category:js]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>	</entry>

	<entry>
		<id>https://psaltiki.info/index.php?title=MediaWiki:Copyheadings.js&amp;diff=3262&amp;oldid=prev</id>
		<title>Root at 00:01, 2 November 2017</title>
		<link rel="alternate" type="text/html" href="https://psaltiki.info/index.php?title=MediaWiki:Copyheadings.js&amp;diff=3262&amp;oldid=prev"/>
				<updated>2017-11-02T00:01:30Z</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=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:01, 2 November 2017&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-l36&quot; &gt;Line 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 36:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;	}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;	}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&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;}, 1000);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&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;}, 1000);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:ΑΠΑΝΤΑ]] [[Category:js]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Root</name></author>	</entry>

	<entry>
		<id>https://psaltiki.info/index.php?title=MediaWiki:Copyheadings.js&amp;diff=1556&amp;oldid=prev</id>
		<title>Root: Created page with &quot;/* Делает так, чтобы:    1) при тройном клике на заголовках страницы и разделов и копировании выдел...&quot;</title>
		<link rel="alternate" type="text/html" href="https://psaltiki.info/index.php?title=MediaWiki:Copyheadings.js&amp;diff=1556&amp;oldid=prev"/>
				<updated>2017-06-21T16:34:01Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;/* Делает так, чтобы:    1) при тройном клике на заголовках страницы и разделов и копировании выдел...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* Делает так, чтобы:&lt;br /&gt;
   1) при тройном клике на заголовках страницы и разделов и копировании выделенного не копировался текст «[править | править вики-текст]»;&lt;br /&gt;
   2) при тройном клике на заголовках разделов и копировании выделенного копировалось &amp;lt;Название страницы&amp;gt;#&amp;lt;Название раздела&amp;gt;.&lt;br /&gt;
   Также работает в режиме предпросмотра, в том числе быстрого. Проверялось в Хроме, и только.&lt;br /&gt;
   Скрипт, реализующий только первую функцию (и без быстрого предпросмотра), — Участник:Jack who built the house/copy clean headings.js. */&lt;br /&gt;
&lt;br /&gt;
document.getElementById('firstHeading').innerHTML = document.getElementById('firstHeading').innerHTML + '&amp;lt;div style=&amp;quot;height:0; float:right;&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;';&lt;br /&gt;
var pagename = mw.config.get('wgPageName').replace(/_/g, ' ');&lt;br /&gt;
&lt;br /&gt;
function cleanSectionHeadings() { // чтобы не копировалось «[править | править вики-текст]» в заголовках разделов&lt;br /&gt;
	var section_headings = document.getElementsByClassName('mw-headline');&lt;br /&gt;
	for (i = 0; i &amp;lt; section_headings.length; i++) {&lt;br /&gt;
		section_headings[i].innerHTML = section_headings[i].innerHTML + '&amp;lt;div style=&amp;quot;height:0; float:right;&amp;quot;&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;';&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
function fullSectionHeadings() { // чтобы добавлялось название страницы + знак решётки к заголовкам разделов&lt;br /&gt;
	var section_headings = document.getElementsByClassName('mw-headline');&lt;br /&gt;
	for (i = 0; i &amp;lt; section_headings.length; i++) {&lt;br /&gt;
		section_headings[i].innerHTML = '&amp;lt;span style=&amp;quot;font-size:0; color:white; line-height:0; letter-spacing:0;&amp;quot;&amp;gt;' + pagename + '#&amp;lt;/span&amp;gt;' + section_headings[i].innerHTML;&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
fullSectionHeadings();&lt;br /&gt;
cleanSectionHeadings();&lt;br /&gt;
var fullSectionHeadings_timeout, cleanSectionHeadings_timeout;&lt;br /&gt;
var wait_PreviewLive_load = setTimeout(function() {&lt;br /&gt;
	if (document.getElementById('wpPreviewLive')) {&lt;br /&gt;
		document.getElementById('wpPreviewLive').onclick = function() {&lt;br /&gt;
			clearTimeout(fullSectionHeadings_timeout);&lt;br /&gt;
			clearTimeout(cleanSectionHeadings_timeout);&lt;br /&gt;
			fullSectionHeadings_timeout = setTimeout(fullSectionHeadings, 2000);   // 2000 — 2 секунды. Увеличьте, если страница в режиме&lt;br /&gt;
			cleanSectionHeadings_timeout = setTimeout(cleanSectionHeadings, 2000); // быстрого предпросмотра не успевает загрузиться&lt;br /&gt;
		};&lt;br /&gt;
		clearTimeout(wait_PreviewLive_load);&lt;br /&gt;
	}&lt;br /&gt;
}, 1000);&lt;/div&gt;</summary>
		<author><name>Root</name></author>	</entry>

	</feed>