mediawiki.searchSuggest: Show full article title as a tooltip for each suggestion

The text can be truncated, so let's do this to make it always possible
to actually see where the link leads.

Change-Id: I84fbae5a223be89e2d8918cb6fc45d88273fc6f4
Fix typo

Change-Id: I724ee18b8413352da8c86e50a9550e62c9531c48
Allow adding Deleted log entries

Set log_deleted when a LogEntry object's deleted property is set.

Bug: 63650
Change-Id: Iebd6f7442cba5176d112eb613e2b7ca2e67e37b1
Installer: output css correctly when session errors occur

CSS was not showing correctly when session errors occurred.
This was caused because mw-config/index.php was not taking
into account the "css" parameter passed in the URL.

Change-Id: I500c7340ab6826d428e9e3be28bcfc7ca5ed8466
Improve rendering of Living Style Guide sections, examples, and modifiers.

Change-Id: I5ca69ff5889239eed2f369917bf7bcbbd751e397
Don't use isset() to check for null

Fixes in maintenance/

Change-Id: I300a2a0cb240cb3f9c1d0c76d4575f93e9706b59
Update kss style guide wording and README

This should explain the conventions of the MediaWiki project.
Wikimedia is a prominent user of MediaWiki, but not the only one.

Other MediaWiki installations do not share all of Wikimedia's
values and mission.  However, it is possible to express common values
that should guide this work in core.

Thus, I retained some of the existing text, as well as adding one other
point, accessibility (which we have discussed but was not mentioned
here).

Change-Id: Iafc8641c9b89138b3e4b7f6e274395279ddad43c
Remove "Help/Project" profile from Special:Search

The vast majority of wikis have an empty help namespace and
searching project pages is mostly an advanced search feature.

Cluttering the UI with an extra tab that's (most likely) rarely
clicked isn't helping anyone.

Change-Id: I0c448bcee877e027ff95c96812aac86d89d4eb32
Include edit summary in permalink

Update the revision-info and revision-info-current messages to include the
edit summary of the revision being viewed via the permalink.

Change-Id: Ie19adfa5e780f2cfeeaba0f117d9007fc3cecd7e
Cleaned up database reconnection logic

* If callbacks are pending, just throw the normal query error
  exception for the failed query and clear the callbacks. This
  way an error is still reported, but the handle can be reused
  if desired, instead of being left broken. Also the reported
  error makes more sense.

bug: 65263
Change-Id: Icb2d372e65e6c62b5d5b90a442ea7b7a7f853adc
format the tests/phpunit/TODO document for readability

Change-Id: I54877680158b0b49ed13db9fd2d0441b82cab8b6
Remove silly 'm' prefix from StubObject/DeprecatedGlobal members

Nothing uses them outside of these two classes

Change-Id: I83a8eaff0d2d2d60592106d0e37572f898e482e9
User::pingLimiter() profiles per action as well

We had an outage beginning of may that involved rate limiting of the
'renderfile-nonstandard' action.  This makes User::pingLimiter() to
record a per action profiling point in addition to the generic one, that
would let us finely graph actions being throttled.

Ref:
https://wikitech.wikimedia.org/wiki/Incident_documentation/20140503-Thumbnails#What_can_be_improved

Bug: 65477
Change-Id: Iac7930e85f7d9101663656ccb2bccdbebf908693
Collation: Remove deprecated findLowerBound()

It was just a wrapper for ArrayUtils::findLowerBound(), it's not used
in core and it shouldn't be used anywhere outside of core (but I
haven't checked).

Change-Id: I53b0aca6bb642bdf6c972098170579fa13746554
Make HTTPS port configurable

Introduces wgHttpsPort configuration variable and makes use of it when
appropriate in wfExpandUrl()

Bug: 65184
Change-Id: I325ee0ff7be16de2a964fb7d8654b88cbd5fe239
Fixed possible race condition in LocalFileMoveBatch

* If a move is blocked by a re-upload and the TRX started outside of
  LocalFile::lock, then the move did not see the new row in the oldimage
  table and so it will not move that version of the file in storage. Use
  the latest DB data to avoid that.

Change-Id: I7ec46941170293c96b99a449cb396517108e8b3d
Store page_id in logging table for deletions and make queryable

* Clone title so page_id is not 0 at log time.
* Change ApiQueryLogEvents to provide log_page as logpage (for all
  rows, not just deletions) if ids are requested.

Bug: 26122
Change-Id: I1c7f3a84f10df05d6b37dccbad4c8232edf51580
Inserted test whether the resource 'uploadsource' is already registered.
Bug: 65530

Change-Id: I1b82d6dc6a37792d4e7b7d01316802ea4d38a88b
mediawiki.toc.test: Stub $.cookie to avoid test pollution

When running the tests locally the mediawiki.toc tests often
fail because where it asserts hidden it is visible, and where it
asserts visible it is hidden (this happens if you've ever closed
a "toc" section on your local wiki, causes the tests to be one-off).

Change-Id: Idc5e7123f3be3e11dac50d76d13089a2fabcfdb5
Pass archived page id to ArticleUndelete hook.

Needed for instrumentation of PageRestoration schema

Rationale:  By the time the hook runs, there is no longer record
of the previous page id.

Change-Id: If87a73e47def7a4404858f374780c3f1cf4d69b5
See: https://meta.wikimedia.org/wiki/Schema:PageRestoration
Needed by: Id40347ec268658dc854e4ab2dd38570b19db1477