<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-oswf-core.js</id>
	<title>MediaWiki:Gadget-oswf-core.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3AGadget-oswf-core.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-oswf-core.js&amp;action=history"/>
	<updated>2026-05-28T06:08:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-oswf-core.js&amp;diff=924&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;var showText = &#039;Get started with this task&#039;, hideText = &#039;Hide additional info&#039;, showTitle = &#039;Show the guidance for this task&#039;, hideTitle = &#039;Hide the guidance for this task&#039;;  function init() { 	$(&#039;.oswf-guidance&#039;).each(function(i,e){ 		var $this = $(e), 		$content, 		toggleButton, 		showing = false; 		 		$content = $(&#039;&lt;div&gt;&#039;).append($this.contents()); 		$content.hide(); 		 		toggleButton = new OO.ui.ButtonWidget({ 			icon: &#039;expand&#039;, 			title: showTitle, 			label: showTex...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-oswf-core.js&amp;diff=924&amp;oldid=prev"/>
		<updated>2024-10-13T01:02:05Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;var showText = &amp;#039;Get started with this task&amp;#039;, hideText = &amp;#039;Hide additional info&amp;#039;, showTitle = &amp;#039;Show the guidance for this task&amp;#039;, hideTitle = &amp;#039;Hide the guidance for this task&amp;#039;;  function init() { 	$(&amp;#039;.oswf-guidance&amp;#039;).each(function(i,e){ 		var $this = $(e), 		$content, 		toggleButton, 		showing = false; 		 		$content = $(&amp;#039;&amp;lt;div&amp;gt;&amp;#039;).append($this.contents()); 		$content.hide(); 		 		toggleButton = new OO.ui.ButtonWidget({ 			icon: &amp;#039;expand&amp;#039;, 			title: showTitle, 			label: showTex...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;var showText = &amp;#039;Get started with this task&amp;#039;,&lt;br /&gt;
hideText = &amp;#039;Hide additional info&amp;#039;,&lt;br /&gt;
showTitle = &amp;#039;Show the guidance for this task&amp;#039;,&lt;br /&gt;
hideTitle = &amp;#039;Hide the guidance for this task&amp;#039;;&lt;br /&gt;
&lt;br /&gt;
function init() {&lt;br /&gt;
	$(&amp;#039;.oswf-guidance&amp;#039;).each(function(i,e){&lt;br /&gt;
		var $this = $(e),&lt;br /&gt;
		$content,&lt;br /&gt;
		toggleButton,&lt;br /&gt;
		showing = false;&lt;br /&gt;
		&lt;br /&gt;
		$content = $(&amp;#039;&amp;lt;div&amp;gt;&amp;#039;).append($this.contents());&lt;br /&gt;
		$content.hide();&lt;br /&gt;
		&lt;br /&gt;
		toggleButton = new OO.ui.ButtonWidget({&lt;br /&gt;
			icon: &amp;#039;expand&amp;#039;,&lt;br /&gt;
			title: showTitle,&lt;br /&gt;
			label: showText,&lt;br /&gt;
			flags: [&amp;#039;primary&amp;#039;, &amp;#039;progressive&amp;#039;]&lt;br /&gt;
		});&lt;br /&gt;
		&lt;br /&gt;
		toggleButton.on(&amp;#039;click&amp;#039;, function(){&lt;br /&gt;
			showing = !showing;&lt;br /&gt;
			if (showing) {&lt;br /&gt;
				toggleButton.setIcon(&amp;#039;collapse&amp;#039;).setTitle(hideTitle).setLabel(hideText);&lt;br /&gt;
				&lt;br /&gt;
			} else {&lt;br /&gt;
				toggleButton.setIcon(&amp;#039;expand&amp;#039;).setTitle(showTitle).setLabel(showText);&lt;br /&gt;
			}&lt;br /&gt;
			$content.toggle();&lt;br /&gt;
		});&lt;br /&gt;
		&lt;br /&gt;
		$this.append(toggleButton.$element).append($content);&lt;br /&gt;
	});&lt;br /&gt;
	&lt;br /&gt;
}&lt;br /&gt;
$(init);&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>