History log of /dokuwiki/inc/search.php (Results 26 – 50 of 123)
Revision Date Author Comments
# 64159a61 27-Apr-2018 Andreas Gohr <andi@splitbrain.org>

line lengths shortened

This makes sure all files use line lenghts shorter than 120 characters.

This is a quick fix. It might not always be the nicest change.


# b4f2363a 27-Apr-2018 Andreas Gohr <andi@splitbrain.org>

remove DOKU_INC checks

There is no need for this check, since these files should not have any
main code that is executed on direct call.

Fixes PSR1.Files.SideEffects.FoundWithSymbols


# 8f34cf3d 26-Jul-2017 Michael Große <grosse@cosmocode.de>

Fix PHP Notices: Reduce error log noise

While DokuWiki suppresses PHP Notices they are still a code smell and
should be fixed. This fixes some PHP Notices that occurred.

Some of these fixes could b

Fix PHP Notices: Reduce error log noise

While DokuWiki suppresses PHP Notices they are still a code smell and
should be fixed. This fixes some PHP Notices that occurred.

Some of these fixes could be refactored into nicer code once we move to
PHP 7 and get access to the `??` operator.

show more ...


# f50a239b 31-Mar-2017 Takamura <plehanov.v@gmail.com>

I supplemented the existing comments on the methods in which there was not enough information to the standard phpDoc.


# e0b6aade 29-Jan-2016 Andreas Gohr <andi@splitbrain.org>

do not accept empty or root $base in search. fixes #1452

You really never want to search the whole filesystem, so something must
have gone wrong. Better abort than go on.


# 42ea7f44 01-Oct-2014 Gerrit Uitslag <klapinklapin@gmail.com>

Many PHPDocs, some unused and dyn declared vars

many PHPDocs
some unused variables
some dynamically declared variables declared


# 59bc3b48 29-Sep-2014 Gerrit Uitslag <klapinklapin@gmail.com>

more scrutinizer issue improvements


# e14fe973 05-May-2014 Gerrit Uitslag <klapinklapin@gmail.com>

add defaults to phpdocs of search universal


# 49f299d6 06-Mar-2014 Christopher Smith <chris@jalakai.co.uk>

another instance of empty() where an array key might not exist


# b7a3421a 06-Mar-2014 Christopher Smith <chris@jalakai.co.uk>

use \!empty() rather than error suppression


# 9b4337c6 05-Mar-2014 Christopher Smith <chris@jalakai.co.uk>

refactor to take into account missing value


# f87b5dbb 05-Mar-2014 Christopher Smith <chris@jalakai.co.uk>

use isset() + ?: or error suppression where value may not be set


# 0e80bb5e 05-Mar-2014 Christopher Smith <chris@jalakai.co.uk>

use empty() where array values might not be set


# d9529222 20-Oct-2013 Andreas Gohr <andi@splitbrain.org>

Merge pull request #380 from splitbrain/phpstrict

Php strict


# 443e135d 16-Oct-2013 Christopher Smith <chris@jalakai.co.uk>

replace boolean conditional checks on possibly uninitialized vars with \!empty/empty/isset as appropriate


# ce4301e3 15-Oct-2013 Gerrit Uitslag <klapinklapin@gmail.com>

inc/search.php phpdocs


# 24998b31 15-Oct-2013 Gerrit Uitslag <klapinklapin@gmail.com>

update phpdocs inc/search.php


# 0320882f 31-Jul-2013 Michael Hamann <michael@content-space.de>

Remove search_references() and the refshow configuration option

The refshow configuration option wasn't used as described anymore
already in the latest release and after the introduction of the medi

Remove search_references() and the refshow configuration option

The refshow configuration option wasn't used as described anymore
already in the latest release and after the introduction of the media
usage index the parameter is also no longer relevant for internal
optimization. The only place where it was still used is the no longer
used search_references()-function which is removed here, too.

show more ...


# 5737a81e 20-Feb-2013 Michael Hamann <michael@content-space.de>

Revert the search depth behavior changes from #154

This reverts parts of the changes from #154: Before merging the pull
request, a depth of 1 returned just the pages in the root namespace.
With the

Revert the search depth behavior changes from #154

This reverts parts of the changes from #154: Before merging the pull
request, a depth of 1 returned just the pages in the root namespace.
With the changes in the pull request, a depth of 1 also returned pages
in subnamespaces of the root namespace (as it was also tested in the test case).
This reverts this part of the changes and a depth of 1 returns just the
pages in the root namespace again.

show more ...


# c33b315b 18-Feb-2013 Anika Henke <anika@selfthinker.org>

removed a bunch of functions which were deprecated in 2005/2006


# ec24a2df 29-Jan-2013 Philipp A. Hartmann <pah@qo.cx>

search: pass empty $sort to skip sorting


# 1dc5d48b 27-Jan-2013 Christopher Smith <chris@jalakai.co.uk>

change to use natural order sorting


# 5514a5a7 27-Jan-2013 Christopher Smith <chris@jalakai.co.uk>

ensure parameter is passed down during recursion


# 155e63c9 27-Jan-2013 Christopher Smith <chris@jalakai.co.uk>

add documentation for sort parameter, change false to 'natural'


# fe82d751 27-Jan-2013 Christopher Smith <chris@jalakai.co.uk>

sp.


12345