History log of /plugin/autotranslation/helper.php (Results 1 – 25 of 47)
Revision Date Author Comments
# e35b8354 09-Feb-2026 Gerry Weißbach <gerry.w@gammaproduction.de>

Fix undefined variable $ID in hasTranslation() when called from template

Resolve current page ID safely using getID() when global $ID is not set
(e.g. during early template rendering). Add guard for

Fix undefined variable $ID in hasTranslation() when called from template

Resolve current page ID safely using getID() when global $ID is not set
(e.g. during early template rendering). Add guard for empty ID and use
the resolved inputID consistently for istranslatable() check.

Co-authored-by: Cursor <cursoragent@cursor.com>

show more ...


# b0afc21c 21-Jan-2026 Gerry Weißbach <gerry.w@gammaproduction.de>

Fix PHP 8 compatibility issues

- Add null safety check for $_SERVER['HTTP_ACCEPT_LANGUAGE'] in getBrowserLang() to prevent PHP 8.1+ deprecation warnings
- Add global $JSINFO declaration in helper co

Fix PHP 8 compatibility issues

- Add null safety check for $_SERVER['HTTP_ACCEPT_LANGUAGE'] in getBrowserLang() to prevent PHP 8.1+ deprecation warnings
- Add global $JSINFO declaration in helper constructor
- Remove extra parameter from buildTransID() call (function only accepts 2 params)
- Add null coalescing operators for $_SERVER['PHP_SELF'] and $_SERVER['REQUEST_URI'] in action.php
- Remove reference assignment operator from plugin_load() call in syntax/notrans.php (PHP 8 compatibility)

show more ...


# 7d4d2a67 13-Jun-2023 Gerry Weißbach <gerry.w@gammaproduction.de>

Fix Syntax error


# 8ab22979 06-Dec-2017 i-net /// software <tools@inetsoftware.de>

Add forceAutotranslation for siteexport plugin


# 5ceaa3d5 15-May-2017 Gerry Weißbach <gerry.w@gammaproduction.de>

Update "var" to public/private vars. see [DokuWiki](https://github.com/splitbrain/dokuwiki/issues/1971)


# 25fca7bd 30-Aug-2016 Gerry Weißbach <gerry.w@gammaproduction.de>

Rename Plugin.


# e33449a8 30-Aug-2016 Gerry Weißbach <gerry.w@gammaproduction.de>

Merge remote-tracking branch 'splitbrain/master' into HEAD

# Conflicts:
# action.php
# conf/default.php
# conf/metadata.php
# helper.php
# lang/en/settings.php


# e35b9849 24-Aug-2016 Michael Grosse <grosse@cosmocode.de>

Empty already checks the variable for truthness


# b03af150 24-Aug-2016 Michael Grosse <grosse@cosmocode.de>

Check that field is set before checking value


# d530d9de 18-Jul-2016 Andreas Gohr <gohr@cosmocode.de>

fixed another case of deprecated function calling #98


# ba49557c 14-Jun-2016 Andreas Gohr <andi@splitbrain.org>

Merge pull request #76 from micgro42/adminPage

Admin page


# cde89045 15-May-2016 Andreas Gohr <andi@splitbrain.org>

replaced no longer existing function with proper class call

fixes:
PHP Fatal error: Call to undefined function getRevisions()


# 488e4722 11-Mar-2016 Andreas Gohr <andi@splitbrain.org>

renamed constructors for PHP7 compatibility


# eb6de668 15-Jul-2015 Michael Große <grosse@cosmocode.de>

Add admin-page for missing and outdated translations


# 4e6ef383 28-May-2015 Gerry Weißbach <gerry.w@gammaproduction.de>

Merge original master into PR


# 5e1f71ac 20-Dec-2014 Guillaume Turri <guillaume.turri@gmail.com>

Renamed a few members in helper.php

Give full name to make the code easier to read
by a newcomer


# 3161f1cb 18-Jul-2014 Gerry Weißbach <gerry.w@gammaproduction.de>

Fix indentations from tab to space.


# 0f9d57e2 18-Jul-2014 Gerry Weißbach <gerry.w@gammaproduction.de>

Fix PHP Strict warning.


# 2b82757b 17-Jul-2014 Gerry Weißbach <gerry.w@gammaproduction.de>

The TNS always has a ':' at the end.


# e5aa1ca2 17-Jul-2014 Gerry Weißbach <gerry.w@gammaproduction.de>

Admins always can translate.

Should be an option for all editors.


# a4491bec 06-May-2014 Gerry Weißbach <gerry.w@gammaproduction.de>

Autodetect namespace and redirect localized

When sub-namespaces are translated and use (they have to) the language
as namespace, this can be detected and supersedes the default namespace
configurati

Autodetect namespace and redirect localized

When sub-namespaces are translated and use (they have to) the language
as namespace, this can be detected and supersedes the default namespace
configuration.
Redirect Localized makes shure that you are bound to your language as
long as you travel to pages that support this language.

show more ...


# 649de279 26-Mar-2014 Andreas Gohr <andi@splitbrain.org>

new syntax mode for easy adding to sidebar. closes #20


# 5fd0d0d1 26-Sep-2013 Andreas Gohr <gohr@cosmocode.de>

some code reformatting


# bbe70520 25-Sep-2013 Andreas Gohr <gohr@cosmocode.de>

Added option to copy original into the editor on new translation


# fbc6382c 24-Sep-2013 Andreas Gohr <gohr@cosmocode.de>

fix dropdown target in certain rewrite settings. closes #23


12