devel:releases:refactor2022
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
devel:releases:refactor2022 [2022-07-31 22:02] – Klap-in | devel:releases:refactor2022 [2023-10-22 00:10] (current) – [Remove .gif icons] Klap-in | ||
---|---|---|---|
Line 5: | Line 5: | ||
Update of this page is in Progress | Update of this page is in Progress | ||
- | This page lists changes | + | This page lists changes |
^Welcome to add more notes/ | ^Welcome to add more notes/ | ||
Line 12: | Line 12: | ||
Plugin/ | Plugin/ | ||
+ | |||
+ | Since the Igor 2022 release: | ||
+ | * logging of // | ||
+ | * use the plugin | ||
+ | * check [[plugin: | ||
+ | |||
+ | Up to the Hogfather 2020 release: | ||
* enable the [[config: | * enable the [[config: | ||
* use the plugin | * use the plugin | ||
- | * Check logs for any information about deprecated calls caused by the plugin: | + | * Check logs for any information about deprecated calls caused by the plugin |
- | * Up to the Summer 2020 " | + | |
- | | + | |
+ | ===== sexplode() instead of explode() to list===== | ||
+ | |||
+ | [[pr> | ||
+ | |||
+ | <code diff> | ||
+ | - list($foo, $bar) = explode(',', | ||
+ | + [$foo, $bar] = sexplode(',', | ||
+ | this is a convenient alternative for | ||
+ | + [$foo, $bar] = array_pad(explode(',', | ||
+ | </ | ||
+ | |||
+ | Since PHP 7.1 '' | ||
+ | |||
+ | |||
+ | ===== Remove .gif icons ===== | ||
+ | DokuWiki upgrades, using the '' | ||
+ | |||
+ | The '' | ||
+ | ===== Replace phpquery by php-dom-wrapper in tests ===== | ||
+ | [[pr> | ||
+ | |||
+ | <code diff> | ||
+ | - $doc = phpQuery:: | ||
+ | + $doc = (new Document())-> | ||
+ | </ | ||
+ | Some examples (see further also the docs referred above for the new syntax) | ||
+ | <code diff> | ||
+ | //probably the biggest change | ||
+ | - $paragraphs = pq(" | ||
+ | - $divs = pq(" | ||
+ | + $paragraphs = $doc-> | ||
+ | + $divs = $doc-> | ||
+ | $input = $doc-> | ||
+ | - $this-> | ||
+ | + $this-> | ||
- | ===== Refactor fulltext search functions and class Doku_Indexer ===== | + | - $this-> |
- | + | + $this-> | |
- | [[pr>2943]] | + | $inputs = $doc-> |
+ | - $this->assertEquals(' | ||
+ | + $this-> | ||
- | Following Functions will be Deprecated: | + | //more?? other examples welcome. |
- | Indexer: | + | </code> |
- | [[codesearch>idx_get_version]], | + | |
- | [[codesearch> | + | |
- | [[codesearch> | + | |
- | [[codesearch> | + | |
- | [[codesearch> | + | |
- | [[codesearch> | + | |
- | MetadataIndex: | ||
- | [[codesearch> | ||
- | [[codesearch> | ||
- | [[codesearch> | ||
- | FulltextIndex: | ||
- | [[codesearch> | ||
- | [[codesearch> | ||
- | [[codesearch> | ||
- | [[codesearch> | ||
- | [[codesearch> | ||
devel/releases/refactor2022.1659297763.txt.gz · Last modified: by Klap-in