lhc/web/wiklou.git
10 years agoSplit mocks/media/MockBitmaphandler file
addshore [Fri, 15 Nov 2013 22:48:36 +0000 (23:48 +0100)]
Split mocks/media/MockBitmaphandler file

Change-Id: Idc231e8fd1f1ad1e4173e7c0bddfbec4efaad96b

10 years agoMerge "Fix CodeSniffer errors and warnings on yet more API classes"
jenkins-bot [Fri, 15 Nov 2013 18:06:20 +0000 (18:06 +0000)]
Merge "Fix CodeSniffer errors and warnings on yet more API classes"

10 years agoMerge "resourceloader: Use state "error" instead of "missing" in case of exceptions"
jenkins-bot [Fri, 15 Nov 2013 18:01:46 +0000 (18:01 +0000)]
Merge "resourceloader: Use state "error" instead of "missing" in case of exceptions"

10 years agoMerge "Exclude override to make method public from checks"
jenkins-bot [Fri, 15 Nov 2013 17:59:15 +0000 (17:59 +0000)]
Merge "Exclude override to make method public from checks"

10 years agoMerge "Update docs for files in includes/actions/"
jenkins-bot [Fri, 15 Nov 2013 17:57:21 +0000 (17:57 +0000)]
Merge "Update docs for files in includes/actions/"

10 years agoMerge "Fix CodeSniffer errors and warnings on some API classes"
jenkins-bot [Fri, 15 Nov 2013 17:55:23 +0000 (17:55 +0000)]
Merge "Fix CodeSniffer errors and warnings on some API classes"

10 years agoFix CodeSniffer errors and warnings on yet more API classes
Siebrand Mazeland [Thu, 14 Nov 2013 13:58:14 +0000 (14:58 +0100)]
Fix CodeSniffer errors and warnings on yet more API classes

Change-Id: I67739a0b7c456f3684abea84833753e79a485c07

10 years agoFix CodeSniffer errors and warnings on some API classes
Siebrand Mazeland [Thu, 14 Nov 2013 13:31:56 +0000 (14:31 +0100)]
Fix CodeSniffer errors and warnings on some API classes

Change-Id: Id5fd7180f3a1d62663f79b27ad5108062607596a

10 years agoMerge "API: Allow filtering keys in iiprop=extmetadata"
jenkins-bot [Fri, 15 Nov 2013 17:38:58 +0000 (17:38 +0000)]
Merge "API: Allow filtering keys in iiprop=extmetadata"

10 years agoMove new hook release note to correct release notes file
Matthias Mullie [Fri, 15 Nov 2013 17:19:01 +0000 (18:19 +0100)]
Move new hook release note to correct release notes file

Change-Id: I6dbc37ef55c343d95ff1e06d50c3f9215604b9bc

10 years agoGive extensions a chance to hide their (unrelated) log entries
Matthias Mullie [Tue, 29 Oct 2013 11:15:18 +0000 (12:15 +0100)]
Give extensions a chance to hide their (unrelated) log entries

Change-Id: Id8b0f29d6e2ac9d7cab8f3d1efcb202062a6ad0b

10 years agoExpanded use of reauthenticateConnection() beyond just Lua calls
Aaron Schulz [Tue, 12 Nov 2013 17:39:47 +0000 (09:39 -0800)]
Expanded use of reauthenticateConnection() beyond just Lua calls

* Also made it so luaEval() does not clear any previous errors to callers.
  None of the native methods have that behavoir, so this is more consistent.

Bug: 56886
Change-Id: I47d0f52e72b35ec5cb7b92b9cc3488f145b2d7a2

10 years agoresourceloader: Use state "error" instead of "missing" in case of exceptions
Timo Tijhof [Thu, 17 Oct 2013 10:33:26 +0000 (12:33 +0200)]
resourceloader: Use state "error" instead of "missing" in case of exceptions

Changes:
* If we catch an exception while making the response for a module, set its
  client state to "error" instead of "missing".
  State "missing" should only be used if the module could not be
  found in the registry.
  This matches the behaviour of the client.

Clean up:
* Merge the two mw.loader.state calls into one.
* Add @throws documentation for compileLESSFile (follows-up cdc8b9e).
* Don't use 3 different ways to assert an array being empty,
  using 1 and sticking to it.
  - !$arr
  - $arr === array()
  - count( $arr )

Change-Id: I54c3de6d836702ffbe3044bc58a38e83e758bc33

10 years agoMerge "SECURITY: Don't cache when a call could autocreate"
jenkins-bot [Thu, 14 Nov 2013 22:51:32 +0000 (22:51 +0000)]
Merge "SECURITY: Don't cache when a call could autocreate"

10 years agoMerge "SECURITY: Improve css javascript detection"
jenkins-bot [Thu, 14 Nov 2013 22:47:13 +0000 (22:47 +0000)]
Merge "SECURITY: Improve css javascript detection"

10 years agoSECURITY: Don't cache when a call could autocreate
csteipp [Thu, 14 Nov 2013 22:36:24 +0000 (14:36 -0800)]
SECURITY: Don't cache when a call could autocreate

Fixes for action=raw (used when sites include other site's javascript),
and stashed images.

Bug: 53032
Change-Id: I8f915f6a4756f750c74d9ee9bec58f7ba6c0c827

10 years agoMerge "Add --noredirects parameter to moveBatch.php"
jenkins-bot [Thu, 14 Nov 2013 22:34:32 +0000 (22:34 +0000)]
Merge "Add --noredirects parameter to moveBatch.php"

10 years agoSECURITY: Improve css javascript detection
csteipp [Tue, 8 Oct 2013 23:16:17 +0000 (16:16 -0700)]
SECURITY: Improve css javascript detection

* Forbid vertical tabs
* Convert Fullwidth, sup/sub script, IPA, and repetition unicode to
ascii, for ie6

Bug: 55332
Change-Id: I41a71b5b8fbecadd0f958cf57cc90d4c2fd9366e

10 years agoFix revdelete radio button labels
Brad Jorsch [Thu, 14 Nov 2013 21:23:03 +0000 (16:23 -0500)]
Fix revdelete radio button labels

Apparently I4263e9e1 was merged without anyone checking to be sure the
new messages were actually correct.

Bug: 56210
Change-Id: I13c6470bf9b0c15326b0bcae15885f432d4b1d2d

10 years agoAdd --noredirects parameter to moveBatch.php
tisane [Thu, 14 Nov 2013 21:11:41 +0000 (16:11 -0500)]
Add --noredirects parameter to moveBatch.php

Bug: 57077
Change-Id: I8dc1cdc365c5ba09106b9562ce2768fdcf8e5b95

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 14 Nov 2013 20:33:01 +0000 (20:33 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ideeacc16459d1046cc9546a49f283f46882e1308

10 years agoMove wikiGetLink rename from 1.23 to 1.22 RELEASE-NOTES
Roan Kattouw [Thu, 14 Nov 2013 19:46:47 +0000 (11:46 -0800)]
Move wikiGetLink rename from 1.23 to 1.22 RELEASE-NOTES

I8704a6620ece was backported to 1.22

Change-Id: I484fc8beb2b8afa5fe8ac7ec489abb4c226f2c42

10 years agoAPI: Allow filtering keys in iiprop=extmetadata
Brad Jorsch [Thu, 14 Nov 2013 19:26:00 +0000 (14:26 -0500)]
API: Allow filtering keys in iiprop=extmetadata

Requesting iiprop=extmetadata can return a *lot* of meta data, when the
client may only be interested in certain keys. This adds a
"iiextmetadatafilter" parameter to allow the client to indicate which
keys it cares about.

Change-Id: Ie2185ec285e40359fffab4932bff8cab16071a53

10 years agoMerge "Fix the fix: "? :" -> "?:""
jenkins-bot [Thu, 14 Nov 2013 19:17:23 +0000 (19:17 +0000)]
Merge "Fix the fix: "? :" -> "?:""

10 years agoExclude override to make method public from checks
Siebrand Mazeland [Thu, 14 Nov 2013 12:24:23 +0000 (13:24 +0100)]
Exclude override to make method public from checks

Change-Id: I66df2efa5900c5a192ae88217e736b7fc7335dcd

10 years agoUpdate docs for files in includes/actions/
Siebrand Mazeland [Thu, 14 Nov 2013 12:08:14 +0000 (13:08 +0100)]
Update docs for files in includes/actions/

Change-Id: I99655ad3df4bc252e3c176e4f465f5ecd615c55f

10 years agoMerge "The light at the end of the API code format updating tunnel"
jenkins-bot [Thu, 14 Nov 2013 19:03:45 +0000 (19:03 +0000)]
Merge "The light at the end of the API code format updating tunnel"

10 years agoMerge "I'm in your API classes updating your formatting"
jenkins-bot [Thu, 14 Nov 2013 18:56:16 +0000 (18:56 +0000)]
Merge "I'm in your API classes updating your formatting"

10 years agoMerge "Update formatting, return of the API classes"
jenkins-bot [Thu, 14 Nov 2013 18:50:16 +0000 (18:50 +0000)]
Merge "Update formatting, return of the API classes"

10 years agoFix the fix: "? :" -> "?:"
Siebrand Mazeland [Thu, 14 Nov 2013 18:40:13 +0000 (19:40 +0100)]
Fix the fix: "? :" -> "?:"

Change-Id: Icdbb200faf2ee5c7c6a0095987f76a2bc1b4e5e7

10 years agoMerge "Break long lines in Action classes"
jenkins-bot [Thu, 14 Nov 2013 18:38:06 +0000 (18:38 +0000)]
Merge "Break long lines in Action classes"

10 years agoThe light at the end of the API code format updating tunnel
Siebrand Mazeland [Thu, 14 Nov 2013 13:01:41 +0000 (14:01 +0100)]
The light at the end of the API code format updating tunnel

Change-Id: I12fdb71bc87a8ad5ed5b9f1fe9c06bd0f7154e9a

10 years agoI'm in your API classes updating your formatting
Siebrand Mazeland [Thu, 14 Nov 2013 13:00:02 +0000 (14:00 +0100)]
I'm in your API classes updating your formatting

Change-Id: I6087573dfdc6edcd63062508056ebcf3502e03f2

10 years agoUpdate formatting, return of the API classes
Siebrand Mazeland [Thu, 14 Nov 2013 12:56:06 +0000 (13:56 +0100)]
Update formatting, return of the API classes

Change-Id: I8c3a5b4396a1c3bba22f676137f640c6aa3c8960

10 years agoBreak long lines in Action classes
Siebrand Mazeland [Thu, 14 Nov 2013 11:33:19 +0000 (12:33 +0100)]
Break long lines in Action classes

Fixes CodeSniffer errors and warnigs.

Change-Id: Ic9cf4b9c677b3168d7c9820e2694080907997ee3

10 years agoYet more formatting updates for yet more API classes
Siebrand Mazeland [Thu, 14 Nov 2013 12:53:20 +0000 (13:53 +0100)]
Yet more formatting updates for yet more API classes

Change-Id: Iaa1cfaaffc7c55bb7670dfbff3f063cf22434f09

10 years agoUpdate formatting on some API classes (must've forgotten these)
Siebrand Mazeland [Thu, 14 Nov 2013 12:51:06 +0000 (13:51 +0100)]
Update formatting on some API classes (must've forgotten these)

Change-Id: I3fe42e75c3029dc76d2d1d40609c9a69aae8e987

10 years agoUpdate formatting on API classes, Part 3
Siebrand Mazeland [Thu, 14 Nov 2013 12:47:20 +0000 (13:47 +0100)]
Update formatting on API classes, Part 3

Change-Id: I526be68e21836201c992b391a81f4d41e1fa801e

10 years agoUpdate formatting on more API classes
Siebrand Mazeland [Thu, 14 Nov 2013 12:42:04 +0000 (13:42 +0100)]
Update formatting on more API classes

Change-Id: I1e6325b628359a557ceaa1e1ae30043aa5fc1402

10 years agoMerge "Update formatting on API classes"
jenkins-bot [Thu, 14 Nov 2013 17:09:33 +0000 (17:09 +0000)]
Merge "Update formatting on API classes"

10 years agoUpdate formatting on API classes
Siebrand Mazeland [Thu, 14 Nov 2013 12:40:22 +0000 (13:40 +0100)]
Update formatting on API classes

Change-Id: Ifd18a8de1d2580b723a5b91e8d202818fd97795a

10 years agoMerge "Update formatting"
jenkins-bot [Thu, 14 Nov 2013 17:02:02 +0000 (17:02 +0000)]
Merge "Update formatting"

10 years agoFix optional message key
raymond [Thu, 14 Nov 2013 13:17:38 +0000 (14:17 +0100)]
Fix optional message key

Followup to I0796b897e9646c122a46de449aaabf4d7a867f00

Change-Id: I108eb17e47fce9652ecbb58f4921d06cce7c0cce

10 years agoMerge "mediawiki.ui: Fix spacing for LESS"
jenkins-bot [Thu, 14 Nov 2013 12:43:30 +0000 (12:43 +0000)]
Merge "mediawiki.ui: Fix spacing for LESS"

10 years agomediawiki.ui: Fix spacing for LESS
Matthew Flaschen [Thu, 14 Nov 2013 04:30:46 +0000 (23:30 -0500)]
mediawiki.ui: Fix spacing for LESS

* Use tabs, per https://www.mediawiki.org/wiki/Manual:Coding_conventions/CSS
* Remove unneeded space before opening brace

Change-Id: I02c7bfa0327f7ff49aa7694a7a0f66e30ca55af9

10 years agoUpdate formatting
Siebrand Mazeland [Thu, 14 Nov 2013 11:18:26 +0000 (12:18 +0100)]
Update formatting

Change-Id: I3cbe1f5e48730fbbe57e4b20a0c202edddc93c95

10 years agoDeclare visibility for class properties
Siebrand Mazeland [Mon, 11 Nov 2013 16:16:39 +0000 (17:16 +0100)]
Declare visibility for class properties

Found no usages outside of class.

Change-Id: I83856be9e7fade2a81902ab7b9166d573ac673d6

10 years agoMerge "Exclude non-standard global $checkBlacklist in CodeSniffer checks"
jenkins-bot [Thu, 14 Nov 2013 10:11:44 +0000 (10:11 +0000)]
Merge "Exclude non-standard global $checkBlacklist in CodeSniffer checks"

10 years agoMerge "Port mediawiki.ui SASS to LESS"
jenkins-bot [Thu, 14 Nov 2013 03:49:15 +0000 (03:49 +0000)]
Merge "Port mediawiki.ui SASS to LESS"

10 years agoPort mediawiki.ui SASS to LESS
Juliusz Gonera [Mon, 4 Nov 2013 20:12:14 +0000 (15:12 -0500)]
Port mediawiki.ui SASS to LESS

This was the only SASS in core.

Remove gradient hacks for IE<10 (proprietary filter property) in
vertical-gradient mixin. Buttons look fine without gradients too,
and filter can often signfificantly degrade performance:
http://gomilkyway.com/web/why-site-is-so-slow-on-ie-even-to-scroll-poor-ie-performance/
http://coding.smashingmagazine.com/2010/04/28/css3-solutions-for-internet-explorer/
http://msdn.microsoft.com/en-us/library/ms532847%28VS.85%29.aspx
(look for "performance")

Remove text-shadow for button's text which had no effect on appearance.

Remove obsolete or non-existent vendor-prefixed properties:
* display: -moz-inline-stack (not needed for Firefox 3+)
* -webkit-border-radius, -moz-border-radius (supported for sometime
  without a prefix, graceful degradation for old browsers)
* -ms-border-radius, -o-border-radius (never existed)

Remove *vertical-align: auto from IE6/IE7 inline hack. Can't find any
evidence that it's necessary.

Bug: 54485
Change-Id: I81d8d0c9f6705aef8bdb8a28e1154f2de4301235

10 years agoMerge "Rather than upsert module store, explicitly remove old value and then add...
jenkins-bot [Thu, 14 Nov 2013 00:16:52 +0000 (00:16 +0000)]
Merge "Rather than upsert module store, explicitly remove old value and then add new one"

10 years agoMerge "Avoid HEAD requests for files missing from the destination"
jenkins-bot [Wed, 13 Nov 2013 23:25:21 +0000 (23:25 +0000)]
Merge "Avoid HEAD requests for files missing from the destination"

10 years agoMerge "Made cleanupUploadStash use batching for the last two loops"
jenkins-bot [Wed, 13 Nov 2013 23:20:37 +0000 (23:20 +0000)]
Merge "Made cleanupUploadStash use batching for the last two loops"

10 years agoMerge "Cleanups to DB transaction handling"
jenkins-bot [Wed, 13 Nov 2013 23:13:30 +0000 (23:13 +0000)]
Merge "Cleanups to DB transaction handling"

10 years agoMerge "Added --sleep-per-batch to purgeChangedFiles.php"
jenkins-bot [Wed, 13 Nov 2013 23:09:28 +0000 (23:09 +0000)]
Merge "Added --sleep-per-batch to purgeChangedFiles.php"

10 years agoSkip IP::isInRange() test if input is not in CIDR notation
Bryan Davis [Wed, 13 Nov 2013 16:38:58 +0000 (09:38 -0700)]
Skip IP::isInRange() test if input is not in CIDR notation

IP:isInRange() performs several moderately expensive tests via regular
expression matching that can cause unwanted load with a sufficiently
complicated runtime configuration. Check the $wgSquidServersNoPurge
value to see if it includes the CIDR mask separator token ('/') before
continuing on to perform those more expensive tests.

Follows up Ia81bed7d8b42a2d2b200a3ce45a74e3784cdca2a

Bug: 52829

Change-Id: Ia557cb54f3a1bf67c8282140ab748369faa83028

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 13 Nov 2013 20:17:13 +0000 (20:17 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I9c659e0738ccd737dc0e30042e82c2d50048b9d8

10 years agoMade cleanupUploadStash use batching for the last two loops
Aaron Schulz [Sat, 9 Nov 2013 00:18:32 +0000 (16:18 -0800)]
Made cleanupUploadStash use batching for the last two loops

Change-Id: If3cfd333636f5b14c529629ce1ec408d396122a8

10 years agomw.util.addPortletLink: Check length before access array index
umherirrender [Sun, 10 Nov 2013 17:09:35 +0000 (18:09 +0100)]
mw.util.addPortletLink: Check length before access array index

This avoids "TypeError: Cannot read property 'parentNode' of undefined",
when the given nextNode is a jQuery object without elements.

Adding a test for this case and for the case of unknown id, which
internally results in a empty jQuery object.

Bug: 56770
Change-Id: I56de9e6bc15449e294b538743baf0f0c1cc0abb1

10 years agoRemove extra space
Chad Horohoe [Wed, 13 Nov 2013 16:08:59 +0000 (08:08 -0800)]
Remove extra space

Change-Id: Ia016d1d3ecb4712c29b4140ceb149c49f2a46c7a

10 years agoMerge "BacklinkCache performance tweaks"
jenkins-bot [Wed, 13 Nov 2013 17:06:52 +0000 (17:06 +0000)]
Merge "BacklinkCache performance tweaks"

10 years agoMerge "Fix one more profiling error from I0a9a7f10ea (f5a0c23)"
jenkins-bot [Wed, 13 Nov 2013 16:15:08 +0000 (16:15 +0000)]
Merge "Fix one more profiling error from I0a9a7f10ea (f5a0c23)"

10 years agoMerge "Use capital as first letter for class names"
jenkins-bot [Wed, 13 Nov 2013 16:09:09 +0000 (16:09 +0000)]
Merge "Use capital as first letter for class names"

10 years agoMerge changes I296d39be,I67bccf82
jenkins-bot [Wed, 13 Nov 2013 16:05:53 +0000 (16:05 +0000)]
Merge changes I296d39be,I67bccf82

* changes:
  Use capital for classes Languages and ExtensionLanguages
  Break long lines

10 years agoMerge "Use suppress/restoreWarnings()"
jenkins-bot [Wed, 13 Nov 2013 16:03:46 +0000 (16:03 +0000)]
Merge "Use suppress/restoreWarnings()"

10 years agoMerge "Update docs in CdbPHP.php"
jenkins-bot [Wed, 13 Nov 2013 16:01:41 +0000 (16:01 +0000)]
Merge "Update docs in CdbPHP.php"

10 years agoShort circuit $wgSquidServersNoPurge iteration if ip is specifically
Reedy [Wed, 13 Nov 2013 14:51:25 +0000 (14:51 +0000)]
Short circuit $wgSquidServersNoPurge iteration if ip is specifically
listed. Quicker!

Follows up I49e34bdf13e8e8c6cd169c362c283fe1034bdc6d

Change-Id: Ia81bed7d8b42a2d2b200a3ce45a74e3784cdca2a

10 years agoinstaller: shows status message on DB connection error
Antoine Musso [Wed, 2 Oct 2013 10:33:48 +0000 (12:33 +0200)]
installer: shows status message on DB connection error

While installing MediaWiki with a sqlite backend and missing the sqlite
extension, I have received the very helpful message:

  DatabaseInstaller::setupSchemaVars: unexpected DB connection error

Which to me is as helpful as:

  error

Since the database connection returns a Status object and that it got a
message attached, we might as well pass the error message when raising
the exception.  We would end up with an error like:

 DB connection error: could not find driver.
 Check the data directory and database name below and try again.

That let me instantly facepalm and install the sqlite PHP extension
instead of wasting time figuring out what is happening.

Change-Id: Ife8e97242e1cfbdfbb572ad50cf8e4a7ad5b9dfc

10 years agoFix false positive in findHooks.php
Kunal Mehta [Wed, 13 Nov 2013 07:24:27 +0000 (23:24 -0800)]
Fix false positive in findHooks.php

Use " instead of ', so the script doesn't think it's a hook

Change-Id: Idb28a368eee6bcfe70d1d3aa0a89329769d3fa26

10 years agoMerge "Fix WikitextContentHandlerTest::testMakeRedirectContent() when content languag...
jenkins-bot [Wed, 13 Nov 2013 11:47:57 +0000 (11:47 +0000)]
Merge "Fix WikitextContentHandlerTest::testMakeRedirectContent() when content language is not english"

10 years agoFix one more profiling error from I0a9a7f10ea (f5a0c23)
Alexandre Emsenhuber [Wed, 13 Nov 2013 11:35:00 +0000 (12:35 +0100)]
Fix one more profiling error from I0a9a7f10ea (f5a0c23)

Change-Id: I92c22ef3b6ac98734bb6337f4dbd96d651d1e012

10 years agoMerge changes I5d6baf6f,I2edfeaba
jenkins-bot [Wed, 13 Nov 2013 07:52:09 +0000 (07:52 +0000)]
Merge changes I5d6baf6f,I2edfeaba

* changes:
  Don't use wfIsWindows() in CDB writers
  Clean up CDB classes

10 years agoStandardize spacing
Kunal Mehta [Wed, 13 Nov 2013 05:41:04 +0000 (21:41 -0800)]
Standardize spacing

Change-Id: I1f8d83497fb1e50220993bfc267f05d93250d57c

10 years agoMerge "Add GetLogTypesOnUser hook"
jenkins-bot [Wed, 13 Nov 2013 02:42:41 +0000 (02:42 +0000)]
Merge "Add GetLogTypesOnUser hook"

10 years agoAdd GetLogTypesOnUser hook
Kunal Mehta [Tue, 12 Nov 2013 23:30:04 +0000 (15:30 -0800)]
Add GetLogTypesOnUser hook

Allows extensions to modify the list at SpecialLog::$typeOnUser
This is useful for extensions like Thanks where the target is a
userpage.

Change-Id: I77e1e59d7e3666802d0eeb0c48a0ec211dba0a2a

10 years agoIn Special:AllPages, limit the size of hierarchical lists
Tim Starling [Mon, 11 Nov 2013 02:35:43 +0000 (13:35 +1100)]
In Special:AllPages, limit the size of hierarchical lists

Traversal of the entire page list by spidering the top levels is thought
to require O(N^3) DB CPU time where N is the number of pages on the
wiki. So introduce a limit for the size of such lists, as measured by
the pre-existing estimateRowCount().

Bug: 56840
Change-Id: I189ba71de869496a36f49283ec6dce7bbdfccd73

10 years agoAvoid HEAD requests for files missing from the destination
Aaron Schulz [Tue, 12 Nov 2013 23:23:01 +0000 (15:23 -0800)]
Avoid HEAD requests for files missing from the destination

Change-Id: I8a3d2ddeb650c800d1e4af144d5cd2cb23cd8744

10 years agoMerge "Use correct case for SpecialRecentChanges class in SpecialPageFactory::$mList"
jenkins-bot [Tue, 12 Nov 2013 21:41:10 +0000 (21:41 +0000)]
Merge "Use correct case for SpecialRecentChanges class in SpecialPageFactory::$mList"

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 12 Nov 2013 20:33:52 +0000 (20:33 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I46ce170fbf18fdde0307af661a817aa1d3850d61

10 years agoRemoved sanity regex since there are too many random formats to track
Aaron Schulz [Tue, 12 Nov 2013 18:16:38 +0000 (10:16 -0800)]
Removed sanity regex since there are too many random formats to track

Change-Id: I9da57ac5b59372324fbe0c627f012c638c88fca0

10 years agoMerge "Expand release notes for Iab02cbd4"
jenkins-bot [Tue, 12 Nov 2013 19:47:41 +0000 (19:47 +0000)]
Merge "Expand release notes for Iab02cbd4"

10 years agoFix location of variable initialization
jeroendedauw [Tue, 12 Nov 2013 19:34:43 +0000 (20:34 +0100)]
Fix location of variable initialization

Change-Id: I270ae60d2b92208f4700e5b5d94385031eb38eca

10 years agoExpand release notes for Iab02cbd4
Bartosz Dziewoński [Tue, 12 Nov 2013 19:35:35 +0000 (20:35 +0100)]
Expand release notes for Iab02cbd4

The one-line blurb doesn't do that change justice.

Change-Id: If7021489f7f952a674659243288a55b8603eef16

10 years agoRather than upsert module store, explicitly remove old value and then add new one
Ori Livneh [Tue, 12 Nov 2013 19:19:57 +0000 (11:19 -0800)]
Rather than upsert module store, explicitly remove old value and then add new one

Replacing the content of the module store might fail if the new contents would
exceed the browser's localStorage size limit. To avoid clogging the browser
with stale data, always remove the old value before attempting to set the new
one.

Change-Id: I91d01d845a1a633414b94cc02e142a9956955c9d

10 years agoMerge "thumb.php: map b/c params prior to attempting redirection"
jenkins-bot [Tue, 12 Nov 2013 18:08:02 +0000 (18:08 +0000)]
Merge "thumb.php: map b/c params prior to attempting redirection"

10 years agoMerge "Suppress section edit links with action=render"
jenkins-bot [Tue, 12 Nov 2013 17:31:13 +0000 (17:31 +0000)]
Merge "Suppress section edit links with action=render"

10 years agoUse correct case for SpecialRecentChanges class in SpecialPageFactory::$mList
Alexandre Emsenhuber [Tue, 12 Nov 2013 14:57:49 +0000 (15:57 +0100)]
Use correct case for SpecialRecentChanges class in SpecialPageFactory::$mList

Was giving the following message in the debug log:
Class SpecialRecentchanges was loaded using incorrect case.

Change-Id: I11c90eebeed135d03cb326d484f849cae21d87da

10 years agoUse country neutral "national identification number"
Siebrand Mazeland [Tue, 12 Nov 2013 14:43:23 +0000 (15:43 +0100)]
Use country neutral "national identification number"

Bug: 56655
Change-Id: I66368685f59e9ca75ec3e752be6bbe4f83fe2c55

10 years agoMerge "Make 'quotation-marks' message non-optional"
jenkins-bot [Tue, 12 Nov 2013 14:39:34 +0000 (14:39 +0000)]
Merge "Make 'quotation-marks' message non-optional"

10 years agoChange interlanguage link title message key
Siebrand Mazeland [Tue, 12 Nov 2013 13:17:17 +0000 (14:17 +0100)]
Change interlanguage link title message key

The term or abbreviation "iwiki" doesn't exist and has no meaning in
MediaWiki.

Bug: 56129
Change-Id: I0796b897e9646c122a46de449aaabf4d7a867f00

10 years agoFix WikitextContentHandlerTest::testMakeRedirectContent() when content language is...
Alexandre Emsenhuber [Tue, 12 Nov 2013 12:57:13 +0000 (13:57 +0100)]
Fix WikitextContentHandlerTest::testMakeRedirectContent() when content language is not english

Clear the MagicWord object cache, otherwise the magic word names can be cached
in the wrong language, thus making the test fail.

Change-Id: Ia6da94ca2c4f9ca892c81b4aa7cf96108b42ccd5

10 years agothumb.php: map b/c params prior to attempting redirection
Tim Starling [Tue, 12 Nov 2013 03:57:22 +0000 (14:57 +1100)]
thumb.php: map b/c params prior to attempting redirection

This should fix most of the "No width specified" exceptions. I guess
most of this code will be rewritten to fix bug 56926, superseding this
patch, but I thought this might be a useful stopgap.

Bug: 56924
Change-Id: I5bcaaafc81e1e2a8a33819fa64790d5509dc6aa6

10 years agoMerge "DatabaseBase: Fix version number in deprecation notice"
jenkins-bot [Mon, 11 Nov 2013 22:12:11 +0000 (22:12 +0000)]
Merge "DatabaseBase: Fix version number in deprecation notice"

10 years agoMake 'quotation-marks' message non-optional
Bartosz Dziewoński [Mon, 11 Nov 2013 21:45:01 +0000 (22:45 +0100)]
Make 'quotation-marks' message non-optional

Followup to Iebf62805.

Change-Id: I9282c787cd35b2cc531418f84a47bab4c06121ed

10 years agoMerge "Adding a quotation marks message to core."
jenkins-bot [Mon, 11 Nov 2013 21:44:51 +0000 (21:44 +0000)]
Merge "Adding a quotation marks message to core."

10 years agoDatabaseBase: Fix version number in deprecation notice
Bartosz Dziewoński [Mon, 11 Nov 2013 21:18:04 +0000 (22:18 +0100)]
DatabaseBase: Fix version number in deprecation notice

Followup to I09418558.

Change-Id: Iebdaf5a6678c4c2611d91b5c2678e89d36bccb20

10 years agoMerge "Do not escape title attribute twice for tooltip-iwiki"
jenkins-bot [Mon, 11 Nov 2013 20:51:05 +0000 (20:51 +0000)]
Merge "Do not escape title attribute twice for tooltip-iwiki"

10 years agoDo not escape title attribute twice for tooltip-iwiki
umherirrender [Mon, 11 Nov 2013 20:34:22 +0000 (21:34 +0100)]
Do not escape title attribute twice for tooltip-iwiki

When building the html the title attribute gets already escaped,
so getting text is enough here.

Bug: 55847
Change-Id: I779d3df414b0dbdfab415129baa3e7209e4067d6

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 11 Nov 2013 20:15:47 +0000 (20:15 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I8fc70b7ddf362aa60d577ba71694c0ad0e561b33

10 years agoIncrease LanguageConverter cache version
Niklas Laxström [Mon, 11 Nov 2013 19:38:44 +0000 (19:38 +0000)]
Increase LanguageConverter cache version

It stores ReplacementArray objects, which had changes in
I1b2e3360468cbfc8.

Bug: 56911
Change-Id: Ief8f4848ab33ae3cb3356e60030f76f20f135dcb