I have not used those specific steps in the wiki but I think they can be done either on a linux / mac computer or on the OpenWrt device with the needed utilities installed.
A modified procedure works well run on NanoPi R4S routers with anaelorlinski builds or the standard OpenWrt builds which has a f2fs filesystem as the hidden writable filesystem in the squashfs image.
I found that using the imagebuilder to create an image with extra packages produces a squashfs image with a hidden ext4 filesystem after first boot so I successfully modified anaelorlinski's script to use the ext4 resizing tool.
Note that these "scripts" are a list of commands to be typed or pasted on the router command line one at a time. Do not copy/paste all of them at once and stop if you get an error.
Be sure to have your router configuration backed up before doing this and also have the list of any manually installed packages saved on your computer (someplace off the sd card you are modifying).
In case you are not aware, everything on the sd card gets wiped out with each sysupgrade so your filesystem expansion needs to be redone and all the data needs to be restored from backups etc.