Knowledge (XXG)

:Bots/Requests for approval/PDFbot - Knowledge (XXG)

Source 📝

606: 44: 355:
I like this idea a lot, but I worry that it will require too many edits. I counted 54,916 articles with PDF links as of the November 2006 DB dump. I guess that's only 38 days at one/minute but still, it's a lot of edits. If this were a vote I'd support.
219:, it records these values. It then inserts (or replaces) the second parameter the a three significant figure binary-prefixed size, which is derived from the content-length, followed by a HTML comment that contains 655: 507:. The MOS also suggests linking the unit for those unfamiliar with them. However, I had wished to avoid creating unneeded links. I will linking the unit if it is support for it. — 407:
I just realized that you were counting all PDFs linked from Knowledge (XXG), no the bot only only work on those that specifically transclude the PDFlink template. --
313:
Neat, I like how the details are in comments, they stay out of the way but are available. Sort of like how you can get the second that an edit occurred by using the
394:
I've been using AWB to generate the list so far. It has only reported 1,583 articles (excluding talk pages) which would take a little over a day to run. --
346:. I'll remove it as it's not require. You'll also note that there's a tiny parsing bug where it doesn't parse indirect character references. -- 21: 252: 457:
I like, but perhaps using more standard size abbreviations would be appropriate? MB as opposed to MiB and KB as opposed to KiB?
269:
This seems like a good idea to me. The only concern I have, is if there is a consensus that PDFs should be linked in this manner?
84: 290:
provides a css wrapper around a regular external link which changes the external link icon for IE5-6 users. It also append
585: 527: 79: 368:
I think adding the file sizes is a good idea, but you should take out the space between the unit and the comment. —
114: 292: 99: 251:
is embedded as the format parameter in a citation template it is removed. The list is created from the "
259: 627: 569: 548: 511: 478: 461: 451: 430: 411: 398: 385: 372: 362: 350: 323: 307: 275: 284: 245: 231: 205: 195: 149: 94: 89: 622: 543: 17: 582: 524: 241:
value is not found or the URL 404s it leaves that instance unchanged. In the instance that
74: 211:
if needed. After it queries the HTTP server as indicated by the containing URL for the
566: 508: 448: 408: 395: 382: 369: 347: 314: 304: 125: 649: 496: 471: 458: 318: 270: 614: 535: 579: 575: 521: 517: 426: 358: 55: 43: 499:
is the preferred (and proper) method since the base I'm using is 1024 and
562: 558: 554: 492: 343: 296:
to the link and the the filesize if a second parameter is given.
634:
The above discussion is preserved as an archive of the debate.
502: 173:
1 EPM (dependent on the querying servers responsiveness)
445: 443: 342:
I'm not sure if I like the unit linked as suggested by
338: 336: 334: 332: 300: 227:
from the query. This is repeats for every instance of
109: 104: 69: 303:
and I hope to be cleaning up the code for posting. --
640:
Subsequent comments should be made in a new section.
39:
Subsequent comments should be made in a new section.
656:Approved Knowledge (XXG) bot requests for approval 145:Updates filesize for external links tagged with 33:The following discussion is an archived debate. 255:" page and filter out all non-article pages. 201:. Applies fixes related to the formating of 8: 191:It examines pages that trancludes the 162:(e.g. Continuous, daily, one time run) 7: 447:(These will probably be the last) -- 565:, but not bytes is that alright? — 28: 612:This bot shall run with a flag. — 470:I tend to agree about the units. 424:Well, cheers then. I like it. - 41:The result of the discussion was 604: 533:I agree. Please add the link. — 42: 516:I'd support linking it as ]. -- 258:The source code been posted at 237:found in the wikitext. If the 139:Python (pywikipedia framework) 131:Automatic or Manually Assisted: 1: 574:That seems sensible to me. -- 549:04:48, 24 February 2007 (UTC) 512:01:13, 19 February 2007 (UTC) 479:13:19, 18 February 2007 (UTC) 462:09:18, 18 February 2007 (UTC) 452:23:27, 16 February 2007 (UTC) 431:05:26, 15 February 2007 (UTC) 412:03:09, 15 February 2007 (UTC) 399:00:33, 15 February 2007 (UTC) 386:00:33, 15 February 2007 (UTC) 373:00:14, 15 February 2007 (UTC) 363:23:48, 14 February 2007 (UTC) 351:23:26, 14 February 2007 (UTC) 324:22:02, 14 February 2007 (UTC) 308:21:47, 14 February 2007 (UTC) 276:21:02, 14 February 2007 (UTC) 672: 628:20:35, 5 March 2007 (UTC) 570:20:19, 4 March 2007 (UTC) 520:13:29, 19 February 2007 ( 637:Please do not modify it. 137:Programming Language(s): 36:Please do not modify it. 344:MOS:NUM#Binary prefixes 299:I've also generated a 177:Already has a bot flag 578:13:26, 5 March 2007 ( 260:User:PDFbot/pdfbot.py 22:Requests for approval 171:Edit rate requested: 18:Knowledge (XXG):Bots 618: 539: 491:According to the 477: 473: 322: 274: 189:Function Details: 143:Function Summary: 663: 639: 626: 616: 608: 607: 547: 537: 476: 472: 441:Third trial run: 329:Second trial run 321: 289: 283: 273: 250: 244: 240: 236: 230: 226: 222: 218: 214: 210: 204: 200: 194: 154: 148: 46: 38: 671: 670: 666: 665: 664: 662: 661: 660: 646: 645: 644: 635: 613: 605: 534: 497:binary prefixes 493:Manual of Style 287: 281: 267: 253:What links here 248: 242: 238: 234: 228: 224: 220: 216: 212: 208: 202: 198: 192: 152: 146: 120: 59: 34: 26: 25: 24: 12: 11: 5: 669: 667: 659: 658: 648: 647: 643: 642: 602: 601: 600: 599: 598: 597: 596: 595: 594: 593: 592: 591: 590: 589: 484: 483: 482: 481: 465: 464: 438: 437: 436: 435: 434: 433: 417: 416: 415: 414: 402: 401: 391: 390: 389: 388: 376: 375: 315:Special:Export 311: 310: 297: 295: 266: 263: 239:content-length 225:content-length 213:content-length 159:Edit period(s) 119: 118: 112: 107: 102: 97: 92: 87: 82: 77: 72: 70:Approved BRFAs 67: 60: 58: 53: 52: 51: 29: 27: 15: 14: 13: 10: 9: 6: 4: 3: 2: 668: 657: 654: 653: 651: 641: 638: 632: 631: 630: 629: 624: 620: 611: 587: 584: 581: 577: 573: 572: 571: 568: 564: 560: 556: 552: 551: 550: 545: 541: 532: 531: 529: 526: 523: 519: 515: 514: 513: 510: 506: 504: 498: 494: 490: 489: 488: 487: 486: 485: 480: 475: 469: 468: 467: 466: 463: 460: 456: 455: 454: 453: 450: 446: 444: 442: 432: 429: 428: 423: 422: 421: 420: 419: 418: 413: 410: 406: 405: 404: 403: 400: 397: 393: 392: 387: 384: 380: 379: 378: 377: 374: 371: 367: 366: 365: 364: 361: 360: 353: 352: 349: 345: 340: 339: 337: 335: 333: 330: 326: 325: 320: 316: 309: 306: 302: 298: 294: 291: 286: 280: 279: 278: 277: 272: 264: 262: 261: 256: 254: 247: 233: 207: 197: 190: 186: 184: 181: 178: 174: 172: 168: 166: 163: 160: 156: 151: 144: 140: 138: 134: 132: 128: 127: 124: 116: 113: 111: 108: 106: 103: 101: 98: 96: 93: 91: 88: 86: 83: 81: 78: 76: 73: 71: 68: 66: 62: 61: 57: 54: 49: 45: 40: 37: 31: 30: 23: 19: 636: 633: 609: 603: 553:I've linked 500: 440: 439: 425: 357: 354: 341: 328: 327: 312: 268: 257: 221:Content-type 217:content-type 188: 187: 182: 179: 176: 175: 170: 169: 164: 161: 158: 157: 142: 141: 136: 135: 130: 129: 122: 121: 64: 47: 35: 32: 381:Changed. -- 301:sample edit 265:Discussion 133:Automatic 110:rights log 100:page moves 610:Approved. 567:Dispenser 509:Dispenser 449:Dispenser 409:Dispenser 396:Dispenser 383:Dispenser 370:Omegatron 348:Dispenser 305:Dispenser 126:Dispenser 123:Operator: 105:block log 650:Category 505:'s 1,000 459:Locriani 319:HighInBC 271:HighInBC 167:Monthly 80:contribs 48:Approved 20:‎ | 285:PDFlink 246:PDFlink 232:PDFlink 206:PDFlink 196:PDFlink 150:PDFlink 576:ais523 561:, and 518:ais523 495:using 427:Selket 359:Selket 317:page. 56:PDFbot 180:(Y/N) 85:count 16:< 623:talk 544:talk 501:not 474:InBC 223:and 215:and 115:flag 95:logs 75:talk 65:BRFA 619:501 617:ETS 563:GiB 559:MiB 555:KiB 540:501 538:ETS 293:PDF 90:SUL 652:: 557:, 530:) 503:SI 331:: 288:}} 282:{{ 249:}} 243:{{ 235:}} 229:{{ 209:}} 203:{{ 199:}} 193:{{ 185:N 155:. 153:}} 147:{{ 625:) 621:( 615:M 588:) 586:C 583:T 580:U 546:) 542:( 536:M 528:C 525:T 522:U 356:- 183:: 165:: 117:) 63:( 50:.

Index

Knowledge (XXG):Bots
Requests for approval

PDFbot
BRFA
Approved BRFAs
talk
contribs
count
SUL
logs
page moves
block log
rights log
flag
Dispenser
PDFlink
PDFlink
PDFlink
PDFlink
PDFlink
What links here
User:PDFbot/pdfbot.py
HighInBC
21:02, 14 February 2007 (UTC)
PDFlink
PDF
sample edit
Dispenser
21:47, 14 February 2007 (UTC)

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