Bug: Missing restore_error_handler() call

Change-Id: If5966c4c204d0b89958fb64e61318955f7b987be
(bug 70497) Don't throw exception; show nicer error message for insufficient permissions

loadTopicTitle already did ->addError, which should expose the error
message in a nicer fashion. There were some other things to deal with
though:
* flow_errors needed to be included in template that would display it
* some later code paths still threw exceptions instead of quitting silently

Bug: 70497
Change-Id: I451bd22197462b0ae1d6865414694f35945df76a
Add "do not edit" in generated autoload.php

Nobody besides ErikB knows about scripts/gen-autoload.php, maybe this
will help.

Change-Id: Ia646d5216b737c820a6f7ef1ebdf651817a5b07f
Correct 'independent' spelling (comment-only)

Change-Id: I704a28c8565b110c916baf1afd98bfd27284ef44
Fix fatal when submitting summary

Fatal error: Call to undefined method Flow\Model\PostSummary::getRootPost()

Change-Id: I14846dfa4d0c6fcd3708cc296851ae83c7250a78
Pass correct arguments to (unused) method call

Change-Id: I71e18e2552f1f5f50bf7526cc8bd6290d7e695a9
Remove no longer needed isWatchlist remnants

ChangesList now has its own isWatchlist method that we
can use, we no longer need to hack it ourselves.

Change-Id: Ia6c189fd87b5535ccce844987c65a22c849621b5
Merge "Fix fatal when submitting summary"
Merge "Pass correct arguments to (unused) method call"
Merge "Remove no longer needed isWatchlist remnants"
dont use php empty to check empty strings

PHP's empty should not be used to check if a string is
blank, it has a variety of edge cases like considering
the string '0' to be empty.  Instead lets switch to
trim( $value ) === '' which is likely more accurate anyways.

I think in the future we may want to look into some sort of reusable
validation instead of repeating these conditionals on the various
forms.

Change-Id: Iaed53b2d5d73d1b9027eb0d7aef028861d79869c
Use StubObject::unstub()

Change-Id: I0173a658c09f7aaf35e6e8130f08da30279e466d
Merge "dont use php empty to check empty strings"
Localisation updates from https://translatewiki.net.

Change-Id: I56325951578da8222044d2f6ffe617b32abcc200
Merge "Bug: Missing restore_error_handler() call"
Prepare repository for running RuboCop after every push to Gerrit

For now ignoring all problems.

Bug: 69245
Change-Id: Iab55f09adf0a8477cd5adce4f9cbea82088065c2
Remove unused method ObjectLocator::visitAll

Change-Id: I16b25bb53c0c786fc5a400d6ead44859e09df1b8
Remove unused file includes/OutputPage.php

Change-Id: I259a51e619a2c9ac18590129ff4a0d6b2736103b
Remove unused Workflow lockState

It's unused & broken in its current form:
* type is declared (and used) as array, but set to int (0) somewhere
* array doesn't undergo transformation before going to storage, which fails

Change-Id: I282bd4205e50535cc95aa659716e923ab6bfe4b4
J5: Expand action=purge on flow pages

Converts our old purge.php script into a web request that anyone can perform.

Change-Id: I1d9b19c6d6a71a5beff54b922055868d747ffa25