Fix spelling: occurred

Change-Id: I8a4d460dc03659daedb95420ad60f3014b1a57dc
Remove zh-[cn|tw] in favour of zh-han[s|t]

Change-Id: Ib877229a5015d6d1604db54beb5290bbd813fe0e
Simplified and improved handling of query string values in redirect

2-d array values like A[B][C]=D now get handled correctly, thanks to the
use of http_build_query().

Change-Id: Ic36f62d3476843e02d6bc383e169b41170be2376
Merge "Simplified and improved handling of query string values in redirect"
Fix broken forms at tieteentermipankki.fi

The reasons seems to be that calling ParserOutput::getText() only
works for once, and returns UNIQ markers the second time.

Cleaned up the caching code while at it.

Change-Id: Iec9cdb1b8390325a2baecec5f370449badab9390
Restore compatibility with older MediaWikis

Follow-up to Iec9cdb1b8. I didn't notice this was a hook handler,
and recent versions of MediaWiki no longer need a return value
from hooks.

Change-Id: Ia8306dd7e882ea4892c4c424fe38d4b31245a9a4
Add token parameter to SF Autoedit API

Currently no such token is used which is a security issue.
This patch requires the API to have token parameter which is used to ensure it is an authentic change.

Bug: 51505
Change-Id: Iee5b12763386da5d4dd9e3c5cfa18262e929ce61
Replace User::editToken() with getEditToken()

editToken() was deprecated in MediaWiki 1.19.

Change-Id: I8a1239c88e17b326c7910977a6e048237c9c2ee7
Fix form cache purging

Because we were checking the wrong variable, cached forms were not
purged on edit. Follow-up to Iec9cdb1b8390

Change-Id: I0113f407819581a4716d3b9efb20631cf6997a36
Add PHPUnit boostrap

This adds a bootstrap as well as a convenience test runnner to invoke the
MW test environment.

Just use `php mw-phpunit-runner.php [options]` to run the tests.

On a general note, tests should be as independent as possible, using
`MediaWikiTestCase` will create an additional layer of dependencies
therefore it is suggested to use `PHPUnit_Framework_TestCase` instead
and only if a DB connection is required to fall back on
`MediaWikiTestCase`.

Change-Id: I2575b77e83f3788f150285dccc811c898e86384e
Coding style cleanups

Change-Id: I221f9dd561044831f9b460a2c4b7d352a2b58b01
Fix SF: Page preview slightly broken with MW 1.22.7

Vector introduces borders around the content. These need to be reset for the preview.

Change-Id: I3418f1e484ad47598606eccb7a8620ed7715154c
fix bug 65667: Replace .live by .on

Change-Id: I1273bc70bcf598d9a80be0dbcd444ddf3b19f9aa
fix bug 65668 (jQuery.browser is deprecated)

Dirty fix that just re-introduces jquery.browser in a little module.

Change-Id: I33b6af5c02bb3ae7bcd132a63b564417e6e24de1
Allow {{int}} for certain field parameters

Bug: 47736
Change-Id: I6e18be771adfdc5a924601abba89304bd4e06f43
Add license name for display on "Special:Version"

* license short name according to spdx.org,

see also  http://www.mediawiki.org/wiki/Manual:$wgExtensionCredits#Usage

Change-Id: I92feecbbccc86428c239a3e2ec41653794d5dda3
Replace deprecated calls to wfMsg and wfMsgForContent.

Change-Id: I662a675b63bdf8542fcb44700a68baf127b89f1d
Combobox switched to Select2 autocompletion

Combobox now uses Select2 JS for autocompletion.
A new global variable $sfgMaxLocalAutocompleteValues is
introduced, which is settable via LocalSettings.php, it
is used to automatically switch to remote autocompletion,
if the number of values is more than $sfgMaxLocalAutocompleteValues.
Semantic property field of CreateTemplate is also switched to
Select2 combobox.

Bug: 61974
Change-Id: I069f06dfbb912843cc0f97f1b31a32c57f5c4a08
Merge "Allow {{int}} for certain field parameters"
Error message punctuation

Change-Id: I24e4a37f70c943fc9b21442860aff2dfc142bf05