Modul:Sidebar: Unterschied zwischen den Versionen

if args.name isn't specified, let Module:Navbar try to guess the name (it does a slightly better job than the current page's title, which is almost always wrong)
(all test cases look good - merge from sandbox)
(if args.name isn't specified, let Module:Navbar try to guess the name (it does a slightly better job than the current page's title, which is almost always wrong))
Zeile 210: Zeile 210:
.cssText(args.navbarstyle or args.tnavbarstyle)
.cssText(args.navbarstyle or args.tnavbarstyle)
.wikitext(navbar{
.wikitext(navbar{
args.name or mw.title.getCurrentTitle().fullText,
args.name,
mini = 1,
mini = 1,
fontstyle = args.navbarfontstyle or args.tnavbarfontstyle
fontstyle = args.navbarfontstyle or args.tnavbarfontstyle
Anonymer Benutzer