Module talk:GetShortDescription: Difference between revisions

Content deleted Content added
โ†’subst: Absolutely great if that works for you ๐Ÿ˜Š ...
โ†’subst: fixed but not push to release yet
Line 16:
:::Btw, there's really no rush wrt to the GAN usage; don't want to hurry your development time. For {{tlf|GAN}} I was thinking of starting with the code used in {{tlf|Annotated link}}, as I've already gotten that to work, and it seems good enough to start with. We can later switch to your module version when it's ready; perhaps in sync with when [[Template_talk:Annotated_link#Module]] concludes. How does that sound to you? [[User:Olivaw-Daneel|Olivaw-Daneel]] ([[User talk:Olivaw-Daneel|talk]]) 04:29, 24 January 2023 (UTC)
::::Absolutely great if that works for you ๐Ÿ˜Š This all started to replace the template code of {{tlc|annotated link}} which is already horrible to maintain and will only get worse, so eventually that template will being using this module anyway ๐Ÿ˜ Substituting is always a pain; the existence of various kludges to get around the issue is proof of it; safesubst, subst and all kinds of weird breaking of inclusion tags... The removal of preprocessing from the module will improve performance anyway, so it's good to do even if not for fixing the substitution issue. <code style="background:#DFF;white-space:pre">[[User:Fred Gandt|Fred Gandt]] ยท [[User talk:Fred Gandt|talk]] ยท [[Special:Contributions/Fred Gandt|contribs]]</code> 04:44, 24 January 2023 (UTC)
 
Fixed in my test Module; needs more testing before pushing
* <code><nowiki>{{subst:#invoke:User:Fred Gandt|main |name=Brazil |only=explicit}}</nowiki></code> โ†’ Country in South America
* <code><nowiki>{{subst:#invoke:User:Fred Gandt|main |name=Brazil}}</nowiki></code> โ†’ Country in South America
<code style="background:#DFF;white-space:pre">[[User:Fred Gandt|Fred Gandt]] ยท [[User talk:Fred Gandt|talk]] ยท [[Special:Contributions/Fred Gandt|contribs]]</code> 09:26, 24 January 2023 (UTC)