Content deleted Content added
Technical 13 (talk | contribs) Create starting point for doc. |
Technical 13 (talk | contribs) Working on improving documentation and making it easier to install script... |
||
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§ion=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§ion=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 62:
This script can be imported to [[Special:MyPage/skin.js|skin.js]] or [[Special:MyPage/common.js|common.js]] by adding:
<syntaxhighlight lang="javascript">
importScript( 'User:Technical 13/
</syntaxhighlight>
|