User:Shubinator/DYKcheck: Difference between revisions

Content deleted Content added
Rlevse (talk | contribs)
Using DYKcheck: for those who hate vector skin
use skin.js instead of confusing people with monobook vs vector vs other
Line 25:
 
==Using DYKcheck==
If you're a user on Wikipedia, you can easily install DYKcheck. If you areby using the vector skin, addadding the line below to [[Special:MypageMyPage/vectorskin.js|your vectorskin.js]] file. If you are using the monobook skin, add the line below to [[Special:Mypage/monobook.js|your monobook.js]]. After installation you may need to [[Wikipedia:Bypass_your_cache|bypass your browser cache]] on pages you've visited before for the tool to appear in the toolbox. If you're not using Firefox or you've got a fancy personalized layout, you may want to turn off fixing the sidebar using the fixedSidebar variable (see [[User:Shubinator/DYKcheck#Options|below]] for details), as it can cause T:TDYK to look strange.
<source lang = "javascript">
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool
</source>
DYKcheck can also be used by anons. When you're on an article, enter the line below into your URL bar and hit enter. You should now see a DYK check link in the toolbox. Click on it to run the script. Unfortunately, you need to do this for each page you visit. However, DYKcheck can be bookmarked by adding the line below as the target. DYKcheck runs noticeably slower for anons compared to users with the tool installed in their vectorskin.js. DYKcheck works on T:TDYK with this method, but the sidebar won't be fixed.
<pre>
javascript:importScript('User:Shubinator/DYKcheck.js'); dykCheck();
Line 80:
:*Variable unlock, parameters ''true'' and ''false''
 
To use an option, enter ''variable'' = ''parameter''; below the importScript line in your vectorskin.js. The quotes, or lack of them, is important! For example, if I wanted the hook length yellow warning to appear at 215 characters, the red warning at 230 characters, and the sidebar to never be fixed, I would enter the lines below into my vectorskin.js:
<source lang = "javascript">
importScript('User:Shubinator/DYKcheck.js'); //DYKcheck tool