lhc/web/wiklou.git
8 years agoWikiPage::testPreSaveTransform() was removed
Reedy [Sat, 2 Jan 2016 20:56:43 +0000 (20:56 +0000)]
WikiPage::testPreSaveTransform() was removed

Change-Id: Ibce32556b8213a36876dcb4c6f385afa6e6875aa

8 years agoWikiPage::updateRestrictions() was removed
Reedy [Sat, 2 Jan 2016 20:47:25 +0000 (20:47 +0000)]
WikiPage::updateRestrictions() was removed

Change-Id: If5bdf84b94fec928387ee12492fbec1f511ca059

8 years agoMerge "Removed OutputPage::includeJQuery()"
jenkins-bot [Sat, 2 Jan 2016 20:42:53 +0000 (20:42 +0000)]
Merge "Removed OutputPage::includeJQuery()"

8 years agoMerge "User::getSkin() was removed"
jenkins-bot [Sat, 2 Jan 2016 20:42:49 +0000 (20:42 +0000)]
Merge "User::getSkin() was removed"

8 years agoMerge "Update zordius/lightncandy to v0.23"
jenkins-bot [Sat, 2 Jan 2016 20:00:30 +0000 (20:00 +0000)]
Merge "Update zordius/lightncandy to v0.23"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 2 Jan 2016 19:42:58 +0000 (20:42 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I5614864ef5176a595711329006aafe80f8040ff8

8 years agoRemoved OutputPage::includeJQuery()
Reedy [Sat, 2 Jan 2016 15:17:11 +0000 (15:17 +0000)]
Removed OutputPage::includeJQuery()

All callers use method_exists() to call it

Then include ancient jquery themselves...

Change-Id: I7e270abc7b052156ed1e1793269595a647797526

8 years agoUser::getSkin() was removed
Reedy [Sat, 2 Jan 2016 02:49:43 +0000 (02:49 +0000)]
User::getSkin() was removed

Change-Id: I7602ab7609b13b807e67296c8ce0a1d184c88521

8 years agoUpdate zordius/lightncandy to v0.23
Reedy [Sat, 19 Dec 2015 00:28:26 +0000 (00:28 +0000)]
Update zordius/lightncandy to v0.23

Depends-On: If8cf6905c5b590ae3bb0297153e966d24ea3bcb8

Change-Id: I1aa2cb76680f4b0c60f3196cc92f0bd18cbcfd33

8 years agoOutputPage::blockedPage() was removed
Reedy [Sat, 2 Jan 2016 18:53:28 +0000 (18:53 +0000)]
OutputPage::blockedPage() was removed

Change-Id: Ie25b69e14155869ff0374a49f1ec3806f026da9d

8 years agoConvert Special:ConfirmEmail to OOUIHTMLForm
Florian [Thu, 5 Nov 2015 17:28:54 +0000 (18:28 +0100)]
Convert Special:ConfirmEmail to OOUIHTMLForm

Bug: T117792
Change-Id: I41e752d91598e8e00376e8b2a56629bb40a39ac3

8 years agoConvert Special:EmailUser to use OOUIHTMLForm
Florian [Thu, 5 Nov 2015 17:54:57 +0000 (18:54 +0100)]
Convert Special:EmailUser to use OOUIHTMLForm

It already used HTMLForm for the main form, but the form, which asked for
the username didn't.

Converted the "Enter username" form to use HTMLForm and show it, if no user-
name was passed to the form, show the main "Send e-mail" form, instead.

Extra points:
 - Let HTMLForm::setSubmit*() function return it's own HTMLForm instance

Bug: T117791
Change-Id: I6231577047c93781496e0f8af6809e2ef49e662a

8 years agoUse OOUI on Special:BlockList
Florian [Mon, 27 Jul 2015 20:37:37 +0000 (22:37 +0200)]
Use OOUI on Special:BlockList

Switch to OOUI HtmlForm and replace mediawiki.userSuggest with
OOUI HtmlForm type user.

Bug: T117734
Change-Id: I37d9acbdd272c0cc2f2e120aada2e9fcea215509

8 years agoOutputPage::permissionRequired() was removed
Reedy [Sat, 2 Jan 2016 15:37:15 +0000 (15:37 +0000)]
OutputPage::permissionRequired() was removed

Change-Id: I9ff1d601cf5fc3402f22bdaf829ae2e287652d31

8 years agoMerge "wfEmptyMsg() was removed"
jenkins-bot [Sat, 2 Jan 2016 17:08:50 +0000 (17:08 +0000)]
Merge "wfEmptyMsg() was removed"

8 years agowfEmptyMsg() was removed
Reedy [Sat, 2 Jan 2016 03:05:05 +0000 (03:05 +0000)]
wfEmptyMsg() was removed

Bug: T70750
Change-Id: I8c641f5698da2b1ad18d3285b5705d3fe9a3e655

8 years agoUpdate wfGetDB calls in Maintenance scripts to use getDB()
Reedy [Thu, 31 Dec 2015 00:07:37 +0000 (00:07 +0000)]
Update wfGetDB calls in Maintenance scripts to use getDB()

Change-Id: I9ad6745d84506b736dae94747256caac89715899

8 years agoMerge "Convert Special:ExpandTemplates to OOUI"
jenkins-bot [Sat, 2 Jan 2016 16:36:38 +0000 (16:36 +0000)]
Merge "Convert Special:ExpandTemplates to OOUI"

8 years agoMerge "Convert Special:Export to OOUI"
jenkins-bot [Sat, 2 Jan 2016 16:34:22 +0000 (16:34 +0000)]
Merge "Convert Special:Export to OOUI"

8 years agoConvert Special:ExpandTemplates to OOUI
Florian [Sat, 28 Nov 2015 22:57:30 +0000 (23:57 +0100)]
Convert Special:ExpandTemplates to OOUI

Extra points:
 * Add error message, when $input was not fiven (previous behaviour was, that
   the form was simply displayed again.

Bug: T117748
Change-Id: Ibe4e010fe9d0b2520c2d6964bd66cb2bca3b0bc7

8 years agoConvert Special:Export to OOUI
Florian [Wed, 25 Nov 2015 20:20:16 +0000 (21:20 +0100)]
Convert Special:Export to OOUI

Bug: T117753
Change-Id: I974e5b2daefd52cc6c3ba75bc0752492fb86c488

8 years agoConvert Special:ComparePages to OOUI
Florian [Wed, 4 Nov 2015 18:14:57 +0000 (19:14 +0100)]
Convert Special:ComparePages to OOUI

Bug: T117752
Change-Id: I480c2165c908ca7c8e08ed5990e386ddb515f3b0

8 years agoregistration: Allow setting $wgCentralIdLookupProviders
Kunal Mehta [Sat, 2 Jan 2016 07:13:31 +0000 (23:13 -0800)]
registration: Allow setting $wgCentralIdLookupProviders

Follows up d032bb52cd8c0d.

Change-Id: I43f4fb3d7b2fafc437abcfda73bf865aa8600ba2

8 years agoregistration: Handle $wgExtensionCredits inside the ExtensionProcessor
Kunal Mehta [Sat, 2 Jan 2016 06:53:20 +0000 (22:53 -0800)]
registration: Handle $wgExtensionCredits inside the ExtensionProcessor

Bug: T108269
Change-Id: I92675dac5cca52448e24902d0a5c865fd6df46d9

8 years agoMerge "build: Update mediawiki/mediawiki-codesniffer to 0.5.1"
jenkins-bot [Sat, 2 Jan 2016 10:21:08 +0000 (10:21 +0000)]
Merge "build: Update mediawiki/mediawiki-codesniffer to 0.5.1"

8 years agoMerge "rebuildrecentchanges.php: Document a little bit"
jenkins-bot [Sat, 2 Jan 2016 10:12:27 +0000 (10:12 +0000)]
Merge "rebuildrecentchanges.php: Document a little bit"

8 years agobuild: Update mediawiki/mediawiki-codesniffer to 0.5.1
Paladox [Tue, 29 Dec 2015 10:30:42 +0000 (10:30 +0000)]
build: Update mediawiki/mediawiki-codesniffer to 0.5.1

Two rules are ignored for now to allow us to upgrade:
* MediaWiki.ControlStructures.AssignmentInControlStructures.AssignmentInControlStructures
* Generic.ControlStructures.InlineControlStructure.NotAllowed

Also ignore the .git folder.

Change-Id: I1b149c72b27be54e22e369999ad0c41c2d1fc2b4

8 years agoMerge "Add more cases to MediaWikiTestCaseTest"
jenkins-bot [Sat, 2 Jan 2016 09:44:06 +0000 (09:44 +0000)]
Merge "Add more cases to MediaWikiTestCaseTest"

8 years agoMerge "WikiPage::getUsedTemplates() was removed"
jenkins-bot [Sat, 2 Jan 2016 09:16:57 +0000 (09:16 +0000)]
Merge "WikiPage::getUsedTemplates() was removed"

8 years agoMerge "Update MessagePoster topic title docs"
jenkins-bot [Sat, 2 Jan 2016 07:38:47 +0000 (07:38 +0000)]
Merge "Update MessagePoster topic title docs"

8 years agoUpdate MessagePoster topic title docs
Matthew Flaschen [Fri, 1 Jan 2016 03:00:27 +0000 (22:00 -0500)]
Update MessagePoster topic title docs

This limitation was for Flow, which now has slightly expanded support.
As far as I know, there are no MessagePoster implementations other than
wikitext and Flow.

Change-Id: Ia0eaeade693f632aa6b9fb9e9f73c41360d5cadf

8 years agoWikiPage::getUsedTemplates() was removed
Reedy [Sat, 2 Jan 2016 02:56:17 +0000 (02:56 +0000)]
WikiPage::getUsedTemplates() was removed

Change-Id: I5c17a57042025b2f72083a97034a5a2dd6c8cfb5

8 years agoMerge "mw.Upload.BookletLayout: Add help text for name and description fields"
jenkins-bot [Sat, 2 Jan 2016 00:02:36 +0000 (00:02 +0000)]
Merge "mw.Upload.BookletLayout: Add help text for name and description fields"

8 years agoMerge "mw.Upload.BookletLayout: Don't show file extension in the filename input"
jenkins-bot [Sat, 2 Jan 2016 00:02:30 +0000 (00:02 +0000)]
Merge "mw.Upload.BookletLayout: Don't show file extension in the filename input"

8 years agomw.Upload.BookletLayout: Add help text for name and description fields
Prateek Saxena [Tue, 17 Nov 2015 06:27:21 +0000 (11:57 +0530)]
mw.Upload.BookletLayout: Add help text for name and description fields

Copied the following string from UploadWizard into core to be shown as
help text near the input fields:
 * mwe-upwiz-tooltip-title
 * mwe-upwiz-tooltip-description

Bug: T116086
Change-Id: Iaaac4908c71b416888921a4e45de66fa87ab448d

8 years agoUpdate nmred/kafka-php to v0.1.5
Reedy [Sat, 19 Dec 2015 00:59:10 +0000 (00:59 +0000)]
Update nmred/kafka-php to v0.1.5

Change-Id: Iab9a32807c8f9e6a4c72566d3742bf0dc99a7d3e
Depends-On: Ibb9e988b9e81445641c96075a064090d5ed146ca

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 1 Jan 2016 18:20:11 +0000 (19:20 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia9ecc303c52bbf66f784b58e23dc5d1633435cf6

8 years agoMerge "HTMLForm: Add comment to help grepping function names"
jenkins-bot [Fri, 1 Jan 2016 06:00:28 +0000 (06:00 +0000)]
Merge "HTMLForm: Add comment to help grepping function names"

8 years agoHTMLForm: Add comment to help grepping function names
This, that and the other [Fri, 1 Jan 2016 05:53:13 +0000 (16:53 +1100)]
HTMLForm: Add comment to help grepping function names

This confuses me every time I try to figure out HTMLForm's logic flow...

Change-Id: I80ff89caeeaac9af6ff435ecd5c4176615d41d82

8 years agoMake maintenance scripts use beginTransaction/commitTransaction
Aaron Schulz [Thu, 31 Dec 2015 00:10:31 +0000 (16:10 -0800)]
Make maintenance scripts use beginTransaction/commitTransaction

Change-Id: I700437a016a40ad82951ae56d215f6dace2bb612

8 years agoAdd 7zip compression level param to BackupDumper
Andrew H [Thu, 31 Dec 2015 02:11:21 +0000 (02:11 +0000)]
Add 7zip compression level param to BackupDumper

Adds a --7ziplevel param to dumpBackup.php and dumpTextPass.php,
used when an --output of type '7zip' is specified.

Bug: T78669
Change-Id: I9ee8169daf30b4d8251c7a344b593c29c81eb799

8 years agoMerge "registration: Prevent loading the same thing twice"
jenkins-bot [Thu, 31 Dec 2015 18:15:54 +0000 (18:15 +0000)]
Merge "registration: Prevent loading the same thing twice"

8 years agoRefactor dumpBackup.php and dumpTextPass.php to be Maintenance subclasses
This, that and the other [Thu, 31 Dec 2015 09:46:54 +0000 (20:46 +1100)]
Refactor dumpBackup.php and dumpTextPass.php to be Maintenance subclasses

Use the Maintenance class's new $orderedOptions and support for
passing options multiple times. This allows for option "chaining".

The BackupDumper and TextPassDumper class now extend Maintenance, but
should continue to function as before. The public function processArgs()
has been removed and replaced by processOptions(), which takes no
parameters. It is unlikely that users of these classes were calling
processArgs.

Inheritors of these classes that overrode processOption() will now need to
override processOptions() and use Maintenance::getOption() and friends.

The maintenance/backupTextPass.inc file has been deleted. Users should
include maintenance/dumpTextPass.php instead.

Bug: T122587
Change-Id: I2473ee119c185d1b2b00ac4b1e70ee8a6cafe4a3

8 years agodumpBackup.php: Remove --force-normal option
Kevin Israel [Mon, 28 Sep 2015 23:15:49 +0000 (19:15 -0400)]
dumpBackup.php: Remove --force-normal option

The code handling this option, added in r14151 / 64cbfd80b576, used to call
dl() to allow use of the utfnormal library's custom PHP extension even if
it is not enabled in php.ini. That part was removed in 1.22 (d0c8ba037cf6).

And as pointed out by Ariel Glenn[1], the utfnormal library later dropped
support for that PHP extension in 6c61fd7c7843 (in favor of intl, which had
already been supported since 1.17 (r69626 / f08147c313f5)), so there is now
no reason whatsoever to check for utf8_normalize(). The option will now be
treated like any other unrecognized option and will be silently ignored.

[1]: https://phabricator.wikimedia.org/T94277#1680209

Change-Id: I467bf609fda6e923fd2d654400d8e1b6c3714d96

8 years agoMerge "Add loadWithArgv() to Maintenance class"
jenkins-bot [Thu, 31 Dec 2015 01:36:37 +0000 (01:36 +0000)]
Merge "Add loadWithArgv() to Maintenance class"

8 years agoAdd loadWithArgv() to Maintenance class
Andrew H [Wed, 30 Dec 2015 20:43:10 +0000 (20:43 +0000)]
Add loadWithArgv() to Maintenance class

Very useful for passing in arguments to test Maintenance scripts.
Also, add a comment clarifying when $orderedOptions is available.

Change-Id: Ib25b3b36816bdf566c427b67646554a31a9fef0f

8 years agoMerge "Fix some FSFileBackend IDEA errors"
jenkins-bot [Thu, 31 Dec 2015 01:18:46 +0000 (01:18 +0000)]
Merge "Fix some FSFileBackend IDEA errors"

8 years agoMerge "Fix corrupt ©"
jenkins-bot [Thu, 31 Dec 2015 01:14:54 +0000 (01:14 +0000)]
Merge "Fix corrupt ©"

8 years agoMerge "Fix some FileOpBatch IDEA errors"
jenkins-bot [Thu, 31 Dec 2015 01:11:13 +0000 (01:11 +0000)]
Merge "Fix some FileOpBatch IDEA errors"

8 years agoFix corrupt ©
Reedy [Thu, 31 Dec 2015 01:01:23 +0000 (01:01 +0000)]
Fix corrupt ©

Change-Id: I2a875cf770e19834fdd22d57691ed945e524d7d7

8 years agoFix numerious errors in RecompressTracked
Aaron Schulz [Thu, 31 Dec 2015 00:21:46 +0000 (16:21 -0800)]
Fix numerious errors in RecompressTracked

* Fix method calls to wrong classes
* Cleanup IDEA errors in static analysis

Change-Id: Ibd0fdb52db884abefb149f5340a4a4b5dad2c89b

8 years agoClean up transactions in maintenance scripts
Aaron Schulz [Tue, 22 Dec 2015 08:51:42 +0000 (00:51 -0800)]
Clean up transactions in maintenance scripts

Add transaction methods to complement getDB().
This makes it easy to grep for direct begin()/commit()
calls to IDatabase by having script use their own
wrapper. Maintenance scripts are one of the few places
that can (and need to) use begin/commit instead of the
start/end atomic methods.

Eventually, there should be almost no direct callers
and those methods can be made stricter about throwing
errors on nested calls.

Change-Id: Ibbfc7a77c0d2a55f7fc2261087f6c3a19061e0aa

8 years agoMerge "Remove use of $dest = 'log' for wfDebugLog"
jenkins-bot [Wed, 30 Dec 2015 22:21:31 +0000 (22:21 +0000)]
Merge "Remove use of $dest = 'log' for wfDebugLog"

8 years agoMerge "Exclude debug log events marked "private" from MWDebug"
jenkins-bot [Wed, 30 Dec 2015 22:15:59 +0000 (22:15 +0000)]
Merge "Exclude debug log events marked "private" from MWDebug"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 30 Dec 2015 20:13:08 +0000 (21:13 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: I6684c2b1975d31feb26ed1f41d479bdc87bf11b0

8 years agoRemove use of $dest = 'log' for wfDebugLog
Bryan Davis [Wed, 30 Dec 2015 19:48:01 +0000 (12:48 -0700)]
Remove use of $dest = 'log' for wfDebugLog

The functionality for marking a debug log message for delivery to a log
file but not to MWDebug was removed in 1.25 with the introduction of
the PSR-3 logging system. Convert the messages that were marked for this
special handling in a7a0883 to use 'private' instead.

Bug: T122644
Change-Id: Iefaac07a5922c16c2899904c7b678199c5b1efe9

8 years agoExclude debug log events marked "private" from MWDebug
Bryan Davis [Wed, 30 Dec 2015 18:31:56 +0000 (11:31 -0700)]
Exclude debug log events marked "private" from MWDebug

Respect the "private" context variable for debug log events when passing
events from MediaWiki\Logger\LegacyLogger to MWDebug::debugMsg. Passing
debug log events marked as private to MWDebug  was a regression
introduced by the PSR-3 logging system.

Restore handling of $dest argument to wfDebug which was removed in 1.25
with the PSR-3 logging conversion. The documentation for $dest = 'log'
has also been removed. This third debug log event handling option was
not implemented in the PSR-3 logging conversion in 1.25. A follow up
change will remove known usage of $dest = 'log' in core.

Bug: T122644
Change-Id: Ib1d999b8b54e584e3944b46e9163a700f11c2e72

8 years agoMerge "Improve styles & align components to CSS/Less guidelines"
jenkins-bot [Wed, 30 Dec 2015 16:12:54 +0000 (16:12 +0000)]
Merge "Improve styles & align components to CSS/Less guidelines"

8 years agoAdd support for specifying options multiple times in Maintenance scripts.
Andrew H [Tue, 29 Dec 2015 22:15:12 +0000 (22:15 +0000)]
Add support for specifying options multiple times in Maintenance scripts.

Bug: T122588
Change-Id: I847d45684ccd4054f4a159394266dc3e5506bbdb

8 years agoregistration: Prevent loading the same thing twice
Kunal Mehta [Wed, 30 Dec 2015 01:52:11 +0000 (17:52 -0800)]
registration: Prevent loading the same thing twice

Normally the registry load queue should filter out duplicates, but if
people do weird things with symlinks, throw a useful error message if
the double-loading makes it all the way to the processor.

Bug: T121493
Change-Id: I47f5cd754e5f3c91e6b83a6d0ab542404347a421

8 years agoImprove styles & align components to CSS/Less guidelines
Volker E [Sat, 26 Dec 2015 04:44:57 +0000 (20:44 -0800)]
Improve styles & align components to CSS/Less guidelines

Aligning mediawiki.ui components to CSS/Less guidelines by
 - harmonizing colors
 - harmonizing whitespaces
 - putting all variables centralized in variables file
 - harmonizing IE version comments

Improving output by
 - order properties where appropriate
 - making use of CSS properties and color values shorthand
   notation where applicable
 - changing fixed values with variables where applicable

Change-Id: Iad71a5342462af8e07fe3e625ecb00ac1559ba74

8 years agoSync up with Parsoid parserTests.
Arlo Breault [Wed, 30 Dec 2015 00:30:43 +0000 (16:30 -0800)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit cc0dfb3271495d764e471d18927b0b3ee8ce1cdb

Change-Id: I3fd6f8cc31a5536471a04d2f6a52de92893f9911

8 years agoMerge "Revert "Sync up with Parsoid parserTests.""
jenkins-bot [Wed, 30 Dec 2015 00:16:48 +0000 (00:16 +0000)]
Merge "Revert "Sync up with Parsoid parserTests.""

8 years agoMerge "registration: Allow loading composer's autoloader if it exists"
jenkins-bot [Wed, 30 Dec 2015 00:16:43 +0000 (00:16 +0000)]
Merge "registration: Allow loading composer's autoloader if it exists"

8 years agoMerge "Split classes in Import.php into separate files"
jenkins-bot [Wed, 30 Dec 2015 00:16:39 +0000 (00:16 +0000)]
Merge "Split classes in Import.php into separate files"

8 years agoMerge "Show user names as subpages of special pages in autocomplete search"
jenkins-bot [Wed, 30 Dec 2015 00:16:20 +0000 (00:16 +0000)]
Merge "Show user names as subpages of special pages in autocomplete search"

8 years agoRevert "Sync up with Parsoid parserTests."
Subramanya Sastry [Tue, 29 Dec 2015 23:33:19 +0000 (23:33 +0000)]
Revert "Sync up with Parsoid parserTests."

Something is broken in the syncing worfklow. I deleted a
test that cscott added in 1888bf560.

Reverting this sync so we can figure out what is broken.

This reverts commit b55a729f74a9af552c1c57586e89e9c6e53b55e4.

Change-Id: Idd32daa95bb44fd073262a1c37ded236bf724e5d

8 years agoregistration: Allow loading composer's autoloader if it exists
victorbarbu [Sun, 27 Dec 2015 09:03:41 +0000 (11:03 +0200)]
registration: Allow loading composer's autoloader if it exists

Extensions that have composer dependencies can set
 "load_composer_autoloader": true
to load "$dir/vendor/autoload.php" if it exists.

While it is recommended to use composer-merge-plugin to manage
composer dependencies for extensions, using a local autoloader
can be easier for development and is used by ExtensionDistributor.

Bug: T119766
Change-Id: Ib031bef17c8a7d708a5c7878e74967d19217bbc8

8 years agoSync up with Parsoid parserTests.
Subramanya Sastry [Tue, 29 Dec 2015 21:43:31 +0000 (15:43 -0600)]
Sync up with Parsoid parserTests.

This now aligns with Parsoid commit cc0dfb3271495d764e471d18927b0b3ee8ce1cdb

Change-Id: Iea3694b397c4e4b8ae87b1e61418767e2109f61e

8 years agoAdd more cases to MediaWikiTestCaseTest
addshore [Tue, 29 Dec 2015 20:13:58 +0000 (20:13 +0000)]
Add more cases to MediaWikiTestCaseTest

Bug: T122598
Change-Id: I19a661ab3b2b96980b9b87ca0813c616e27ab82c

8 years agorebuildrecentchanges.php: Document a little bit
Bartosz Dziewoński [Tue, 29 Dec 2015 00:33:01 +0000 (01:33 +0100)]
rebuildrecentchanges.php: Document a little bit

Change-Id: I44db7a5322566aa0fb47ee07df50ebabcda9cc2d

8 years agoShow user names as subpages of special pages in autocomplete search
umherirrender [Thu, 3 Dec 2015 20:08:31 +0000 (21:08 +0100)]
Show user names as subpages of special pages in autocomplete search

The autocomplete search allows special pages to define the list of
subpages to be excepted. Use user names on the following special pages,
because these special pages can be called with a user name as subpage.

Special:Block
Special:Contributions
Special:DeletedContributions
Special:Emailuser
Special:Listfiles
Special:Unblock
Special:Userrights

This makes it easier to navigate to this special pages with a prefilled
user name field.

Hidden user names are always not shown, because the suggestion is cached
between priviliged user and non-priviliged user.

Change-Id: I7db575bf66caaa5136489ed99f1655673b55adaf

8 years agoFix some FSFileBackend IDEA errors
Aaron Schulz [Tue, 29 Dec 2015 09:46:05 +0000 (01:46 -0800)]
Fix some FSFileBackend IDEA errors

Change-Id: I372ad7af21f223b670498ac17ecac90918ceb2a8

8 years agoFix some FileOpBatch IDEA errors
Aaron Schulz [Tue, 29 Dec 2015 09:34:22 +0000 (01:34 -0800)]
Fix some FileOpBatch IDEA errors

Change-Id: Idd670054b2e257255da18bb8e7048ea9041be269

8 years agoMerge "Align mediawiki.ui vars with CSS color guidelines"
jenkins-bot [Tue, 29 Dec 2015 00:33:35 +0000 (00:33 +0000)]
Merge "Align mediawiki.ui vars with CSS color guidelines"

8 years agoMerge "Fix SpecialFileDuplicateSearch::prefixSearchSubpages"
jenkins-bot [Mon, 28 Dec 2015 23:44:43 +0000 (23:44 +0000)]
Merge "Fix SpecialFileDuplicateSearch::prefixSearchSubpages"

8 years agoMerge "Set TransactionProfiler expectations in the API"
jenkins-bot [Mon, 28 Dec 2015 23:44:39 +0000 (23:44 +0000)]
Merge "Set TransactionProfiler expectations in the API"

8 years agoSplit classes in Import.php into separate files
Krzysztof Zbudniewek [Mon, 28 Dec 2015 22:27:48 +0000 (23:27 +0100)]
Split classes in Import.php into separate files

Bug: T122532
Change-Id: Ic4463ab8d3a7b2779f43efb92cb790dbc1d88064

8 years agoMerge "Avoid CAS update errors on password reset"
jenkins-bot [Mon, 28 Dec 2015 23:38:36 +0000 (23:38 +0000)]
Merge "Avoid CAS update errors on password reset"

8 years agoSet TransactionProfiler expectations in the API
Aaron Schulz [Wed, 16 Dec 2015 23:46:43 +0000 (15:46 -0800)]
Set TransactionProfiler expectations in the API

This is similar to the main() method for index.php but also
makes use of write mode checks to more granular.

Change-Id: I40fbaef0f5eaefaf2c6d0937d49016a17da532da

8 years agoMerge "Add PLURAL support and "human readable" sizes for mediastatistics messages"
jenkins-bot [Mon, 28 Dec 2015 23:27:16 +0000 (23:27 +0000)]
Merge "Add PLURAL support and "human readable" sizes for mediastatistics messages"

8 years agoAdded IDatabase::doAtomicSection() convenience method
Aaron Schulz [Wed, 23 Dec 2015 02:18:59 +0000 (18:18 -0800)]
Added IDatabase::doAtomicSection() convenience method

This can replace startAtomic/endAtomic pairs.

Bug: T122115
Change-Id: I01c8e4773ec2b42dbe87a5508a10b997be103c11

8 years agoSplit Export.php classes into seperate files
mhutti1 [Mon, 28 Dec 2015 22:23:22 +0000 (23:23 +0100)]
Split Export.php classes into seperate files

Moved classes in Export.php to seperate files in the new directory
includes/export/ and updated autoload.php to these new locations.

Bug: T122531
Change-Id: Idd3bba5a85d65c952f2ff503bea2ca76624c9b7f

8 years agoMerge "Added PHP/OS info to benchmark output"
jenkins-bot [Mon, 28 Dec 2015 22:23:39 +0000 (22:23 +0000)]
Merge "Added PHP/OS info to benchmark output"

8 years agoAdded PHP/OS info to benchmark output
nicoco007 [Mon, 28 Dec 2015 18:42:15 +0000 (13:42 -0500)]
Added PHP/OS info to benchmark output

Added PHP version and architecture and OS version to benchmark output.

Change-Id: I018e6bf8bb60f594ac512ef2113e404dd304786a

8 years agoFix SpecialFileDuplicateSearch::prefixSearchSubpages
umherirrender [Mon, 28 Dec 2015 22:10:12 +0000 (23:10 +0100)]
Fix SpecialFileDuplicateSearch::prefixSearchSubpages

search suggestion without namespaces was not showing any list

Follows I71f77c3001a12d75b901807c20115cead9c64e93

Change-Id: Ib361e3de0cfd595e9f8949b9225ed37c29b8a3ef

8 years agomw.Upload.BookletLayout: Don't show file extension in the filename input
Bartosz Dziewoński [Mon, 28 Dec 2015 20:48:30 +0000 (21:48 +0100)]
mw.Upload.BookletLayout: Don't show file extension in the filename input

Also:
* Strip/replace characters that are invalid in MediaWiki page titles
  from the default file name using mw.Title.newFromFileName
* Upload files with the canonical extension for given file type (e.g.
  map '.JPEG' to '.jpg') using mw.Title.normalizeExtension

Change-Id: Ied06682a61581303b720096bb087fc2d9ae4fdbe

8 years agoUse template to render EnhancedChangesList groups
Adam Roses Wight [Mon, 19 Oct 2015 08:33:54 +0000 (01:33 -0700)]
Use template to render EnhancedChangesList groups

Rewrite a chunky HTML string concatenation party as Mustache template
rendering.  This decouples the view from the controller.

Bug: T120921
Change-Id: I3217b80168f89e7b91dbc33a7053865ad3408615

8 years agoMerge "mw.ForeignStructuredUpload.BookletLayout: Use lastModified or EXIF date"
jenkins-bot [Mon, 28 Dec 2015 19:39:37 +0000 (19:39 +0000)]
Merge "mw.ForeignStructuredUpload.BookletLayout: Use lastModified or EXIF date"

8 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 28 Dec 2015 19:35:57 +0000 (20:35 +0100)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie3874e36c1a377fad23bb7156fff1d1f5086bf9c

8 years agomw.ForeignStructuredUpload.BookletLayout: Use lastModified or EXIF date
Prateek Saxena [Tue, 20 Oct 2015 04:57:25 +0000 (10:27 +0530)]
mw.ForeignStructuredUpload.BookletLayout: Use lastModified or EXIF date

Use the file's lastModified date, or EXIF DateTimeOriginal (where
available) as the default value of the DateInputWidget instead of
leaving it blank.

A lot of the code here is from mw.UploadWizardUpload.prototype.checkFile.

Bug: T115863
Change-Id: I75adec9718d89a7177050e8b848478d1b0069dd0

8 years agoMerge "Namespace translations for Gilaki (glk)"
jenkins-bot [Mon, 28 Dec 2015 19:00:45 +0000 (19:00 +0000)]
Merge "Namespace translations for Gilaki (glk)"

8 years agoMerge "Support fragments in getUrl() of mw.Title"
jenkins-bot [Mon, 28 Dec 2015 18:07:10 +0000 (18:07 +0000)]
Merge "Support fragments in getUrl() of mw.Title"

8 years agoMerge "Replace \r\n with \n in resources\src\mediawiki\bookletlayout\*.svg"
jenkins-bot [Mon, 28 Dec 2015 11:12:50 +0000 (11:12 +0000)]
Merge "Replace \r\n with \n in resources\src\mediawiki\bookletlayout\*.svg"

8 years agoNamespace translations for Gilaki (glk)
This, that and the other [Mon, 28 Dec 2015 08:51:28 +0000 (19:51 +1100)]
Namespace translations for Gilaki (glk)

Bug: T122127
Change-Id: I8cf45d9ecdece90a0ae6d70f2436699fc14cff20

8 years agoMerge "Namespace translations for Lojban (jbo)"
jenkins-bot [Mon, 28 Dec 2015 08:22:05 +0000 (08:22 +0000)]
Merge "Namespace translations for Lojban (jbo)"

8 years agoSupport fragments in getUrl() of mw.Title
Andrew H [Sun, 27 Dec 2015 04:04:40 +0000 (04:04 +0000)]
Support fragments in getUrl() of mw.Title

Now that mw.util.getUrl() supports fragments, pass it the title
including fragments.

Bug: T103715
Change-Id: I0e3665e74fd4208a7ab0a9b361803aa37f22d61b

8 years agoAdded a simple smoke test for export
mhutti1 [Fri, 25 Dec 2015 20:14:02 +0000 (21:14 +0100)]
Added a simple smoke test for export

Added ExportTest.php to check that exported xml is valid.

Bug: T116883
Change-Id: I76151a6ab4f88ab1904627ad1d00ed487d0ab606

8 years agoReplace \r\n with \n in resources\src\mediawiki\bookletlayout\*.svg
umherirrender [Sun, 27 Dec 2015 20:56:54 +0000 (21:56 +0100)]
Replace \r\n with \n in resources\src\mediawiki\bookletlayout\*.svg

Unix newline style is used in mediawiki/core, not windows newline style

Follows Ic14da2c6408ab15416dab1ebd1397507d0950b33
Follows I8d8fbf8e58b4ef5d9956731c8b85d5db07b3f5ed
Follows I06c207aa89b85cfa5994fa9be8fa6bc623d739d7

Change-Id: Icb6a3c583072fa4a010d73024ffa0994be30c35c

8 years agoMerge "Use wikimedia/at-ease insteaad of @"
jenkins-bot [Sun, 27 Dec 2015 21:00:26 +0000 (21:00 +0000)]
Merge "Use wikimedia/at-ease insteaad of @"