Localisation updates from http://translatewiki.net.
Revert "filter_api: ensure that the free_text where clauses are always ANDed"

This reverts commit 543ba012999c20310a2208bd8e5f7f88efe392ce.
Fix filter api issue with 'any condition' and text search

A filter combining some criteria and a text search with 'any condition'
results in a cartesian product, which has the potential to bring down
the site as the RDBMS eats up all available resources.

The root cause of this behavior is joining the bug_text table with a
from clause and setting the join's criteria in the query's where clause,
without taking consideration the operator's precedence (AND/OR).

This commit resolves the problem by using a JOIN clause instead, which
makes the query cleaner.

Fixes #15573
Filter api: systematic use JOIN when building SQL

Do not join tables using the where clause, for better readability and
avoiding risk of issues with operator precedence and 'any condition'
filtering mode.

This commit also removes an unnecessary LEFT JOIN between the bugnote
and bugnote_text tables; since this is a strict 1:1 relationship, an
inner join is sufficient and yields better performance.
Localisation updates from http://translatewiki.net.
Config report: retrieval of saved project filter does not work

When retrieving a saved filter from the cookie in adm_config_report.php
the saved project id is not reflected in the filter's selection list:
'All Projects' is always selected instead of the actual project. This
value should only be picked as default when the project id does not
exist.

This is due to a missing negation in the check for project's existence.

Fixes  #15691
Code cleanup: align adm_config_report.php with 1.3 branch
Localisation updates from http://translatewiki.net.
Fix #15704: Wrong description of writing custom_functions
Fix #15698: system warning when editing profile

When user clicks Submit button to edit an existing profile, without
first selecting one from the list, the following system warning was
triggered: 'extract() expects parameter 1 to be array, boolean given'.

The code now ensures that a profile has been selected before redirecting
to account_prof_edit_page.php, and issues a meaningful error message if
not.
Reenable ability to clear default profile

Regression introduced by fe8e3672f555063fadbf652e3c557f5a438a3313

Fixes #15698
Localisation updates from http://translatewiki.net.
Added functionality to load a custom_my_view_inc.php, if exists, instead of my_view_inc.php. This makes it possible to show more information, e.g. assigned username, etc.