Module talk:External links

I found two errors in this module that need fixing:

Module talk:External links

This module contains several errors

I found two errors in this module that need fixing:

  • Line number 562 and line number 666 (if not (local_value or local_value == '') then): The "not" is extended to the whole expression via parentheses, when it looks like it was meant to be not local_value or local_value == ''. By De Morgan's laws, it is currently equivalent to not local_value and local_value ~= '', which is just not local value
  • Line number 931 (local somedataonwikidata = (short_links and false or true): This was clearly meant to be a use of lua's ternary expression "syntax" (for lack of a better word). However, the or will always trigger, as false is, well, falsy; as such, this expression will always short-circuit to local somedataonwikidata = true. This should probably instead be local somedataonwikidata = not short_links.

{{Lemondoge|Talk|Contributions}} 22:11, 12 April 2023 (UTC)Reply

Update: Now  done. {{Lemondoge|Talk|Contributions}} 18:44, 9 May 2023 (UTC)Reply

I object to the subjective change of shown link limits implemented by @S.A. Julio:. For further discussion, please see Template talk:Sports links#Link Limits. GauchoDude (talk) 16:35, 19 August 2024 (UTC)Reply

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.