Andreas Gohr
bdf09125c4
set page context in Handler
...
Under some circumstances it is useful to know if the current parsing
process is running in a page context or not.
One of the examples is the struct plugin's use of the PARSER_HANDLER_DONE
event to automatically inject its own output instruction. Currently this
instruction is injected in each and every processing and only on rendering
is decided if there is anything to output.
This patch injects a page hint into the Handler when the handler was
created from our p_wiki_xhtml() method (and only then). Plugins can use
the getPage() method to check the context if needed.
Note: currently p_wiki_xhtml() also modifies the global $ID variable
which might also used as context hint (but will also be set during
on-the-fly renders, eg. the preview intro text).
It would probably be a good idea to check if it would be better when all
handle methods rely on getPage() instead of global $ID instead. This
would be a major change in parsing though and needs serious testing
while this addition has basically no consequences currently.
2020-09-28 16:59:46 +02:00
Andreas Gohr
656cb03223
Merge branch 'pr/3111' into master
...
* pr/3111:
honor userewrite setting in redirection from index.php
2020-09-10 09:26:38 +02:00
Andreas Gohr
0ccf1f22f8
Merge pull request #3253 from splitbrain/issue3250
...
don't crush tables too narrow. fixes #3250
2020-09-08 08:38:18 +02:00
Andreas Gohr
f3b7716065
Merge pull request #3256 from longyn/patch-1
...
Update translation
2020-09-03 13:58:04 +02:00
Frank Long
98c80af32c
Update translation
...
選擇 =>Traditional Chinese
选择 => Simplified Chinese
2020-09-03 19:48:49 +08:00
Henry Pan
05eaa57abb
Merge pull request #3254 from dokuwiki-translate/lang_update_127_1599088484
...
Translation update (sq)
2020-09-03 00:48:49 -04:00
Endrit Callaki
ad4420a917
translation update
2020-09-03 01:15:52 +02:00
Andreas Gohr
76e0afa4d8
don't crush tables too narrow. fixes #3250
...
This ensures that the table wrapper has at least 50% of the page width
available. This allows small tables still be besides floating elements
like images or the TOC, but larger tables will get the full width.
2020-09-02 20:47:12 +02:00
Henry Pan
a3cafac5ce
Merge pull request #3246 from dokuwiki-translate/lang_update_126_1598847090
...
Translation update (zh)
2020-08-31 00:21:18 -04:00
Phy
e3c16617b2
translation update
2020-08-31 06:16:12 +02:00
Henry Pan
b43f233b54
Merge pull request #3222 from giterlizzi/master
...
Added confirmation dialog for Revert action menu
2020-08-31 00:14:02 -04:00
Andreas Gohr
d267a3cb9d
Merge pull request #3115 from moisesbr-dw/sort-with-collator
...
Sort with collator
2020-08-26 10:06:20 +02:00
Moisés Braga Ribeiro
242e693141
Thorough tests for EO, DE, PT and ES
...
Correction for German collation; examples for German and Spanish; much better comments
2020-08-20 05:54:32 -03:00
Henry Pan
387e6f5141
Merge pull request #3235 from dokuwiki-translate/lang_update_116_1597798119
...
Translation update (fr)
2020-08-19 02:09:11 -04:00
Schplurtz le Déboulonné
3cec13af20
translation update
2020-08-19 02:51:12 +02:00
Giuseppe Di Terlizzi
bcdf03d0e0
Optimized pageRestoreConfirm function
2020-08-17 15:49:50 +02:00
Moisés Braga Ribeiro
d0fecb18d0
Tests for Portuguese and Spanish
...
Collations for Portuguese and Spanish; examples for Portuguese; better comments
2020-08-17 09:08:04 -03:00
Moisés Braga Ribeiro
0489c64b7d
Changes according to revisions in https://github.com/moisesbr-dw/dokuwiki/pull/2
...
Many minor details and use of Sort::xyz() instead of intl_xyz() in files outside the "inc" folder.
2020-08-16 18:29:42 -03:00
Moisés Braga Ribeiro
ec16ab528f
Merge pull request #2 from splitbrain/pr-3115
...
Changes for the collator-based sort: sort functions as static methods; better testing
2020-08-16 03:22:17 -03:00
Andreas Gohr
b97865bf6f
adjust callstack depth for deprecation message further
2020-08-13 16:52:17 +02:00
Andreas Gohr
e4aa0139d5
better deprecation messages for self required plugin base files
2020-08-13 13:40:39 +02:00
Andreas Gohr
04225b4a35
don't test on old PHP releases anymore
2020-08-12 17:41:18 +02:00
Andreas Gohr
3f874cb397
increase minimum PHP version to 7.2
2020-08-12 17:39:37 +02:00
Andreas Gohr
24486f8c92
fixed tests for cleanID and romanization for Greeklish
2020-08-12 16:47:08 +02:00
sintoris
1fa01e4a55
Improved the transliteration from greek to latin.
...
The patched version covers all greek letters and creates "greeklish" filenames
which use only roman letters and which are very readable to greek language
speakers.
2020-08-12 15:47:30 +02:00
Andreas Gohr
be15e51634
extension cli: do not try to upgrade bundled plugins
...
fixes #3227
2020-08-12 12:23:50 +02:00
Andreas Gohr
15b886048c
Merge pull request #3228 from annda/externallink-getter
...
Public access to patterns in external link parser
2020-08-12 12:05:53 +02:00
Anna Dabrowska
5c99934fa4
Public access to patterns in external link parser
2020-08-12 09:53:38 +02:00
Andreas Gohr
f9aa34a374
test the collator fallback always
...
Now the use of the intl extension can be turned off, allowing for easy
testing of the fallback. The test now inherits from the collator test so
we avoid too much duplicate code
2020-08-11 15:09:56 +02:00
Andreas Gohr
5d9cb4e188
cleanup for collator tests
...
The proper use of data providers now make it much easier to add
addtional languages to the test
2020-08-11 14:48:56 +02:00
Andreas Gohr
2d85e84158
wrap sorting functions into their own class
2020-08-11 14:06:33 +02:00
Giuseppe Di Terlizzi
7ac45fff3c
Merge branch 'revert-confirm' into master
2020-08-10 23:59:47 +02:00
Giuseppe Di Terlizzi
a802fe3c55
Added confirmation dialog for page tools Revert action
2020-08-10 23:52:24 +02:00
Andreas Gohr
95b3bb8b3c
Merge pull request #3211 from rojenzaman/patch-1
...
"ı" character added to loweraccents.php
2020-08-10 15:28:57 +02:00
Henry Pan
78c3ba52a3
Merge pull request #3225 from dokuwiki-translate/lang_update_115_1596951590
...
Translation update (cs)
2020-08-09 10:36:06 -04:00
Petr Kajzar
b0760ac247
translation update
2020-08-09 07:41:12 +02:00
Henry Pan
be2e5391a8
Merge pull request #3223 from dokuwiki-translate/lang_update_114_1596786248
...
Translation update (zh)
2020-08-08 10:53:28 -04:00
Jenxi
cce551cd93
translation update
2020-08-07 09:46:12 +02:00
Henry Pan
d7fa198e5e
Merge pull request #3220 from dokuwiki-translate/lang_update_112_1596625609
...
Translation update (sk)
2020-08-05 12:27:38 -04:00
Henry Pan
a4f0b56ccf
Merge pull request #3221 from dokuwiki-translate/lang_update_113_1596633038
...
Translation update (sk)
2020-08-05 12:27:07 -04:00
Martin Michalek
67f1a0c115
translation update
2020-08-05 15:16:44 +02:00
Martin Michalek
b9b72303a4
translation update
2020-08-05 13:11:42 +02:00
Henry Pan
9d39854e66
Merge pull request #3219 from dokuwiki-translate/lang_update_111_1596591740
...
Translation update (zh-tw)
2020-08-04 21:59:22 -04:00
GHSRobert Ciang
fa33bdca3c
translation update
2020-08-05 03:46:04 +02:00
Henry Pan
e44ac5969a
Merge pull request #3213 from dokuwiki-translate/lang_update_109_1596119359
...
Translation update (ru)
2020-07-30 13:17:14 -04:00
Henry Pan
2db00dfc24
Merge pull request #3214 from dokuwiki-translate/lang_update_110_1596122861
...
Translation update (pt)
2020-07-30 13:16:09 -04:00
Paulo
dbdabbe012
translation update
2020-07-30 17:31:45 +02:00
Aleksandr Selivanov
2fcc9744ff
translation update
2020-07-30 16:31:12 +02:00
Guy Brand
054813bc7b
Release preparation
2020-07-29 11:32:06 +02:00
Rojen Zaman
a178f5e035
"ı" character added to loweraccents.php
...
The character "Lowercase dotless i" does not exist in the loweraccents.php file, I add to this.
2020-07-27 17:36:07 +03:00