- Apr 23, 2018
-
-
Michael Große authored
This bug was introduced in #2251 c4a386f1 Fixes #2325
-
- Apr 05, 2018
-
-
Michael Große authored
This is a more consistent place relative to pageinfo()
-
- Mar 29, 2018
-
-
Michael Große authored
-
Michael Große authored
json_encode is available natively since PHP 5.2
-
Michael Große authored
This should make their purpose more obvious.
-
Michael Große authored
-
- Mar 27, 2018
-
-
Michael Große authored
This is useful for anonymously useable forms, like the search.
-
Michael Große authored
This also renames the event for the search form on the search page. The scheme for naming events that provide the new Form-class as $data is FORM_<formname>_OUTPUT
-
- Mar 26, 2018
-
-
Michael Große authored
This way we do not loose the context of the current page. Further, the new id generated from the query before wasn't really that useful (see issue #1124 ). And we can still generate a meaningful link "create a page for your query", if that is considered useful. Further redirects exist for the old urls, so bookmarked searches etc. should mostly keep working.
-
- Mar 23, 2018
-
-
Michael Große authored
Quick-search positioning and other templates break when removing this tag.
-
- Mar 22, 2018
-
-
Michael Große authored
There are several use cases in which knowing the page where a search request originated would be useful. This commit adds a `from` parameter which provides that information.
-
Michael Große authored
This makes it easier to read, reason and extend.
-
- Mar 07, 2018
-
-
Michael Große authored
This color is for example shown in Chrome on Android as menu-bar coloring.
-
- Feb 08, 2018
-
-
Iain Hallam authored
-
Iain Hallam authored
-
- Jan 24, 2018
-
-
Michael Große authored
-
- Dec 11, 2017
-
-
Michael Große authored
I'm not sure that setting the constants in template.php is the best place. However if we set them in doku.php, we have to duplicate it in lib/exe/mediamanager.php and lib/exe/detail.php, which is not ideal as well.
-
Michael Große authored
It would be helpful if there were a reliable way to determine the current mode in javascript, for example if we only want to execute some javascript in `show` or `preview` modes. This writes the final mode to the JSINFO object right before it is written out as header, so we can hopefully capture the actual mode without an plugin changing it later on.
-
- Dec 05, 2017
-
-
Andreas Gohr authored
-
- Oct 19, 2017
-
-
Michael Große authored
This commit fixes a bug in the media manager when viewing an old version of a media file. While, in case of an image, the old image would be displayed in the third pane, the link above would still link to the current version.
-
- Sep 01, 2017
-
-
Andreas Gohr authored
-
- Aug 15, 2017
-
-
Andreas Gohr authored
-
- Aug 01, 2017
-
-
Phy authored
-
- Jul 26, 2017
-
-
Michael Große authored
The HTML-spec[0] specifies: > If the element has no label attribute and is not a child of a datalist element: Text that is not inter-element whitespace. So a non-breaking space is valid solution. [0] https://html.spec.whatwg.org/multipage/form-elements.html#the-option-element
-
- Jun 07, 2017
-
-
Andreas Gohr authored
When a page is marked as hidden (through the hidepages option) it should not be indexed by search engines.
-
- May 25, 2017
-
-
Andreas Gohr authored
This function is now deprecated. Tests even surfaced some smaller bugs :-)
-
- May 19, 2017
-
-
Andreas Gohr authored
-
- May 13, 2017
-
-
Gerry Weißbach authored
If an entry in the loop at `_tpl_metaheaders_action` has no content, skip this entry.
-
- Mar 31, 2017
-
-
Andreas Gohr authored
This is just a quick and dirty hack to try and see if the router actually behaves as it should. I renamed the old methods to XXX_* and implemented new ones calling the router. This has to be cleaned up later.
-
Takamura authored
I supplemented the existing comments on the methods in which there was not enough information to the standard phpDoc.
-
- Feb 22, 2017
-
-
Gerry Weißbach authored
-
Gerry Weißbach authored
Revert Template changes from css-modifications-branch. No Flavours. If someone wants that, it is easier to be done using a plugin.
-
- Feb 09, 2017
-
-
Gerry Weißbach authored
Add flavours to template ini files. The template will now be checked for multiple ini files and inserts them as a custom flavours. The css.php can detect these flavours and reads the stylesheet + replacements from there. If the flavour is not the default one (style.ini), replacements are loaded from the default flavour first to ensure that the colours are available. Flavours can define their own set of replacements.
-
- Feb 03, 2017
-
-
Andreas Gohr authored
All script tags are now surrounded by conditional comments to tell Internet Explorer 8 and lower to not even bother trying to load the JavaScript.
-
- Jan 21, 2017
-
-
Andreas Gohr authored
This introduces a new dokuwiki\Ui namespace and refactors the Admin screen into a Ui class. The ultimate goal is to split up the big, complex functions in inc\html.php in better maintainable classes in the Ui namespace. This is the first go at it. Others function->class conversions should follow. This also switches the icons for our base admin plugins to inline SVG. (files and styling not included, yet).
-
- Dec 21, 2016
-
-
Andreas Gohr authored
We now have two CDNs available. code.jquery.com which is the more popular one and CDNjs which is the faster one. Plugin authors can use a plugin hook to easily implement their own preferred CDN. Authors might even use this event to conditionally load additional JavaScript files.
-
- Nov 26, 2016
-
-
Andreas Gohr authored
-
Andreas Gohr authored
jQuery (and UI and Migrate) are now loaded separately from the rest of the JavaScript. This adds at least one HTTP request more but has some advantages: * browsers can cache it independently * the cache is only invalidated when versions update * we do not apply any transformations (replacements, minimizing, etc) on this code anymore which makes our dispatcher faster for the other JS * browsers seem to load (not execut) both (jquery and other) parallel, which might increase download speed a bit This split allowed for the introduction of a new config: jquerycdn. When enabled the 3 jquery files are loaded from jQueries CDN. This adds another two HTTP requests but: * since it's another host those files do not apply to the 4 request per host limit and can be loaded (not executed) in paralell which might increase download speeds a bit * the CDN is distributed worldwide which means files are requested from the closest location, increasing the download speeds * since these files/CDN are very popular, chances are high that people already have them cached in their browsers, reducing the download time to 0 and effectiely halving the javascript needed to download The option currently defaults to 'off', but I would argue 'on' would be the better default.
-
- Sep 07, 2016
-
-
Andreas Gohr authored
-
- May 11, 2016
-
-
Gerrit Uitslag authored
-