Knowledge (XXG)

User:BrandonXLF/ListSorter

Source 📝

215: 130:
adds a link in the page options dropdown to choose what lists on the page to sort. It sorts based on the contents of the list items after they are parsed.
65:
adds a link in the page options dropdown to choose what lists on the page to sort. It sorts based on the contents of the list items after they are parsed.
191:, be sure to indicate that you're talking about this script in the title. I would really like any suggestion to make the script run better. 385: 460: 335: 260: 208: 390: 174:
mw.loader.load('https://en.wikipedia.org/search/?title=User:BrandonXLF/ListSorter.js&action=raw&ctype=text/javascript');
370: 270: 265: 325: 470: 410: 400: 330: 320: 275: 201: 484: 445: 405: 101: 41: 503: 430: 415: 375: 355: 280: 455: 315: 305: 295: 285: 360: 350: 105: 425: 380: 310: 300: 290: 245: 465: 440: 435: 420: 395: 365: 250: 140: 167: 162:
mw.loader.load('/search/?title=User:BrandonXLF/ListSorter.js&action=raw&ctype=text/javascript'); // ]
255: 234: 34: 340: 144: 450: 188: 224: 193: 75: 17: 119: 497: 113: 197: 166:
To install on other wikis (for instance, globally in your
27: 158:
Alternatively, use the following instead of the above:
178:
After installing reload the page and clear your cache
154:
importScript('User:BrandonXLF/ListSorter.js'); // ]
112: 97: 89: 81: 71: 54: 209: 8: 49: 216: 202: 194: 170:on the Meta-Wiki), use the following code: 48: 7: 24: 173: 161: 153: 1: 235:User:BrandonXLF's script list 25: 520: 139:Add the following to your 58:Adds a link to sort lists 479: 241: 232: 504:Knowledge (XXG) scripts 120:wikipedia-user-scripts 28:edit base template 187:Comments are welcome 386:RedirectNotification 35:BrandonXLF's scripts 461:UpdateNotifications 336:IncrementParameters 261:CitationStyleMarker 51: 491: 490: 391:ReferenceExpander 125: 124: 30: 511: 485:All user scripts 371:ParameterSpacing 271:CompareRevisions 266:CollapseSections 218: 211: 204: 195: 67: 66: 52: 26: 519: 518: 514: 513: 512: 510: 509: 508: 494: 493: 492: 487: 475: 326:HighlightAdmins 237: 228: 227:'s user scripts 225:User:BrandonXLF 222: 189:on my talk page 185: 175: 163: 155: 136: 76:User:BrandonXLF 61: 60: 59: 47: 46: 31: 22: 21: 20: 18:User:BrandonXLF 12: 11: 5: 517: 515: 507: 506: 496: 495: 489: 488: 480: 477: 476: 474: 473: 471:WPBannerNavbar 468: 463: 458: 453: 448: 443: 438: 433: 428: 423: 418: 413: 411:ShowUserGender 408: 403: 401:ShowRevisionID 398: 393: 388: 383: 378: 373: 368: 363: 358: 353: 348: 343: 338: 333: 331:HotDefaultSort 328: 323: 321:GreenRedirects 318: 313: 308: 303: 298: 293: 288: 283: 278: 276:ContribsByPage 273: 268: 263: 258: 253: 248: 242: 239: 238: 233: 230: 229: 223: 221: 220: 213: 206: 198: 184: 181: 180: 179: 172: 171: 160: 159: 152: 151: 135: 132: 123: 122: 117: 110: 109: 99: 95: 94: 93:March 10, 2020 91: 90:First released 87: 86: 83: 79: 78: 73: 69: 68: 56: 45: 44: 38: 32: 23: 15: 14: 13: 10: 9: 6: 4: 3: 2: 516: 505: 502: 501: 499: 486: 483: 478: 472: 469: 467: 464: 462: 459: 457: 454: 452: 449: 447: 446:ToggleSidebar 444: 442: 439: 437: 434: 432: 429: 427: 424: 422: 419: 417: 414: 412: 409: 407: 406:ShowTemplates 404: 402: 399: 397: 394: 392: 389: 387: 384: 382: 379: 377: 374: 372: 369: 367: 364: 362: 359: 357: 354: 352: 349: 347: 344: 342: 339: 337: 334: 332: 329: 327: 324: 322: 319: 317: 314: 312: 309: 307: 304: 302: 299: 297: 294: 292: 289: 287: 284: 282: 279: 277: 274: 272: 269: 267: 264: 262: 259: 257: 254: 252: 249: 247: 244: 243: 240: 236: 231: 226: 219: 214: 212: 207: 205: 200: 199: 196: 192: 190: 183:Comments/Bugs 182: 177: 176: 169: 165: 164: 157: 156: 149: 147: 142: 138: 137: 133: 131: 129: 121: 118: 115: 111: 107: 103: 102:ListSorter.js 100: 96: 92: 88: 84: 80: 77: 74: 70: 64: 57: 53: 43: 40: 39: 36: 29: 19: 481: 431:TestWikitext 416:SubpageMover 376:PortletLinks 356:MoreDiffInfo 345: 281:CSSImageCrop 186: 145: 134:Installation 127: 126: 62: 456:ToTopButton 316:GlobalPrefs 306:FloatingTOC 296:FindSources 286:EasySummary 128:List Sorter 63:List Sorter 55:Description 50:List Sorter 361:NoRedirect 351:MobileView 346:ListSorter 116:repository 482:See also: 426:SVGEditor 381:QuickEdit 311:FloatSide 301:FloatHead 291:FFUHelper 246:AddCopied 168:global.js 141:common.js 72:Author(s) 498:Category 466:WatchDoc 441:TodoList 436:ToBottom 421:Subpages 396:Restorer 366:NullEdit 251:AJAXUndo 143:or your 256:Autoref 85:Working 341:Invert 114:GitHub 104: ( 98:Source 82:Status 451:ToTop 33:< 16:< 146:skin 148:.js 106:git 500:: 42:JS 37:| 217:e 210:t 203:v 150:: 108:)

Index

User:BrandonXLF
edit base template
BrandonXLF's scripts
JS
User:BrandonXLF
ListSorter.js
git
GitHub
wikipedia-user-scripts
common.js
skin.js
global.js
on my talk page
v
t
e
User:BrandonXLF
User:BrandonXLF's script list
AddCopied
AJAXUndo
Autoref
CitationStyleMarker
CollapseSections
CompareRevisions
ContribsByPage
CSSImageCrop
EasySummary
FFUHelper
FindSources
FloatHead

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