Document ability to display status on bug_report_page.php

Fix for issue #14678 omitted to amend the comment block in
config_defaults_inc.php as well as the documentation.

Fixes #17289
Localisation updates from https://translatewiki.net.
Localisation updates from https://translatewiki.net.
bug_report.php: fix warning when not using attachments

When attachments are not used, 'ufile' is not defined, so $t_files
becomes NULL (line 150) causing the 'Invalid argument supplied for
foreach' warning.

Fixes #17322
Whitespace
Fix #17324: remove var_dump()
Issue #17322: apply same logic in bug_file_add.php
Remove use of deprecated pattern modifier in string_insert_hrefs()

string_insert_hrefs() relied on PREG_REPLACE_EVAL ('e') pattern modifier
for preg_replace() to apply rtrim() function to subpatterns.

In PHP 5.5, this feature has been deprecated for security reasons [1] so
we rely on preg_replace_callback() instead.

Fixes #17292

Backporting the fix from master branch, replacing the closure with an
anonymous function for compatibility with PHP < 5.3.

[1] http://php.net/reference.pcre.pattern.modifiers.php#reference.pcre.pattern.modifiers.eval