<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.pottercraftmc.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js</id>
	<title>MediaWiki:Common.js - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pottercraftmc.com/index.php?action=history&amp;feed=atom&amp;title=MediaWiki%3ACommon.js"/>
	<link rel="alternate" type="text/html" href="https://wiki.pottercraftmc.com/index.php?title=MediaWiki:Common.js&amp;action=history"/>
	<updated>2026-09-25T21:56:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.pottercraftmc.com/index.php?title=MediaWiki:Common.js&amp;diff=126&amp;oldid=prev</id>
		<title>Curtis73: Updated page content</title>
		<link rel="alternate" type="text/html" href="https://wiki.pottercraftmc.com/index.php?title=MediaWiki:Common.js&amp;diff=126&amp;oldid=prev"/>
		<updated>2026-08-23T01:33:22Z</updated>

		<summary type="html">&lt;p&gt;Updated page content&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;/* ==========================================================================&lt;br /&gt;
   PotterCraft Wiki — Site-Wide JavaScript&lt;br /&gt;
   ========================================================================== */&lt;br /&gt;
&lt;br /&gt;
$( function() {&lt;br /&gt;
    // Direct Visual Editor Page Creation&lt;br /&gt;
    $( document ).on( &amp;#039;click&amp;#039;, &amp;#039;.create-page-trigger a, a.create-page-trigger&amp;#039;, function( e ) {&lt;br /&gt;
        e.preventDefault();&lt;br /&gt;
        var title = prompt( &amp;#039;Enter the title of the article you would like to create:&amp;#039; );&lt;br /&gt;
        if ( title &amp;amp;&amp;amp; title.trim().length &amp;gt; 0 ) {&lt;br /&gt;
            var formatted = title.trim().replace( /\s+/g, &amp;#039;_&amp;#039; );&lt;br /&gt;
            window.location.href = mw.util.getUrl( formatted, { veaction: &amp;#039;edit&amp;#039; } );&lt;br /&gt;
        }&lt;br /&gt;
    } );&lt;br /&gt;
} );&lt;/div&gt;</summary>
		<author><name>Curtis73</name></author>
	</entry>
</feed>