lhc/web/wiklou.git
9 years agoReset RequestContext between tests
Max Semenik [Fri, 27 Jun 2014 17:59:47 +0000 (10:59 -0700)]
Reset RequestContext between tests

Its state can change when people do something with objects it returns or
when they alter globals like $wgRequest. By resetting this singleton, we
ensure that no such change will propagate outside of a test.

Change-Id: I7e8598716d810a09c17f80a05deecab617b62346

9 years agoMerge "Also check if 'debug_backtrace' is disabled in Maintenance::shouldExecute()"
jenkins-bot [Thu, 26 Jun 2014 00:16:24 +0000 (00:16 +0000)]
Merge "Also check if 'debug_backtrace' is disabled in Maintenance::shouldExecute()"

9 years agoAlso check if 'debug_backtrace' is disabled in Maintenance::shouldExecute()
Alexandre Emsenhuber [Wed, 25 Jun 2014 20:39:58 +0000 (22:39 +0200)]
Also check if 'debug_backtrace' is disabled in Maintenance::shouldExecute()

And execute the script if $wgCommandLineMode is true. Otherwise scripts
never get executed.

Change-Id: I609d859b616905ab44a060a861be500609e5a9f0

9 years agoMerge "Include trx state in query profiling (and DBPerformance log)"
jenkins-bot [Thu, 26 Jun 2014 00:01:55 +0000 (00:01 +0000)]
Merge "Include trx state in query profiling (and DBPerformance log)"

9 years agoMerge "Removed old DB_LAST cruft"
jenkins-bot [Thu, 26 Jun 2014 00:01:02 +0000 (00:01 +0000)]
Merge "Removed old DB_LAST cruft"

9 years agoRemoved old DB_LAST cruft
Aaron Schulz [Wed, 25 Jun 2014 23:12:36 +0000 (16:12 -0700)]
Removed old DB_LAST cruft

Change-Id: I5517c43389182e61e4a969ed9ca71dae2388a5d0

9 years agoMerge "Check for $wgAllowUserCss and $wgAllowUserJs in EditPage.php"
jenkins-bot [Wed, 25 Jun 2014 22:44:02 +0000 (22:44 +0000)]
Merge "Check for $wgAllowUserCss and $wgAllowUserJs in EditPage.php"

9 years agoMerge "Adding and improving function and param descriptions in HtmlFormatter"
jenkins-bot [Wed, 25 Jun 2014 22:10:43 +0000 (22:10 +0000)]
Merge "Adding and improving function and param descriptions in HtmlFormatter"

9 years agoMerge "Only use limit.sh if /bin/bash executable, instead of if linux."
jenkins-bot [Wed, 25 Jun 2014 21:53:56 +0000 (21:53 +0000)]
Merge "Only use limit.sh if /bin/bash executable, instead of if linux."

9 years agoAdding and improving function and param descriptions in HtmlFormatter
kaldari [Wed, 25 Jun 2014 21:40:13 +0000 (14:40 -0700)]
Adding and improving function and param descriptions in HtmlFormatter

The change only includes documentation changes, no code changes.

Change-Id: Ie1fdfcc774883882f50fd53d3cb32ade7f0bad34

9 years agoInclude trx state in query profiling (and DBPerformance log)
Aaron Schulz [Wed, 25 Jun 2014 18:33:20 +0000 (11:33 -0700)]
Include trx state in query profiling (and DBPerformance log)

* Replaced use of spl hash with random transaction IDs.
  These can be correlated better and make the DBPerformance
  log easier to make sense of. They are also shorter.

Change-Id: I5f49c0d0c26e37807341bbc83b1b41b124164419

9 years agoMerge "SECURITY: Prevent external resources in SVG files"
Mglaser [Wed, 25 Jun 2014 20:38:37 +0000 (20:38 +0000)]
Merge "SECURITY: Prevent external resources in SVG files"

9 years agoSECURITY: Prevent external resources in SVG files
csteipp [Wed, 28 May 2014 23:55:40 +0000 (16:55 -0700)]
SECURITY: Prevent external resources in SVG files

On bug 65724, it was discovered that a user could upload SVG images
with embedded <image> elements that pulled in the resource via http.
This could allow an attacker to track all viewers of an SVG by having
the image embed another image hosted on their own server.

While testing the patch, I also identified 3 more element namespaces
that have been used on commons and seem harmless, so I added those to
the whitelist.

Change-Id: Iaaabc3a60c0ec4e6e426a8680d7a2cef5d469d29

9 years agoDon't parse disable_functions INI value
Kevin Israel [Mon, 31 Mar 2014 14:19:57 +0000 (10:19 -0400)]
Don't parse disable_functions INI value

In wfDebugBacktrace() and wfShellExecDisabled(), use function_exists()
instead of getting the value of the disable_functions INI setting,
then splitting it into a list of functions, then checking that list
for the function to be called.

Also removed the check for Zend Optimizer, an old PHP extension that
does not work with PHP 5.3.

Change-Id: I04f0e026f8a6e0414f08d5302aff6c084a1d19a7

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 25 Jun 2014 20:07:31 +0000 (20:07 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I8386f5aae3990abe420df402d3f778589934c64a

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 25 Jun 2014 19:59:06 +0000 (19:59 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I6cb91ddcb23051e3eeca7692bca619aef979f9bd

9 years agoUpdate OOjs UI to v0.1.0-pre (9aad824bd6)
James D. Forrester [Wed, 25 Jun 2014 18:00:00 +0000 (11:00 -0700)]
Update OOjs UI to v0.1.0-pre (9aad824bd6)

New changes:
414c051 build: Update jscs and use new "wikimedia" preset
0401aff Accessibility: Set aria-hidden attribute on elements while dialogs are open
9aad824 Revert "Accessibility: Restore element focus when a window closes"

Change-Id: I8df631bdce8446ab9845c4e971c2c58cf94bc7e4

9 years agoMerge "SpecialSearch: Simplify result info"
jenkins-bot [Wed, 25 Jun 2014 16:17:13 +0000 (16:17 +0000)]
Merge "SpecialSearch: Simplify result info"

9 years agoDouble check its safe before dropping new table during db cloning
Brian Wolff [Thu, 22 May 2014 20:44:39 +0000 (17:44 -0300)]
Double check its safe before dropping new table during db cloning

parserTests.php just killed my user table :(

Bug: 65654
Change-Id: Idcf1c6af6a513c9e6dc650237863db8d61519886

9 years agoMerge "Remove LogEventsList::showHeader() (deprecated since 1.19)"
jenkins-bot [Wed, 25 Jun 2014 09:06:25 +0000 (09:06 +0000)]
Merge "Remove LogEventsList::showHeader() (deprecated since 1.19)"

9 years agoMerge "Add deprecation messages to static methods in Article.php"
jenkins-bot [Wed, 25 Jun 2014 01:01:28 +0000 (01:01 +0000)]
Merge "Add deprecation messages to static methods in Article.php"

9 years agoRelease notes for browser tests
csteipp [Tue, 24 Jun 2014 23:16:59 +0000 (16:16 -0700)]
Release notes for browser tests

For I2b4bfa512a33ff31cc0369dfd9ec19cb875d5e36

Change-Id: Ifb1762bc4ee6ceab5fe5a33c090e4fd1f2ae0610

9 years agoMerge "Return a TTL when formatting times"
jenkins-bot [Tue, 24 Jun 2014 22:57:17 +0000 (22:57 +0000)]
Merge "Return a TTL when formatting times"

9 years agoMerge "browser acceptance tests"
jenkins-bot [Tue, 24 Jun 2014 22:26:16 +0000 (22:26 +0000)]
Merge "browser acceptance tests"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 24 Jun 2014 19:50:37 +0000 (19:50 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ic3f463eef951510a8580ec0bad4040d9626efe2f

9 years agoAdd deprecation messages to static methods in Article.php
withoutaname [Mon, 23 Jun 2014 23:13:32 +0000 (16:13 -0700)]
Add deprecation messages to static methods in Article.php

The referenced hooks simply call the corresponding hooks in WikiPage.php,
so it would be better to call them from WikiPage.php directly.

Change-Id: Ia0cf526c625d38cd941a1166876c13697be87a86

9 years agoMerge "Sync up with Parsoid parserTests."
jenkins-bot [Tue, 24 Jun 2014 18:49:51 +0000 (18:49 +0000)]
Merge "Sync up with Parsoid parserTests."

9 years agoMerge "mediawiki.page.patrol.ajax: Use postWithToken"
jenkins-bot [Tue, 24 Jun 2014 18:43:04 +0000 (18:43 +0000)]
Merge "mediawiki.page.patrol.ajax: Use postWithToken"

9 years agoSync up with Parsoid parserTests.
C. Scott Ananian [Tue, 24 Jun 2014 18:25:05 +0000 (14:25 -0400)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit 5c1681a53606e80522afc6e2496aaef2b30aad4c

Change-Id: Ic871d300eec6ba268eceef6b1014884c763b0e1c

9 years agoRemove LogEventsList::showHeader() (deprecated since 1.19)
umherirrender [Tue, 24 Jun 2014 18:05:44 +0000 (20:05 +0200)]
Remove LogEventsList::showHeader() (deprecated since 1.19)

Change-Id: I9575329cb09f495f47032028d3693f8046b3e139

9 years agoRemove HTMLForm::addJS() (deprecated since 1.18)
umherirrender [Tue, 24 Jun 2014 17:59:44 +0000 (19:59 +0200)]
Remove HTMLForm::addJS() (deprecated since 1.18)

Change-Id: Id174d37b69a2e8d76555c3d414fdb87c01222d66

9 years agoSpecial:Watchlist: Don't try to render empty row
florianschmidtwelzow [Tue, 24 Jun 2014 16:18:53 +0000 (18:18 +0200)]
Special:Watchlist: Don't try to render empty row

If no rows to render in table, show message and leave function before
trying to render.

Bug: 67025
Change-Id: Ica4ad670a130f31124ff644a2e1e50beea481c9b

9 years agoActually fetch config object in ApiQueryRecentChanges::getResultProperties
Brad Jorsch [Tue, 24 Jun 2014 16:52:38 +0000 (12:52 -0400)]
Actually fetch config object in ApiQueryRecentChanges::getResultProperties

Change-Id: Id9c316733896a27ce3f6c3e0e5efdf62f7d1ff1b

9 years agoGuard recursion flag against exceptions.
daniel [Tue, 24 Jun 2014 13:55:39 +0000 (15:55 +0200)]
Guard recursion flag against exceptions.

To avoid misleading errors in case of failed initialization,
flags used to protected against recursion need to be reset
in case of an exception being thrown.

Change-Id: Ifbc1db4b827012177fcfd271981179ebb2329b52

9 years agoMerge "Set wgScript in LinkerTest"
jenkins-bot [Tue, 24 Jun 2014 11:53:29 +0000 (11:53 +0000)]
Merge "Set wgScript in LinkerTest"

9 years agoRemove use of OutputPage::addParserOutputNoText()
Kevin Israel [Tue, 24 Jun 2014 08:43:31 +0000 (04:43 -0400)]
Remove use of OutputPage::addParserOutputNoText()

Simply clicking "Show preview" on the edit page triggered a deprecation
warning.

Also removed the wfDeprecated() call from the method, which is still used
in a few WMF-deployed extensions without a corresponding open change.

Follows-up e8f1fede77c5.

Change-Id: I2cfdc84b92cf13478b9f462028d525e4ec14fdf2

9 years agoMerge "Allow fragments in link= parameter in <gallery> tags."
jenkins-bot [Tue, 24 Jun 2014 08:10:13 +0000 (08:10 +0000)]
Merge "Allow fragments in link= parameter in <gallery> tags."

9 years agoSet wgScript in LinkerTest
aude [Tue, 24 Jun 2014 07:39:17 +0000 (09:39 +0200)]
Set wgScript in LinkerTest

otherwise tests fail if you don't have this setting.

Change-Id: I598b83c348dc54908225ee398787bf300d473656

9 years agoMerge "Remove SearchEngineReplacePrefixesComplete hook"
jenkins-bot [Tue, 24 Jun 2014 07:20:18 +0000 (07:20 +0000)]
Merge "Remove SearchEngineReplacePrefixesComplete hook"

9 years agomediawiki.page.patrol.ajax: Use postWithToken
Fomafix [Tue, 24 Jun 2014 06:03:57 +0000 (06:03 +0000)]
mediawiki.page.patrol.ajax: Use postWithToken

Change-Id: I3cfdd048ed7a13fded5566dec58fd6eeb0515d6c

9 years agoAdd includes/page/ to findHooks.php
Kevin Israel [Tue, 24 Jun 2014 04:19:01 +0000 (00:19 -0400)]
Add includes/page/ to findHooks.php

Follows-up 32ac3913310f.

Change-Id: I07dc1e9ad7bcb0b7e5477eb17e6e625f6ec625e2

9 years agoMerge "Revert "PrefixSearch (ApiOpenSearch) now supports searching in multiple namesp...
jenkins-bot [Tue, 24 Jun 2014 00:13:53 +0000 (00:13 +0000)]
Merge "Revert "PrefixSearch (ApiOpenSearch) now supports searching in multiple namespaces""

9 years agoRevert "PrefixSearch (ApiOpenSearch) now supports searching in multiple namespaces"
Krinkle [Tue, 24 Jun 2014 00:08:31 +0000 (00:08 +0000)]
Revert "PrefixSearch (ApiOpenSearch) now supports searching in multiple namespaces"

Caused regression in opensearch results for the main search field on every
page. Special pages are no longer included when they should.

This reverts commit 0e054bbf1a955b02afd4feaa04063c841e19a569.

Change-Id: Ib39c6d7816cd3c21ec714f5d6272bebd049ac430

9 years agoMerge "Replace deprecated File::sha1Base36 call"
jenkins-bot [Mon, 23 Jun 2014 23:47:47 +0000 (23:47 +0000)]
Merge "Replace deprecated File::sha1Base36 call"

9 years agoMerge "Use quickUserCan instead of userCan for searches"
jenkins-bot [Mon, 23 Jun 2014 23:18:45 +0000 (23:18 +0000)]
Merge "Use quickUserCan instead of userCan for searches"

9 years agoMerge "Add support for testing transparent tags"
jenkins-bot [Mon, 23 Jun 2014 22:53:15 +0000 (22:53 +0000)]
Merge "Add support for testing transparent tags"

9 years agoMerge "Rename Parser_DiffTest class to ParserDiffTest"
jenkins-bot [Mon, 23 Jun 2014 22:51:38 +0000 (22:51 +0000)]
Merge "Rename Parser_DiffTest class to ParserDiffTest"

9 years agoAllow fragments in link= parameter in <gallery> tags.
Brian Wolff [Mon, 23 Jun 2014 20:45:41 +0000 (17:45 -0300)]
Allow fragments in link= parameter in <gallery> tags.

This brings the image syntax in gallery tags inline with normal
syntax. Handle <gallery>File:foo.png|link=bar#baz</gallery>
properly.

Bug: 62343
Change-Id: If6149ccc19f70605ad4481e4da2ca55676d6001d

9 years agoMerge "Do not mention deprecated RawPage in hooks.txt"
jenkins-bot [Mon, 23 Jun 2014 22:11:25 +0000 (22:11 +0000)]
Merge "Do not mention deprecated RawPage in hooks.txt"

9 years agoMerge "Don't allow some E_NOTICE messages to end up in the LocalSettings.php"
jenkins-bot [Mon, 23 Jun 2014 20:53:28 +0000 (20:53 +0000)]
Merge "Don't allow some E_NOTICE messages to end up in the LocalSettings.php"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 23 Jun 2014 19:45:05 +0000 (19:45 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I7936dc2fe8dffaa2cd2143e5fa0844de9d1061e4

9 years agoMerge "Fix rendering of centered caption-less images"
jenkins-bot [Mon, 23 Jun 2014 19:32:27 +0000 (19:32 +0000)]
Merge "Fix rendering of centered caption-less images"

9 years agoMerge "Fix typo in Special:MIMESearch causing minor part to be ignored."
jenkins-bot [Mon, 23 Jun 2014 19:25:36 +0000 (19:25 +0000)]
Merge "Fix typo in Special:MIMESearch causing minor part to be ignored."

9 years agoMerge "Hide the caption of frameless or inline images in Parsoid HTML"
jenkins-bot [Mon, 23 Jun 2014 19:18:48 +0000 (19:18 +0000)]
Merge "Hide the caption of frameless or inline images in Parsoid HTML"

9 years agoMerge "Remove SpecialPage::getFile"
jenkins-bot [Mon, 23 Jun 2014 19:08:49 +0000 (19:08 +0000)]
Merge "Remove SpecialPage::getFile"

9 years agoMerge "GlobalVarConfig shouldn't throw exceptions for null-valued config settings"
jenkins-bot [Mon, 23 Jun 2014 19:08:21 +0000 (19:08 +0000)]
Merge "GlobalVarConfig shouldn't throw exceptions for null-valued config settings"

9 years agoReplace deprecated File::sha1Base36 call
umherirrender [Mon, 23 Jun 2014 19:02:09 +0000 (21:02 +0200)]
Replace deprecated File::sha1Base36 call

Change-Id: I0a2485f1a9426183e1b1c5a5b6e95966f23da237

9 years agoCorrect comment about getPropsFromPath/sha1Base36 in sql files
umherirrender [Mon, 23 Jun 2014 18:58:37 +0000 (20:58 +0200)]
Correct comment about getPropsFromPath/sha1Base36 in sql files

The function of class File are deprecated, so change comment to FSFile.

Change-Id: I2350b2d6d6b09d4d2f6d64ab04891e0911595cb0

9 years agoRemove SpecialPage::getFile
umherirrender [Mon, 23 Jun 2014 18:37:36 +0000 (20:37 +0200)]
Remove SpecialPage::getFile

Left over from I0e78453544abb5de7935b046c838ae5b3c4da802, where the
private property was removed.

Change-Id: Id75661aa0b16bc99ae8618b6698015d052adb91d

9 years agoDo not mention deprecated RawPage in hooks.txt
umherirrender [Mon, 23 Jun 2014 18:28:47 +0000 (20:28 +0200)]
Do not mention deprecated RawPage in hooks.txt

Replaced by RawAction

Change-Id: Ic7d24ccf41c2571c76da486c6513b2dd325b8fd0

9 years agoSpecialSearch: Simplify result info
Chad Horohoe [Fri, 20 Jun 2014 17:07:01 +0000 (10:07 -0700)]
SpecialSearch: Simplify result info

- Removes two message cases we never actually hit, moves remaining
  case up to the short dialog instead of in the form header area.
- Remove superfluous <ul> with a single item.
- Tweak styling a tad, smaller font, etc.
- Simplify counting and some presentation logic while we're here.

Change-Id: Ib04f08231ea4138116f31f60910df61bd8445043

9 years agoFix rendering of centered caption-less images
Gabriel Wicke [Mon, 23 Jun 2014 17:18:58 +0000 (10:18 -0700)]
Fix rendering of centered caption-less images

These were not actually centered before. Setting the display mode to table as
for captioned thumbs fixes this issue.

Bug: 51245

Change-Id: I18e0c173109a2184f9785f7f2a390a4582c7a881

9 years agoMerge "Removed setLang() too from IContextSource subclasses"
jenkins-bot [Mon, 23 Jun 2014 17:48:38 +0000 (17:48 +0000)]
Merge "Removed setLang() too from IContextSource subclasses"

9 years agoMerge "Database search fixes:"
jenkins-bot [Mon, 23 Jun 2014 17:37:05 +0000 (17:37 +0000)]
Merge "Database search fixes:"

9 years agoHide the caption of frameless or inline images in Parsoid HTML
Gabriel Wicke [Fri, 13 Jun 2014 20:10:03 +0000 (13:10 -0700)]
Hide the caption of frameless or inline images in Parsoid HTML

Bug: 51245
Change-Id: Ia88bf58e647e2e53b83e86c841d45001f9fb0333

9 years agoGlobalVarConfig shouldn't throw exceptions for null-valued config settings
Brad Jorsch [Mon, 23 Jun 2014 17:03:53 +0000 (13:03 -0400)]
GlobalVarConfig shouldn't throw exceptions for null-valued config settings

Use array_key_exists rather than isset to test $GLOBALS.

Bug: 66986
Change-Id: I9beabd79e1d52966b9184c9647af5a2a31c19276

9 years agoRemove SearchEngineReplacePrefixesComplete hook
Chad Horohoe [Fri, 20 Jun 2014 22:18:42 +0000 (15:18 -0700)]
Remove SearchEngineReplacePrefixesComplete hook

This hook is poorly thought out. The only extension that uses it
can't possibly think it works how they're expecting.

Change-Id: I853a01afc8e922f22e949321a2f2343d264632a6

9 years agobrowser acceptance tests
cmcmahon [Thu, 15 May 2014 17:40:01 +0000 (10:40 -0700)]
browser acceptance tests

Apropos of https://www.mediawiki.org/wiki/Wikimedia_Release_and_QA_Team/Quarterly_review,_April_2014#Action_items

Tests pass on a bare wiki install, beta enwiki, beta dewiki, beta hewiki

Bug: 66272

Ported create_account.feature and supporting files from /qa/browsertest without needing updates
Change-Id: I2b4bfa512a33ff31cc0369dfd9ec19cb875d5e36

9 years agoMerge "ApiParse: Add disableeditsection parameter"
jenkins-bot [Mon, 23 Jun 2014 13:57:23 +0000 (13:57 +0000)]
Merge "ApiParse: Add disableeditsection parameter"

9 years agoMerge "Expose $wgLocalInterwikis via the API"
jenkins-bot [Mon, 23 Jun 2014 13:55:00 +0000 (13:55 +0000)]
Merge "Expose $wgLocalInterwikis via the API"

9 years agoMerge "Typo in documentation: wgMaxShell not wgShellMax"
jenkins-bot [Mon, 23 Jun 2014 13:18:12 +0000 (13:18 +0000)]
Merge "Typo in documentation: wgMaxShell not wgShellMax"

9 years agoMerge "Make the deprecation notice actually useful by listing the class"
jenkins-bot [Mon, 23 Jun 2014 13:15:00 +0000 (13:15 +0000)]
Merge "Make the deprecation notice actually useful by listing the class"

9 years agoTypo in documentation: wgMaxShell not wgShellMax
rillke [Mon, 23 Jun 2014 13:02:37 +0000 (15:02 +0200)]
Typo in documentation: wgMaxShell not wgShellMax

Change-Id: I02f2437c33e87ea389e4bbb753af0c6cc18b4410

9 years agoMerge "Use user name for $6 of message 'revision-info'"
jenkins-bot [Mon, 23 Jun 2014 12:14:10 +0000 (12:14 +0000)]
Merge "Use user name for $6 of message 'revision-info'"

9 years agoMerge "Add authorship info and tweaks to $wgExtensionCredits for core skins"
jenkins-bot [Mon, 23 Jun 2014 00:56:05 +0000 (00:56 +0000)]
Merge "Add authorship info and tweaks to $wgExtensionCredits for core skins"

9 years agoRename Parser_DiffTest class to ParserDiffTest
withoutaname [Sun, 22 Jun 2014 20:13:46 +0000 (13:13 -0700)]
Rename Parser_DiffTest class to ParserDiffTest

Change-Id: I5fca44a3fffbc60a66be32fad9ed6d1713056d81

9 years agoRemoved setLang() too from IContextSource subclasses
withoutaname [Fri, 20 Jun 2014 23:09:15 +0000 (16:09 -0700)]
Removed setLang() too from IContextSource subclasses

getLang() has been removed by e45e0b1a6.

Change-Id: I813f96b78211fbbe5b2e93488fcf1c28878b8d5a

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 22 Jun 2014 19:26:46 +0000 (19:26 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I9778079ddb92602259510e91574e63911bd17dac

9 years agoUse user name for $6 of message 'revision-info'
umherirrender [Fri, 13 Jun 2014 14:59:09 +0000 (16:59 +0200)]
Use user name for $6 of message 'revision-info'

Giving the user id is not useful for GENDER, it needs a user name.
Was added in r53505.

Change-Id: I3420561b1198c8c90b5411dd619205af38291b69

9 years agoMerge "mediawiki.searchSuggest: Enable result caching"
jenkins-bot [Sun, 22 Jun 2014 16:21:26 +0000 (16:21 +0000)]
Merge "mediawiki.searchSuggest: Enable result caching"

9 years agoMerge "jquery.suggestions: Support caching results to save http requests"
jenkins-bot [Sun, 22 Jun 2014 16:21:13 +0000 (16:21 +0000)]
Merge "jquery.suggestions: Support caching results to save http requests"

9 years agoMerge "Only list Create account when permissions allow it"
jenkins-bot [Sun, 22 Jun 2014 16:09:16 +0000 (16:09 +0000)]
Merge "Only list Create account when permissions allow it"

9 years agoMerge "Special:ExpandTemplates: Load RL modules"
jenkins-bot [Sun, 22 Jun 2014 15:25:26 +0000 (15:25 +0000)]
Merge "Special:ExpandTemplates: Load RL modules"

9 years agoSpecial:ExpandTemplates: Load RL modules
Derk-Jan Hartman [Mon, 5 May 2014 00:08:10 +0000 (02:08 +0200)]
Special:ExpandTemplates: Load RL modules

Bug: 39049
Change-Id: I85d0c820d7fb5e3faa0081bf2e8e4672f2887b38

9 years agoMove implementations of Page to separate file
withoutaname [Sun, 22 Jun 2014 01:29:03 +0000 (18:29 -0700)]
Move implementations of Page to separate file

Moved implementations of the Page interface, including subclasses
of WikiPage and Article, to a separate /includes/page file.
Separated PoolWorkArticleView to the includes/poolcounter file.

Change-Id: I4557eab76e0cb12d9d7f93644c5831bdd5b472b0

9 years agoExpose $wgLocalInterwikis via the API
This, that and the other [Sun, 22 Jun 2014 05:26:28 +0000 (15:26 +1000)]
Expose $wgLocalInterwikis via the API

This will hopefully be useful to Parsoid.

Bug: 66709
Change-Id: I67d789172d4c6b786ed781f80e513692b3ae4119

9 years agoRemove info(), purge(), revert() and rollback() from Article.php
withoutaname [Sun, 22 Jun 2014 00:57:41 +0000 (17:57 -0700)]
Remove info(), purge(), revert() and rollback() from Article.php

Deprecated since 1.19 and transferred to Action subclasses

Change-Id: I92c441132946eb5be26c729f70bc32bace4937fb

9 years agoMerge "SpecialVersion: Localize '[no name]'"
jenkins-bot [Sat, 21 Jun 2014 20:14:59 +0000 (20:14 +0000)]
Merge "SpecialVersion: Localize '[no name]'"

9 years agoMerge "Add a 'namemsg' parameter to $wgExtensionCredits for localizable names"
jenkins-bot [Sat, 21 Jun 2014 20:09:32 +0000 (20:09 +0000)]
Merge "Add a 'namemsg' parameter to $wgExtensionCredits for localizable names"

9 years agoDon't allow some E_NOTICE messages to end up in the LocalSettings.php
Mark A. Hershberger [Sat, 21 Jun 2014 18:37:42 +0000 (14:37 -0400)]
Don't allow some E_NOTICE messages to end up in the LocalSettings.php

There is probably a better, more comprehensive way to produce a
LocalSettings.php file so that E_STRICT and E_NOTICE errors don't end
up in the file, or to notify users that there is a problem with the
generated file, at least.   This only attempts to address those issues
reported as a result of c978cee8562f018dab158b41e15266fcf873bf1b.

Bug: 66922
Change-Id: I0fe70446d9fe23aed2a147e20e5ff3851371726d

9 years agoFix typo in Special:MIMESearch causing minor part to be ignored.
Brian Wolff [Sat, 21 Jun 2014 17:19:42 +0000 (14:19 -0300)]
Fix typo in Special:MIMESearch causing minor part to be ignored.

img_minor_mime was being added to wrong part of query info
array, and thus was being ignored.

Whoops.

Change-Id: I55f45f5ae9621ff1319b34a2aa85cb4bd2c96253
Follow-up: c93baa941a5a56b7

9 years agoAdd authorship info and tweaks to $wgExtensionCredits for core skins
Bartosz Dziewoński [Sat, 21 Jun 2014 10:46:48 +0000 (12:46 +0200)]
Add authorship info and tweaks to $wgExtensionCredits for core skins

Change-Id: I13ae94385b629fcd504b84470471e0125f39f22d

9 years agoFix comment for @param
Kartik Mistry [Sat, 21 Jun 2014 11:24:42 +0000 (16:54 +0530)]
Fix comment for @param

Change-Id: I3838ba86c3d0d361643cfcef7f6a64950d941427

9 years agoSpecialVersion: Localize '[no name]'
Bartosz Dziewoński [Sat, 21 Jun 2014 10:50:22 +0000 (12:50 +0200)]
SpecialVersion: Localize '[no name]'

No one noticed this isn't localized because it's basically never shown
in practice, but let's do it properly anyway.

Change-Id: I43a03c54e064e62b1d459773f05536d2d2cd9468

9 years agoAdd a 'namemsg' parameter to $wgExtensionCredits for localizable names
Bartosz Dziewoński [Sat, 21 Jun 2014 10:33:54 +0000 (12:33 +0200)]
Add a 'namemsg' parameter to $wgExtensionCredits for localizable names

Works similarly to 'description' and 'descriptionmsg', but 'name'
is still required because of weird shenanigans Special:Version does.
(And would be a good idea anyway for backwards-compatibility with
older MediaWikis.)

The primary use-case is skins (which have already traditionally had
translateable names in MediaWiki, but weren't always shown on
Special:Version), but there's no reason why regular extensions can't
use this too.

Skins which already have a translated name for Special:Preferences
('skinname-<skin>' messages) can reuse the same message here.

Change-Id: Iae6f770a8fe1968670429c22aefc1ae55e8dba6f

9 years agoMake the deprecation notice actually useful by listing the class
Niklas Laxström [Sat, 21 Jun 2014 10:59:05 +0000 (10:59 +0000)]
Make the deprecation notice actually useful by listing the class

Follows-up Id8a559a

Change-Id: I101e5e864d6c14d2a67721514f02c5166137211f

9 years agoMerge "Fix capitalization of "MonoBook" in findHooks.php"
jenkins-bot [Sat, 21 Jun 2014 09:51:29 +0000 (09:51 +0000)]
Merge "Fix capitalization of "MonoBook" in findHooks.php"

9 years agoMerge "Kill $wgEnableNewpagesUserFilter"
jenkins-bot [Sat, 21 Jun 2014 06:11:54 +0000 (06:11 +0000)]
Merge "Kill $wgEnableNewpagesUserFilter"

9 years agoApiParse: Add disableeditsection parameter
Kunal Mehta [Sat, 21 Jun 2014 06:09:18 +0000 (23:09 -0700)]
ApiParse: Add disableeditsection parameter

To disable edit section links in the parser output

Bug: 62723
Change-Id: I499c4bb0cd85964e78db3362e13a8033a2e9aed0

9 years agoFix capitalization of "MonoBook" in findHooks.php
Kevin Israel [Sat, 21 Jun 2014 02:47:27 +0000 (22:47 -0400)]
Fix capitalization of "MonoBook" in findHooks.php

Follows-up ec1ccf436751 and 4bbd1c44d90f.

Change-Id: I08e4ff78b2bb2a5582ef612b0248e0c7338436a2