(bug 27757) API method for retrieving tokens

Change-Id: I58bc5847b996d100712781052f20150f76786ed1
Remove some duplicate code in ProfilerSimpleTrace

Change-Id: Iab0b5343dbbd50419ba31724513b062f682c98df
Un-marking testMakeNormalBlock as broken...

Change-Id: I5960d71409dc6338249817bc67de5227845dc3d8
tests related to API block action and its gettoken

Add tests for:
 - action=block and action=unblock gettoken
 - attempting to block or unblock a user with no token passed.

Patchset2: use a provider to have tests run against both 'block' and
'unblock' actions.

Change-Id: I686348ff4e2fe419c556acea2fa59dd203dc9440
Show Log toolbox link for anon users, fix toolbox on DeletedContribs

This will show the 'Log' toolbox link on pages relevant to anonymous users.
It also sets the relevant user on Special:DeletedContributions, which fixes the missing toolbox links (e.g. 'User contributions', 'Logs', 'Block user').

Change-Id: Ib51c59acb3656d9c209aeea22c1e00dc21a778db
(bug 35705) QUnit upgraded from 1.2.0 to 1.5.0

- Release notes:
  https://github.com/jquery/qunit/blob/v1.5.0/History.md

- Source of imported files:
  * https://github.com/jquery/qunit/tree/v1.5.0
  * https://github.com/jquery/qunit/tree/e9b61098fd8854e75d8e8b1649259c8df06316e4/qunit

- Unit tests still pass.
  Tested on [[Special:JavaScriptTest/qunit]] with wgEnableJavaScriptTest=true

Change-Id: I37b84dc39b1701c66fbc45fb9f3c92225f4df1cd
Remove old qunit/index.html

It wasn't actively maintained and has been made obsolete when
[[Special:JavaScriptTest/qunit]] was introduced, which actually uses
ResourceLoader, LocalSettings and the Skin. It was broken in some ways
already and adds no value. It was a quick hack that isn't needed
anymore.

Change-Id: I60098902cd1e736b08992890dce978c71b9b32b0
(bug 31817) add support for HTML5 <bdi> bidi embed element

Adding <bdi> to $htmlpairsStatic to allow using this tag.

Adds parser test case to confirm that <bdi> makes it through with 'lang' attribute.

This updated patchset also adds <bdi> to the attribute whitelist with the basic common attribute; allows 'lang' and such to get through.

Change-Id: Ib7e6553f017837cb1d49d5718e288228c17392c0
Use local context to get messages and time formatting methods of Language class

Change-Id: Ib3f2bd32bad9e5b84149f6dca6e1cbf56838f601
Merge "Use local context to get messages and time formatting methods of Language class"
Merge "(bug 35705) QUnit upgraded from 1.2.0 to 1.5.0"
increase qunit coverage of mediawiki.html and mediawiki.util

- mw.html
 * Adding test for mw.html.Raw
 * Adding more tests for mw.html.element

- mw.util
 * Minor coding style update (local variables)
 * Updating mw.util.addPortletLink to not create its own "#mw-panel",
 this was previously done for ./qunit/index.html (which has been
 removed) but when ran on [[Special:JavaScriptTest/qunit]] it collides
 with the existing "#mw-panel", so far didn't break anything but that
 was purely lucky. This element is redundant so taking it out of the
 html sample
 * Removing redundant clean up, #qunit-fixture is automatically cleaned
 after each test

Change-Id: Iaf9791ca3cdcac1b732c851cdecc8fcd9f96fdd8
Removed "feed" parameter to query string added to feed links.

The "feed" parameter was set two times in the query string of feed links and thus was breaking the links.
Also removed a trailing whitespace pointed out by Krinkle in my last commit.

Change-Id: Ia210e6e998acf29cb0a0fad5b6f7f8d6062998d2
Merge "increase qunit coverage of mediawiki.html and mediawiki.util"
Renamed "wfShellMaintenanceCmd" function and new, unused, het-deploy, hook
to "wfShellWikiCmd". The old function now remains as a wrapper. The term "maintenance" is too restrictive.

Change-Id: I5c23d6475fd1aca374ee57b89212eee3a0d8cea1
Merge "Remove some duplicate code in ProfilerSimpleTrace"
Add passing test documenting MW's acceptance of pipes between tr attributes

Change-Id: I584a8826348a9acc4facfaadf5766832d262a53d
(bug 35649) Special:Version now shows hashes of extensions checked out from git

Change-Id: I0d9540dbc103ba678dd2fb5e11c656e238e31f18
(bug 35728) Git revisions are now linked on Special:Version

Change-Id: I5b02aa914916f64492c85ce6dcc3272b6406551a
Fix error from I55939bb5295e73594c3fdf7287dddbc16a233ce4 (r4099) pointed out by Nikerabbit

The error is "PHP Strict Standards:  Creating default object from empty value in includes/User.php on line 2142"; the problem was that I forgot to renamed an instance of that variable while refactoring the code.

Change-Id: I4e32311693708ec5a0227d60f7818b374fccd4cc