[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX][REF] Fix admin page language handling for all tiki-admin_* pages

Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69835172edc9b_3b94ecec1509b@gitlab-sidekiq-low-urgency-cpu-bound-v2-55cfcc57bd-z6dwf.mail>

Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
d85314a9 by Camile at 2026-02-04T13:52:51+00:00
[FIX][REF] Fix admin page language handling for all tiki-admin_* pages
---
* Validate admin language before applying override

* [REF] Improve language handling separation of concerns

* [REF] Use isCurrentSection() instead of section variable comparison

* [REF] implement language callback system in Sections class

* [ENH] Check if  is valid before set globally

* [FIX] Reorder Section class importation

* [REF] Replace global $section with singleton pattern

* [FIX] Section class positionning

* [REF] Improve sections documentations

* [REF] Add class constants for section management

* [DOC] add comprehensive documentation for  and Tiki\Sections class

* Revert package-lock.json to previous state

* [FIX] Fix admin page language handling for all tiki-admin_* pages

See merge request tikiwiki/tiki!8658

- - - - -


211 changed files:

- comments.php
- contribution.php
- fgal_listing_conf.php
- lib/Image/img_plugin_default_and_mandatory.php
- lib/Theme/ThemeLib.php
- lib/ajax/autosave.php
- lib/comments/commentslib.php
- lib/core/Sections.php
- lib/core/Services/ContentTemplate/Controller.php
- lib/core/Services/Edit/Controller.php
- lib/core/Services/Menu/Controller.php
- lib/core/Tiki/Smarty/SmartyTiki.php
- lib/core/Toolbar/ToolbarHelptool.php
- lib/core/Toolbar/ToolbarItem.php
- lib/core/Toolbar/ToolbarLaunchPlugins.php
- lib/core/Toolbar/ToolbarPicker.php
- lib/core/WikiPlugin/Negotiator/Wiki.php
- lib/language/Language.php
- lib/modules/modlib.php
- lib/parser/parserlib.php
- lib/perspectivelib.php
- lib/setup/absolute_urls.php
- − lib/setup/language.php
- lib/setup/stats.php
- lib/setup/theme.php
- lib/setup/user_prefs.php
- lib/smarty_tiki/BlockHandler/TextArea.php
- lib/smarty_tiki/FunctionHandler/HtmlBodyAttributes.php
- lib/wiki-plugins/wikiplugin_attach.php
- lib/wiki-plugins/wikiplugin_split.php
- lists/articles.php
- messu-archive.php
- messu-broadcast.php
- messu-compose.php
- messu-mailbox.php
- messu-read.php
- messu-read_archive.php
- messu-read_sent.php
- messu-sent.php
- modules/mod-func-freetag.php
- modules/mod-func-switch_theme.php
- tiki-action_calendar.php
- tiki-admin.php
- tiki-admin_actionlog.php
- tiki-admin_banners.php
- tiki-admin_banning.php
- tiki-admin_calendars.php
- tiki-admin_categories.php
- tiki-admin_content_templates.php
- tiki-admin_contribution.php
- tiki-admin_cookies.php
- tiki-admin_credits.php
- tiki-admin_dsn.php
- tiki-admin_email_queue.php
- tiki-admin_external_wikis.php
- tiki-admin_forums.php
- tiki-admin_hotwords.php
- tiki-admin_html_page_content.php
- tiki-admin_html_pages.php
- tiki-admin_ids.php
- tiki-admin_integrator.php
- tiki-admin_integrator_rules.php
- tiki-admin_keywords.php
- tiki-admin_links.php
- tiki-admin_mailin.php
- tiki-admin_mailin_routes.php
- tiki-admin_menu_options.php
- tiki-admin_menus.php
- tiki-admin_modules.php
- tiki-admin_newsletter_subscriptions.php
- tiki-admin_newsletters.php
- tiki-admin_notifications.php
- tiki-admin_oauthserver.php
- tiki-admin_orphaned.php
- tiki-admin_poll_options.php
- tiki-admin_polls.php
- tiki-admin_routes.php
- tiki-admin_rssmodules.php
- tiki-admin_schedulers.php
- tiki-admin_security.php
- tiki-admin_shoutbox_words.php
- tiki-admin_sitemap.php
- tiki-admin_structures.php
- tiki-admin_survey_questions.php
- tiki-admin_surveys.php
- tiki-admin_sync.php
- tiki-admin_system.php
- tiki-admin_tokens.php
- tiki-admin_toolbars.php
- tiki-admin_topics.php
- tiki-admin_tracker_fields.php
- tiki-admin_transitions.php
- tiki-admin_webservices.php
- tiki-article_types.php
- tiki-batch_upload_files.php
- tiki-blog_post.php
- tiki-blog_rankings.php
- tiki-browse_categories.php
- tiki-browse_freetags.php
- tiki-calendar.php
- tiki-calendar_import.php
- tiki-calendar_params_ical.php
- tiki-cms_rankings.php
- tiki-contacts.php
- tiki-copypage.php
- tiki-directory_add_site.php
- tiki-directory_add_tiki_site.php
- tiki-directory_admin.php
- tiki-directory_admin_categories.php
- tiki-directory_admin_related.php
- tiki-directory_admin_sites.php
- tiki-directory_browse.php
- tiki-directory_ranking.php
- tiki-directory_search.php
- tiki-directory_validate_sites.php
- tiki-edit_article.php
- tiki-edit_blog.php
- tiki-edit_docs.php
- tiki-edit_perspective.php
- tiki-edit_submission.php
- tiki-edit_topic.php
- tiki-editpage.php
- tiki-export_sheet.php
- tiki-faq_questions.php
- tiki-featured_link.php
- tiki-file_archives.php
- tiki-forum_queue.php
- tiki-forum_rankings.php
- tiki-forums.php
- tiki-forums_reported.php
- tiki-import_sheet.php
- tiki-import_xml_zip.php
- tiki-index.php
- tiki-index_p.php
- tiki-index_raw.php
- tiki-lastchanges.php
- tiki-likepages.php
- tiki-list_articles.php
- tiki-list_blogs.php
- tiki-list_faqs.php
- tiki-list_file_gallery.php
- tiki-list_quizzes.php
- tiki-list_submissions.php
- tiki-list_surveys.php
- tiki-list_trackers.php
- tiki-listpages.php
- tiki-live_support_chat_window.php
- tiki-login_hybridauth.php
- tiki-login_validate.php
- tiki-minical.php
- tiki-my_tiki.php
- tiki-newsletter_archives.php
- tiki-newsletters.php
- tiki-notepad_list.php
- tiki-notepad_read.php
- tiki-notepad_write.php
- tiki-offline.php
- tiki-page.php
- tiki-page_contribution.php
- tiki-pagehistory.php
- tiki-pick_avatar.php
- tiki-pluginlist_experiment.php
- tiki-poll_form.php
- tiki-poll_results.php
- tiki-print_article.php
- tiki-print_blog_post.php
- tiki-print_pages.php
- tiki-quiz_result_stats.php
- tiki-quiz_stats.php
- tiki-quiz_stats_quiz.php
- tiki-read_article.php
- tiki-rename_page.php
- tiki-searchindex.php
- tiki-send_newsletters.php
- tiki-setup.php
- tiki-setup_base.php
- tiki-share.php
- tiki-sheets.php
- tiki-slideshow.php
- tiki-socialnetworks.php
- tiki-socialnetworks_linkedin.php
- tiki-survey_stats.php
- tiki-survey_stats_survey.php
- tiki-switch_lang.php
- tiki-take_quiz.php
- tiki-take_survey.php
- tiki-theme_control_sections.php
- tiki-tracker_view_history.php
- tiki-upload_file.php
- tiki-user_assigned_modules.php
- tiki-user_bookmarks.php
- tiki-user_cached_bookmark.php
- tiki-user_contacts_prefs.php
- tiki-user_mailin.php
- tiki-user_notifications.php
- tiki-user_preferences.php
- tiki-user_tasks.php
- tiki-user_watches.php
- tiki-userfiles.php
- tiki-usermenu.php
- tiki-userupload.php
- tiki-view_articles.php
- tiki-view_blog.php
- tiki-view_blog_post.php
- tiki-view_faq.php
- tiki-view_forum.php
- tiki-view_forum_thread.php
- tiki-view_sheets.php
- tiki-view_tracker.php
- tiki-view_tracker_item.php
- tiki-wiki_rankings.php


The diff was not included because it is too large.


View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d85314a9fb2c2bb450e59f780bb9b17feaf2dad8

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d85314a9fb2c2bb450e59f780bb9b17feaf2dad8
You're receiving this email because of your account on gitlab.com.

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.