Knowledge (XXG)

User:Aaron Liu/Watchlyst Greybar Unsin

Source 📝

52: 348: 61: 213:, the official function for adding subtitle just appends to a hardcoded element and throws if that element doesn't exist. This script prepends to the same, individually hardcoded element instead. If the structure of all skins change, which seems unlikely, the current version of this script will cease working. 298: 232:
Near the end of October 2023, the subtitle font size (among other things) for Vector 2022 were bumped up to 14px from 13px. Later, sizes were made more relative. To approximately fix this for this script's messages only so that it looks like the screenshots above, include the following CSS:
285:
Filter based on the presence of /* section */ in watchlyst summary. Filter is automatically ignored after 4.18 days, which is configurable, and specific pages can be whitelisted. Use Api's globalpreferences or
229:
To correctly add the button, this script currently nests the text and buttons inside a span inside an aside, which is added to the subtitle. Better implementations are welcome.
149: 297: 186:
Link color varies based on the first, unvisited, unclassed link tot attempt to adapt to current skin. This causes a blackish color on
353: 397:'https://en.wikipedia.org/search/?title=User:Aaron_Liu/Watchlyst_Greybar_Unsin.js&action=raw&ctype=text/javascript' 328:
On English Knowledge (XXG) it is recommended to install this script using the script-installer gadget, which can be turned on at:
226:
Requests are welcome. I'd really like some wise UI mage to come at fix me a button that marks the displayed entry as read.
158: 99: 417: 305: 371: 71:
Adds a site-wide subtitle that displays the contents of new watchlist items that haven't been marked as seen.
211: 27: 51: 357: 341: 337: 333: 312: 157:
Adds a subtitle when new watchlist items appear that haven't been marked as seen. Rewrite of
135: 347: 367:
Then you can go back to this page and click the big blue "Install" button in the infobox.
60: 187: 17: 411: 198: 180:
Display non-edits (page creations, marked as reviewed, etc) with correct messages
201:, categorization actions will not be displayed because they are always unread. 352:
Install scripts without having to manually edit JavaScript files (
194:
topics. Better heuristics that aren't just exceptions are welcome.
191: 177:
Links to the relevant userpage/contributions page for every item
238:/* V22/Watchlyst: Fix big font size introduced in T346062 */ 219:
Doesn't do that weird bolding of unseen watchlist items
35: 222:
Watchlist items' link styling also apply to our notifs
183:
A dismiss button to mark the displayed edit as read
206:Theoretical support for ALL skins with a subtitle* 145: 134: 124: 116: 83: 75: 67: 370:To install the script on another wiki (including 174:Article, Diff and Hist links (normal edits only) 171:Display rendered wikitext of watchlist comments 282:Cookie-based support for marking cats as read 8: 165:Don't display watchlist items marked as seen 44: 292: 59: 50: 43: 150:User:Aaron Liu/Watchlyst Greybar Unsin.js 7: 24: 168:Don't display empty edit messages 346: 296: 161:with modern APIs. New features: 374:), use the following snippet: 1: 159:User:Ais523/watchlistnotifier 434: 130:    (0 days ago) 25: 295: 58: 49: 376: 235: 102:: February 20, 2007 418:Knowledge (XXG) scripts 89:; 19 months ago 45:Watchlyst Greybar Unsin 289:GUI configuration menu 104:; 17 years ago 87:January 27, 2023 307:Knowledge (XXG) ads 46: 128:September 17, 2024 321: 320: 214: 155: 154: 141:Theoretically all 425: 404: 401: 398: 395: 392: 389: 386: 383: 380: 363: 362: 361: 350: 315: 308: 300: 293: 272: 269: 266: 263: 260: 257: 254: 251: 248: 245: 244:skin-vector-2022 242: 239: 209: 112: 110: 105: 97: 95: 90: 63: 54: 47: 38: 433: 432: 428: 427: 426: 424: 423: 422: 408: 407: 406: 405: 402: 399: 396: 393: 390: 387: 384: 381: 378: 351: 345: 332: 326: 313: 306: 279: 274: 273: 270: 267: 264: 261: 258: 255: 252: 249: 246: 243: 240: 237: 129: 108: 106: 103: 98: 93: 91: 88: 42: 41: 34: 30: 22: 21: 20: 12: 11: 5: 431: 429: 421: 420: 410: 409: 403:// Backlink: ] 377: 372:your global.js 365: 364: 325: 322: 319: 318: 310: 302: 301: 291: 290: 287: 283: 278: 275: 236: 224: 223: 220: 217: 216: 215: 204: 203: 202: 195: 188:Special:Search 181: 178: 175: 172: 169: 166: 153: 152: 147: 143: 142: 139: 132: 131: 126: 122: 121: 118: 114: 113: 85: 84:First released 81: 80: 77: 73: 72: 69: 65: 64: 56: 55: 40: 39: 31: 26: 23: 18:User:Aaron Liu 15: 14: 13: 10: 9: 6: 4: 3: 2: 430: 419: 416: 415: 413: 375: 373: 368: 359: 355: 354:documentation 349: 343: 339: 335: 331: 330: 329: 323: 316: 311: 309: 304: 303: 299: 294: 288: 284: 281: 280: 276: 234: 230: 227: 221: 218: 212: 208: 207: 205: 200: 196: 193: 189: 185: 184: 182: 179: 176: 173: 170: 167: 164: 163: 162: 160: 151: 148: 144: 140: 138: support 137: 133: 127: 123: 119: 115: 101: 86: 82: 78: 74: 70: 66: 62: 57: 53: 48: 37: 33: 32: 29: 19: 369: 366: 327: 324:Installation 231: 228: 225: 210:*As seen at 156: 36:WP:WATCHLYST 358:direct link 334:Preferences 286:saveoption. 68:Description 277:Idea board 109:2007-02-20 94:2023-01-27 314:file info 256:font-size 250:watchlyst 412:Category 344: → 342:Advanced 340: → 336: → 100:Original 28:Shortcut 338:Gadgets 199:T361855 197:Due to 192:mw:Flow 125:Updated 117:Version 107: ( 92: ( 385:loader 317:– #100 146:Source 79:Active 76:Status 16:< 391:load 190:and 136:Skin 356:) ( 265:rem 262:0.8 120:3.3 414:: 400:); 379:mw 394:( 388:. 382:. 360:) 271:} 268:; 259:: 253:{ 247:# 241:. 111:) 96:)

Index

User:Aaron Liu
Shortcut
WP:WATCHLYST


Original
Skin
User:Aaron Liu/Watchlyst Greybar Unsin.js
User:Ais523/watchlistnotifier
Special:Search
mw:Flow
T361855

Knowledge (XXG) ad for User:Aaron Liu/Watchlyst Greybar Unsin
Knowledge (XXG) ads
file info
Preferences
Gadgets
Advanced
Tick
documentation
direct link
your global.js
Category
Knowledge (XXG) scripts

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