User:Technical 13/Scripts/Gadget-codeAnchors: Difference between revisions

Content deleted Content added
Technical 13 (talk | contribs)
Working on improving documentation and making it easier to install script...
Technical 13 (talk | contribs)
Get rid of the install button that doesn't work.
Line 55:
This script adds anchors for all single line, non-empty block comments to all .css and .js pages so that you can link to a "section" of a script or stylesheet. All anchors are dot encoded (same this as percent encoded with '''.''' instead of '''%''').
 
<center>{{Clickable button|{{Plainlinks|1=//en.wikipedia.org/w/index.php?title=User_talk:Technical_13/Scripts/Gadget-codeAnchors&action=edit&section=new&preloadtitle=Bug+Report+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D|2=Report a bug}}}} {{Clickable button|{{Plainlinks|1=//en.wikipedia.org/w/index.php?title=User_talk:Technical_13/Scripts/Gadget-codeAnchors&action=edit&section=new&preloadtitle=Feature+Request+%7B%7Bsubst%3A%23time%3Ad+M+Y%7Cnow%7D%7D|2=Request a feature}}}} {{User:Technical_13/Scripts/Gadget-codeAnchors/template|common.js}}</center>
{{-}}
 
Line 66:
 
=== Step two ===
Once you have saved the above to your skin.js or common.js, you will have to [[WP:BYPASS]] your cache to see the effects.