Wiki Template Creation Not Working
## Summary
Wiki template creation is broken. When a user creates a new template via the Wiki templates UI, the page is saved as a regular wiki page instead of a template. The template does not appear in the templates list after creation.
> **Note:** Applying and editing _existing_ templates works correctly. Only _creation_ of new templates is affected.
## Steps to Reproduce
1. Navigate to a project or group **Wiki**.
2. Go to **Wiki templates**.
3. Click **New template**.
4. Fill in the template name and content, then save.
## Actual Behavior
- The page is saved, but **not** as a template.
- The newly created page does **not** appear in the Wiki templates list.
- The page _can_ be found by searching wiki pages — it exists as a regular wiki page.
## Expected Behavior
- After saving, the new template should appear in the Wiki templates list.
- The page should be stored with the correct template designation, not as a regular wiki page.
## Video Demonstration
{width="900" height="582"}
issue