Home
last modified time | relevance | path

Searched hist:"6 e39b4e379a661a3abd765df49fa679d2119741c" (Results 1 – 3 of 3) sorted by relevance

/dokuwiki/inc/Search/
H A DLegacyIndexer.php6e39b4e379a661a3abd765df49fa679d2119741c Thu May 28 19:23:41 UTC 2026 Andreas Gohr <andi@splitbrain.org> refactor(search): extract LegacyIndexer wrapper for BC contract

Move the deprecated helpers (lookupKey, addMetaKeys, renameMetaValue,
getPID, lookup) off Indexer and into a new LegacyIndexer wrapper. The
wrapper also restores the Doku_Indexer return contract (true|string)
around addPage/deletePage/renamePage/clear so plugins using the legacy
API keep working without try/catch.

idx_get_indexer() now returns the LegacyIndexer; getPages stays on
Indexer because plugins call it directly on Indexer instances.

fixes #4645

H A DIndexer.php6e39b4e379a661a3abd765df49fa679d2119741c Thu May 28 19:23:41 UTC 2026 Andreas Gohr <andi@splitbrain.org> refactor(search): extract LegacyIndexer wrapper for BC contract

Move the deprecated helpers (lookupKey, addMetaKeys, renameMetaValue,
getPID, lookup) off Indexer and into a new LegacyIndexer wrapper. The
wrapper also restores the Doku_Indexer return contract (true|string)
around addPage/deletePage/renamePage/clear so plugins using the legacy
API keep working without try/catch.

idx_get_indexer() now returns the LegacyIndexer; getPages stays on
Indexer because plugins call it directly on Indexer instances.

fixes #4645

/dokuwiki/inc/
H A Ddeprecated.php6e39b4e379a661a3abd765df49fa679d2119741c Thu May 28 19:23:41 UTC 2026 Andreas Gohr <andi@splitbrain.org> refactor(search): extract LegacyIndexer wrapper for BC contract

Move the deprecated helpers (lookupKey, addMetaKeys, renameMetaValue,
getPID, lookup) off Indexer and into a new LegacyIndexer wrapper. The
wrapper also restores the Doku_Indexer return contract (true|string)
around addPage/deletePage/renamePage/clear so plugins using the legacy
API keep working without try/catch.

idx_get_indexer() now returns the LegacyIndexer; getPages stays on
Indexer because plugins call it directly on Indexer instances.

fixes #4645