Rename maintenance-page template into page--maintenance + install-page into page--maintenance--install

Created on 2 April 2014, about 10 years ago
Updated 31 January 2023, over 1 year ago

Problem/Motivation

Followup from #2218039: Render the maintenance/install page like any other HTML page → .

Bring file name patterns in line with core standards.

Address theme suggestions as well, for example, page__maintenance.

Proposed resolution

Use core's template suggestions and rename templates and related preprocess functions

User interface changes

None.

API changes

removal of theme keys maintenance_page & install_page

Template name changes.
maintenance_page => page--maintenance
install_page => page--maintenance--install
maintenance_page__offline => page__maintenance__offline

preprocess functions moved to system module
template_preprocess_maintenance_page() => system_preprocess_page__maintenance()
template_preprocess_install_page => system_preprocess_page__maintenance__install()

Beta phase evaluation

<!--Uncomment the relevant rows for the issue. -->

Original report by @jessebeach →

📌 Task
Status

Needs review

Version

10.1 ✨

Component
Theme  →

Last updated about 5 hours ago

Created by

🇺🇸United States jessebeach

Live updates comments and jobs are added and updated live.
  • API clean-up

    Refactors an existing API or subsystem for consistency, performance, modularization, flexibility, third-party integration, etc. May imply an API change. Frequently used during the Code Slush phase of the release cycle.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024