Template talk:Documentation/Archive 8: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) from Template talk:Documentation) (bot
m Archiving 1 discussion(s) from Template talk:Documentation) (bot
Line 397:
:::::::I've found the Bugzilla bug - it's [[bugzilla:55525]], and has already been fixed. The fix should be live on Wikipedia on the 13th Feb, which is why it was still affecting us here. — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪ talk ♪]]</sup> 06:13, 7 February 2014 (UTC)
:{{od|::::::}}Good work, both to you and the developers! I did look for a bug last night, but wasn't able to find it. I was also worried we might be waiting a while for a fix; it's excellent to find it's already fixed! –&#160;'''[[User:PartTimeGnome|PartTimeGnome]]''' <span style="font-size:79%">([[User talk:PartTimeGnome|talk]]&#160;&#124; [[Special:Contributions/PartTimeGnome|contribs]])</span> 21:05, 7 February 2014 (UTC)
 
== Module sandbox now shows main doc ==
 
[[MediaWiki:Scribunto-doc-page-show]] now uses {{tl|documentation}} which uses [[Module:Documentation]], and I think that is responsible for a new, possibly unintended, feature. In the past, viewing [[Module:Convert/sandbox]] would show [[Module:Convert/sandbox/doc]] at the top. It now shows [[Module:Convert/doc]] instead. Can it be fixed to show the main doc only if a sandbox doc page does not exist? [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 10:27, 7 February 2014 (UTC)
:That's an intended feature - the intention was to imitate what the {{tl|documentation}} template does in the template namespace. This was also the behaviour for sandbox modules without /doc subpages since my edit [https://en.wikipedia.org/w/index.php?title=MediaWiki:Scribunto-doc-page-does-not-exist&diff=587369069&oldid=585167583 here], and you're right, it became the behaviour for sandbox modules with documentation pages after [[MediaWiki:Scribunto-doc-page-show]] was switched to use {{tl|documentation}} [https://en.wikipedia.org/w/index.php?title=MediaWiki:Scribunto-doc-page-show&diff=593276252&oldid=585167540 here]. [[Module:Convert/sandbox/doc]] is the only place I'm aware of that does something like this - would you be able to manage with putting it in the main docs or in an edit notice instead? — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪ talk ♪]]</sup> 16:29, 7 February 2014 (UTC)
::Now works after [//en.wikipedia.org/w/index.php?title=MediaWiki:Scribunto-doc-page-show&diff=594413429&oldid=593276252 this edit]. -- [[User:WOSlinker|WOSlinker]] ([[User talk:WOSlinker|talk]]) 20:01, 7 February 2014 (UTC)
:::I agree with [[User:Mr. Stradivarius|Mr. Stradivarius]]; that sandbox doc page would be better as an edit notice; it's whole content is only relevant to people editing the page. –&#160;'''[[User:PartTimeGnome|PartTimeGnome]]''' <span style="font-size:79%">([[User talk:PartTimeGnome|talk]]&#160;&#124; [[Special:Contributions/PartTimeGnome|contribs]])</span> 21:12, 7 February 2014 (UTC)
::::Thanks WOSlinker. Not many people will want to inspect a module sandbox with no thought for editing it, and IMHO the general docs are not much help on the sandbox page. After saving an edit to the sandbox, it is useful to see the info in the sandbox doc page. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 22:12, 7 February 2014 (UTC)
:::::I don't think we should have a hack that only works for modules. If this is the desired behaviour, how about putting it into the module proper so that it will work this way for templates and other pages too? — '''''[[User:Mr. Stradivarius|<span style="color: #194D00; font-family: Palatino, Times, serif">Mr. Stradivarius</span>]]''''' <sup>[[User talk:Mr. Stradivarius|♪ talk ♪]]</sup> 01:31, 8 February 2014 (UTC)
::::::Yes, I think that would be desirable. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 02:22, 8 February 2014 (UTC)