Content deleted Content added
Danmichaelo (talk | contribs) |
Danmichaelo (talk | contribs) |
||
Line 27:
At the moment, if two different tables are tested for equality, the wikitable generated by the module simply lists them both as "table". It would be nice to actually show the contents of the table in a reasonably nice format. Perhaps we can do something with [[Module:User:Anomie/deepToString]] and/or [https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FScribunto.git/dbbf1803c6489dcb58d77566044e283ec17e7602/engines%2FLuaCommon%2Flualib%2Fmw.lua#L575 mw.logObject]? deepToString fails when trying to display mw.title objects, and while mw.logObject handles them ok, it only outputs to the log buffer. So we would need to do some tweaking to get something that suits our purposes, but it probably wouldn't be too hard. — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪ talk ♪]]</sup> 12:00, 5 January 2014 (UTC)
: Hm, how does it fail? I tried using mw.title at [[Module_talk:ScribuntoUnit/showcase]], and it seems to work, but I'm not familiar with it. – ''[[User:Danmichaelo|Danmichaelo]] ([[User talk:Danmichaelo|talk]])'' 18:47, 5 January 2014 (UTC)
|