Difference between revisions of "Template talk:CustomToggleButton"

From Pathfinder Wiki
 
(3 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
::Any chance you could add another argument to the temple to specify whether it defaults to expanded or collapsed? --[[User:Jomegat|Jomegat]] ([[User talk:Jomegat|talk]]) 20:09, 8 November 2020 (EST)
 
::Any chance you could add another argument to the temple to specify whether it defaults to expanded or collapsed? --[[User:Jomegat|Jomegat]] ([[User talk:Jomegat|talk]]) 20:09, 8 November 2020 (EST)
 +
 +
:::That's a setting [https://www.mediawiki.org/wiki/Manual:Collapsible_elements#With_specified_collapsible_part of the Box itself]. Sadly it is not possible to change the text of this button depending of the state of the box. That I would need to program and I think that's not that easy. --[[User:DesignerThan|DesignerThan]] ([[User talk:DesignerThan|talk]]) 01:53, 9 November 2020 (EST)
 +
::::Man it was way to late yesterday so I have not seen your previouse answer. If I would have a backup I could set up a testenvironment on my webserver, where we can upgrade MW and test it. If you give me the rights and how to I could do the backup myself, but that's your decision.--[[User:DesignerThan|DesignerThan]] ([[User talk:DesignerThan|talk]]) 03:14, 9 November 2020 (EST)
 +
 +
:::::I don't want to make the backup just yet, because it's such an ordeal to do, and because when I do, I want to capture all the new requirements pages.  When I finish extracting them into their own pages, I'll kick one off and point you to a copy so you can download it.  I expect that will take another week to ten days.  The NAD higher-ups would probably not be happy with me if I gave you ssh access to the server, but man... I can't say I hadn't already thought of doing that. You clearly have the skills.  --[[User:Jomegat|Jomegat]] ([[User talk:Jomegat|talk]]) 18:22, 9 November 2020 (EST)
 +
 +
Okay, your right. Then I'll wait and work on the templates and so on.
 +
Yeah I guess so too xD I wouldn't want that too if it would be my server. --[[User:DesignerThan|DesignerThan]] ([[User talk:DesignerThan|talk]]) 06:55, 10 November 2020 (EST)

Latest revision as of 11:55, 10 November 2020

For this template I would need the ParserFunction [#forargs]. With that it would be possible to create a button to show/hide all boxes with a given namen. I think that would be nice for the answer pages. --DesignerThan (talk) 19:41, 8 November 2020 (EST)

That will take some work, but it's doable. Right now we're still running MW 1.23, and the loops extension requires 1.35 or higher. But it is something we should do, and I don't keep up with the upgrades as well as I should. As part of doing an upgrade, I will do a backup, so I can put the backup file somewhere that you could download it. This might have to wait until the end of the month though when I have some time off from work. --Jomegat (talk) 20:06, 8 November 2020 (EST)
Any chance you could add another argument to the temple to specify whether it defaults to expanded or collapsed? --Jomegat (talk) 20:09, 8 November 2020 (EST)
That's a setting of the Box itself. Sadly it is not possible to change the text of this button depending of the state of the box. That I would need to program and I think that's not that easy. --DesignerThan (talk) 01:53, 9 November 2020 (EST)
Man it was way to late yesterday so I have not seen your previouse answer. If I would have a backup I could set up a testenvironment on my webserver, where we can upgrade MW and test it. If you give me the rights and how to I could do the backup myself, but that's your decision.--DesignerThan (talk) 03:14, 9 November 2020 (EST)
I don't want to make the backup just yet, because it's such an ordeal to do, and because when I do, I want to capture all the new requirements pages. When I finish extracting them into their own pages, I'll kick one off and point you to a copy so you can download it. I expect that will take another week to ten days. The NAD higher-ups would probably not be happy with me if I gave you ssh access to the server, but man... I can't say I hadn't already thought of doing that. You clearly have the skills. --Jomegat (talk) 18:22, 9 November 2020 (EST)

Okay, your right. Then I'll wait and work on the templates and so on. Yeah I guess so too xD I wouldn't want that too if it would be my server. --DesignerThan (talk) 06:55, 10 November 2020 (EST)