Knowledge (XXG)

Template talk:Navbar

Source ๐Ÿ“

226: 21: 880: 763: 183: 824: 139: 101: 894:
This template has been detected as one of 436 pages using styles that break the page when printed when the user is using dark mode. The fix is very straightforward - all your styles relating to dark mode must be scoped to. Since there is a high risk of this templates being copied to other wikis it is
622:
I highly doubt it's even in use, and the failure point is a small subset of potential template names, so I think "fix the issue" is preferable. That being said I, I haven't looked at it in too much detail but I suspect it has to do with how the module is creating the URLs for the links (much like how
695:
Is there some custom css I can add to force unhiding navigation templates on mobile? I'm not concerned if they are ugly or affect the overall formatting of the articles they appear in. I just miss them.
719:. Regardless of that, I don't think it's possible: the navbox HTML doesn't seem to be present in the HTML source for pages on mobile, so it's been suppressed by the MediaWiki software. -- 162: 120: 651:
with what I suspect will fix the problem. I would want to think about the change much more, and test it, before updating the main module. One of my edit summaries says
41:. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by 82: 211: 909:
If this message has not been acted on in 7 days, this will be fixed by an automated script. Thank you for your help fixing this important issue.
327: 352: 38: 251: 247: 243: 239: 32: 943: 342: 368:
Further to the section above, the move option does not work correctly when the template name includes a space - using
281: 77: 769: 588: 557: 418:
It makes no difference if the space is replaced by an underscore, nor if the first parameter is named - that is,
383: 317: 69: 260: 870: 466: 199: 891:
Firstly, apologies for writing in English if this is not your first language (this is an automated message).
803: 312: 63: 46: 49:}} to notify an administrator to make the requested edit. Usually, any contributor may edit the template's 42: 652: 648: 337: 851: 203: 145: 107: 923: 799: 741: 727: 701: 599: 523: 490: 322: 51: 214:
for that content in the latter page, and it must not be deleted as long as the latter page exists.
884: 672: 638: 627: 508: 504: 266: 902:
Update `@media (prefers-color-scheme: dark` to `@media screen and (prefers-color-scheme: dark`
512: 347: 834: 811: 795: 613: 578: 414:
https://en.wikipedia.org/search/?title=Special:Movepage&target=Template:Example_template
262: 225: 87: 79: 302: 26: 919: 859: 737: 720: 697: 592: 516: 483: 937: 773: 668: 656: 634: 500: 456: 445: 437: 429: 421: 372: 332: 153: 56: 406:
https://en.wikipedia.org/search/?title=Special:Movepage&target=Template:Example
913: 905:
Wrap any styles relating to `html.skin-theme-clientpref-night` in `@media screen`
80: 831: 807: 609: 574: 548: 537: 482:
It seems that there is no way to have both the view and move links correct. --
149: 111: 855: 264: 608:
So, for the time being remove from documentation, or add a heavy warning?
85: 927: 863: 839: 815: 745: 731: 705: 676: 642: 617: 603: 582: 527: 494: 138: 100: 757: 661:
local cfg = mw.loadData('Module:Navbar/configuration/sandbox')
267: 219: 177: 133: 95: 15: 659:
before I started. That is not quite correctโ€”the sandbox has
408:
which is not what is intended - the link should display as "
461:
the move link is now correct, but the view link is broken:
589:
Template:Navbar/testcases#Demonstrating bug in move option
84: 78: 806:. We don't need to use the fullurl for those two links. 453:
However, if the space is replaced by a plus sign, as in
564: 473: 413: 405: 390: 207: 194: 189: 869:
Urgent: Please fix this template for printed content
691:
Custom css to display navigation templates on mobile?
67:. Functionality of the template can be checked using 852:Template talk:Navbox#Inaccessible links in navbar 400:note that the second link displays as "template 168:merge, assuming there are no technical problems 275:This page has archives. Sections older than 8: 912:For any questions feel free to ask them at 566: 558: 474: 467: 409: 401: 392: 384: 290: 181: 754:Protected edit request on 10 October 2023 895:important this notice is acted on ASAP. 667:. That should be fixed before updating. 188:Text and/or other creative content from 61:Any contributor may edit the template's 293: 39:heavily used or highly visible template 587:Yes, so I've set up some testcases at 285:when more than 5 sections are present. 7: 736:Oops! Well, thanks for the info ๐Ÿ˜” 889: 157: 144:This template was considered for 115: 106:This template was considered for 14: 279:may be automatically archived by 878: 822: 761: 224: 137: 99: 19: 794:Please change the links to use 663:whereas the main module omits 448:|template=Example_template|m}} 440:|template=Example template|m}} 200:incubator:Module:Wp/nod/Navbar 1: 864:02:05, 23 February 2024 (UTC) 450:all yield identical results. 846:Inaccessible links in navbar 840:22:35, 10 October 2023 (UTC) 816:00:55, 10 October 2023 (UTC) 623:elink templates need to use 930:on behalf of the web team. 788:to reactivate your request. 776:has been answered. Set the 746:22:16, 16 August 2023 (UTC) 732:21:32, 16 August 2023 (UTC) 706:12:47, 16 August 2023 (UTC) 677:10:07, 8 January 2023 (UTC) 643:08:07, 8 January 2023 (UTC) 618:07:46, 8 January 2023 (UTC) 604:13:20, 7 January 2023 (UTC) 583:12:29, 7 January 2023 (UTC) 528:12:25, 7 January 2023 (UTC) 495:12:20, 7 January 2023 (UTC) 960: 928:18:21, 2 August 2024 (UTC) 876: 633:to properly format URLs). 499:This bug is presumably in 715:(the v-t-e links) not nav 412:" and the link should be 198:was copied or moved into 871:Module:Navbar/styles.css 711:This is the page for nav 404:" and the link goes to 282:Lowercase sigmabot III 55:to add usage notes or 653:Module:Navbar/sandbox 649:Module:Navbar/sandbox 551:|Example template|m}} 459:|Example+template|m}} 432:|Example_template|m}} 424:|Example template|m}} 375:|Example template|m}} 507:redirects here, but 206:. The former page's 160:. The result of the 118:. The result of the 45:, editors may use {{ 944:Lua-based templates 800:Special:PageHistory 212:provide attribution 885:Module talk:Navbar 509:Template talk:View 505:Module talk:Navbar 364:Bug in move option 318:Template testcases 802:, as I have done 792: 791: 513:Template talk:VTE 361: 360: 328:Template subpages 289: 288: 218: 217: 174: 173: 132: 131: 94: 93: 951: 882: 881: 830: 826: 825: 796:Special:EditPage 783: 779: 765: 764: 758: 723: 666: 662: 655:was the same as 632: 626: 595: 568: 560: 552: 542: 536: 519: 486: 476: 469: 460: 449: 441: 433: 425: 411: 403: 394: 386: 377: 376: 343:Module testcases 313:Template sandbox 291: 284: 268: 228: 220: 197: 185: 184: 178: 159: 141: 134: 117: 103: 96: 88: 37:because it is a 23: 22: 16: 959: 958: 954: 953: 952: 950: 949: 948: 934: 933: 932: 888: 887: 879: 875: 848: 837: 836:it has begun... 823: 821: 781: 777: 762: 756: 721: 693: 664: 660: 630: 624: 593: 572: 546: 540: 534: 517: 484: 480: 454: 443: 435: 427: 419: 398: 370: 369: 366: 357: 353:Module subpages 280: 269: 263: 233: 193: 182: 90: 89: 83: 27:Template:Navbar 20: 12: 11: 5: 957: 955: 947: 946: 936: 935: 907: 906: 903: 877: 874: 867: 847: 844: 843: 842: 835: 790: 789: 766: 755: 752: 751: 750: 749: 748: 692: 689: 688: 687: 686: 685: 684: 683: 682: 681: 680: 679: 571: 570: 562: 554: 544: 479: 478: 471: 463: 397: 396: 388: 380: 365: 362: 359: 358: 356: 355: 350: 345: 340: 338:Module sandbox 335: 330: 325: 320: 315: 310: 299: 296: 295: 287: 286: 274: 271: 270: 265: 261: 259: 256: 255: 235: 234: 229: 223: 216: 215: 210:now serves to 186: 172: 171: 142: 130: 129: 104: 92: 91: 86: 81: 76: 75: 47:edit protected 24: 13: 10: 9: 6: 4: 3: 2: 956: 945: 942: 941: 939: 931: 929: 925: 921: 917: 915: 910: 904: 901: 900: 899: 898:To fix this: 896: 892: 886: 872: 868: 866: 865: 861: 857: 853: 845: 841: 838: 833: 829: 820: 819: 818: 817: 813: 809: 805: 801: 797: 787: 784:parameter to 775: 774:Module:Navbar 771: 767: 760: 759: 753: 747: 743: 739: 735: 734: 733: 729: 725: 718: 714: 710: 709: 708: 707: 703: 699: 690: 678: 674: 670: 658: 657:Module:Navbar 654: 650: 646: 645: 644: 640: 636: 629: 621: 620: 619: 615: 611: 607: 606: 605: 601: 597: 590: 586: 585: 584: 580: 576: 569: 563: 561: 556: 555: 550: 545: 539: 532: 531: 530: 529: 525: 521: 514: 511:redirects to 510: 506: 503:. Curiously, 502: 501:Module:Navbar 497: 496: 492: 488: 477: 472: 470: 465: 464: 462: 458: 451: 447: 439: 431: 423: 416: 415: 407: 395: 389: 387: 382: 381: 379: 374: 363: 354: 351: 349: 346: 344: 341: 339: 336: 334: 331: 329: 326: 324: 321: 319: 316: 314: 311: 308: 304: 301: 300: 298: 297: 294:Related pages 292: 283: 278: 273: 272: 258: 257: 254: 253: 249: 245: 241: 237: 236: 232: 227: 222: 221: 213: 209: 205: 201: 196: 195:Module:Navbar 191: 187: 180: 179: 176: 169: 165: 164: 155: 154:Template:View 151: 147: 143: 140: 136: 135: 127: 123: 122: 113: 109: 105: 102: 98: 97: 74: 72: 71: 66: 65: 58: 54: 53: 52:documentation 48: 44: 40: 36: 34: 28: 25: 18: 17: 918: 914:phab:T369874 911: 908: 897: 893: 890: 849: 827: 793: 785: 770:edit request 716: 712: 694: 553:}} produces 498: 481: 452: 417: 399: 367: 323:Template doc 306: 276: 238: 230: 190:this version 175: 167: 161: 158:2017 March 5 126:no consensus 125: 119: 116:2014 July 27 68: 62: 60: 50: 35:from editing 31:permanently 30: 883:Moved from 832:* Pppery * 778:|answered= 533:Same with 348:Module doc 163:discussion 150:Template:V 121:discussion 112:Template:V 70:test cases 57:categories 920:Jon (WMF) 850:Moved to 738:Folly Mox 698:Folly Mox 647:I edited 628:urlencode 378:produces 204:this edit 43:consensus 33:protected 938:Category 669:Johnuniq 665:/sandbox 635:Primefac 565:template 391:template 303:Template 277:180 days 231:Archives 208:history 146:merging 108:merging 64:sandbox 808:SWinxy 724:rose64 610:DePiep 596:rose64 575:DePiep 520:rose64 487:rose64 333:Module 782:|ans= 768:This 202:with 166:was " 148:with 124:was " 110:with 924:talk 860:talk 856:Izno 828:Done 812:talk 804:here 798:and 742:talk 728:talk 726:๐ŸŒน ( 702:talk 673:talk 639:talk 614:talk 600:talk 598:๐ŸŒน ( 591:. -- 579:talk 524:talk 522:๐ŸŒน ( 515:. -- 491:talk 489:๐ŸŒน ( 475:move 468:view 457:view 446:view 442:and 438:view 430:view 422:view 410:move 402:move 393:move 385:view 373:view 307:talk 152:and 780:or 772:to 722:Red 717:box 713:bar 594:Red 573:. - 518:Red 485:Red 192:of 156:on 114:on 29:is 940:: 926:) 916:. 862:) 854:. 814:) 786:no 744:) 730:) 704:) 675:) 641:) 631:}} 625:{{ 616:) 602:) 581:) 547:{{ 541:}} 535:{{ 526:) 493:) 455:{{ 444:{{ 436:{{ 434:, 428:{{ 426:, 420:{{ 371:{{ 250:, 246:, 242:, 170:". 128:". 73:. 59:. 922:( 873:. 858:( 810:( 740:( 700:( 671:( 637:( 612:( 577:( 567:m 559:v 549:v 543:: 538:v 309:) 305:( 252:4 248:3 244:2 240:1

Index

Template:Navbar
protected
heavily used or highly visible template
consensus
edit protected
documentation
categories
sandbox
test cases

merging
Template:V
discussion

merging
Template:V
Template:View
discussion
this version
Module:Navbar
incubator:Module:Wp/nod/Navbar
this edit
history
provide attribution

1
2
3
4
Lowercase sigmabot III

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

โ†‘