<?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-titleparenthesis.js</id>
	<title>MediaWiki:Gadget-titleparenthesis.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-titleparenthesis.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-titleparenthesis.js&amp;action=history"/>
	<updated>2026-05-28T08:19:58Z</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-titleparenthesis.js&amp;diff=830&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;$(function () {     var conf = mw.config.get([        &#039;wgNamespaceNumber&#039;,         &#039;wgTitle&#039;     ]);  	if (conf.wgNamespaceNumber !== 0 || conf.wgTitle.lastIndexOf(&#039;(&#039;) &lt; 0 || 		$(&#039;.no-parenthesis-style&#039;).length) { 		return; 	}  	 	// use the title in the DOM so this respects DISPLAYTITLE 	var title = mw.html.escape($(&#039;h1#firstHeading&#039;).text()), 		start = title.lastIndexOf(&#039;(&#039;), 		end = title.substring(start, title.length).lastIndexOf(&#039;)&#039;);  	// add offset here 	end += s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=MediaWiki:Gadget-titleparenthesis.js&amp;diff=830&amp;oldid=prev"/>
		<updated>2024-10-13T00:21:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;$(function () {     var conf = mw.config.get([        &amp;#039;wgNamespaceNumber&amp;#039;,         &amp;#039;wgTitle&amp;#039;     ]);  	if (conf.wgNamespaceNumber !== 0 || conf.wgTitle.lastIndexOf(&amp;#039;(&amp;#039;) &amp;lt; 0 || 		$(&amp;#039;.no-parenthesis-style&amp;#039;).length) { 		return; 	}  	 	// use the title in the DOM so this respects DISPLAYTITLE 	var title = mw.html.escape($(&amp;#039;h1#firstHeading&amp;#039;).text()), 		start = title.lastIndexOf(&amp;#039;(&amp;#039;), 		end = title.substring(start, title.length).lastIndexOf(&amp;#039;)&amp;#039;);  	// add offset here 	end += s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;$(function () {&lt;br /&gt;
    var conf = mw.config.get([&lt;br /&gt;
       &amp;#039;wgNamespaceNumber&amp;#039;,&lt;br /&gt;
        &amp;#039;wgTitle&amp;#039;&lt;br /&gt;
    ]);&lt;br /&gt;
&lt;br /&gt;
	if (conf.wgNamespaceNumber !== 0 || conf.wgTitle.lastIndexOf(&amp;#039;(&amp;#039;) &amp;lt; 0 ||&lt;br /&gt;
		$(&amp;#039;.no-parenthesis-style&amp;#039;).length) {&lt;br /&gt;
		return;&lt;br /&gt;
	} &lt;br /&gt;
	&lt;br /&gt;
	// use the title in the DOM so this respects DISPLAYTITLE&lt;br /&gt;
	var title = mw.html.escape($(&amp;#039;h1#firstHeading&amp;#039;).text()),&lt;br /&gt;
		start = title.lastIndexOf(&amp;#039;(&amp;#039;),&lt;br /&gt;
		end = title.substring(start, title.length).lastIndexOf(&amp;#039;)&amp;#039;);&lt;br /&gt;
&lt;br /&gt;
	// add offset here&lt;br /&gt;
	end += start + 1;&lt;br /&gt;
	&lt;br /&gt;
	$(&amp;#039;h1#firstHeading&amp;#039;)&lt;br /&gt;
		.empty()&lt;br /&gt;
		.append(&lt;br /&gt;
			title.substring(0, start),&lt;br /&gt;
			$(&amp;#039;&amp;lt;span&amp;gt;&amp;#039;)&lt;br /&gt;
				.addClass(&amp;#039;title-parenthesis&amp;#039;)&lt;br /&gt;
				.html(title.substring(start, end)),&lt;br /&gt;
			title.substring(end, title.length)&lt;br /&gt;
		);&lt;br /&gt;
});&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>