Jump to content

MediaWiki talk:Gadget-formWizard-core.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Soft redirect to:m:Meta talk:FormWizard
This page is a soft redirect.

Edit request

[edit]

Please remove .split('/')[0] from line 62. This code presently assumes that a "form namespace" (in English Wikipedia context, a WikiProject) can't have a slash in the name. We got away with this until Wikipedia:WikiProject United States/Hispanic and Latino Americans task force came along. Removing that bit of code should fix the problem and likely won't affect other use cases except WP:Co-op which has been defunct for years. Harej (talk) 16:02, 4 October 2024 (UTC)[reply]

 Done Rushing this a bit since there's an edit-a-thon starting that needs to use this. Legoktm (talk) 16:07, 4 October 2024 (UTC)[reply]

Edit request: use rvslots

[edit]

Please add 'rvslots': 'main', after line 633, and change part of line 639 from ['revisions'][0]['*'] to ['revisions'][0]['*'] to ['revisions'][0]['slots']['main']['*']. This will avoid an API warning (compare e.g. c:Special:Diff/1009886081). Also, you might as well remove 'rvslot': 0, in line 983 entirely, there is no such parameter (nor is rvslots needed with rvprop=contentmodel) – this will remove another warning. Lucas Werkmeister (talk) 18:42, 17 March 2025 (UTC)[reply]

 Done * Pppery * it has begun... 23:50, 17 March 2025 (UTC)[reply]