[ticket/12881] Checks earlier if server-side topic marking is enabled

PHPBB3-12881
[ticket/12891] Replace template loops with 1 loop to reduce generation time

PHPBB3-12891
[ticket/12892] Do not set S_NUM_ROWS when adding a row to a template loop

We do not set S_NUM_ROWS while adding a row, to reduce the complexity
If we would set it on adding, each subsequent adding would cause
n modifications, resulting in a O(n!) complexity, rather then O(n)

PHPBB3-12892
Merge pull request #2779 from nickvergessen/ticket/12892

[ticket/12892] Do not set S_NUM_ROWS when adding a row to a template loop

* nickvergessen/ticket/12892:
  [ticket/12892] Do not set S_NUM_ROWS when adding a row to a template loop
[ticket/12870] Create the migrations table in db:migrate

PHPBB3-12870
[ticket/12870] Add $config['version'] in phpbb_extension_manager_test

PHPBB3-12870
Merge pull request #2777 from Nicofuma/ticket/12881

[ticket/12881] Debug error - Undefined index: mark_time

* Nicofuma/ticket/12881:
  [ticket/12881] Checks earlier if server-side topic marking is enabled
Merge pull request #2768 from Nicofuma/ticket/12883

[ticket/12883] Do not use basename() to get the search class in tidy_search

* Nicofuma/ticket/12883:
  [ticket/12883] Remove pointless comments
  [ticket/12883] Do not use basename() to get the search class in tidy_search
[ticket/12870] Create the migrations table with a method in the migrator

PHPBB3-12870
[ticket/12656] Fix typo for "purged extension"

PHPBB3-12656
[ticket/12896] Add php event for admin notices

PHPBB3-12896
Merge branch 'ticket/forumhulp/12896' into develop-ascraeus

* ticket/forumhulp/12896:
  [ticket/12896] Add php event for admin notices
Merge pull request #2769 from rxu/ticket/12884

[ticket/12884] Add core event to the function upload_attachment()

* rxu/ticket/12884:
  [ticket/12884] Add core event to the function upload_attachment()
[ticket/12843] Fix Mark forums read browser console error

When you click on "Mark forums read" in the browser console error occurs
ReferenceError: assignment to undeclared variable phpbbAlertTimer
ajax.js (line13)

PHPBB3-12843
Merge branch 'ticket/sumanai/12843' into develop-ascraeus

* ticket/sumanai/12843:
  [ticket/12843] Fix Mark forums read browser console error
Merge pull request #2719 from lucifer4o/ticket/12791

[ticket/12791] String profile fields do not use links ...

* lucifer4o/ticket/12791:
  [ticket/12791] Changed the if check
  [ticket/12791] String profile fields do not use links ...
Merge pull request #2718 from lucifer4o/ticket/12793

[ticket/12793] String '0' does not display for string profile fields

* lucifer4o/ticket/12793:
  [ticket/12793] Tests (added and changed)
  [ticket/12793] Changing get_profile_contact_value to get_profile_value_raw
  [ticket/12793] String '0' does not display for string profile fields
[ticket/12864] Update event docs

PHPBB3-12864
[ticket/12841] Update comments in tests making after default

PHPBB3-12841
Merge pull request #2772 from dhruvgoel92/ticket/12656

[ticket/12656] Translate existing CLI commands

* dhruvgoel92/ticket/12656:
  [ticket/12656] Fix typo for "purged extension"
  [ticket/12656] Fix syntax in language file
  [ticket/12656] Fix typo
  [ticket/12656] Use utf8 ’ instead of escaping '
  [ticket/12656] Use lang keys for all CLI strings
  [ticket/12656] Use lang keys for CLI command descriptions