<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://anotherwiki.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-LongEditSummaries.js</id>
	<title>MediaWiki:Gadget-LongEditSummaries.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://anotherwiki.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-LongEditSummaries.js"/>
	<link rel="alternate" type="text/html" href="https://anotherwiki.org/index.php?title=MediaWiki:Gadget-LongEditSummaries.js&amp;action=history"/>
	<updated>2026-05-26T23:31:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://anotherwiki.org/index.php?title=MediaWiki:Gadget-LongEditSummaries.js&amp;diff=661&amp;oldid=prev</id>
		<title>Jarandhel: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://anotherwiki.org/index.php?title=MediaWiki:Gadget-LongEditSummaries.js&amp;diff=661&amp;oldid=prev"/>
		<updated>2012-04-01T18:38:31Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&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 class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:38, 1 April 2012&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key anotherwiki2-wiki_:diff:wikidiff2:1.12:old-660:rev-661:1.13.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jarandhel</name></author>
	</entry>
	<entry>
		<id>https://anotherwiki.org/index.php?title=MediaWiki:Gadget-LongEditSummaries.js&amp;diff=660&amp;oldid=prev</id>
		<title>GreenReaper: Import from Wikipedia:MediaWiki:Gadget-LongEditSummaries.js</title>
		<link rel="alternate" type="text/html" href="https://anotherwiki.org/index.php?title=MediaWiki:Gadget-LongEditSummaries.js&amp;diff=660&amp;oldid=prev"/>
		<updated>2009-10-27T05:06:51Z</updated>

		<summary type="html">&lt;p&gt;Import from &lt;a href=&quot;http://en.wikipedia.org/wiki/MediaWiki:Gadget-LongEditSummaries.js&quot; class=&quot;extiw&quot; title=&quot;wikipedia:MediaWiki:Gadget-LongEditSummaries.js&quot;&gt;Wikipedia:MediaWiki:Gadget-LongEditSummaries.js&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;// LIMIT EDIT SUMMARIES TO EXACTLY 250 UTF-8 BYTES&lt;br /&gt;
// see EditPage::importFormData() for this limit&lt;br /&gt;
// created by Ilmari Karonen and Remember_the_dot&lt;br /&gt;
addOnloadHook(function() {&lt;br /&gt;
    var wpSummary = document.getElementById(&amp;quot;wpSummary&amp;quot;)&lt;br /&gt;
    if (wpSummary) {&lt;br /&gt;
        var adjustMaxLength = function () {&lt;br /&gt;
            // subtract the number of UTF-8 continuation bytes (0x80-0xBF) from the maxlength&lt;br /&gt;
            var maxLength = 250 - encodeURI(wpSummary.value).split(/%[89AB]/i).length + 1&lt;br /&gt;
            wpSummary.maxLength = maxLength&lt;br /&gt;
 &lt;br /&gt;
            // the last character or group might&amp;#039;ve pushed us over; if so, inform the user&lt;br /&gt;
            var errorMessage = document.getElementById(&amp;quot;editSummaryTooLong&amp;quot;)&lt;br /&gt;
            if (wpSummary.value.length &amp;gt; maxLength) {&lt;br /&gt;
                if (!errorMessage) {&lt;br /&gt;
                    wpSummary.style.border = &amp;quot;3px solid red&amp;quot;&lt;br /&gt;
                    document.getElementById(&amp;quot;wpSave&amp;quot;).disabled = true&lt;br /&gt;
                    var editSummaryTooLong = document.createElement(&amp;quot;div&amp;quot;)&lt;br /&gt;
                    editSummaryTooLong.id = &amp;quot;editSummaryTooLong&amp;quot;&lt;br /&gt;
                    editSummaryTooLong.style.color = &amp;quot;red&amp;quot;&lt;br /&gt;
                    editSummaryTooLong.style.fontWeight = &amp;quot;bold&amp;quot;&lt;br /&gt;
                    editSummaryTooLong.appendChild(document.createTextNode(&amp;quot;Your edit summary is too long.&amp;quot;))&lt;br /&gt;
                    var wpMinoredit = document.getElementById(&amp;quot;wpMinoredit&amp;quot;)&lt;br /&gt;
                    wpMinoredit.parentNode.insertBefore(editSummaryTooLong, wpMinoredit)&lt;br /&gt;
                }&lt;br /&gt;
            } else {&lt;br /&gt;
                if (errorMessage) {&lt;br /&gt;
                    wpSummary.style.border = &amp;quot;&amp;quot;&lt;br /&gt;
                    document.getElementById(&amp;quot;wpSave&amp;quot;).disabled = false&lt;br /&gt;
                    errorMessage.parentNode.removeChild(errorMessage)&lt;br /&gt;
                }&lt;br /&gt;
            }&lt;br /&gt;
            oldValue = wpSummary.value&lt;br /&gt;
        }&lt;br /&gt;
        addHandler(wpSummary, &amp;quot;keyup&amp;quot;, adjustMaxLength)&lt;br /&gt;
        addHandler(wpSummary, &amp;quot;change&amp;quot;, adjustMaxLength)&lt;br /&gt;
        adjustMaxLength()&lt;br /&gt;
    }&lt;br /&gt;
})&lt;/div&gt;</summary>
		<author><name>GreenReaper</name></author>
	</entry>
</feed>