Help:Edit counter: Difference between revisions

From Inkipedia, the Splatoon wiki
(→‎The EDITCOUNT template: used the template)
Line 13: Line 13:
==Kanegasi's edit counter==
==Kanegasi's edit counter==
This is a five-step guide for making a page that tracks your edits and sorts them into various namespaces. Credit for creating the tool goes to Wikipedia user Kanegasi.
This is a five-step guide for making a page that tracks your edits and sorts them into various namespaces. Credit for creating the tool goes to Wikipedia user Kanegasi.
===Step 1===
===Step 1===
[[File:Edit Counter Demonstration 1.png|700px|center]]
[[File:Edit Counter Demonstration 1.png|700px|center]]
'''Click "Preferences" in the top right corner and select "Appearance" from the top of your preferences page. Under "skin," see which option is selected. It will likely say "vector."'''
Go to your skin preferences by [[Special:Preferences#mw-prefsection-rendering|clicking here]] or click "Preferences" in the top right corner and select "Appearance" from the top of your preferences page.
 
Under "skin," see which option is selected. By default, it will be "Vector" or "Timeless".
 
===Step 2===
===Step 2===
[[File:Edit Counter Demonstration 2.png|300px|center]]
[[File:Edit Counter Demonstration 2.png|300px|center]]
'''Create a page entitled <code>User:''Your username''/''Your skin''.js</code>. Because I am using the "vector" skin, as shown in Step 1, my page is entitled <code>User:ShrimpPin/vector.js</code>.''' Click edit.
Click the "Custom JavaScript" link next to your selected skin. This will direct you to the correct place and open an editor window.
 
===Step 3===
===Step 3===
[[File:Edit Counter Demonstration 3.png|600px|center]]
[[File:Edit Counter Demonstration 3.png|600px|center]]
'''Copy and past this text ''word for word'' into the page you began to edit in Step 2:'''
'''Copy and paste this text into the page from Step 2:'''


<pre>
/* Counts all your edits and saves them to a page ( http://en.wikipedia.org/wiki/User:Kanegasi/editcounter ) */
if (mw.config.get('wgTitle') === mw.config.get('wgUserName') && mw.config.get('wgNamespaceNumber') === 2) {
/* begin options */


 
/* end options */
/* Counts all your edits and saves them to a page ( http://en.wikipedia.org/wiki/User:Kanegasi/editcounter ) */</br>
  mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Kanegasi/editcounter.js&action=raw&ctype=text/javascript');
if (mw.config.get('wgTitle') === mw.config.get('wgUserName') && mw.config.get('wgNamespaceNumber') === 2) {</br>
}
/* begin options */</br>
</pre>
</br>
/* end options */</br>
:mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Kanegasi/editcounter.js&action=raw&ctype=text/javascript');</br>
}</br>
 




===Step 4===
===Step 4===
[[File:Edit Counter Demonstration 4.png|thumb|100px]]
[[File:Edit Counter Demonstration 4.png|thumb|100px]]
'''Go to your userpage and look at the sidebar on the left side of the screen. Under "tools," there should now be an option that reads "Edit counter v111." Click this option and wait until it reads "success!"'''
Go to your userpage. On most skins, look at the sidebar on the left side of the screen. Under "tools," there should now be an option that reads "Edit counter v111." On Timeless and newer skins, this option will be at the top, next to User Contributions.
 
Click this option and wait until it reads "success!"
{{clr}}
{{clr}}
===Step 5===
===Step 5===
[[File:Edit Counter Demonstration 5.png|900px|center]]
[[File:Edit Counter Demonstration 5.png|900px|center]]
'''Once the option displays "success!" click the search bar and enter <code>User:''Your username''/edit count</code>. Search for that page. You should see a page with that title that includes a table with a list of all of your edits, divided into namespaces. "Main" denotes the number of edits you have made to actual Inkipedia articles, such as [[Splatoon]] and [[Annie]]. Make sure to only include Main edits when using edit count [[Inkipedia:Barnsquids|Barnsquids!]]
Once the option displays "success!" click the search bar and enter <code>User:{{Username|''Your username''}}/edit count</code>. Search for that page. You should see a page with that title that includes a table with a list of all of your edits, divided into namespaces.
 
"Main" denotes the number of edits you have made to actual Inkipedia articles, such as [[Splatoon]] and [[Annie]]. Make sure to only include Main edits when using edit count [[Inkipedia:Barnsquids|Barnsquids!]]

Revision as of 21:19, 19 February 2023

Fumple's edit counter

Link to tool: User:Fumple/EditCount

This is the best edit counter for most purposes. To use it, go to the page User:Fumple/EditCount and type a username (case sensitive), then press the Display edit count button. Many tyes of edit counts will be displayed. Generally, the most useful is the mainspace edits counter, as it shows the number of edits made to the wiki's articles.

The EDITCOUNT template

Link to template: Template:EDITCOUNT

Use {{EDITCOUNT}} to display a simple edit count. This template does not allow others to see your edit count. If someone else views a page with this template, they will see their own edit count, not yours.

Example: Your edit count is YourEditCount.

Kanegasi's edit counter

This is a five-step guide for making a page that tracks your edits and sorts them into various namespaces. Credit for creating the tool goes to Wikipedia user Kanegasi.

Step 1

Edit Counter Demonstration 1.png

Go to your skin preferences by clicking here or click "Preferences" in the top right corner and select "Appearance" from the top of your preferences page.

Under "skin," see which option is selected. By default, it will be "Vector" or "Timeless".

Step 2

Edit Counter Demonstration 2.png

Click the "Custom JavaScript" link next to your selected skin. This will direct you to the correct place and open an editor window.

Step 3

Edit Counter Demonstration 3.png

Copy and paste this text into the page from Step 2:

/* Counts all your edits and saves them to a page ( http://en.wikipedia.org/wiki/User:Kanegasi/editcounter ) */
if (mw.config.get('wgTitle') === mw.config.get('wgUserName') && mw.config.get('wgNamespaceNumber') === 2) {
/* begin options */

/* end options */
  mw.loader.load('https://en.wikipedia.org/w/index.php?title=User:Kanegasi/editcounter.js&action=raw&ctype=text/javascript');
}


Step 4

Edit Counter Demonstration 4.png

Go to your userpage. On most skins, look at the sidebar on the left side of the screen. Under "tools," there should now be an option that reads "Edit counter v111." On Timeless and newer skins, this option will be at the top, next to User Contributions.

Click this option and wait until it reads "success!"

Step 5

Edit Counter Demonstration 5.png

Once the option displays "success!" click the search bar and enter User:Your username/edit count. Search for that page. You should see a page with that title that includes a table with a list of all of your edits, divided into namespaces.

"Main" denotes the number of edits you have made to actual Inkipedia articles, such as Splatoon and Annie. Make sure to only include Main edits when using edit count Barnsquids!