Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Subst protection  
1 comment  




2 Enhancements and issues  
4 comments  


2.1  Error message exit  





2.2  Params selfref and category  





2.3  Wrapper conversion  







3 Red links in Usage section of doc  
1 comment  




4 Param demospace  
1 comment  




5 Suppress parenthetical when English link goes blue  
2 comments  













Template talk:Further interlanguage link




Page contents not supported in other languages.  









Template
Talk
 

















Read
Edit
Add topic
View history
 








Tools
   


Actions  



Read
Edit
Add topic
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 

(Redirected from Template talk:Further interlanguage link/doc)

Subst protection[edit]

Didn't see a particular reason to subst-protect this, but can add it, if there is one. Mathglot (talk) 21:43, 29 December 2020 (UTC)[reply]

Enhancements and issues[edit]

Error message exit[edit]

Conditions that generate red error messages don't "else out" of the logic, but fall into the link-generating code, so you end up with both, which seems okay to me, but maybe should quit, to be cleaner. Mathglot (talk) 21:49, 29 December 2020 (UTC)[reply]

Params selfref and category[edit]

Template:Further has |selfref= and |category=, but this template currently does not. There's some hidden text already on the doc page in the Usage and TemplateData sections in preparation for it, and the code could be added, if needed. If it is, I think the param should be called |nocat= instead, which is clearer, and there was a note in some template somewhere about deprecating the use of |category= in favor of |nocat=, and I think that's the right call. Mathglot (talk) 21:52, 29 December 2020 (UTC)[reply]

Added namespace detect instead; so I don't think we will need to add |nocat= anymore. Mathglot (talk) 05:59, 30 December 2020 (UTC)[reply]

Wrapper conversion[edit]

Through appropriate use of links, labels, and punctuation, and {{Further}}'s |topic= and the |label=-series of parameters, it would be possible to convert this into a wrapper of {{Further}} with similar-looking output, although missing certain features and usurping those params which would then not be available for their original purpose. Mathglot (talk) 23:11, 29 December 2020 (UTC)[reply]

Red links in Usage section of doc[edit]

It's useful to have red links in the samples in the #Usage section, and in the #Examples, but exposing those red links there may induce editors to create an English article (or a redirect), and they will end up resolving and appear blue. Even then, at least redirects will continue to show the interwiki links, even if they turn blue. Feel free to replace the doc examples as they turn blue with others that are red. These can be found with the help of this wmflabs tool. Mathglot (talk) 01:54, 30 December 2020 (UTC)[reply]

Param demospace[edit]

Might need addition of a demospace param for testing only, so effects of categorization can be viewed in test cases. Mathglot (talk) 02:36, 30 December 2020 (UTC)[reply]

Suppress parenthetical when English link goes blue[edit]

Reminder to self: add #ifexists test on param 1 to suppress language parenthetical and foreign links when the missing en-wiki article goes blue. That will require an expensive parser function advice link on the /doc page, as well. Mathglot (talk) 22:09, 7 March 2021 (UTC)[reply]

Also, Cewbot should be notified to remove the template at that point. Mathglot (talk) 07:28, 12 February 2024 (UTC)[reply]

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template_talk:Further_interlanguage_link&oldid=1206477333"





This page was last edited on 12 February 2024, at 07:34 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki