Module talk:Signpost: Difference between revisions

Content deleted Content added
m Added missing </p> tag.
whitespace: new section
Line 114:
::{{ping|Mr. Stradivarius}} Yeah, that would be the sane thing to do. That was what I initially tried, and it triggered Lua errors every time. You can try it and see: if you go into the sandbox code and do nothing but change <code>viewsSeven</code> to <code>views7</code>, then edit the table maker to call <code>views7</code>... it will flip out. I don't know if this is an insurmountable issue with Lua, or a skill issue on my part (likely the latter). If there's any way to make it just be "views7", that wold be infinitely preferable lol. '''[[User:JPxG|jp]]'''×'''[[User talk:JPxG|g]]''' 23:29, 18 January 2023 (UTC)
:::{{ping|JPxG}} I edited the sandbox to make it work. The trick was to change the pattern that detected variables like <code>${title}</code> to accept both letters and numbers - previously it only accepted letters. Best — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr.&nbsp;Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪&nbsp;talk&nbsp;♪]]</sup> 15:06, 19 January 2023 (UTC)
 
== whitespace ==
 
{{ping|Mr. Stradivarius}} I accepted your pull request, but running the program, the [https://en.wikipedia.org/w/index.php?title=Module:Signpost/index/2023&diff=prev&oldid=1135520547 whitespace] seems to still be quite different -- is this a bug, or am I running it incorrectly? '''[[User:JPxG|jp]]'''×'''[[User talk:JPxG|g]]''' 04:31, 25 January 2023 (UTC)