lhc/web/wiklou.git
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

10 years agoMerge "Remove duplicate entries in messages.inc"
jenkins-bot [Mon, 11 Nov 2013 17:34:25 +0000 (17:34 +0000)]
Merge "Remove duplicate entries in messages.inc"

10 years agoMerge "Revert "DifferenceEngine cleanup""
jenkins-bot [Mon, 11 Nov 2013 16:47:39 +0000 (16:47 +0000)]
Merge "Revert "DifferenceEngine cleanup""

10 years agoRevert "DifferenceEngine cleanup"
Siebrand [Mon, 11 Nov 2013 16:35:19 +0000 (16:35 +0000)]
Revert "DifferenceEngine cleanup"

This reverts commit 1f423cc6091867371dc31009187d5cdb04142ff7.

Change-Id: I2254eb37376063a081ad89481654b735fb0360b1

10 years agoExclude non-standard global $checkBlacklist in CodeSniffer checks
Siebrand Mazeland [Mon, 11 Nov 2013 16:28:30 +0000 (17:28 +0100)]
Exclude non-standard global $checkBlacklist in CodeSniffer checks

Change-Id: Ifabec0303743f9c89c1e96c8489a6089eda5b163

10 years agoUse suppress/restoreWarnings()
Siebrand Mazeland [Mon, 11 Nov 2013 15:49:37 +0000 (16:49 +0100)]
Use suppress/restoreWarnings()

Instead of @

Change-Id: I0c422e452636ae1af664b24c0859d038592e0e8a

10 years agoUse capital as first letter for class names
Siebrand Mazeland [Mon, 11 Nov 2013 15:43:58 +0000 (16:43 +0100)]
Use capital as first letter for class names

Searched extensions and there is a follow-up for Translate extension. Because class
names are not case-sensitive, this change is backwards-compatible.

Change-Id: Ice6c8beea4fba5c00278c063e4f6198294efabdc

10 years agoUse capital for classes Languages and ExtensionLanguages
Siebrand Mazeland [Mon, 11 Nov 2013 15:32:51 +0000 (16:32 +0100)]
Use capital for classes Languages and ExtensionLanguages

Searched core and 600+ extensions for uses. Found no more.

Class names are case-insensitive anyway.

Change-Id: I296d39be9aa3a2690f80a23691b34394aa1c6637

10 years agoBreak long lines
Siebrand Mazeland [Mon, 11 Nov 2013 15:13:11 +0000 (16:13 +0100)]
Break long lines

Also:
* Remove an unneeded constant MEDIAWIKI check in a file with all classes.
* Document some variables.

Reduces PHP CodeSniffer errors and warnings.

Change-Id: I67bccf82e90302d13ad8fd04c8a4b75ac5edd984

10 years agoUpdate formatting in messages.inc
Siebrand Mazeland [Mon, 11 Nov 2013 14:38:56 +0000 (15:38 +0100)]
Update formatting in messages.inc

Remove pretty formatting as has already been done for most MessagesXx.php
files.

Change-Id: Idab691d5ffa914c8486291d82c9aba7731097a20

10 years agoUpdate formatting
Siebrand Mazeland [Mon, 11 Nov 2013 14:37:52 +0000 (15:37 +0100)]
Update formatting

Change-Id: Ia730172478f7f73c02ff3ae30c36e73fb929974b

10 years agoMerge "SpecialRecentChanges: Remove '@todo Uses radio buttons (HASHAR)'"
Alex Monk [Mon, 11 Nov 2013 15:04:16 +0000 (15:04 +0000)]
Merge "SpecialRecentChanges: Remove '@todo Uses radio buttons (HASHAR)'"

10 years agoMerge "New hook 'LocalisationChecksBlacklist' to allow to extend the localisation...
jenkins-bot [Mon, 11 Nov 2013 14:37:19 +0000 (14:37 +0000)]
Merge "New hook 'LocalisationChecksBlacklist' to allow to extend the localisation checks blacklist"

10 years agoMerge "Fix release notes formatting"
jenkins-bot [Sun, 10 Nov 2013 23:03:29 +0000 (23:03 +0000)]
Merge "Fix release notes formatting"

10 years agoFix release notes formatting
Bartosz Dziewoński [Sun, 10 Nov 2013 22:57:14 +0000 (23:57 +0100)]
Fix release notes formatting

* Missing full stop
* Wrapping to 80 characters

Change-Id: I679f72780815c9fd8f03b8939ed25999b8051637

10 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Sun, 10 Nov 2013 20:31:10 +0000 (20:31 +0000)]
Merge "Localisation updates from translatewiki.net."

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

Change-Id: I19351a973ee95f22d1a05860b3968f0671fcccf2

10 years agoFix profiling error from I0a9a7f10ea (f5a0c23)
Alexandre Emsenhuber [Sun, 10 Nov 2013 12:02:05 +0000 (13:02 +0100)]
Fix profiling error from I0a9a7f10ea (f5a0c23)

Change-Id: Ief49a93208729a544f51fa635311c599c0ae8f6e

10 years agoMerge "Revert "Add a hook to validate account creation fields.""
jenkins-bot [Sun, 10 Nov 2013 10:22:57 +0000 (10:22 +0000)]
Merge "Revert "Add a hook to validate account creation fields.""

10 years agoNew hook 'LocalisationChecksBlacklist' to allow to extend the localisation checks...
Alexandre Emsenhuber [Sun, 10 Nov 2013 10:07:58 +0000 (11:07 +0100)]
New hook 'LocalisationChecksBlacklist' to allow to extend the localisation checks blacklist

The point is to allow to use the blacklist of translatewiki.net,
so the format of $checkBlacklist got changed to be compatible with it.

Change-Id: I5eb328c4bdbb0b21962b89acbe12f46ebb4d9d70

10 years agoMerge "Add content model to the page information"
jenkins-bot [Sun, 10 Nov 2013 07:30:48 +0000 (07:30 +0000)]
Merge "Add content model to the page information"

10 years agoAdd content model to the page information
umherirrender [Sun, 10 Nov 2013 06:39:27 +0000 (07:39 +0100)]
Add content model to the page information

This patch adds a new table row with the content model of the page, this
is usally wikitext, can also be javascript or CSS.

Bug: 56033
Change-Id: If91f6c20d79cd7b3b8924ab6c3df5f90acd8c7a1

10 years agoRevert "Add a hook to validate account creation fields."
Parent5446 [Sun, 10 Nov 2013 04:34:22 +0000 (04:34 +0000)]
Revert "Add a hook to validate account creation fields."

Change adds a hook that serves exactly the same purpose as
AbortNewAccount. Also change was merged prematurely and is
missing message documentation as well as having some minor
code flow issues.

This reverts commit cc1006b77c6dfdc53266e0bfc73fc9daf304f8e7.

Change-Id: I8656aa1a99c84778fd85ec7da9d6ce23bd6cf9b9

10 years agoMerge "Sync RELEASE-NOTES-1.22 between master and REL1_22"
jenkins-bot [Sat, 9 Nov 2013 22:23:00 +0000 (22:23 +0000)]
Merge "Sync RELEASE-NOTES-1.22 between master and REL1_22"

10 years agoBacklinkCache performance tweaks
Aaron Schulz [Sat, 9 Nov 2013 20:33:59 +0000 (12:33 -0800)]
BacklinkCache performance tweaks

* In partition(), avoid doing the JOIN since it is not needed and prevents
  index-only queries.
* Made numLinks() wrap partition when no $max is specified.
* Also fixed some docs

Change-Id: I05a83f71efb4c6e99e40883d7fa53da59184b13c

10 years agoAdd a hook to validate account creation fields.
Andrew Bogott [Sat, 9 Nov 2013 20:21:02 +0000 (20:21 +0000)]
Add a hook to validate account creation fields.

This is a step on the way to fixing bug 56847.

Change-Id: Id330a8ac041ddea086f192a90ddc962077453333

10 years agoSync RELEASE-NOTES-1.22 between master and REL1_22
Alexandre Emsenhuber [Sat, 9 Nov 2013 15:58:07 +0000 (16:58 +0100)]
Sync RELEASE-NOTES-1.22 between master and REL1_22

Part I: master

Also moved entry about recentchanges table to 1.23 since it's not in the 1.22 release.

Change-Id: I5113828701fde7d21c81ef3219d04202a9073f00

10 years agoRemove duplicate entries in messages.inc
umherirrender [Sat, 9 Nov 2013 19:14:13 +0000 (20:14 +0100)]
Remove duplicate entries in messages.inc

Change-Id: I8ecbc90b945e718d26b768786181ad2a167de5ba

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 9 Nov 2013 18:48:48 +0000 (18:48 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Idb35f8a3a0c17b3d2ae2709de03cad2aac6ec177

10 years agoRemove recentchanges.rc_cur_time from sql statements
umherirrender [Sat, 9 Nov 2013 17:20:54 +0000 (18:20 +0100)]
Remove recentchanges.rc_cur_time from sql statements

Field is unused since many versions, so remove the use in sql
statements, to allow dropping in a later version.

The field must not be reference from INSERT because it has a default
value, which is used, when no value is specified in the statement.

Keeping the field allows easier rollback on version update, when
something gets wrong with the new version.

Existing Comment in tables.sql was added with r101293, was already
disused in r11088

Bug: 40667
Change-Id: I4a9c2fa813d1f25dfb755e564f7677a212934d7b

10 years agoAdd missing full stop to 7127c179 release notes
Bartosz Dziewoński [Sat, 9 Nov 2013 01:01:45 +0000 (02:01 +0100)]
Add missing full stop to 7127c179 release notes

Change-Id: I9fd48f3327afeba9983eda25ba6e448ecb202768

10 years agoMerge "Localisation updates from http://translatewiki.net."
jenkins-bot [Sat, 9 Nov 2013 09:20:31 +0000 (09:20 +0000)]
Merge "Localisation updates from translatewiki.net."

10 years agoMerge "xml dump maintenance scripts should use the 'dump' db group"
jenkins-bot [Sat, 9 Nov 2013 06:19:04 +0000 (06:19 +0000)]
Merge "xml dump maintenance scripts should use the 'dump' db group"

10 years agoFixed loading of stat cache entries into the wrong key
Aaron Schulz [Sat, 9 Nov 2013 05:24:24 +0000 (21:24 -0800)]
Fixed loading of stat cache entries into the wrong key

* Silly bug from 2afdc066f52b54faf63f9c980f7ef6a7841dd094 which caused HEAD
  requests. Probably missed in local testing due to memcached.

Change-Id: I3b82ffe964e252eafa5254f7752e5ba45b49ba0e

10 years agoCreate prepareQuickTemplate function
jrobson [Thu, 7 Nov 2013 21:23:47 +0000 (13:23 -0800)]
Create prepareQuickTemplate function

Skins should be able to easily add to templates their own
variables. This helps with this.

This helps drastically reduce to the code in the mobile
skin and ensure it benefits from changes in core

See: I43fc26bf334753b189e20921f142bade7658ac31

Change-Id: I0a9a7f10ea6a2e9c90c2a83e7c5f7fa56fa0fb93

10 years agoUpdate docs in CdbPHP.php
Siebrand Mazeland [Thu, 7 Nov 2013 22:23:29 +0000 (23:23 +0100)]
Update docs in CdbPHP.php

Change-Id: I76ff053ad231dd026b3e2576f913cc9d3fa52c79

10 years agoDon't use wfIsWindows() in CDB writers
Chad Horohoe [Thu, 7 Nov 2013 22:26:54 +0000 (14:26 -0800)]
Don't use wfIsWindows() in CDB writers

Uses the same logic, but without the dependency on MediaWiki.
Planning to use this in the het-deploy code.

Change-Id: I5d6baf6fe63d135c679e4795287daa0a8722dde6

10 years agoClean up CDB classes
Chad Horohoe [Thu, 7 Nov 2013 22:03:08 +0000 (14:03 -0800)]
Clean up CDB classes

- Inheritance was a little funny, reduced some duplication
- Throw CdbException instead of plain MWException
- Abstracted wfDebug() to encourage reuse
- Declare visibility on a couple of public methods
- Move DBA implementations to their own file

Change-Id: I2edfeabaf62e39927abe869764ff2bd676821cd0

10 years agoMerge "DifferenceEngine cleanup"
jenkins-bot [Sat, 9 Nov 2013 01:19:28 +0000 (01:19 +0000)]
Merge "DifferenceEngine cleanup"

10 years agoMerge "Refactor diffs"
jenkins-bot [Sat, 9 Nov 2013 01:18:08 +0000 (01:18 +0000)]
Merge "Refactor diffs"

10 years agoSuppress section edit links with action=render
Bartosz Dziewoński [Thu, 7 Nov 2013 16:27:00 +0000 (17:27 +0100)]
Suppress section edit links with action=render

action=render is often used to pull the rendered HTML of an article
for inclusion in a different context. More often than not, the edit
links are not desired in that context.

Bug: 19415
Change-Id: Iab02cbd42f2f93f0f5264a74691ae1b84f296f12

10 years agoMerge "Give the search page a little UI love"
jenkins-bot [Sat, 9 Nov 2013 00:58:50 +0000 (00:58 +0000)]
Merge "Give the search page a little UI love"

10 years agoMerge "Expose iw_trans in siteinfo API interwikimap prop"
jenkins-bot [Sat, 9 Nov 2013 00:56:53 +0000 (00:56 +0000)]
Merge "Expose iw_trans in siteinfo API interwikimap prop"

10 years agoMerge "SpecialWatchlist: Minor cleanup"
jenkins-bot [Sat, 9 Nov 2013 00:49:44 +0000 (00:49 +0000)]
Merge "SpecialWatchlist: Minor cleanup"

10 years agoGive the search page a little UI love
Chad Horohoe [Thu, 7 Nov 2013 23:19:36 +0000 (15:19 -0800)]
Give the search page a little UI love

Uses mediawiki.ui to make the input field more legible and modern,
as well as giving the search button a lovely shade of blue.

Screenshot: https://www.mediawiki.org/wiki/File:Search-UI-minor-tweak.png
Change-Id: I7fdd9970ed5807df94c04bec1681f33523cad173

10 years agoSpecialWatchlist: Minor cleanup
Bartosz Dziewoński [Sat, 9 Nov 2013 00:37:59 +0000 (01:37 +0100)]
SpecialWatchlist: Minor cleanup

* Prettier whitespacing
* Removed query building special-case already handled by makeList()

Change-Id: I45aa7bbbff1e21abd739825939fd5cd3d02fc7a4

10 years agoDifferenceEngine cleanup
Max Semenik [Wed, 30 Oct 2013 17:21:45 +0000 (21:21 +0400)]
DifferenceEngine cleanup

* Remove mPrefixes from variables
* Turn a define into class const

Change-Id: I80874627df9dffae596f8f7cb3ca28f19ba1f167

10 years agoSpecialRecentChanges: Remove '@todo Uses radio buttons (HASHAR)'
Bartosz Dziewoński [Sat, 9 Nov 2013 00:19:48 +0000 (01:19 +0100)]
SpecialRecentChanges: Remove '@todo Uses radio buttons (HASHAR)'

Unless Hashar can explain what he meant by that back in 2011 (r83110),
because I have no idea.

Change-Id: Ibc12fa08e6862597291bc59a7bf0a5d83f9ad5a1

10 years agoMerge "DifferenceEngine minor fixes"
jenkins-bot [Fri, 8 Nov 2013 23:53:33 +0000 (23:53 +0000)]
Merge "DifferenceEngine minor fixes"

10 years agoAdding a quotation marks message to core.
kaldari [Tue, 5 Nov 2013 23:06:47 +0000 (15:06 -0800)]
Adding a quotation marks message to core.

Needed for...
https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1218

This could be implemented in MobileFrontend, but it seems generic
enough to be put in core.

Change-Id: Iebf628052ea14f0fb8b931d7c37a0501a24d3d45

10 years agoMerge "Cleanup watchlist preference usage"
jenkins-bot [Fri, 8 Nov 2013 22:27:03 +0000 (22:27 +0000)]
Merge "Cleanup watchlist preference usage"

10 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 8 Nov 2013 21:06:21 +0000 (21:06 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Id994668c92eba6fda112e92f5cc4c4747e6f3b75

10 years agoClarify thumbnail log failure entries when the local file copy failed
Aaron Schulz [Fri, 8 Nov 2013 19:23:17 +0000 (11:23 -0800)]
Clarify thumbnail log failure entries when the local file copy failed

Change-Id: I8ed9a5ffc04b1abd2e7b2c055dfdfb2625e89fde

10 years agoCleanup watchlist preference usage
Brad Jorsch [Fri, 8 Nov 2013 18:01:28 +0000 (13:01 -0500)]
Cleanup watchlist preference usage

In general, the web UI does a check of the watchlist preferences along
the lines of "watch if watchdefault, or if watchcreations and the title
doesn't exist". So there's no way to have it watch edits but not
creations. Make the API behavior match this.

For API action=protect&watchlist=preferences, we want to use
'watchdefault' always to match the behavior of the web UI.

For Special:Upload, the code is all there to do a "watch if
watchdefault, or if watchcreations and the file doesn't exist". But for
some reason that code wasn't being used in favor of just using
watchcreations all the time. Fix that, too. And have the API use that
instead of checking if the file page exists.

Bug: 56766
Change-Id: I57fc46d9a97b3ea2169173727db842d0d7ecf81d

10 years agoAnons should not be able to use the change e-mail form at all
Chad Horohoe [Fri, 8 Nov 2013 18:55:57 +0000 (10:55 -0800)]
Anons should not be able to use the change e-mail form  at all

They already bailed out on GET, but we should bail here on POST
rather than bait-and-switching.

Change-Id: Iaf0474e89d7e660e2025e02bda146aa23ecc592b

10 years agoMerge "Support CIDR ranges in $wgSquidServersNoPurge"
jenkins-bot [Fri, 8 Nov 2013 18:03:33 +0000 (18:03 +0000)]
Merge "Support CIDR ranges in $wgSquidServersNoPurge"

10 years agoCorrect tooltip of "Next n results" on query special pages.
Alexandre Emsenhuber [Fri, 8 Nov 2013 17:45:42 +0000 (18:45 +0100)]
Correct tooltip of "Next n results" on query special pages.

Was showing "Previous n results".

Bug: 56707
Change-Id: I9f51d70f9e1fe3c314a1226950f1324ab22f4199

10 years agoMerge "Let mw.util.addCSS also return a CSSStyleSheet in IE8"
jenkins-bot [Fri, 8 Nov 2013 16:02:41 +0000 (16:02 +0000)]
Merge "Let mw.util.addCSS also return a CSSStyleSheet in IE8"

10 years agoMerge "Improve variable naming in EnhancedChangesList"
jenkins-bot [Fri, 8 Nov 2013 15:57:52 +0000 (15:57 +0000)]
Merge "Improve variable naming in EnhancedChangesList"

10 years agoMerge "Fix call to function applyPatch in MysqlUpdater"
jenkins-bot [Fri, 8 Nov 2013 14:51:14 +0000 (14:51 +0000)]
Merge "Fix call to function applyPatch in MysqlUpdater"

10 years agoLet mw.util.addCSS also return a CSSStyleSheet in IE8
umherirrender [Fri, 8 Nov 2013 14:32:51 +0000 (15:32 +0100)]
Let mw.util.addCSS also return a CSSStyleSheet in IE8

The IE8 has a 'styleSheet' attribute instead of a 'sheet' attribute

Change-Id: I83fc602a43cae7d2d9be32ea6fef84bc5129dbb9

10 years agoImprove variable naming in EnhancedChangesList
aude [Fri, 8 Nov 2013 11:20:58 +0000 (11:20 +0000)]
Improve variable naming in EnhancedChangesList

Make clearer when we are dealing with an RCCacheEntry
vs. ordinary RecentChange object.

Change-Id: Id9342b033d46b9b700bd021c451d6f817cd25845

10 years agoMerge "Add convenience maintenance script wrapper"
jenkins-bot [Fri, 8 Nov 2013 13:09:42 +0000 (13:09 +0000)]
Merge "Add convenience maintenance script wrapper"

10 years agoAllow ParserLimitReportFormat to change $value
Brad Jorsch [Thu, 22 Aug 2013 17:47:23 +0000 (13:47 -0400)]
Allow ParserLimitReportFormat to change $value

It's likely that an extension might want to reformat the value (e.g. by
passing it through Language::formatSize()), but otherwise use the
default behavior for the key. Make $value a reference parameter so they
don't have to reimplement all the logic for laying out the row.

Change-Id: I7799616a602d90e1b8d3f0ece35811ca387bade7

10 years agoWork around HHVM bug with stdin/stdout in proc_open()
Chad Horohoe [Wed, 6 Nov 2013 23:31:25 +0000 (15:31 -0800)]
Work around HHVM bug with stdin/stdout in proc_open()

Bug: 56597
Change-Id: I06122d82fce4567be110ca25010c244dd9269c57

10 years agofilebackend: improved "adviseStat" performance
Aaron Schulz [Thu, 7 Nov 2013 20:51:10 +0000 (12:51 -0800)]
filebackend: improved "adviseStat" performance

* Use the normal page size instead of limiting it way down to the cache
  size. Track the stat information in the pages and load into into the
  stat cache as entries are accessed. This should also be less prone to
  evictions causing HEAD requests (or memcached hits).
* Also bumped CACHE_CHEAP_SIZE up to 500.
* Fix a few doc bits

Change-Id: I8d44a072e7bcc56c83d8d9c8c9ac9864530bccf8

10 years agoSpeed up thumbnail purging a bit for stash script
Aaron Schulz [Fri, 8 Nov 2013 00:28:09 +0000 (16:28 -0800)]
Speed up thumbnail purging a bit for stash script

Change-Id: Ie0f3d5aa505a5c1554d7932d38ba376811590df1

10 years agoMerge "FormOptions: Implement FLOAT type"
jenkins-bot [Thu, 7 Nov 2013 23:51:40 +0000 (23:51 +0000)]
Merge "FormOptions: Implement FLOAT type"

10 years agoMerge "Set visibility for class property of RegexlikeReplacer"
jenkins-bot [Thu, 7 Nov 2013 23:49:01 +0000 (23:49 +0000)]
Merge "Set visibility for class property of RegexlikeReplacer"

10 years agoMerge "Set visibility on class properties of ExplodeIterator"
jenkins-bot [Thu, 7 Nov 2013 23:47:11 +0000 (23:47 +0000)]
Merge "Set visibility on class properties of ExplodeIterator"

10 years agoMerge "Set visibility on class properties of ReplacementArray"
jenkins-bot [Thu, 7 Nov 2013 23:45:27 +0000 (23:45 +0000)]
Merge "Set visibility on class properties of ReplacementArray"

10 years agoMerge "Simplify watchlist edit mode handling"
jenkins-bot [Thu, 7 Nov 2013 23:14:52 +0000 (23:14 +0000)]
Merge "Simplify watchlist edit mode handling"

10 years agoFormOptions: Implement FLOAT type
Bartosz Dziewoński [Sat, 12 Oct 2013 15:34:15 +0000 (17:34 +0200)]
FormOptions: Implement FLOAT type

Also added WebRequest#getFloat().

Change-Id: I854f09bd26287880a2806852274471904bc33092

10 years agoMerge "Remove stupid one-cell table"
jenkins-bot [Thu, 7 Nov 2013 22:42:47 +0000 (22:42 +0000)]
Merge "Remove stupid one-cell table"

10 years agoMerge "Set visibility of class properties of HashtableReplacer"
jenkins-bot [Thu, 7 Nov 2013 22:35:23 +0000 (22:35 +0000)]
Merge "Set visibility of class properties of HashtableReplacer"

10 years agoMerge "wikibits: Add some missing deprecation messages"
jenkins-bot [Thu, 7 Nov 2013 22:34:13 +0000 (22:34 +0000)]
Merge "wikibits: Add some missing deprecation messages"

10 years agowikibits: Add some missing deprecation messages
Bartosz Dziewoński [Thu, 7 Nov 2013 22:06:15 +0000 (23:06 +0100)]
wikibits: Add some missing deprecation messages

Follow-up to Iab65de1a.

Change-Id: I8925f7dc34b295d6ae3704813e18a4b191f08819

10 years agoSet visibility for class property of RegexlikeReplacer
Siebrand Mazeland [Thu, 7 Nov 2013 22:05:55 +0000 (23:05 +0100)]
Set visibility for class property of RegexlikeReplacer

Only used in StringUtils::delimiterReplace(). Search core and 600+
extensions.

Change-Id: Ibbf0edd1143f7bd2dc39e9ad913d1e4a38f60dfc