Issue with Code template

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Issue with Code template

Post by Roy_043 »

The Code template (https://wiki.freecadweb.org/Template:Code) triggers a "Pages using deprecated enclose attributes" warning. This warning appears since the recent wiki software update.

I cannot fix this because AppImage is protected with the "cascading" option turned on. This means that all templates used on that page are also protected.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Issue with Code template

Post by Kunda1 »

I've seen this as well. The AppImage wiki page is protected due to it being a traffic heavy download page. What do you need to fix on it?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Issue with Code template

Post by Roy_043 »

It is not the AppImage page, it is the code template that needs to be fixed.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Issue with Code template

Post by Kunda1 »

Roy_043 wrote: Tue May 04, 2021 8:51 am It is not the AppImage page, it is the code template that needs to be fixed.
Roy_043 wrote: Mon May 03, 2021 1:53 pm I cannot fix this because AppImage is protected with the "cascading" option turned on. This means that all templates used on that page are also protected.
So what do you need me to do specically?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Issue with Code template

Post by Roy_043 »

If you can change the protection of the AppImage so that (most of) the 12 templates used on that page are not locked, I would be able to edit the code template.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Issue with Code template

Post by Kunda1 »

Done. The permissions expire in 1 week.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Issue with Code template

Post by Roy_043 »

Thanks.
Removing |enclose="div" from https://wiki.freecadweb.org/Template:Code fixed the problem. There do not seem to be adverse side-effects. The HTML produced by the modified template is the same.
Post Reply