850:/Mobian/firefox, mobile view, i.e. en.m.wikipedia.org: both look OK, no noticeable difference* non-mobile view on the physical PinePhone running Mobian GNU/Linux and using firefox is similar to firefox on my desktop - 160 is too wide, and x202F looks OK.* physical desktop device, firefox 91, en.m.wikipedia.org: both look OK, no noticeable differenceChrome/chromium is really bad for privacy violations (though chromium on Debian presumably has some security fixes), so I'd prefer not to test it. I'm glad that the US secret services have cracked Russian army communications to great depth, but Wikipedians don't need to voluntarily offer our computers up as easy cracking targets.I'm not eager to play around with fonts, because for the past few years, I've had a lot less problems with web page fonts than before, which I assume is due to more clever firefox defaults and font-related parameters that handle most real-world cases. So I guess either a firefox
222:
21:
318:
191:
563:
489:
765:
In my browser (Firefox for Mac OS), the second example, x202F, looks much too narrow. If people are seeing extra white space when the template appears to be sending a normal nbsp to the browser, that sounds like a browser rendering bug or a computer configuration problem, or possibly a MediaWiki bug,
702:
I've just noticed the same problem. For example, the source is given as "21 June 2022" and is rendered as "21 June 2022", without extra spaces in the source, and #160 = #xA0 = nbsp, so the template clearly outputs the expected character string as intended. I suspect that this is an
432:
I would still really like this functionality. I try to put a sentence's core info first, and "as of X" is usually supplementary info the reader doesn't care about, or understand the meaning of, until they know what the main fact is. So I usually put it last, and typing "|lc=y" is a pain. Does anyone
881:
helped to discover the bug. If someone finds where this has been posted as a bug (I searched but failed to find it), or posts a bug report, a brief comment and pasting of the URL here would help people who are interested, so that people who get to this page at least know how to find out if the bug
806:
too tight and the NBSP case looks normal. In default WP settings (incognito mode), both look pretty good for three cases, but with NNBSP, the space between "June" and "2022" is too narrow. In any case, NBSP is supposed to act just like a space except for line breaking (though it is sometimes
821:
firefox-esr 91 logged out: same effect as when logged in - 160 is too wide; x202F looks OK. So it's not an effect of my particular choice of
Knowledge/mediawiki preferences. I checked that firefox has the "default" font selected, and allows pages to choose their own fonts.* firefox-esr 91,
668:
Thanks for the reply. I notice that the same problem occurs when people use just the {{nbsp}} template by itself. Further, I'm using the
Firefox browser, and just noticed that Brave browser looks ok. Maybe a CSS thing? I'll ask on the Help Desk to get wider audience. --
741:
I would not support that, as it's not the intended use case of narrow non-breaking spaces, and I don't think it's advisable to introduce additional complexity to our manual of style, which would have to approve a change like this that would apply to all dates.
722:
instead of the regular one? This would give "21 June 2022" and be rendered as "21 June 2022". To show these together:"21 June 2022" current 160 = xA0 = nbsp"21 June 2022" proposed 8239 = x202F = nnbsp.To me, x202F looks (renders)
272:, a collaborative effort to improve and manage Knowledge's inline footnote, cleanup and dispute templates. If you would like to participate, you can visit the project page, where you can join the project and see a list of open tasks.
900:
character just as it should - this should not be changed to the narrow nbsp, which would be too narrow. If this does not render okay in some configurations the problem is elsewhere. I would suspect some skin- or CSS-related issue.
801:
Which one looks better probably depends on the details of your browser/wikipedia configuration. On my phone, they render identically. On my laptop (with my browser, skin, and custom CSS), the NNBSP case is
868:
I don't see how this is a mediawiki bug, since the problem occurs in a trivial html file that I wrote by hand and tests both nbsp and nnbsp, except indirectly in the sense that mediawiki (and
Knowledge)
462:, that if used will display just the date but still include the categories and other benefits of this template. I've done an implementation in the sandbox; does it look good?
635:
Edit 2: This may be what @Ravenpuff is referring to above; I can't tell. For another example, see @David_Biddulph's entry above, which looks like "24..February..2019" to me.
650:
It looks fine to me. As far as I can tell, the template places one non-breaking space between the day and the month, and another between the month and the year, like this:
182:
959:
783:, if you log out and use a different browser or a different device (e.g. mobile phone), or use your preferred browser in its Safe mode, how do the above spaces look?
382:
The documentation says that the lc parameter gives lower case for any value of the parameter, but what is confusing is that it gives lower case even without a value.
766:
to me. It does not appear to be something we should attempt to work around only in this template, given the number of nbsps that are used throughout
Knowledge. –
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
896:
I'm using
Firefox (on a desktop with "Vector legacy (2010)" skin and Javascript disabled) and it looks 100% okay for me. The template issues the proper
418:
That is confusing, having two default parameters. Could we have a quicker way to set the case? I'm thinking {{ASOF|2018}} and {{asof|2018}} as aliases.
607:
should read "18.November.2021" (replace dots with spaces), but looks more like "18..November..2021" to me. Anyone else think the spacing looks wrong?
458:
For lines like "Fact X, according to 2020 survey data from Org Y", there's currently no way to use this template. I'd like to add a parameter,
1017:
1057:
598:
276:
932:
644:
630:
616:
154:
946:
678:
663:
971:
796:
588:
548:
427:
816:
412:
910:
82:
736:
775:
863:
268:
253:
119:
49:}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's
703:
intended feature of firefox rather than a bug. With variable width fonts, there is presumably an expected standard size of a
160:
891:
760:
514:
377:
190:
937:
I eventually solved the spacing problem, in my case, by just fiddling with
Firefox fonts. I don't recall the exact fix. -
838:
7: 160 looks OK, and x202F looks OK too; there is a difference, but it's extremely tiny - probably just a few pixels*
480:
453:
46:
77:
445:
100:
334:
178:
149:
38:
233:
1043:
367:
140:
32:
854:
or font bug (nbsp implemented as a fixed-width space?) would appear to be the best current hypotheses.
715:
173:
543:
408:
69:
1006:
I ask without judgment because I know next-to-nothing about template programming, but why doesn't
621:
Edit: I meant, not just in that example, but elsewhere where the "as of" template is used, too.
1024:
906:
63:
239:
807:
incorrectly implemented as a fixed-width space) and NNBSP is not intended for Latin text. --
1038:
942:
835:
674:
640:
626:
612:
79:
834:- 160 is too wide; x202F looks OK. My guess is that this rules out css as the culprit(?)*
8:
928:
843:
842:
2.9 - identical rendering of the two options, both look OK (monospace font in terminal)*
792:
771:
659:
555:
538:
404:
130:
42:
1001:
967:
839:
812:
704:
145:
51:
919:. Nice troubleshooting. If you can create a simple test case, you could submit it via
902:
126:
80:
1032:
938:
784:
685:
670:
636:
622:
608:
1010:
924:
887:
877:
template than on web pages that don't bother with nbsp at all. In other words,
859:
788:
767:
732:
697:
693:
655:
604:
441:
423:
104:
26:
346:
201:
1051:
963:
808:
317:
56:
1030:) for automatic formatting of the date (similar to citation templates)? —
350:
205:
958:
You may have good reasons for avoiding Chrome/Chromium, but since it is
352:
206:
85:
873:
actually use nbsp, so the problem may be more obvious with
Knowledge's
882:
has been reported, and if so, how to check what's being done with it.
953:
916:
915:
It sounds like this might be a bug in
Firefox ESR for your platform,
883:
855:
847:
780:
748:
728:
689:
576:
525:
502:
468:
437:
419:
534:
is used. Please could you add it to the final line of the template?
787:
noted above that the problem went away with a different browser. –
436:
Separately, "as of mid-March" (late, early) also returns an error.
348:
203:
87:
846:
2.21 - again, identical rendering (monospace font in terminal)*
920:
353:
207:
84:
78:
530:
The template produces a preview warning if the parameter
962:, any survey that omits it is not terribly useful. --
67:. Functionality of the template can be checked using
311:
95:
275:Some discussion of this template may take place at
1049:
389:{{As of|2019|02|24|lc=y}} as of 24 February 2019
394:{{As of|2019|02|24|lc=}} As of 24 February 2019
361:This page has archives. Sections older than
399:{{As of|2019|02|24}} As of 24 February 2019
232:does not require a rating on Knowledge's
652:as of 24 February 2019
61:Any contributor may edit the template's
960:by far the most common browser platform
39:heavily used or highly visible template
1050:
371:when more than 4 sections are present.
286:Knowledge:WikiProject Inline Templates
289:Template:WikiProject Inline Templates
266:This template is within the scope of
221:
219:
215:
15:
599:Template introduces too much space?
238:It is of interest to the following
103:for discussing improvements to the
13:
1058:WikiProject Inline Templates pages
1018:time and date maintenance template
14:
1069:
365:may be automatically archived by
707:. Though maybe it's a CSS issue?
561:
487:
316:
220:
189:
120:Click here to start a new topic.
19:
428:23:43, 19 September 2021 (UTC)
1:
679:14:01, 19 November 2021 (UTC)
664:19:28, 18 November 2021 (UTC)
645:16:05, 18 November 2021 (UTC)
631:15:48, 18 November 2021 (UTC)
617:15:41, 18 November 2021 (UTC)
515:21:29, 22 February 2022 (UTC)
413:16:12, 24 February 2019 (UTC)
385:See the following examples:
117:Put new text under old text.
921:https://bugzilla.mozilla.org
378:lc parameter without a value
269:WikiProject Inline Templates
7:
654:. That looks fine to me. –
125:New to Knowledge? Welcome!
10:
1074:
714:how about we consider the
589:18:48, 11 March 2022 (UTC)
549:18:24, 11 March 2022 (UTC)
446:19:19, 17 March 2023 (UTC)
1044:15:55, 9 April 2023 (UTC)
972:17:52, 22 June 2022 (UTC)
947:06:02, 22 June 2022 (UTC)
933:23:54, 21 June 2022 (UTC)
911:22:47, 21 June 2022 (UTC)
892:21:52, 21 June 2022 (UTC)
864:21:06, 21 June 2022 (UTC)
817:21:01, 21 June 2022 (UTC)
797:18:26, 21 June 2022 (UTC)
776:18:25, 21 June 2022 (UTC)
761:18:13, 21 June 2022 (UTC)
737:17:35, 21 June 2022 (UTC)
716:narrow non-breaking space
481:07:47, 13 June 2021 (UTC)
292:Inline Templates articles
259:
246:
155:Be welcoming to newcomers
570:; thanks for the catch!
454:Parameter for bare usage
277:the project's talk page
47:edit template-protected
368:Lowercase sigmabot III
150:avoid personal attacks
55:to add usage notes or
183:Auto-archiving period
45:, editors may use {{
279:, rather than here.
705:non-breaking space
234:content assessment
161:dispute resolution
122:
758:
746:
586:
574:
512:
500:
478:
466:
375:
374:
340:
339:
308:
307:
304:
303:
300:
299:
214:
213:
141:Assume good faith
118:
94:
93:
1065:
1035:
1029:
1023:
1015:
1009:
957:
899:
759:
756:
755:
753:
744:
701:
653:
603:The top line of
587:
584:
583:
581:
572:
569:
565:
564:
559:
547:
541:
533:
529:
513:
510:
509:
507:
498:
495:
491:
490:
479:
476:
475:
473:
464:
461:
433:have objections?
370:
354:
331:
330:
320:
312:
294:
293:
290:
287:
284:
283:Inline Templates
261:
260:
254:Inline Templates
248:
247:
225:
224:
223:
216:
208:
194:
193:
184:
96:
88:
37:because it is a
23:
22:
16:
1073:
1072:
1068:
1067:
1066:
1064:
1063:
1062:
1048:
1047:
1033:
1027:
1021:
1013:
1007:
1004:
1002:date formatting
951:
897:
749:
747:
743:
683:
651:
601:
577:
575:
571:
562:
560:
553:
537:
535:
531:
523:
503:
501:
497:
488:
486:
469:
467:
463:
459:
456:
380:
366:
355:
349:
325:
291:
288:
285:
282:
281:
210:
209:
204:
181:
167:
166:
136:
90:
89:
83:
20:
12:
11:
5:
1071:
1061:
1060:
1003:
1000:
999:
998:
997:
996:
995:
994:
993:
992:
991:
990:
989:
988:
987:
986:
985:
984:
983:
982:
981:
980:
979:
978:
977:
976:
975:
974:
605:Template:As of
600:
597:
596:
595:
594:
593:
592:
591:
556:AlphaMikeOmega
539:AlphaMikeOmega
518:
517:
455:
452:
451:
450:
449:
448:
434:
405:David Biddulph
401:
400:
396:
395:
391:
390:
379:
376:
373:
372:
360:
357:
356:
351:
347:
345:
342:
341:
338:
337:
327:
326:
321:
315:
306:
305:
302:
301:
298:
297:
295:
273:
264:
257:
256:
251:
244:
243:
237:
226:
212:
211:
202:
200:
199:
196:
195:
169:
168:
165:
164:
157:
152:
143:
137:
135:
134:
123:
114:
113:
110:
109:
108:
92:
91:
86:
81:
76:
75:
27:Template:As of
24:
9:
6:
4:
3:
2:
1070:
1059:
1056:
1055:
1053:
1046:
1045:
1042:
1040:
1036:
1026:
1025:use mdy dates
1019:
1012:
973:
969:
965:
961:
955:
950:
949:
948:
944:
940:
936:
935:
934:
930:
926:
922:
918:
914:
913:
912:
908:
904:
895:
894:
893:
889:
885:
880:
876:
872:
867:
866:
865:
861:
857:
853:
849:
845:
841:
837:
833:
829:
825:
820:
819:
818:
814:
810:
805:
800:
799:
798:
794:
790:
786:
782:
779:
778:
777:
773:
769:
764:
763:
762:
754:
752:
740:
739:
738:
734:
730:
726:
721:
717:
713:
711:
706:
699:
695:
691:
687:
682:
681:
680:
676:
672:
667:
666:
665:
661:
657:
649:
648:
647:
646:
642:
638:
633:
632:
628:
624:
619:
618:
614:
610:
606:
590:
582:
580:
568:
557:
552:
551:
550:
545:
540:
527:
522:
521:
520:
519:
516:
508:
506:
494:
485:
484:
483:
482:
474:
472:
447:
443:
439:
435:
431:
430:
429:
425:
421:
417:
416:
415:
414:
410:
406:
398:
397:
393:
392:
388:
387:
386:
383:
369:
364:
359:
358:
344:
343:
336:
333:
332:
329:
328:
324:
319:
314:
313:
310:
296:
280:
278:
271:
270:
265:
263:
262:
258:
255:
252:
250:
249:
245:
241:
235:
231:
227:
218:
217:
198:
197:
192:
188:
180:
177:
175:
171:
170:
162:
158:
156:
153:
151:
147:
144:
142:
139:
138:
132:
128:
127:Learn to edit
124:
121:
116:
115:
112:
111:
106:
102:
98:
97:
74:
72:
71:
66:
65:
58:
54:
53:
52:documentation
48:
44:
40:
36:
34:
28:
25:
18:
17:
1031:
1016:check for a
1005:
903:Matthiaspaul
878:
874:
870:
852:or mediawiki
851:
831:
827:
823:
803:
750:
724:
719:
709:
708:
634:
620:
602:
578:
566:
504:
492:
470:
457:
402:
384:
381:
362:
322:
309:
274:
267:
240:WikiProjects
229:
186:
172:
99:This is the
68:
62:
60:
50:
35:from editing
31:permanently
30:
718:for use in
1034:Fourthords
939:Ghastlyman
898:
828:Page style
785:Ghastlyman
686:Ghastlyman
671:Ghastlyman
637:Ghastlyman
623:Ghastlyman
609:Ghastlyman
70:test cases
57:categories
925:Jonesey95
848:PinePhone
789:Jonesey95
768:Jonesey95
698:Ravenpuff
694:Jonesey95
656:Jonesey95
460:|bare=yes
335:Archive 1
163:if needed
146:Be polite
107:template.
101:talk page
43:consensus
33:protected
1052:Category
964:Macrakis
832:No style
809:Macrakis
727:better.
710:Proposal
323:Archives
230:template
174:Archives
131:get help
696:, and
363:28 days
187:28 days
64:sandbox
1020:(e.g.
836:Midori
236:scale.
1011:as of
879:as of
875:as of
844:Links
720:As of
228:This
159:Seek
105:As of
968:talk
954:Boud
943:talk
929:talk
923:. –
917:Boud
907:talk
888:talk
884:Boud
860:talk
856:Boud
840:Lynx
824:View
813:talk
804:much
793:talk
781:Boud
772:talk
751:Sdkb
745:{{u|
733:talk
729:Boud
725:much
690:Sdkb
675:talk
660:talk
641:talk
627:talk
613:talk
579:Sdkb
573:{{u|
567:Done
544:talk
532:bare
526:Sdkb
505:Sdkb
499:{{u|
493:Done
471:Sdkb
465:{{u|
442:talk
438:HLHJ
424:talk
420:HLHJ
409:talk
148:and
1039:=Λ=
29:is
1054::
1037:|
1028:}}
1022:{{
1014:}}
1008:{{
970:)
945:)
931:)
909:)
901:--
890:)
871:do
862:)
830:-
826:-
815:)
795:)
774:)
757:}}
735:)
692:,
688:,
677:)
662:)
643:)
629:)
615:)
585:}}
511:}}
496:.
477:}}
444:)
426:)
411:)
403:--
185::
129:;
73:.
59:.
1041:|
966:(
956::
952:@
941:(
927:(
905:(
886:(
858:(
811:(
791:(
770:(
731:(
712::
700::
684:@
673:(
658:(
639:(
625:(
611:(
558::
554:@
546:)
542:(
536:—
528::
524:@
440:(
422:(
407:(
242::
179:1
176::
133:.
Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.