lhc/web/wiklou.git
10 years agoMerge "mediawiki.toc.test: Cleanup"
jenkins-bot [Thu, 17 Apr 2014 17:20:55 +0000 (17:20 +0000)]
Merge "mediawiki.toc.test: Cleanup"

10 years agoMerge "Removed 'Remember my login' preference"
jenkins-bot [Thu, 17 Apr 2014 17:02:43 +0000 (17:02 +0000)]
Merge "Removed 'Remember my login' preference"

10 years agoMerge "Remove deprecated function mw.util.toggleToc"
jenkins-bot [Thu, 17 Apr 2014 15:32:28 +0000 (15:32 +0000)]
Merge "Remove deprecated function mw.util.toggleToc"

10 years agomediawiki.toc.test: Cleanup
Bartosz Dziewoński [Thu, 17 Apr 2014 15:14:46 +0000 (17:14 +0200)]
mediawiki.toc.test: Cleanup

Used consistent wording, fixed some typos ("visible" and "hidden" were
swapped in one place, etc.) and simplified the flow.

Change-Id: I7745aa48484fb1a36f8b2654f2a3df326b43c9c4

10 years agoRemove deprecated function mw.util.toggleToc
Fomafix [Mon, 14 Apr 2014 20:16:08 +0000 (20:16 +0000)]
Remove deprecated function mw.util.toggleToc

* Remove dependency from mediawiki.util to mediawiki.toc.
* Load module mediawiki.toc only when toc is existent.

Gadgets that use the messages "showtoc" or "hidetoc" should explicitly
load the module mediawiki.toc or use their own messages.

Follows-up I3ca2acb70db98d00e3f1b (implements mediawiki.toc).

Change-Id: If0438b7b6f4649434e2b83133d6f583f2f8eff16

10 years agoRemove FakeTitle
Chad Horohoe [Wed, 16 Apr 2014 18:10:37 +0000 (11:10 -0700)]
Remove FakeTitle

This doesn't seem to be used anywhere anymore and it's an awful class

Change-Id: Ie9047a346e410099c3082725ced83818846e95c2

10 years agoMerge "Update moment.js to 2.6.0"
jenkins-bot [Thu, 17 Apr 2014 14:47:07 +0000 (14:47 +0000)]
Merge "Update moment.js to 2.6.0"

10 years agoMerge "Use ResourceLoader::makeComment to embed page title in wiki modules"
jenkins-bot [Thu, 17 Apr 2014 14:36:11 +0000 (14:36 +0000)]
Merge "Use ResourceLoader::makeComment to embed page title in wiki modules"

10 years agoMerge "Skip loading PHP shims for JSON i18n files"
jenkins-bot [Thu, 17 Apr 2014 14:29:33 +0000 (14:29 +0000)]
Merge "Skip loading PHP shims for JSON i18n files"

10 years agoUpdate moment.js to 2.6.0
Prateek Saxena [Wed, 16 Apr 2014 12:55:42 +0000 (18:25 +0530)]
Update moment.js to 2.6.0

From: https://github.com/moment/moment/commit/37808f3f9dec14e37ad2b5cff45c70f63b021d17

Bug: 63873
Change-Id: I471c0e47243b10b2db9367079e7e9c86995d5ef8

10 years agoFixed some @params documentation (languages)
umherirrender [Thu, 17 Apr 2014 13:31:28 +0000 (15:31 +0200)]
Fixed some @params documentation (languages)

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.

Change-Id: I7a4dec6a8de96ee21ef34e52bb755f723aa3b0e6

10 years agoFixed some @params documentation (skins)
umherirrender [Thu, 17 Apr 2014 12:34:58 +0000 (14:34 +0200)]
Fixed some @params documentation (skins)

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.
Also added some missing @param.

Change-Id: I3f6affbf6f58ec83d6290cdc15a83d7956ce653a

10 years agoMerge "Consistently use '@deprecated since <version>'"
jenkins-bot [Thu, 17 Apr 2014 06:12:11 +0000 (06:12 +0000)]
Merge "Consistently use '@deprecated since <version>'"

10 years agoMerge "Properly deprecate the SpecialVersionExtensionTypes hook"
jenkins-bot [Thu, 17 Apr 2014 06:11:53 +0000 (06:11 +0000)]
Merge "Properly deprecate the SpecialVersionExtensionTypes hook"

10 years agogrunt: Update watch file patterns
Timo Tijhof [Thu, 17 Apr 2014 03:45:21 +0000 (05:45 +0200)]
grunt: Update watch file patterns

* ".jscs.json" doesn't exist anymore (was renamed to ".jscsrc").
* ".csslintrc" doesn't exist.
* Use "jscs.all" instead of jshint.all as the latter doesn't have
  the jshintignore pattern applied (no need to monitor the deep
  node_modules/ directory structure with lots of file stats)
* Add "jsonlint.all".

Change-Id: Ie9d681b7c4a6424c069f258774be46d44f6386e9

10 years agogrunt: Add jsonlint
Timo Tijhof [Thu, 17 Apr 2014 03:42:57 +0000 (05:42 +0200)]
grunt: Add jsonlint

Change-Id: Icace398eef40556a3fd4865cb763043c086da469

10 years agoUpdate OOjs UI to v0.1.0-pre (9d291a9222)
James D. Forrester [Thu, 17 Apr 2014 01:45:37 +0000 (18:45 -0700)]
Update OOjs UI to v0.1.0-pre (9d291a9222)

New changes:
b0a3738 Localisation updates from https://translatewiki.net.
722ad64 Followup 099f26ec: fix $content in FieldsetLayout
0a75f92 Check for left click and disabled state on ButtonedElements

Change-Id: I3efff5b337e7852ab90fd76473cbce88cd16702a

10 years agoMerge "Use new banana checker as a linter to avoid lacking qqq messages"
jenkins-bot [Wed, 16 Apr 2014 23:51:17 +0000 (23:51 +0000)]
Merge "Use new banana checker as a linter to avoid lacking qqq messages"

10 years agoMerge "Output info in update.php for skipped updates due to shared tables"
jenkins-bot [Wed, 16 Apr 2014 21:52:18 +0000 (21:52 +0000)]
Merge "Output info in update.php for skipped updates due to shared tables"

10 years agoMerge "Fixed broken filebackend test for "describe""
jenkins-bot [Wed, 16 Apr 2014 21:50:37 +0000 (21:50 +0000)]
Merge "Fixed broken filebackend test for "describe""

10 years agoOutput info in update.php for skipped updates due to shared tables
Brian Wolff [Wed, 16 Apr 2014 20:45:26 +0000 (17:45 -0300)]
Output info in update.php for skipped updates due to shared tables

Can be kind of confusing for people to figure out why certain
updates didn't happen. I just had an irc conversation with
someone who didn't realize why their db wasn't fully updated.

Change-Id: I56223e70bdac8baaf079c28cbb1f0e20ef0336b8

10 years agoMerge "HtmlFormatter fixes"
jenkins-bot [Wed, 16 Apr 2014 20:36:00 +0000 (20:36 +0000)]
Merge "HtmlFormatter fixes"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 16 Apr 2014 18:56:13 +0000 (18:56 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I81beafe71aa8784b349ff5cd8e7f0fee3ab6cfa3

10 years agoMerge "Revert "Revert "Removed useless JobQueue return values"""
jenkins-bot [Wed, 16 Apr 2014 18:34:14 +0000 (18:34 +0000)]
Merge "Revert "Revert "Removed useless JobQueue return values"""

10 years agoRevert "Revert "Removed useless JobQueue return values""
Aaron Schulz [Wed, 16 Apr 2014 17:51:11 +0000 (10:51 -0700)]
Revert "Revert "Removed useless JobQueue return values""

Made the obvious update to a caller missed in the change.

This reverts commit c76d5a95c1dd1c3086461feae8bc1c0b688bde1e.

Change-Id: I67400ba5b9fc7de16c9f9d5075c488c5e58cea9e

10 years agoMerge "Update OOjs UI to v0.1.0-pre (c58b498573)"
jenkins-bot [Wed, 16 Apr 2014 18:17:54 +0000 (18:17 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (c58b498573)"

10 years agoMerge "Get rid of Title::indexTitle and Title::getIndexTitle()"
jenkins-bot [Wed, 16 Apr 2014 18:16:20 +0000 (18:16 +0000)]
Merge "Get rid of Title::indexTitle and Title::getIndexTitle()"

10 years agoUpdate OOjs UI to v0.1.0-pre (c58b498573)
Roan Kattouw [Wed, 16 Apr 2014 18:09:43 +0000 (11:09 -0700)]
Update OOjs UI to v0.1.0-pre (c58b498573)

New changes:
4bf6a2e Buttons return false on mouse down
c0eeb38 Only blur inputs within booklet pages when moving away
099f26e Make fieldset layouts render correctly

Change-Id: I919b9587242d4f40ffc2943d39bd91695a7c07e7

10 years agoGet rid of Title::indexTitle and Title::getIndexTitle()
Chad Horohoe [Wed, 16 Apr 2014 00:20:15 +0000 (17:20 -0700)]
Get rid of Title::indexTitle and Title::getIndexTitle()

Nothing used them other than SearchUpdate, nor should they.
Move implementation there and make it private.

Change-Id: Iafc6f6d59487bd8c53cb99b2147815b2d70ead83

10 years agoMerge "Revert "Removed useless JobQueue return values""
jenkins-bot [Wed, 16 Apr 2014 17:50:07 +0000 (17:50 +0000)]
Merge "Revert "Removed useless JobQueue return values""

10 years agoRevert "Removed useless JobQueue return values"
Reedy [Wed, 16 Apr 2014 17:41:30 +0000 (17:41 +0000)]
Revert "Removed useless JobQueue return values"

This reverts commit bc8c89d2df39d64f15770d29874904ebcff2f131.

Bug: 64007

Change-Id: I4b4dbe4637dc50cd4630ef19d54f01efba10e138

10 years agoActually put release note for bug 63444 in RELEASE-NOTES-1.23 in master
Brad Jorsch [Wed, 16 Apr 2014 16:00:38 +0000 (12:00 -0400)]
Actually put release note for bug 63444 in RELEASE-NOTES-1.23 in master

Change I886b44bd removed the note from RELEASE-NOTES-1.24 because the
change was backported to the REL1_23 branch, but it didn't actually put
the note into RELEASE-NOTES-1.23 in the master branch. This might be
problematic if REL1_23 later gets merges from master.

Change-Id: I0ee55deb9b44b7854146ca65b1c4fc6f8ab0e1f1

10 years agoRemove bug 63444 RELEASE-NOTES-1.24 duplicate of RELEASE-NOTES-1.23
James D. Forrester [Wed, 16 Apr 2014 15:23:00 +0000 (08:23 -0700)]
Remove bug 63444 RELEASE-NOTES-1.24 duplicate of RELEASE-NOTES-1.23

Change 1efdda25ee5cba added a fix for bug 63444 to core for 1.24, but this
was then backported to the pre-release 1.23 in d12a1b9c023fd.

Change-Id: I886b44bd7add6036140e8848e2a0e71b00ba0c7d

10 years agoFormatJson: Make it possible to change the indent string
Kevin Israel [Thu, 3 Apr 2014 01:51:09 +0000 (21:51 -0400)]
FormatJson: Make it possible to change the indent string

This is to allow consistency with MediaWiki PHP and JS files (e.g. when
generating JSON i18n files), not because tabs are "better" than spaces for
indenting code (both have advantages and disadvantages).

Because PHP's json_encode() function hardcodes the indent string, using tabs
has a performance cost (in post-processing the output) and is less suitable
for web output; thus the API and ResourceLoader debug mode will continue to
use four spaces. Adjusting the maintenance scripts and JSON files is left to
separate change sets.

Bug: 63444
Change-Id: Ic915c50b0acd2e236940b70d5dd48ea87954c9d5

10 years agoMerge "Changing a message's lang must reset cached text."
jenkins-bot [Wed, 16 Apr 2014 13:26:36 +0000 (13:26 +0000)]
Merge "Changing a message's lang must reset cached text."

10 years agoChanging a message's lang must reset cached text.
daniel [Fri, 11 Apr 2014 10:19:25 +0000 (12:19 +0200)]
Changing a message's lang must reset cached text.

Without this patch, it's not possible to get text in different
languages from the same Message object.

Change-Id: I0bb915b0d9205e78ac4599ced5efacacf2cf0240

10 years agoRemoved 'Remember my login' preference
tonythomas01 [Sun, 10 Nov 2013 14:38:34 +0000 (20:08 +0530)]
Removed 'Remember my login' preference

Removed 'Remember my login' from Preferences, as it was unwanted. It adds
to the complexity of the user preferences

Bug: 52342
Co-Author: Tyler Romeo <tylerromeo@gmail.com>
Change-Id: I7c957e1e1aaecf47f7c47bc063b5d3b364644afc

10 years agoAdd @since to Skin::getAllowedSkins
umherirrender [Tue, 15 Apr 2014 18:22:41 +0000 (20:22 +0200)]
Add @since to Skin::getAllowedSkins

Follow-Up: I0b0fdfb5615c22aa876882c3ca344ebb1f10c4bd
Change-Id: Ia14edc64c57bd8a9da0f2bda2d061d1a67aa0101

10 years agoFixed broken filebackend test for "describe"
Aaron Schulz [Wed, 16 Apr 2014 00:38:50 +0000 (17:38 -0700)]
Fixed broken filebackend test for "describe"

Change-Id: I30e3cfc29a1db92e7f1b85af54db778ee639e016

10 years agoMerge "Remove redirectToFragment() from wikibits.js"
jenkins-bot [Tue, 15 Apr 2014 21:16:48 +0000 (21:16 +0000)]
Merge "Remove redirectToFragment() from wikibits.js"

10 years agoUse new banana checker as a linter to avoid lacking qqq messages
James D. Forrester [Thu, 10 Apr 2014 00:25:21 +0000 (17:25 -0700)]
Use new banana checker as a linter to avoid lacking qqq messages

Bug: 61509
Change-Id: I67cd79a57355b0f09f8dbeea76b11f2db2b6ab2f

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 15 Apr 2014 20:31:32 +0000 (20:31 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I84db8a8c3c4bea82febe02ebca9cb4a83c94b589

10 years agoConsistently use '@deprecated since <version>'
Bartosz Dziewoński [Tue, 15 Apr 2014 20:18:19 +0000 (22:18 +0200)]
Consistently use '@deprecated since <version>'

Variants included 'in <version>', 'as of <version>' and just the
version number.

Some @deprecated annotations do not have the version number at all,
I want to hunt them down separately.

Change-Id: I8208c6097098f4735d4f51bc42254675f1f27f6d

10 years agoProperly deprecate the SpecialVersionExtensionTypes hook
Bartosz Dziewoński [Tue, 15 Apr 2014 20:16:41 +0000 (22:16 +0200)]
Properly deprecate the SpecialVersionExtensionTypes hook

wfRunHooks() has recently gained a new parameter for this.

Change-Id: If8dd90d03334ca6007f5af5e79c2545886c88b5f

10 years agoRemove redirectToFragment() from wikibits.js
umherirrender [Tue, 15 Apr 2014 19:27:06 +0000 (21:27 +0200)]
Remove redirectToFragment() from wikibits.js

Replaced by module mediawiki.action.view.redirectToFragment in 1.23
Change Ic10c060c3a2cbab455348e57740fc8abdc66ff9a was deployed with
wmf/1.23wmf10, which is longer ago than 30 days, so there are no longer
cache entries with a call to this function.

Follow-Up: Ic10c060c3a2cbab455348e57740fc8abdc66ff9a
Change-Id: I3b83baa0574a43806d9eb310d5d3e73e40890913

10 years agoMerge "Avoid implict User::__toString in SpecialContributions.php"
jenkins-bot [Tue, 15 Apr 2014 19:23:07 +0000 (19:23 +0000)]
Merge "Avoid implict User::__toString in SpecialContributions.php"

10 years agoAvoid implict User::__toString in SpecialContributions.php
umherirrender [Tue, 15 Apr 2014 18:27:34 +0000 (20:27 +0200)]
Avoid implict User::__toString in SpecialContributions.php

Follow-Up: Ie07001e75a9732f727930f8f367bba8feb395b3e
Change-Id: Ibe24bbe6d1cd7a0148353f1aa9cf6f11109dc1de

10 years agoFollowup af6d9aba: $search is a string, not an object
Chad Horohoe [Tue, 15 Apr 2014 18:50:10 +0000 (11:50 -0700)]
Followup af6d9aba: $search is a string, not an object

Reusing variables means you end up turning a string to an object
and then confuse yourself by trying to pass it as a string again.

Change-Id: I82b5ca65864099c180d915055c43e6839bd4f4a2

10 years agoMerge "Update OOjs UI to v0.1.0-pre (8197f2cd2e)"
jenkins-bot [Tue, 15 Apr 2014 18:46:49 +0000 (18:46 +0000)]
Merge "Update OOjs UI to v0.1.0-pre (8197f2cd2e)"

10 years agoMerge "New hook for readonly editpages"
Mwalker [Tue, 15 Apr 2014 18:15:59 +0000 (18:15 +0000)]
Merge "New hook for readonly editpages"

10 years agoUpdate OOjs UI to v0.1.0-pre (8197f2cd2e)
James D. Forrester [Tue, 15 Apr 2014 18:07:44 +0000 (11:07 -0700)]
Update OOjs UI to v0.1.0-pre (8197f2cd2e)

New changes:
036b066 Make demos point to symlinks to /dist and /lib for doc publishing needs
eba79af Followup d7cbc785a: focus iframe content div before open event
8197f2c Fix WindowSet#getCurrentWindow documentation

Change-Id: I98c539eb4bc35c04142e4dd196db4ad567ed741c

10 years agoMerge "Handle conflicting image format options in predictable way."
jenkins-bot [Tue, 15 Apr 2014 16:50:38 +0000 (16:50 +0000)]
Merge "Handle conflicting image format options in predictable way."

10 years agoSync up with Parsoid parserTests.
C. Scott Ananian [Tue, 15 Apr 2014 16:21:29 +0000 (12:21 -0400)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit 207a3ba03b3a4371798c400092b76eb72b7034be

Change-Id: I4bd0ba7a2671104809ad26bc66d38c7e678fa7b6

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 15 Apr 2014 10:40:10 +0000 (10:40 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I76b17b91656ee62b41e3f59fcd5c73a3372febf8

10 years agoMerge "Fixed some @params documentation"
jenkins-bot [Tue, 15 Apr 2014 07:52:34 +0000 (07:52 +0000)]
Merge "Fixed some @params documentation"

10 years agoNew hook for readonly editpages
Derk-Jan Hartman [Sun, 23 Mar 2014 20:07:39 +0000 (21:07 +0100)]
New hook for readonly editpages

EditPage::showReadOnlyForm:initial which is analogous to
EditPage::showEditForm:initial

Bug: 45258
Change-Id: I6885d617e18562acf0331e8db5790b53b489dbc2

10 years agoHtmlFormatter fixes
Max Semenik [Tue, 15 Apr 2014 01:31:20 +0000 (18:31 -0700)]
HtmlFormatter fixes

* Don't fixup HTML if  it hasn't been ruined by libxml2
* More detailed profiling

Change-Id: Ieabce23819f7563fdf17e3f1dfd621d853dae589

10 years agoMerge "Avoid site outages due to broken job queues"
jenkins-bot [Tue, 15 Apr 2014 01:13:29 +0000 (01:13 +0000)]
Merge "Avoid site outages due to broken job queues"

10 years agoSkip loading PHP shims for JSON i18n files
Kevin Israel [Mon, 14 Apr 2014 15:45:40 +0000 (11:45 -0400)]
Skip loading PHP shims for JSON i18n files

For now, non-message data (e.g. special page aliases, magic words) belong
in separate files having their own keys in $wgExtensionMessagesFiles. It
is unnecessary to read any PHP files listed under keys that exist in
$wgMessagesDirs; they are merely compatibility shims.

Bug: 63926
Change-Id: I92013d0a45e83ad0f5ac483a3db867806eb71f8a

10 years agoMake profiling to UDP work again
Alexandre Emsenhuber [Mon, 14 Apr 2014 18:44:18 +0000 (20:44 +0200)]
Make profiling to UDP work again

Fix for I1260bab2b5 (afa6af0).

Since $this->mCollated['-total'] is normally always defined,
this would cause no logging to UDP at all.

Change-Id: Ibce1c8662b4b3e99e77723f5377dd654b4f59be1

10 years agoMerge "Update release notes to describe user-visible change to framed images."
jenkins-bot [Mon, 14 Apr 2014 21:16:20 +0000 (21:16 +0000)]
Merge "Update release notes to describe user-visible change to framed images."

10 years agoPrevent GC during phpunit shutdown
csteipp [Wed, 2 Apr 2014 00:28:55 +0000 (17:28 -0700)]
Prevent GC during phpunit shutdown

To keep phpunit from segfaulting during shutdown, turn off GC for
php 5.3.

Bug: 62623
Change-Id: Ie59780e37cbea027cc204a43df406667c3f432ab

10 years agoMerge "Cliinstaller.php docs: Note config-install-extensions is used too"
jenkins-bot [Mon, 14 Apr 2014 21:00:21 +0000 (21:00 +0000)]
Merge "Cliinstaller.php docs: Note config-install-extensions is used too"

10 years agoUpdate release notes to describe user-visible change to framed images.
C. Scott Ananian [Mon, 14 Apr 2014 20:54:53 +0000 (16:54 -0400)]
Update release notes to describe user-visible change to framed images.

Bug: 62258
Change-Id: If69a55cb836c83b530c4da49384e6b7bc77edf0b

10 years agoMerge "ResourceLoader::makeLoaderImplementScript: Bind args as '$' and 'jQuery'"
jenkins-bot [Mon, 14 Apr 2014 20:53:47 +0000 (20:53 +0000)]
Merge "ResourceLoader::makeLoaderImplementScript: Bind args as '$' and 'jQuery'"

10 years agoCliinstaller.php docs: Note config-install-extensions is used too
James D. Forrester [Mon, 14 Apr 2014 20:46:09 +0000 (13:46 -0700)]
Cliinstaller.php docs: Note config-install-extensions is used too

Change-Id: I996c59e32de931d9d58e89ef09ad1dd0fe5199ae

10 years agoMerge "Ignore height as well as width for framed images."
jenkins-bot [Mon, 14 Apr 2014 20:07:58 +0000 (20:07 +0000)]
Merge "Ignore height as well as width for framed images."

10 years agoFixed some @params documentation
umherirrender [Mon, 14 Apr 2014 19:43:18 +0000 (21:43 +0200)]
Fixed some @params documentation

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.

Change-Id: I8c9f30128b46086064326708a4878228ba459447

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 14 Apr 2014 19:34:16 +0000 (19:34 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I368d861b49bffa749b488d4600198102a42a5bd2

10 years agoRemove jquery.delayedBind module
Bartosz Dziewoński [Sat, 22 Feb 2014 19:21:39 +0000 (20:21 +0100)]
Remove jquery.delayedBind module

As promised, removing the module deprecated in 1.23.

Its test suite was already removed earlier.

Change-Id: Ifc84b09a78007a6a0ea5676b0f12a38937dca2e7

10 years agoMerge "Couple more 1.24 bumps"
jenkins-bot [Mon, 14 Apr 2014 17:12:54 +0000 (17:12 +0000)]
Merge "Couple more 1.24 bumps"

10 years agoMerge "document.createElementNS is null or not an object in IE8"
jenkins-bot [Mon, 14 Apr 2014 17:04:45 +0000 (17:04 +0000)]
Merge "document.createElementNS is null or not an object in IE8"

10 years agoCommit DB changes as normal on exception-based GUI errors
Aaron Schulz [Mon, 3 Mar 2014 21:12:11 +0000 (13:12 -0800)]
Commit DB changes as normal on exception-based GUI errors

Bug: 62091
Change-Id: I36cd645d5f7a939b60f306e5fc093507693b097b

10 years agoProfiler class refactoring
Aaron Schulz [Wed, 9 Apr 2014 22:43:12 +0000 (15:43 -0700)]
Profiler class refactoring

* Merged the "collate at end" and "running collate" logic
  into the base class to make it more unified and consistent.
* Pulled out DB code into ProfilerSimpleDB class.
* Removed the ProfilerSimple class and updated child classes.
* Made ProfilerSimpleTrace set the debug information too.
* Work around "ended by close()" bug from 99aef03f. Since the
  getRawData() method gets called while some wfProfileOut() calls
  have not yet happened, make it use the matched call data and let
  the final logData() method work on the full data as normal.
* Let ProfilerSimple classes use getFunctionReport() for the profiler
  debug log if it is setup instead of making it just return "".
* Made getRawData() work as best as possible with ProfilerMwprof.
* Removed $wgProfileToDatabase since it is now useless.
* Improved DB profile performance with sqlite.
* Updated visibility of various methods.

Change-Id: I1260bab2b5ba12dccbba701bcae4a637cb85c6e8

10 years agoCouple more 1.24 bumps
Reedy [Mon, 14 Apr 2014 16:39:53 +0000 (17:39 +0100)]
Couple more 1.24 bumps

Change-Id: I2cd845750c8dd760c74b17d632c66985999d70bd

10 years agodocument.createElementNS is null or not an object in IE8
umherirrender [Wed, 9 Apr 2014 19:25:00 +0000 (21:25 +0200)]
document.createElementNS is null or not an object in IE8

Having $wgDebugToolbar = true and visiting the wiki with IE8 will give
no debug toolbar, using ?debug=true gives a "document.createElementNS is
null or not an object" javascript fatal.

Throw a error. The function 'createSvgElement' will never be called,
because profiling gives a "An ES5 compatible javascript engine
is required for the profile visualization." in IE8.

Change-Id: I763dae7459cb88f892823b9458ed6dd1dbbf3e9d

10 years agoBump 1.24
Reedy [Mon, 14 Apr 2014 15:36:50 +0000 (16:36 +0100)]
Bump 1.24

Change-Id: Id62526dad82551eab085be612ff4e604ccfc7b23

10 years agoFixed some @params documentation
umherirrender [Thu, 10 Apr 2014 18:50:10 +0000 (20:50 +0200)]
Fixed some @params documentation

Swapped some "$var type" to "type $var" or added missing types
before the $var. Changed some other types to match the more common
spelling. Makes beginning of some text in captial.

Change-Id: I64e8cfe478cb0ba438f40b0631d6e9049cdab567

10 years agoMerge "Cache RecentChanges Atom feed in varnish for 15 seconds"
jenkins-bot [Mon, 14 Apr 2014 12:56:51 +0000 (12:56 +0000)]
Merge "Cache RecentChanges Atom feed in varnish for 15 seconds"

10 years agoCache RecentChanges Atom feed in varnish for 15 seconds
Brian Wolff [Sat, 29 Mar 2014 05:23:14 +0000 (02:23 -0300)]
Cache RecentChanges Atom feed in varnish for 15 seconds

Prior to fc20c30d209, the feed was cached for 10 seconds. That
change accidentally removed varnish caching. Re-add the caching,
and upping to 15 seconds for good measure (15 second delay on the RSS
feed shouldn't matter, people generally read those asynchronously
anyhow. I was thinking of maybe even uping to 30 seconds). Users
can still manually set an smaxage parameter via the url if they
don't like the default cache time.

This assumes nothing private (e.g. per user) is ever on the RSS
feed. Reading through the ChangesList code this appears to be
the case, as everyone is getting the feed from a shared
memcache entry.

Bug: 63249
Change-Id: I268d0a53067738ba96bee74c593358b0b28cc083

10 years agoFix CS double space in TitleValue return
addshore [Mon, 14 Apr 2014 12:43:46 +0000 (13:43 +0100)]
Fix CS double space in TitleValue return

Change-Id: Ib7eb2b070eea9f8b2df860b6d16f9c769be78cf7

10 years agoMerge "ChangesListSpecialPage: Implement two new hooks superseding 4 old ones"
jenkins-bot [Mon, 14 Apr 2014 03:13:53 +0000 (03:13 +0000)]
Merge "ChangesListSpecialPage: Implement two new hooks superseding 4 old ones"

10 years agoNormalise comments in Setup.php
Alexandre Emsenhuber [Sun, 13 Apr 2014 20:07:50 +0000 (22:07 +0200)]
Normalise comments in Setup.php

- Changed "#" to "//" for non-block comments
- Put the inline comment describing the file back
  in the file description

Change-Id: I0aec0f4c10def58b608a8f08455fccb2317e4538

10 years agoMerge "Add columns option to Special:PrefixIndex"
jenkins-bot [Sun, 13 Apr 2014 22:40:58 +0000 (22:40 +0000)]
Merge "Add columns option to Special:PrefixIndex"

10 years agoMerge "PrefixSearch: Remove unnecessary wfSuppressWarnings()"
jenkins-bot [Sun, 13 Apr 2014 22:32:04 +0000 (22:32 +0000)]
Merge "PrefixSearch: Remove unnecessary wfSuppressWarnings()"

10 years agoAdd columns option to Special:PrefixIndex
Daniel De Marco [Mon, 3 Feb 2014 20:00:53 +0000 (15:00 -0500)]
Add columns option to Special:PrefixIndex

Adds support for specifying the number of output columns to use in the
table generated by Special:PrefixIndex. Can be used as follows:

{{Special:PrefixIndex/{{FULLPAGENAME}}/|columns=2}}

Bug: 60759
Change-Id: Ic824351132ec8bf7c35116f6ab19f23386ead33e

10 years agoMerge "Made preloadFileStat/preloadCache actually work for FileBackendMultiWrite"
jenkins-bot [Sun, 13 Apr 2014 22:30:57 +0000 (22:30 +0000)]
Merge "Made preloadFileStat/preloadCache actually work for FileBackendMultiWrite"

10 years agoMerge "Wrap djvu large local copy downloads in pool counter"
jenkins-bot [Sun, 13 Apr 2014 22:30:40 +0000 (22:30 +0000)]
Merge "Wrap djvu large local copy downloads in pool counter"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 13 Apr 2014 19:11:19 +0000 (19:11 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Id709503721345cc2a62a4283026303526dce52e9

10 years agoAdd 'messages used' comment
umherirrender [Sun, 13 Apr 2014 15:45:07 +0000 (17:45 +0200)]
Add 'messages used' comment

Change-Id: I69acea2a1f0a1ef6854d2ebddda446f86086633e

10 years agoFormat archive and filearchive revision delete log entries
umherirrender [Sat, 12 Apr 2014 22:08:58 +0000 (00:08 +0200)]
Format archive and filearchive revision delete log entries

DeleteLogFormatter only checks for revision and oldimage, but it is also
possible to delete archived revisions or archived files, so also check
for these types to have better formatted log entries.

Change-Id: I3f8eaa3956e2c7fc216fb4030fe4bab6cb8bbd60

10 years agoMerge "Fix deprecation notice for Skin::getUsableSkins to say 1.23"
jenkins-bot [Sun, 13 Apr 2014 14:06:43 +0000 (14:06 +0000)]
Merge "Fix deprecation notice for Skin::getUsableSkins to say 1.23"

10 years agoFix deprecation notice for Skin::getUsableSkins to say 1.23
Kunal Mehta [Sun, 13 Apr 2014 01:48:42 +0000 (18:48 -0700)]
Fix deprecation notice for Skin::getUsableSkins to say 1.23

Follows-up: I0b0fdfb5615c22aa876882c3ca344ebb1f10c4bd
Change-Id: Iafd03d562ec68edbef2479f8275f8f7a09fdbc7a

10 years agoMerge "mw.hook: Use hasOwnProperty"
jenkins-bot [Sun, 13 Apr 2014 09:08:26 +0000 (09:08 +0000)]
Merge "mw.hook: Use hasOwnProperty"

10 years agoMerge "Fixing bug #63738: Debug msg not showing correctly"
jenkins-bot [Sun, 13 Apr 2014 01:01:32 +0000 (01:01 +0000)]
Merge "Fixing bug #63738: Debug msg not showing correctly"

10 years agoMerge "Rename Skin::getUsableSkins() to Skin::getAllowedSkins()"
jenkins-bot [Sun, 13 Apr 2014 00:30:53 +0000 (00:30 +0000)]
Merge "Rename Skin::getUsableSkins() to Skin::getAllowedSkins()"

10 years agoMade preloadFileStat/preloadCache actually work for FileBackendMultiWrite
Aaron Schulz [Sat, 12 Apr 2014 22:42:34 +0000 (15:42 -0700)]
Made preloadFileStat/preloadCache actually work for FileBackendMultiWrite

* Previously the path substitution did not take place

Change-Id: I58ad3e2aa44a2b08f4c6bad1a783fb92ea79dbf4

10 years agoMerge "Display a warning when the user name looked up is not registered"
jenkins-bot [Sat, 12 Apr 2014 13:14:40 +0000 (13:14 +0000)]
Merge "Display a warning when the user name looked up is not registered"

10 years agoFixing bug #63738: Debug msg not showing correctly
Sergio Santoro [Sat, 12 Apr 2014 12:39:13 +0000 (14:39 +0200)]
Fixing bug #63738: Debug msg not showing correctly

Change-Id: I49d826f63810d99aefa5b842cd3d6b88989ef086

10 years agoDisplay a warning when the user name looked up is not registered
Aditya Sastry [Thu, 10 Apr 2014 21:24:35 +0000 (02:54 +0530)]
Display a warning when the user name looked up is not registered

Changed the SpecialContributions.php and added a warning message to tell the
user that the name he looked up isn't registered.

Bug: 60524
Change-Id: Ie07001e75a9732f727930f8f367bba8feb395b3e