lhc/web/wiklou.git
8 years agoOOUI theme support
Bartosz Dziewoński [Sun, 24 May 2015 16:56:44 +0000 (18:56 +0200)]
OOUI theme support

* Split off OOjs UI's module definitions to a separate file from
  Resources.php.
* Extend ResourceLoaderImageModule to support per-skin images and
  variants.
* Allow skins to specify their preferred OOjs UI theme using new
  skin registry attribute 'SkinOOUIThemes'. The default remains the
  'mediawiki' theme, 'apex' can also be chosen now.
* Implement custom ResourceLoaderOOUIImageModule which implements some
  special sauce required to shoehorn OOjs UI image set definitions into
  ResourceLoaderImageModule with skin-specific styles support.

Bug: T100895
Change-Id: I3fbacbce95126a4cc29221352f3ef846f41e7b1b

8 years agoWhitespace fix for RELEASE-NOTES-1.26
Ori Livneh [Sun, 31 May 2015 22:16:11 +0000 (15:16 -0700)]
Whitespace fix for RELEASE-NOTES-1.26

Change-Id: I23a02f465b20117a1855e2a0881fc3bdf1e9ab14

8 years agoMerge "Remove mw-ui-icon*:after"
jenkins-bot [Sun, 31 May 2015 21:48:31 +0000 (21:48 +0000)]
Merge "Remove mw-ui-icon*:after"

8 years agoMerge "Create mediawiki.widgets and mw.widgets.TitleInputWidget in it"
jenkins-bot [Sun, 31 May 2015 20:20:01 +0000 (20:20 +0000)]
Merge "Create mediawiki.widgets and mw.widgets.TitleInputWidget in it"

8 years agoMerge "Implement MalformedTitleException for JS and use in constructor"
jenkins-bot [Sun, 31 May 2015 20:12:10 +0000 (20:12 +0000)]
Merge "Implement MalformedTitleException for JS and use in constructor"

8 years agomailmap: Add an additional e-mail for Bartosz per request
James D. Forrester [Sun, 31 May 2015 20:01:39 +0000 (13:01 -0700)]
mailmap: Add an additional e-mail for Bartosz per request

Change-Id: Ia3c9f1c83a8d15cb5758288d435b31c3bf1e8b19

8 years agoImplement MalformedTitleException for JS and use in constructor
Geoffrey Mon [Fri, 15 May 2015 05:19:30 +0000 (01:19 -0400)]
Implement MalformedTitleException for JS and use in constructor

Implements MalformedTitleExceptions to provide information on
  invalid titles.  Throw these exceptions from Title constructor
  instead of generic Errors.

Bug: T89648
Change-Id: I9ed16a5a30b01df785ad736df4b84111c5939bbf

8 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sun, 31 May 2015 19:33:03 +0000 (19:33 +0000)]
Merge "Localisation updates from https://translatewiki.net."

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 31 May 2015 19:22:55 +0000 (21:22 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I42c49984b15a57196744b95c393615fe7f4f797f

8 years agoresourceloader: Fix broken 'version' param in mw.loader requests
Timo Tijhof [Sun, 31 May 2015 18:19:34 +0000 (19:19 +0100)]
resourceloader: Fix broken 'version' param in mw.loader requests

All requests were using version=da39a3ee5e6b, where da39a3ee5e6b
is the sha1() of the empty string.

Follows-up f37cee996e which incorrectly assummed the local
'modules' variable to hold a list of objects, when in fact it
holds a list of strings.

Change-Id: I717b8657300263606832ff1ec67a34a7163de842

8 years agoCreate mediawiki.widgets and mw.widgets.TitleInputWidget in it
James D. Forrester [Fri, 24 Apr 2015 16:33:41 +0000 (09:33 -0700)]
Create mediawiki.widgets and mw.widgets.TitleInputWidget in it

Change-Id: I43fb412ff65271fd411b14352784cb92f1f5487b

8 years agoMerge "list=categorymembers: Do not log feature usage when using default value"
jenkins-bot [Sun, 31 May 2015 17:11:49 +0000 (17:11 +0000)]
Merge "list=categorymembers: Do not log feature usage when using default value"

8 years agoRemove mw-ui-icon*:after
jdlrobson [Tue, 26 May 2015 19:41:54 +0000 (21:41 +0200)]
Remove mw-ui-icon*:after

Not being used anywhere from what I can see.

Change-Id: I83cff1444a12fdd390f78dd1c09b5b09b0c84704

8 years agoFix to digits grouping rule
Pikne [Sun, 31 May 2015 09:30:29 +0000 (09:30 +0000)]
Fix to digits grouping rule

Avoid grouping in negative numbers too.
Following the example of LanguagePl.php

Bug: T94300
Change-Id: Ib96616497507c9347cc72f894243b583619c2b11

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 30 May 2015 20:33:13 +0000 (22:33 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I4d6988a77f0414b4906f123d888f930b9cdfe253

8 years agolist=categorymembers: Do not log feature usage when using default value
umherirrender [Sat, 30 May 2015 17:38:04 +0000 (19:38 +0200)]
list=categorymembers: Do not log feature usage when using default value

list=categorymembers&cmstartsortkey was logged even the default value
was set

Bug: T100878
Change-Id: Idc52fe0c208216bc3e475d0e4b2e398cb73a6b80

8 years agoDeferredUpdates doc comment tweak
Aaron Schulz [Wed, 27 May 2015 19:40:02 +0000 (12:40 -0700)]
DeferredUpdates doc comment tweak

Change-Id: Ib58bcb065ef7fac58c3c579eb0ca45e51ccdae11

8 years agoQA: Upgrade mediawiki_selenium to 1.2 for Raita logging
Dan Duvall [Thu, 28 May 2015 19:08:35 +0000 (12:08 -0700)]
QA: Upgrade mediawiki_selenium to 1.2 for Raita logging

Change-Id: I4c6bddca1a7c964f3e8543ff7853565505485c51

8 years agoFixed Job constructor IDE notices about variable types
Aaron Schulz [Thu, 21 May 2015 18:02:35 +0000 (11:02 -0700)]
Fixed Job constructor IDE notices about variable types

Change-Id: I4b4e4e38e8d416c3445c52ced311f5fbfcde868a

8 years agoregistration: Don't hardcode list of extension types in schema
Kunal Mehta [Fri, 29 May 2015 23:07:03 +0000 (16:07 -0700)]
registration: Don't hardcode list of extension types in schema

Extension types can be added via a hook, so don't try and validate
against a hardcoded list.

Change-Id: I0bc6fbcedc0b582b81c7037724ad01441ae415f6

8 years agoregistration: Improve ResourceModules schema definition
Kunal Mehta [Fri, 29 May 2015 23:06:10 +0000 (16:06 -0700)]
registration: Improve ResourceModules schema definition

* "-" is a valid character in module names
* debugScripts, loaderScripts, dependencies, and messages can all be
strings in addition to arrays.

Change-Id: I76570ebf1cb02ca51c5185d4b0c48a553a0e7d2f

8 years agoCleaned up various revisiondelete IDE warnings
Aaron Schulz [Fri, 22 May 2015 18:18:12 +0000 (11:18 -0700)]
Cleaned up various revisiondelete IDE warnings

Change-Id: I4750eabf9985785520aaac8eca12d488ca746966

8 years agoRefactored entry points to have uniform shutdown handling
Aaron Schulz [Wed, 20 May 2015 23:32:20 +0000 (16:32 -0700)]
Refactored entry points to have uniform shutdown handling

* Added doPreOutputCommit() and doPostOutputShutdown(),
  which most entry points just using the later
* Also fixed problem where text profiling did not show up
* Avoid calling triggerJobs() in the file streaming
  entry points

Bug: T100127
Bug: T100085
Change-Id: Ibc7e768fd483389a01847f08cdeba4058c853d3f

8 years agoMerge "Make ResourceLoaderWikiModule support custom position"
jenkins-bot [Fri, 29 May 2015 20:40:19 +0000 (20:40 +0000)]
Merge "Make ResourceLoaderWikiModule support custom position"

8 years agoMake ResourceLoaderWikiModule support custom position
Gilles Dubuc [Fri, 29 May 2015 20:00:17 +0000 (22:00 +0200)]
Make ResourceLoaderWikiModule support custom position

Bug: T97410
Change-Id: Ib1180c5b2126f4ba8ac5b54578fcce18a3f35d85

8 years agoApiOpenSearch: Ignore any other unexpected keys in json output
Brad Jorsch [Thu, 28 May 2015 14:38:19 +0000 (10:38 -0400)]
ApiOpenSearch: Ignore any other unexpected keys in json output

Iad295d2f fixed warnings to not break the opensearch json output. But
other stuff like $wgDebugToolbar can do the same thing, so let's strip
all unrecognized keys to avoid that problem.

Bug: T100635
Change-Id: I20b6502482af537ccb703f400508960038213a91

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 29 May 2015 20:01:23 +0000 (22:01 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I202e3eff5b911eaf11f960c66e3d2d5bc95e1d0f

8 years agoAPI: Add more parameter types and improve info
Brad Jorsch [Thu, 7 May 2015 16:39:55 +0000 (12:39 -0400)]
API: Add more parameter types and improve info

New types 'text' and 'password' for where a <textarea> or
<input type="password"> would be preferred over <input type="text">.

Some timestamp parameters get actually tagged as 'timestamp'.

'submodule' types change the 'submodules' output property from a boolean
to an object indicating the mapping from values to module paths. And
they get an indication of the submodule parameter prefix (e.g.
generator's "g"), if applicable. "generator" actually gets reported as a
submodule type, using this new mechanism.

action=paraminfo will now indicate ApiBase::PARAM_RANGE_ENFORCE status,
and return better-formatted defaults for timestamps and booleans.

Change-Id: Ic862d6f8fe13f7eb6b4298683514d33af5823e47

8 years agoMerge "Cleaned up JobQueueRedis exceptions"
jenkins-bot [Fri, 29 May 2015 18:50:54 +0000 (18:50 +0000)]
Merge "Cleaned up JobQueueRedis exceptions"

8 years agoMerge "registration: Remove unused variable"
jenkins-bot [Fri, 29 May 2015 15:24:51 +0000 (15:24 +0000)]
Merge "registration: Remove unused variable"

8 years agoMerge "Update context stats in SiteStatsUpdate"
jenkins-bot [Fri, 29 May 2015 05:37:16 +0000 (05:37 +0000)]
Merge "Update context stats in SiteStatsUpdate"

8 years agoUpdate context stats in SiteStatsUpdate
Ori Livneh [Fri, 29 May 2015 00:55:17 +0000 (17:55 -0700)]
Update context stats in SiteStatsUpdate

In addition to updating the database / memcached, make SiteStatsUpdate also
update the context stats object with the deltas it is processing.

Change-Id: Icc12c07ab4233e1105a402b80d290bdb64df6ea7

8 years agoregistration: Fix types of ResourceModules properties
Kunal Mehta [Fri, 29 May 2015 00:31:16 +0000 (17:31 -0700)]
registration: Fix types of ResourceModules properties

styles and scripts can both be strings, and that is treated as if that was
the first value in the array.

style can be used as an object, the filename is the key, and value can be an
object that states what media type the stylesheet is for. An example of this
can be seen in the MonoBook skin.

Change-Id: If7d3a220cdccbb1ce096d776592535fe5782a954

8 years agoregistration: Version the extension.json schema
Kunal Mehta [Wed, 20 May 2015 01:45:10 +0000 (18:45 -0700)]
registration: Version the extension.json schema

Versioning the extension.json schema will allow us to make breaking changes
to the schema in a non-breaking manner.

Extensiosn and skins will set a 'manifest_version' value, stating which
version of the schema the file is written for. Processor::extractInfo() will
be  passed the version number, and can switch behavior depending upon it.

For backwards-compatability, a version number of 1 is assumed if none is set.
The validateRegistrationFile.php script will emit a warning if this is the
case.

Bug: T99344
Change-Id: I2086a1465ceaeedd1ccc6804fda2c304ad16ffa0

8 years agoregistration: Remove unused variable
Kunal Mehta [Thu, 28 May 2015 21:09:34 +0000 (14:09 -0700)]
registration: Remove unused variable

It is immediately overwritten. Follows up c573fc5a47204d29314.

Change-Id: I901cfebe088ca0020323db03378fe23117bb3985

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 28 May 2015 20:26:31 +0000 (22:26 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I9c9efe2b5b83d4971ef8ebddb7c4ce57006365a2

8 years agoMerge "Don't run phpcs on node_modules folder"
jenkins-bot [Thu, 28 May 2015 18:28:35 +0000 (18:28 +0000)]
Merge "Don't run phpcs on node_modules folder"

8 years agoWarn when duplicate arguments are found
Jackmcbarn [Fri, 24 Oct 2014 16:09:36 +0000 (12:09 -0400)]
Warn when duplicate arguments are found

Currently, duplicate arguments result in a categorization but not a
warning, and it's often difficult to find where in the template hierarchy
the problem lies. This causes a warning to be provided containing the
calling page's name, the called template's name, and the parameter's name.

Bug: T85352
Change-Id: I26b9a7ed5a2f246d00a49a5f6effe40b4443a9d0

8 years agoDon't run phpcs on node_modules folder
jdlrobson [Thu, 28 May 2015 17:08:42 +0000 (19:08 +0200)]
Don't run phpcs on node_modules folder

This is an artifact created by npm in certain modules. These modules
may contain PHP e.g. grunt-phpdocumentor

Change-Id: Ie46bceb5acbe6141d1e0dc4d3397d04f41d01485

8 years agoOOUIHTMLForm: Access context after parent constructor is called
Kunal Mehta [Thu, 28 May 2015 06:02:58 +0000 (23:02 -0700)]
OOUIHTMLForm: Access context after parent constructor is called

This avoids "ContextSource::getContext (OOUIHTMLForm): called and $context
is null. Using RequestContext::getMain() for sanity"

Change-Id: I20c2bb58b3a0e5e259241a3715ee8fdf4b57e148

8 years agoHTMLForm::factory() doesn't throw MWExceptions
Kunal Mehta [Thu, 28 May 2015 05:37:33 +0000 (22:37 -0700)]
HTMLForm::factory() doesn't throw MWExceptions

Change-Id: I0104bf1dd9ebb813aa37f92b21515a964ca2a709

8 years agoMerge "Bump composer-merge-plugin to v1.1.0"
Bryan Davis [Thu, 28 May 2015 03:54:03 +0000 (03:54 +0000)]
Merge "Bump composer-merge-plugin to v1.1.0"

8 years agoBump composer-merge-plugin to v1.1.0
Bryan Davis [Thu, 28 May 2015 00:39:06 +0000 (18:39 -0600)]
Bump composer-merge-plugin to v1.1.0

Bug: T97560
Change-Id: Idc3ae196f7fc9483f5c474b32d92e30be8325d62

8 years agoMerge "Revert "Convert mediawiki.toc and mediawiki.user to using mw.cookie""
jenkins-bot [Thu, 28 May 2015 00:54:49 +0000 (00:54 +0000)]
Merge "Revert "Convert mediawiki.toc and mediawiki.user to using mw.cookie""

8 years agoRevert "Convert mediawiki.toc and mediawiki.user to using mw.cookie"
MaxSem [Thu, 28 May 2015 00:45:35 +0000 (00:45 +0000)]
Revert "Convert mediawiki.toc and mediawiki.user to using mw.cookie"

Caused a meltdown in production.

DO NOT MERGE COOKIE CHANGES WITHOUT AN OK FROM OPS

This reverts commit a4d3d3b4277137b765ceab8752f5562dd27928d3.

Change-Id: I40f0c2141e25ad37af0babfa95421915adce496b

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 27 May 2015 19:44:57 +0000 (21:44 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ibfc0b3b833ef6389f5ca73a0f276da2e58929152

8 years agoMerge "Log what job types were never inserted"
jenkins-bot [Wed, 27 May 2015 18:19:12 +0000 (18:19 +0000)]
Merge "Log what job types were never inserted"

8 years agoMerge "Bypass TransformTooBigImageAreaError for ForeignApiFile"
jenkins-bot [Wed, 27 May 2015 16:47:54 +0000 (16:47 +0000)]
Merge "Bypass TransformTooBigImageAreaError for ForeignApiFile"

8 years agoLog what job types were never inserted
Erik Bernhardson [Wed, 27 May 2015 14:13:33 +0000 (16:13 +0200)]
Log what job types were never inserted

I am seeing a constant stream of

Notice: JobQueueGroup::__destruct: 1 buffered job(s) never inserted. in
/srv/mediawiki/php-1.26wmf6/includes/jobqueue/JobQueueGroup.php on line 419

In the production logfiles.  Log what type of jobs these are so we can figure out
how to fix them.

Change-Id: I7beca910d8c4b20aa20bdec4883e399fd94fbcfd

8 years agoMerge "Do not load mw-ui-icon-ok in icons pack"
jenkins-bot [Wed, 27 May 2015 10:06:02 +0000 (10:06 +0000)]
Merge "Do not load mw-ui-icon-ok in icons pack"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 26 May 2015 19:53:12 +0000 (21:53 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I2ec18fd0b189c9fdd0590d89a740e28883091f48

8 years agoDo not load mw-ui-icon-ok in icons pack
jdlrobson [Tue, 26 May 2015 19:36:00 +0000 (21:36 +0200)]
Do not load mw-ui-icon-ok in icons pack

The library should not provide any icons. This is an unused css rule
that is being shipped to all our users.

Change-Id: I6f237ffc1ed7dccbab68666d5c219f05178a1e1b

8 years agoMerge "Process cache tagUsageStatistics() to improve performance"
jenkins-bot [Tue, 26 May 2015 15:16:16 +0000 (15:16 +0000)]
Merge "Process cache tagUsageStatistics() to improve performance"

8 years agoMerge "Removed partly obsolete and redundant BagOStuff comment"
jenkins-bot [Tue, 26 May 2015 15:14:41 +0000 (15:14 +0000)]
Merge "Removed partly obsolete and redundant BagOStuff comment"

8 years agoMerge "Remove mediawiki.action.history group"
jenkins-bot [Tue, 26 May 2015 13:10:41 +0000 (13:10 +0000)]
Merge "Remove mediawiki.action.history group"

8 years agoExplicitly define filepage module position
Gilles Dubuc [Tue, 26 May 2015 10:11:35 +0000 (12:11 +0200)]
Explicitly define filepage module position

Style modules currently added through addModuleStyles default
to being in the head ("top" position). This is an unhealthy default,
since only critical styles that are needed at pageload should be
in the head. In order to be able to switch the default to "bottom",
existing module positions have to be defined explicitly.

Bug: T97410
Change-Id: Id98b9eb46ef56a43bae99830f7db554c90073407

8 years agoBypass TransformTooBigImageAreaError for ForeignApiFile
umherirrender [Sat, 24 Jan 2015 17:30:17 +0000 (18:30 +0100)]
Bypass TransformTooBigImageAreaError for ForeignApiFile

The check if the image area is smaller than $wgMaxImageArea can be
bypassed for ForeignApiFile, because the transform of the file is done
on another physical server and therefore has it own check for
$wgMaxImageArea.
A possible TransformTooBigImageAreaError from the foreign server will be
shown when needed (Prepended by message 'thumbnail_error_remote').

Bug: T34387
Change-Id: Iccb25c00e132a4fe744840b7b8db7d9af620bce2

8 years agoRemoved partly obsolete and redundant BagOStuff comment
Aaron Schulz [Tue, 26 May 2015 03:33:55 +0000 (20:33 -0700)]
Removed partly obsolete and redundant BagOStuff comment

Change-Id: I265912276af8f2bcdba4e49b4cc522df0a39a5db

8 years agoFixed regression from 97b2a1dfd with URL specified edit tags
Aaron Schulz [Mon, 25 May 2015 18:29:34 +0000 (11:29 -0700)]
Fixed regression from 97b2a1dfd with URL specified edit tags

Bug: T100248
Change-Id: I2688356cd5f628dca395d1caaa82b9a5b21c025e

8 years agoMake the output of UnifiedDiffFormatter match diff -u
Ori Livneh [Tue, 26 May 2015 01:35:59 +0000 (03:35 +0200)]
Make the output of UnifiedDiffFormatter match diff -u

GNU 'diff -u' prefixes each line with either a space, a '+', or a '-'.
UnifiedDiffFormatter does the same, but it also adds an additional column of
whitespace between the prefix and the line. GNU diff only does that in
non-unified mode.

Fix this by implementing lines() in UnifiedDiffFormatter, overriding the parent
class implementation.

Bug: T100069
Change-Id: I1bf1b8e6d1d5aceb2c3836548f492f7edebe5a12

8 years agoRemove mediawiki.action.history group
Ori Livneh [Mon, 25 May 2015 23:52:08 +0000 (01:52 +0200)]
Remove mediawiki.action.history group

Per task: "This group was added as a misguided patch for T29418. The proper
solution to the problem reported there is to use the top queue (which didn't
even exist at the time; and still isn't being used for these modules!).  A
separate group is harmful, because it causes an extra RL request for things
that depend on diff styles (like VisualEditor)."

Bug: T90842
Change-Id: Ie008316791558749ee3adca45a941ccfd99914b9

8 years agoAdd ability to load plain CSS files at the bottom
Gilles Dubuc [Mon, 25 May 2015 14:04:57 +0000 (16:04 +0200)]
Add ability to load plain CSS files at the bottom

Currently all styles modules added to the page using
addModuleStyles are put into the head, regardless
of their "position" value.

Bug: T97420
Change-Id: Ie4287e17d6f298cc63f42f257b1f67ee36961b77

8 years agoSVG upload with specific error (warning) message when blocking
Ubuntu [Thu, 5 Mar 2015 08:02:34 +0000 (08:02 +0000)]
SVG upload with specific error (warning) message when blocking

This patch is to generate specific error (warning) message when
blocking an svg file.

The checkSvgScriptCallback function has been updated, and it's
return type is changed from boolean to array.

A new variable is added to XmlTypeCheck class that contains the
type of error when svg file is uploaded, which is used to generate
concrete error messages later on.

I have added concrete error messages to i18n/en.json and their description
to qqq.json file. Please review the error messages and their description.

Bug: T85924
Change-Id: I3f687bf5b86ce66b703591b85fd03f073aacff4f

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 25 May 2015 19:57:10 +0000 (21:57 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I51170c4c3f422d8d4dc322be978ce0901d96ed1d

8 years agoMerge "Provide a .mailmap file to make git log/etc. cleaner"
jenkins-bot [Mon, 25 May 2015 19:37:32 +0000 (19:37 +0000)]
Merge "Provide a .mailmap file to make git log/etc. cleaner"

8 years agoProvide a .mailmap file to make git log/etc. cleaner
James D. Forrester [Mon, 25 May 2015 13:46:11 +0000 (15:46 +0200)]
Provide a .mailmap file to make git log/etc. cleaner

Produced via `git shortlog REL1_24..master --no-merges --oneline --stat -sne`,
and then manual pruning and merging.

Change-Id: Ic2dc9c9117e790f4b9e2b745bec46d6306a43a87

8 years agoIntroduce ParserCacheSaveComplete hook.
daniel [Wed, 20 May 2015 12:15:17 +0000 (14:15 +0200)]
Introduce ParserCacheSaveComplete hook.

Rationale: give extensions a way to track which "renderings"
of a page exist in the cache. This is particularly relevant
for multi-lingual wikis that splpit the parser cache by user
language on some pages. In that case, hooking into
ParserAfterParse or LinksUpdateComplete is insufficient to
track all language specific renderings.

Bug: T99511
Change-Id: Iebf526098ca837a7df637c650097119495000c81

8 years agoMove 1.25 Release Notes to HISTORY
Tyler Cipriani [Mon, 25 May 2015 12:08:30 +0000 (05:08 -0700)]
Move 1.25 Release Notes to HISTORY

Change-Id: I28d2fee8e287a62a6597fa3ddcec893bd5b7d159

8 years agoMerge "Don't localize parentheses in version number in parserTests.php"
jenkins-bot [Mon, 25 May 2015 11:49:52 +0000 (11:49 +0000)]
Merge "Don't localize parentheses in version number in parserTests.php"

8 years agoMerge "registration: Fix 'ResourceModules' in schema"
jenkins-bot [Mon, 25 May 2015 10:23:30 +0000 (10:23 +0000)]
Merge "registration: Fix 'ResourceModules' in schema"

8 years agoMerge "add link description to wantedpages-summary"
jenkins-bot [Mon, 25 May 2015 10:20:17 +0000 (10:20 +0000)]
Merge "add link description to wantedpages-summary"

8 years agoadd link description to wantedpages-summary
Douglas Gardner [Sun, 24 May 2015 09:42:39 +0000 (11:42 +0200)]
add link description to wantedpages-summary

https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Wantedpages-summary/en

Change-Id: I0ee6fb312bf57be0a775e68553351b6094738d64

8 years agoregistration: Fix 'ResourceModules' in schema
Kunal Mehta [Mon, 25 May 2015 10:05:05 +0000 (12:05 +0200)]
registration: Fix 'ResourceModules' in schema

Change-Id: I6fb833133a6d6bde42cb40eb8fd7e02f7ca9797a

8 years agoMerge "jquery.tipsy: Improve accessibility slightly"
jenkins-bot [Mon, 25 May 2015 08:41:49 +0000 (08:41 +0000)]
Merge "jquery.tipsy: Improve accessibility slightly"

8 years agoMerge "Introduce wikipage.editform hook"
jenkins-bot [Mon, 25 May 2015 08:34:09 +0000 (08:34 +0000)]
Merge "Introduce wikipage.editform hook"

8 years agoMerge "Follow-up a43af3bc: Add Import integration test"
jenkins-bot [Mon, 25 May 2015 08:20:42 +0000 (08:20 +0000)]
Merge "Follow-up a43af3bc: Add Import integration test"

8 years agoIntroduce wikipage.editform hook
Derk-Jan Hartman [Mon, 30 Mar 2015 21:19:37 +0000 (23:19 +0200)]
Introduce wikipage.editform hook

* New wikipage.editform hook (Bug T53583)
* Make editpage module emit wikipage.editform
* Make collapsibleFooter setup the .hiddencats .limitreport and
  .templatesUsed elements from the wikipage.editform hook

Bug: T55918
Change-Id: I515f7cdf4a6bbff2da3670946a12dc8027507226

8 years agoFollow-up a43af3bc: Add Import integration test
Kunal Mehta [Thu, 12 Feb 2015 00:24:23 +0000 (16:24 -0800)]
Follow-up a43af3bc: Add Import integration test

Previously failing test until fixed by a43af3bc.

Bug: T89307
Change-Id: I2be12fa7d439ba4ad7e00fdd0f73495322c870a6

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 24 May 2015 20:23:44 +0000 (22:23 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Ief31d3f05bd25c74872dcb8c2f61471242a880e0

8 years agoMerge "Reset Title cache when importing titles."
jenkins-bot [Sun, 24 May 2015 16:16:30 +0000 (16:16 +0000)]
Merge "Reset Title cache when importing titles."

8 years agoReset Title cache when importing titles.
daniel [Sun, 24 May 2015 15:50:24 +0000 (17:50 +0200)]
Reset Title cache when importing titles.

WikiImporter now uses NaiveImportTitleFactory, which in turn uses Title::makeTitleSafe,
bypassing the internal title cache. To avoid (potentially cached) Title objects obtained
via Title::newFromText getting out of sync, WikiImporter now clears the title
cache in addition to clearing the LinkCache.

NOTE: a test for this is provided by I2be12fa7d439b.

Bug: T89307
Change-Id: Ib50c48d4797fc21c62090c0be69e87f7e7d07428

8 years agoMerge "HISTORY: Note new $wgThumbnailBuckets as of 1.24.0"
jenkins-bot [Sun, 24 May 2015 15:50:24 +0000 (15:50 +0000)]
Merge "HISTORY: Note new $wgThumbnailBuckets as of 1.24.0"

8 years agoHISTORY: Note new $wgThumbnailBuckets as of 1.24.0
Jesús Martínez Novo [Sun, 24 May 2015 13:50:34 +0000 (15:50 +0200)]
HISTORY: Note new $wgThumbnailBuckets as of 1.24.0

Follow-up of 02ca7bff9b100f9def06dad4b28fe6fdc2c26b44

Bug: T78053
Change-Id: I625fee0c4ba85f80396ea396f3fc0019c612ff76

8 years agoInstaller: fix images in CSS
Chad Horohoe [Sun, 24 May 2015 13:06:54 +0000 (15:06 +0200)]
Installer: fix images in CSS

Paths are tricky and installer code is old and ugly. Somebody
should really clean this up. Prep the paths always, not just
on the environment checks page.

Co-Authored-By: Timo Tijhof <krinklemail@gmail.com>
Bug: T100145
Change-Id: I4e55c59c2bed0dc94e6bc3a8c59709ec80822235

8 years agoMerge "Implement OOUI display format for HTMLForm"
jenkins-bot [Sun, 24 May 2015 12:22:29 +0000 (12:22 +0000)]
Merge "Implement OOUI display format for HTMLForm"

8 years agoMerge "resourceloader: Rename ResourceLoaderImageModule::ensureStuffLoaded to loadFro...
jenkins-bot [Sun, 24 May 2015 11:30:30 +0000 (11:30 +0000)]
Merge "resourceloader: Rename ResourceLoaderImageModule::ensureStuffLoaded to loadFromDefinition"

8 years agoMerge "installer: Export wgResourceBasePath in LocalSettingsGenerator"
jenkins-bot [Sun, 24 May 2015 11:28:15 +0000 (11:28 +0000)]
Merge "installer: Export wgResourceBasePath in LocalSettingsGenerator"

8 years agoresourceloader: Rename ResourceLoaderImageModule::ensureStuffLoaded to loadFromDefinition
Bartosz Dziewoński [Sat, 23 May 2015 17:06:06 +0000 (19:06 +0200)]
resourceloader: Rename ResourceLoaderImageModule::ensureStuffLoaded to loadFromDefinition

The name was a result of my having a bad day when I wrote that code.

Change-Id: I6b729764a963563f0820b8063c3d04f6e676c61e

8 years agoInstaller: use proto-relative URLs for license picker
Chad Horohoe [Sun, 24 May 2015 09:49:59 +0000 (11:49 +0200)]
Installer: use proto-relative URLs for license picker

While encouraging HTTPS is nice, you pass styling to the CC picker
and when installing on a non-HTTPS host you end up with mixed
content warnings.

Bug: T100146
Change-Id: Iad706072b1b14b0ce2fb1c1597aae46e8ec15136

8 years agoMerge "API: Ignore META_BC_SUBELEMENTS elements that aren't actually set"
jenkins-bot [Sun, 24 May 2015 09:48:20 +0000 (09:48 +0000)]
Merge "API: Ignore META_BC_SUBELEMENTS elements that aren't actually set"

8 years agoMerge "On missing php-xml, don't mention Mandrake explicitly in the installer"
jenkins-bot [Sun, 24 May 2015 09:41:01 +0000 (09:41 +0000)]
Merge "On missing php-xml, don't mention Mandrake explicitly in the installer"

8 years agoinstaller: Export wgResourceBasePath in LocalSettingsGenerator
Timo Tijhof [Sun, 24 May 2015 09:30:21 +0000 (11:30 +0200)]
installer: Export wgResourceBasePath in LocalSettingsGenerator

wgRightsIcon uses wgResourceBasePath in its value, therefore it
must be exported first. Otherwise $wgResourceBasePath will still
be null (as from DefaultSettings.php) and cause an incorrect
value to be assigned.

Also fix $wgLogo to use wgResourceBasePath instead of wgScriptPath,
to match what Setup.php does already.

Bug: T75031
Change-Id: I6f18895f3caa50871327eec108fc7d70c1077f1e

8 years agoMerge "Export allowed tags from Sanitizer to mediawiki.jqueryMsg"
jenkins-bot [Sun, 24 May 2015 08:56:15 +0000 (08:56 +0000)]
Merge "Export allowed tags from Sanitizer to mediawiki.jqueryMsg"

8 years agoExport allowed tags from Sanitizer to mediawiki.jqueryMsg
Brad Jorsch [Sat, 23 May 2015 06:48:55 +0000 (08:48 +0200)]
Export allowed tags from Sanitizer to mediawiki.jqueryMsg

Specifically, we export only those that are allowed to be paired,
because its parser doesn't handle self-closing tags.

Bug: T66740
Change-Id: I9944f9af915715c57a7d9ce3c62c3e61e54a75ba

8 years agoProcess cache tagUsageStatistics() to improve performance
Aaron Schulz [Sun, 24 May 2015 07:59:49 +0000 (00:59 -0700)]
Process cache tagUsageStatistics() to improve performance

Change-Id: I4a95c00d84c216ad08f30f0971877dfb728f86ff

8 years agoOn missing php-xml, don't mention Mandrake explicitly in the installer
Nemo bis [Thu, 14 May 2015 13:23:08 +0000 (15:23 +0200)]
On missing php-xml, don't mention Mandrake explicitly in the installer

"Mandrake" would be "Mageia" now, but the package advice may apply (or
not) to other distributions as well as the package exists in multiple.

https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Config-xml-bad/es

Change-Id: I6910e0400f2ad9f97f54cb970165d1146d6bf0a2

8 years agoXMP: Use structured logging instead of wfDebugLog
Kunal Mehta [Sat, 23 May 2015 21:34:25 +0000 (23:34 +0200)]
XMP: Use structured logging instead of wfDebugLog

Co-Authored-By: Brian Wolff <bawolff+wn@gmail.com>
Change-Id: I486192a718576a4d1e585ffb390e297b14dde087

8 years agoMerge "XMP: Throw generic exceptions instead of MWException"
jenkins-bot [Sat, 23 May 2015 21:36:55 +0000 (21:36 +0000)]
Merge "XMP: Throw generic exceptions instead of MWException"

8 years agoXMP: Throw generic exceptions instead of MWException
Kunal Mehta [Sat, 23 May 2015 21:26:16 +0000 (23:26 +0200)]
XMP: Throw generic exceptions instead of MWException

Change-Id: I8bd81cfccedaa6f474e541b71c93c66150b6f7b3

8 years agoMerge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sat, 23 May 2015 21:24:54 +0000 (21:24 +0000)]
Merge "Localisation updates from https://translatewiki.net."