<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=MyWiki%3AWikiProject_Articles_for_creation%2FHelper_script%2FDeploying</id>
	<title>MyWiki:WikiProject Articles for creation/Helper script/Deploying - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=MyWiki%3AWikiProject_Articles_for_creation%2FHelper_script%2FDeploying"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:WikiProject_Articles_for_creation/Helper_script/Deploying&amp;action=history"/>
	<updated>2026-04-22T14:54:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=MyWiki:WikiProject_Articles_for_creation/Helper_script/Deploying&amp;diff=19284166&amp;oldid=prev</id>
		<title>imported&gt;Novem Linguae: Undid revision 1325927469 by Novem Linguae (talk)</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=MyWiki:WikiProject_Articles_for_creation/Helper_script/Deploying&amp;diff=19284166&amp;oldid=prev"/>
		<updated>2025-12-06T01:09:01Z</updated>

		<summary type="html">&lt;p&gt;Undid revision &lt;a href=&quot;/index.php/Special:Diff/1325927469&quot; title=&quot;Special:Diff/1325927469&quot;&gt;1325927469&lt;/a&gt; by &lt;a href=&quot;/index.php/Special:Contributions/Novem_Linguae&quot; title=&quot;Special:Contributions/Novem Linguae&quot;&gt;Novem Linguae&lt;/a&gt; (&lt;a href=&quot;/index.php/User_talk:Novem_Linguae&quot; title=&quot;User talk:Novem Linguae&quot;&gt;talk&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If you are an interface administrator and you would like to update AFCH&amp;#039;s code on Wikipedia to match the code located at the [https://github.com/wikimedia-gadgets/afc-helper official GitHub repository] (basically deploying approved patches to production), follow this work instruction.&lt;br /&gt;
&lt;br /&gt;
To update AFCH to its latest version onwiki, you need to do the following.&lt;br /&gt;
&lt;br /&gt;
== Method 1 ==&lt;br /&gt;
&lt;br /&gt;
* Be an interface administrator&lt;br /&gt;
* Visit https://gadget-deploy.toolforge.org/&lt;br /&gt;
* Pick the appropriate gadget from the dropdown&lt;br /&gt;
* Click &amp;quot;Deploy to English Wikipedia&amp;quot;&lt;br /&gt;
* An OAuth prompt will appear. Click &amp;quot;Allow&amp;quot;&lt;br /&gt;
* When it&amp;#039;s done, analyze the diffs and make sure there weren&amp;#039;t any bugs.&lt;br /&gt;
&lt;br /&gt;
== Method 2 ==&lt;br /&gt;
* Be an interface administrator&lt;br /&gt;
* Navigate to your forked origin repo on github.com, and sync it with the upstream fork. (You can skip this if your origin is the gadget repo itself and not a fork.)&lt;br /&gt;
* &amp;lt;code&amp;gt;git checkout master&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;git pull&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;npm ci&amp;lt;/code&amp;gt;&lt;br /&gt;
* Create a [[Special:BotPasswords]] with permissions to write to the MediaWiki namespace.&lt;br /&gt;
* Make sure you&amp;#039;ve created a scripts/credentials.json file with your bot password. Example&lt;br /&gt;
** &amp;lt;syntaxhighlight lang=&amp;quot;json&amp;quot;&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;site&amp;quot;: &amp;quot;https://en.wikipedia.org/w/api.php&amp;quot;,&lt;br /&gt;
	&amp;quot;username&amp;quot;: &amp;quot;Your username@Bot task&amp;quot;,&lt;br /&gt;
	&amp;quot;password&amp;quot;: &amp;quot;Your password&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;npm run deploy&amp;lt;/code&amp;gt;&lt;br /&gt;
* When it&amp;#039;s done, analyze the diffs and make sure there weren&amp;#039;t any bugs.&lt;/div&gt;</summary>
		<author><name>imported&gt;Novem Linguae</name></author>
	</entry>
</feed>