Custom collapsible/toggle table bugs out with "Show previews without reloading the page" checked
Use this code to paste into any page on a UCP wiki.
It is confirmed to break on Minecraft Wiki and Deep Rock Galactic Wiki
<span style="text-align:right; float:right;" class="mw-customtoggle-test"> '''[Expand/Collapse]'''</span>
{| class="wikitable" width="100%"`
! Test
! Test
|- <div class="mw-collapsible mw-collapsed" id="mw-customcollapsible-test">
| Test
| Test
</div>
|}
This will work to show how it breaks as long as you keep the custom collapsible and custom toggle in there.
Detailed Reproduction Steps:
- Make sure to have "Show previews without reloading the page" checked in Editing preferences. I will not break otherwise.
- Paste the code provided into your workspace.
- Click "Show Preview".
- You should see the
[Expand/Collapse]
is not functional and a normal collapsible expand/collapse button appears somewhere in the table. - Click "Save Changes".
- The
[Expand/Collapse]
will now work and the normal collapsible expand/collapse button will have disappeared. - You can now reproduce the bug as many times as you like using the steps above.
If you have any questions you can dm me on Discord PunchyTurtle#1340
and I will try to check this every day to check for comments.