Talk:Conway's Game of Life
Appearance
This level-5 vital article is rated B-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||||||||||||||||||||||||||
|
This page has archives. Sections older than 100 days may be automatically archived by Lowercase sigmabot III when more than 1 section is present. |
Template gadget request
[edit]This edit request to MediaWiki:Gadgets-definition has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
This edit request to MediaWiki:Gadget-Vivarium.js has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I would like to add the Game of Life template gadget to the article, immediately below the Origins heading. (Please see the discussion here for details.) 28bytes (talk) 02:09, 26 May 2024 (UTC)
- Specific steps for an interface admin to follow:
- Copy mw:MediaWiki:Gadget-Global-Vivarium.js to MediaWiki:Gadget-Vivarium.js
- Add the following line to MediaWiki:Gadgets-definition#modules:
* Vivarium[ResourceLoader|hidden|default|categories=Pages using Conway's Game of Life gadget]|Vivarium.js
- (optional and only requires a regular admin) Add the following lines to User:SDZeroBot/Gadgets-sync-config.json:
{ "source": "mw:MediaWiki:Gadget-Global-Vivarium.js", "page": "MediaWiki:Gadget-Vivarium.js", "talkPage": "MediaWiki talk:Gadget-Vivarium.js" }
- (optional and requires no advanced permissions) add {{Conway's Game of Life gadget}} to the appropriate place on this page.
- See mw:Template gadgets for a general description of this system. I am personally unlikely to use my own interface admin permission to break into this uncharted territory , but describing the exact edit requested for the aid of whoever is brave enough to do so. Xaosflux described this as needing "serious testing" at MediaWiki talk:Common.js#Class-triggered gadgets. * Pppery * it has begun... 03:30, 26 May 2024 (UTC)
- Can the primary functionality for this be tested via
supportsUrlLoad
options while the greater question about managing these category triggers can occur? We should probably put them all in to some standard naming convention (e.g. Category:Wikipedia Gadget-XXXXXXXXXXXXXXXX) or the like? — xaosflux Talk 22:49, 26 May 2024 (UTC)- I can't think of any reason it wouldn't. And I'm fine with using any naming convention. * Pppery * it has begun... 00:48, 27 May 2024 (UTC)
- Additionally, the remote source indicated to source this script from does not appear to exist. — xaosflux Talk 23:06, 26 May 2024 (UTC)
- "global" should be capitalised.— Qwerfjkltalk 23:48, 26 May 2024 (UTC)
- Apologies for making a typo. * Pppery * it has begun... 00:48, 27 May 2024 (UTC)
- Vivarium.js has been loaded and gadget linked, currently only for use via
supportsUrlLoad
; however that should be enough to start testing this in a sandbox here. Perhaps in Talk:Conway's Game of Life/sandbox? Please confirm that everything is working about the gadget with the template/layout/etc first. — xaosflux Talk 16:23, 27 May 2024 (UTC)- It doesn't seem to be working yet; Template:Conway's Game of Life gadget just displays the fallback GIF. (Compare to es:Plantilla:Juego de la vida, where you can interact with it.) 28bytes (talk) 21:04, 27 May 2024 (UTC)
- Thanks Xaosflux. 28bytes, you have to go to https://en.wikipedia.org/wiki/Template:Conway's_Game_of_Life_gadget?withgadget=Vivarium to test it. Xaosflux didn't set up the automatic enabling of the gadget yet. And it turned out there was also a CSS page that needed to be imported, which I've done. * Pppery * it has begun... 01:53, 28 May 2024 (UTC)
- It doesn't seem to be working yet; Template:Conway's Game of Life gadget just displays the fallback GIF. (Compare to es:Plantilla:Juego de la vida, where you can interact with it.) 28bytes (talk) 21:04, 27 May 2024 (UTC)
- Vivarium.js has been loaded and gadget linked, currently only for use via
- Apologies for making a typo. * Pppery * it has begun... 00:48, 27 May 2024 (UTC)
- "global" should be capitalised.— Qwerfjkltalk 23:48, 26 May 2024 (UTC)
- Can the primary functionality for this be tested via
- On hold see IANB thread for getting the belts and braces for this going. — xaosflux Talk 11:54, 28 May 2024 (UTC)
- Doing... initial items are being worked on. — xaosflux Talk 14:17, 29 May 2024 (UTC)
- Next steps for testers, please try and report any issues. Would be good to test with different skins/views as well:
- OPT-IN to the gadget (this will eventually be opt-out, or non-opt-outable) at Special:Preferences#mw-prefsection-gadgets-gadget-section-template-gadgets
- Browse to Template:Conway's Game of Life gadget
- — xaosflux Talk 14:29, 29 May 2024 (UTC)
- @28bytes, Pppery, and Qwerfjkl: — xaosflux Talk 14:30, 29 May 2024 (UTC)
- Thanks Xaosflux, when I opted in, it worked great. Oddly, though, it's marked as D (enabled by default) on the preferences page. I'm using Vector 2022 FWIW. 28bytes (talk) 16:46, 29 May 2024 (UTC)
- That was just me getting it ready to be default, those are manually applied tags. — xaosflux Talk 17:27, 29 May 2024 (UTC)
- Thanks Xaosflux, when I opted in, it worked great. Oddly, though, it's marked as D (enabled by default) on the preferences page. I'm using Vector 2022 FWIW. 28bytes (talk) 16:46, 29 May 2024 (UTC)
- This gadget has been launched, see Template:Conway's Game of Life gadget. Will have follow up at WP:IANB about some general template-gadget stuff. Feel free to ask for that bot to file edit requests for upstream changes. Pings to: User:Pppery / User:28bytes — xaosflux Talk 15:14, 31 May 2024 (UTC)
- I did already. * Pppery * it has begun... 15:43, 31 May 2024 (UTC)
- @Pppery and Xaosflux: Thank you both for your help! I have added the gadget to the article. 28bytes (talk) 15:55, 31 May 2024 (UTC)
- I did already. * Pppery * it has begun... 15:43, 31 May 2024 (UTC)
Categories:
- B-Class level-5 vital articles
- Wikipedia level-5 vital articles in Mathematics
- B-Class vital articles in Mathematics
- B-Class mathematics articles
- High-priority mathematics articles
- B-Class video game articles
- Low-importance video game articles
- WikiProject Video games articles
- B-Class Systems articles
- Mid-importance Systems articles
- Unassessed field Systems articles
- WikiProject Systems articles
- B-Class Computer science articles
- High-importance Computer science articles
- WikiProject Computer science articles
- Articles copy edited by the Guild of Copy Editors