History log of /dokuwiki/inc/load.php (Results 1 – 25 of 113)
Revision Date Author Comments
# 9db5ea06 06-May-2026 Andreas Gohr <andi@splitbrain.org>

Merge branch 'parser-work'

* parser-work:
use new ModeRegistry constant in info plugin
keep historic typo in value but not in constant
remove unused rewriteBlocks property from Handler
supre

Merge branch 'parser-work'

* parser-work:
use new ModeRegistry constant in info plugin
keep historic typo in value but not in constant
remove unused rewriteBlocks property from Handler
supress code sniffer warning on deprecation wrapper
migrate parser tests to modern namespaced classes
clean up Acronym and Preformatted
move handler methods into ParserMode classes and rename Handler
decouple hardcoded mode names in Eol and Preformatted
add unit tests for ModeRegistry
split Formatting into individual classes per formatting type
introduce ModeRegistry to encapsulate parser mode categories
deduplicate finalise() across rewriter subclasses
remove unused Doku_Handler::fetch() method
remove dead ParallelRegex::apply() method
replace magic strings with class constants in Lexer

show more ...


# 71096e46 18-Apr-2026 Andreas Gohr <andi@splitbrain.org>

move handler methods into ParserMode classes and rename Handler

Each ParserMode class now implements handle() from ModeInterface,
containing the token handling logic that previously lived as individ

move handler methods into ParserMode classes and rename Handler

Each ParserMode class now implements handle() from ModeInterface,
containing the token handling logic that previously lived as individual
methods on Doku_Handler.

The Handler class (formerly Doku_Handler) is the single dispatch point:
Lexer passes tokens to Handler::handleToken() which routes to mode
objects, plugins, or returns false. The Lexer only tokenizes and
resolves mapHandler aliases.

Key changes:
- Add handle() to ModeInterface, implemented by all mode classes
- Move Doku_Handler to dokuwiki\Parsing\Handler namespace
- File extends Code (shared parsing via $type property)
- Quotes uses mapHandler() + Handler::getModeName() for sub-modes
- Media::parseMedia() replaces Doku_Handler_Parse_Media()
- Code::parseHighlightOptions() replaces parse_highlight_options()
- Per-parse state (footnote, doublequote) stays on Handler
- Deprecated wrappers kept for base/header/internallink/media
- Class alias and rector rules added for backward compatibility

show more ...


# 7f394dd6 05-Apr-2026 Andreas Gohr <andi@splitbrain.org>

Merge branch 'master' into searchIndex-finish

* master: (55 commits)
Translation update (pt-br)
Bump phpseclib/phpseclib from 3.0.49 to 3.0.50
�� Update deleted files
strict value comparison

Merge branch 'master' into searchIndex-finish

* master: (55 commits)
Translation update (pt-br)
Bump phpseclib/phpseclib from 3.0.49 to 3.0.50
�� Update deleted files
strict value comparison in auth session check. fixes #4602
Translation update (pt-br)
Translation update (pt-br)
remove utf8_encode() from authad plugin
todo checker action: ignore vendor
updated rector and applied it
removed another php 7.4 workaround
removed an old PHP 5 workaround in HTTPClient
remove checks for mbstring.func_overload
removed php 8 polyfills
ignore HTML validation issue with skipped headline levels
declare PrefCookie constant visibility
update slika which fixes another php 8.5 deprecation issue
fix http tests
fix destructuring false returns from changelog functions
avoid using null as cache key
Fix deprecation warning in UTF8/Conversion
...

show more ...


# 093fe67e 07-Mar-2026 Andreas Gohr <andi@splitbrain.org>

updated rector and applied it


# 9df9f0c8 27-Oct-2025 Andreas Gohr <gohr@cosmocode.de>

Merge branch 'master' into searchIndex-finish

There were a lot of conflicts to resolve. Not all of them may have been
resolved correctly...

* master: (1094 commits)
Login accessibility improvemen

Merge branch 'master' into searchIndex-finish

There were a lot of conflicts to resolve. Not all of them may have been
resolved correctly...

* master: (1094 commits)
Login accessibility improvements
Translation update (it)
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
translation update
Remove HTML from strings based on title and tagline
SECURITY: fix XSS vulnerability. fixes #4512
translation update
Fix typos in usermanager English strings
Replace hardcoded message by localized string
set DOKU_INC in rector
...

show more ...


# 958c4f80 02-Dec-2024 Andreas Gohr <andi@splitbrain.org>

removed obsolete files from static autoloader


# ff136773 14-Sep-2023 Andreas Gohr <andi@splitbrain.org>

AutoLoader: ignore plugin enabled/disabled during unit tests

This is required currently because the enabled status of a plugin is
only set when it's appropriate test runs. However some plugins do se

AutoLoader: ignore plugin enabled/disabled during unit tests

This is required currently because the enabled status of a plugin is
only set when it's appropriate test runs. However some plugins do setup
mock classes before the test is instantiated which will then fail.
So for now we skip the enabled checks alltogether for unit testing.

show more ...


# 4602718b 14-Sep-2023 Andreas Gohr <andi@splitbrain.org>

Refactor autoloading, fix #4048

This refactors the auto loading stuff into an anonymous class and cleans
it up a bit.

It also ensures that plugin classes are not autoloaded when the plugin
is disab

Refactor autoloading, fix #4048

This refactors the auto loading stuff into an anonymous class and cleans
it up a bit.

It also ensures that plugin classes are not autoloaded when the plugin
is disabled. This however only works after the plugin controller has
been initialized.

We currently reference some classes of the config plugin in out
deprecated.php file resulting in these classes being loaded before the
plugin controller. Not a big deal I guess.

show more ...


# 6c16a3a9 14-Sep-2023 fiwswe <fiwswe@fwml.de>

Use str_starts_with/str_ends_with


# d4f83172 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: line breaks


# 90fb952c 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: operator spacing


# 7d34963b 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: control flow line breaks


# 177d6836 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: control flow whitespaces


# dccd6b2b 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

coding style: function call spacing


# 316e3ee6 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: EOF new lines


# d868eb89 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: function declaration braces/spaces


# 24870174 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to the rest of inc


# 95d53aae 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

remove non-existing file from autoloader


# ec85aeb2 19-Oct-2022 Andreas Gohr <andi@splitbrain.org>

fix autoloading for tests

This replaces my attempt in 12ebce974be688ac34bf4389645d5fc7baa29cc7

The canonical namespace for DokuWiki core tests is dokuwiki/test/ and
this is mapped to _test/tests no

fix autoloading for tests

This replaces my attempt in 12ebce974be688ac34bf4389645d5fc7baa29cc7

The canonical namespace for DokuWiki core tests is dokuwiki/test/ and
this is mapped to _test/tests now in the autoloader.

This means the majority of tests is in the dokuwiki/test/inc namespace.

Mockfiles are located at _test/mock and have the namespace
dokuwiki/test/mock - if that's good or bad is debatable. I simply kept
it as it always has been. But there might be an argument for having mock
objects closer to the tests that use them (eg. right next to the test
files).

show more ...


# 12ebce97 12-Sep-2022 Andreas Gohr <andi@splitbrain.org>

Fix autoloading for tests

Namespace based loading for core tests did not work as intended (but hasn't
been used so far)


# c1803f3d 29-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

Merge remote-tracking branch 'upstream/master' into Refactor_Fulltext


# 7f8f2456 16-Sep-2021 Andreas Gohr <andi@splitbrain.org>

move IXR XML RPC to composer dependency #1970

This is a monky patched version of kissyfrot/php-ixr until my PR has
been accepted upstream.

Plugins using the XML RPC client may need adjustments.


# f1d70d12 04-Feb-2021 Andreas Gohr <andi@splitbrain.org>

remove old DokuCLI class

This has been deprecated in 2017. Removing it instead of fixing tests
and PHP8 compatibility


# 697ca7e2 13-Aug-2020 Andreas Gohr <andi@splitbrain.org>

fixed plugin name output on load error


# ffa84f81 13-Jul-2020 Andreas Gohr <andi@splitbrain.org>

better exception handling on plugin loading

Now all important places where plugins are loaded are guarded by a
try/except. We're catching Throwables here to be able to catch stuff
like syntax errors

better exception handling on plugin loading

Now all important places where plugins are loaded are guarded by a
try/except. We're catching Throwables here to be able to catch stuff
like syntax errors early on (otherwise they will only be caught by our
ErrorConverter much too late). This means that this change requires PHP
7.0 minimum!

show more ...


12345