Knowledge (XXG)

User:Lenore/autolink

Source 📝

184: 156: 75: 27: 71: 67: 166: 63: 101: 59: 136:
In other pages, in particular in code sections and diff, it will parse external links,
51: 39: 55: 144: 126: 17: 172:// ] var autolinkParseLink = false; importScript('User:Lenore/autolink.js'); 137: 78:
too), making them into colorful links: for example, if you write code like
175:
in this way, links in diffs will be parsed by wikEd and not by this tool.
140:
and template code making them into links (not colorful).
162:// ] importScript('User:Lenore/autolink.js'); 116: 109: 8: 104:, it will show in these pages in this way 7: 155:To use autolink, add these lines to 42:, who developed the initial code. 24: 165:to your monobook.js. If you use 1: 183:Report bugs and suggestions 169:, add a new line like this 201: 143:This tool doesn't work on 157:Special:MyPage/common.js 117:http://en.wikipedia.org 90:http://en.wikipedia.org 28:User:Lenore/autolink.js 179:Bug and suggestions 50:This tool parses 192: 131: 125: 96: 91: 87: 83: 200: 199: 195: 194: 193: 191: 190: 189: 181: 173: 163: 153: 129: 123: 110:Knowledge (XXG) 94: 89: 88:or more simply 86: 82: 72:Related changes 48: 36: 31: 22: 21: 20: 12: 11: 5: 198: 196: 180: 177: 171: 161: 152: 149: 134: 133: 120: 113: 98: 97: 92: 84: 64:Recent Changes 52:external links 47: 44: 40:User:Omegatron 35: 32: 30: 25: 23: 15: 14: 13: 10: 9: 6: 4: 3: 2: 197: 188: 186: 178: 176: 170: 168: 160: 158: 151:Add this tool 150: 148: 146: 141: 139: 132: 128: 121: 119: 118: 114: 112: 111: 107: 106: 105: 103: 93: 85: 81: 80: 79: 77: 76:Contributions 73: 69: 65: 61: 60:history pages 57: 53: 45: 43: 41: 33: 29: 26: 19: 182: 174: 164: 154: 145:preview mode 142: 135: 130:}} 124:{{ 122: 115: 108: 102:edit summary 99: 49: 46:How it works 37: 18:User:Lenore 187:, thanks. 38:Thanks to 138:wikilinks 68:Watchlist 58:code in 56:template 95:{{Val}} 34:Credits 100:in an 167:wikEd 16:< 185:here 74:and 54:and 127:Val 159:: 147:. 70:, 66:, 62:(

Index

User:Lenore
User:Lenore/autolink.js
User:Omegatron
external links
template
history pages
Recent Changes
Watchlist
Related changes
Contributions
edit summary
Knowledge (XXG)
http://en.wikipedia.org
Val
wikilinks
preview mode
Special:MyPage/common.js
wikEd
here

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.