Template talk:LanguageBar/flag: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
== Usage of #ifexist == | == Usage of #ifexist == | ||
As far as I know, that parser function has the unfortunate disadvantage that it creates [[Special:WantedPages]]. In this case, if I saw that correctly, using {{tlc|LanguageBar}} on a page "Page" with only an english version will create the wanted pages "Ca/Page", "Cs/Page", "De/Page", ... (as many pages as there are languages). Is this a problem and should this be addressed? I remember that someone found some workaround for {{tl|lang}} the other day, some trick trying to get a page's security level or so, telling whether a page exists without creating wanted pages. If desired, I could try to look that up again. Or even better, create an optimal {{tl2|ifexist}} template. --[[User:Popcorn|popcorn]] ([[User talk:Popcorn|talk]]) 06:22, 23 July 2024 (PDT) | As far as I know, that parser function has the unfortunate disadvantage that it creates [[Special:WantedPages]]. In this case, if I saw that correctly, using {{tlc|LanguageBar}} on a page "Page" with only an english version will create the wanted pages "Ca/Page", "Cs/Page", "De/Page", ... (as many pages as there are languages). Is this a problem and should this be addressed? I remember that someone found some workaround for {{tl|lang}} the other day, some trick trying to get a page's security level or so, telling whether a page exists without creating wanted pages. If desired, I could try to look that up again. Or even better, create an optimal {{tl2|ifexist}} template. --[[User:Popcorn|popcorn]] ([[User talk:Popcorn|talk]]) 06:22, 23 July 2024 (PDT) | ||
: Don't really see the point in adressing that. [[Special:WantedPages]] has over | : Don't really see the point in adressing that. [[Special:WantedPages]] has over 120k entries and they are sorted by how many such links are used so eveyrthing important is at the beginning [[User:Nescius|Nescius]] ([[User talk:Nescius|talk]]) 06:33, 23 July 2024 (PDT) |
Revision as of 06:36, 23 July 2024
Usage of #ifexist
As far as I know, that parser function has the unfortunate disadvantage that it creates Special:WantedPages. In this case, if I saw that correctly, using {{LanguageBar}}
on a page "Page" with only an english version will create the wanted pages "Ca/Page", "Cs/Page", "De/Page", ... (as many pages as there are languages). Is this a problem and should this be addressed? I remember that someone found some workaround for {{lang}}
the other day, some trick trying to get a page's security level or so, telling whether a page exists without creating wanted pages. If desired, I could try to look that up again. Or even better, create an optimal {{ifexist}} template. --popcorn (talk) 06:22, 23 July 2024 (PDT)
- Don't really see the point in adressing that. Special:WantedPages has over 120k entries and they are sorted by how many such links are used so eveyrthing important is at the beginning Nescius (talk) 06:33, 23 July 2024 (PDT)