Template talk:Further interlanguage link

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

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

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