lhc/web/wiklou.git
9 years agoMerge "Support GENDER in MediaWiki:Blockip and Special:Block"
jenkins-bot [Sat, 9 Aug 2014 16:25:30 +0000 (16:25 +0000)]
Merge "Support GENDER in MediaWiki:Blockip and Special:Block"

9 years agoMerge "mediawiki.content.json.css: Don't use funny fonts"
jenkins-bot [Sat, 9 Aug 2014 15:06:22 +0000 (15:06 +0000)]
Merge "mediawiki.content.json.css: Don't use funny fonts"

9 years agomediawiki.content.json.css: Don't use funny fonts
Bartosz Dziewoński [Sat, 9 Aug 2014 14:58:39 +0000 (16:58 +0200)]
mediawiki.content.json.css: Don't use funny fonts

* Allow skin-provided fonts for .mw-json.
* Use standard monospace font for .mw-json .value. We need to write
  'monospace, monospace' because of old browsers, see design/monospace.html.

Change-Id: I4ed850408895dd1962a0503227ccb384bf479790

9 years agoMake mediawiki.content.json.css not trigger JSDuck
Bartosz Dziewoński [Sat, 9 Aug 2014 14:56:06 +0000 (16:56 +0200)]
Make mediawiki.content.json.css not trigger JSDuck

Fun fact: JSDuck tests don't run for .css file changes on Jenkins, but
when they do run for .js file changes, they also process .css files
and the documentation comments in them.

Change /** to /*! to prevent that, like we've done in other files.

Follow-up to d2a82fcb.

Change-Id: Ib7f9875ea818bc72fe9aaed167b428e570c6df2e

9 years agoUse new static instead of new self
Kunal Mehta [Sat, 9 Aug 2014 13:15:46 +0000 (14:15 +0100)]
Use new static instead of new self

See code review on I957d6bda626b8e749a99717b5c89c4db38a36bf8

Change-Id: I79e4a987636509515df044da7a6951d3e4b4f824

9 years agoMerge "Correct variable types in phpdoc"
jenkins-bot [Sat, 9 Aug 2014 12:37:50 +0000 (12:37 +0000)]
Merge "Correct variable types in phpdoc"

9 years agoCorrect variable types in phpdoc
Tom Arrow [Sat, 9 Aug 2014 12:31:02 +0000 (13:31 +0100)]
Correct variable types in phpdoc

Change-Id: I1a57024868fa47d9537585f1bb738d6f7c725c7a
in: LocalisationCache.php and ImageQueryPage.php

9 years agoRemove unreachable return in ChangesList.php
Tom Arrow [Sat, 9 Aug 2014 12:23:08 +0000 (13:23 +0100)]
Remove unreachable return in ChangesList.php

Change-Id: Ic00d7b4eaebdaa795b550c4213c518b1c56bd297

9 years agoSplit SkinFallback and SkinfallbackTemplate
Tom Arrow [Sat, 9 Aug 2014 12:11:54 +0000 (13:11 +0100)]
Split SkinFallback and SkinfallbackTemplate

Change-Id: I55c866c08d4f442021c43068efe64be871afb96b

9 years agoMerge "Don't include images/categories when behind a local interwiki prefix"
jenkins-bot [Sat, 9 Aug 2014 11:51:07 +0000 (11:51 +0000)]
Merge "Don't include images/categories when behind a local interwiki prefix"

9 years agoMerge "Add $query parameter to OutputPage::addBacklinkSubtitle"
jenkins-bot [Sat, 9 Aug 2014 11:29:08 +0000 (11:29 +0000)]
Merge "Add $query parameter to OutputPage::addBacklinkSubtitle"

9 years agoJSONContent: Use self() instead of explicit class name to support subclasses
Kunal Mehta [Sat, 9 Aug 2014 11:02:33 +0000 (12:02 +0100)]
JSONContent: Use self() instead of explicit class name to support subclasses

Change-Id: I957d6bda626b8e749a99717b5c89c4db38a36bf8

9 years agoJSONContent: Add HTML escaping test from EventLogging
Kunal Mehta [Sat, 9 Aug 2014 10:51:11 +0000 (11:51 +0100)]
JSONContent: Add HTML escaping test from EventLogging

Change-Id: I73908c7614b39bdab953aec079c8dfb991fa463b

9 years agoRemove @todo in SpecialPage for making it into ContextSource
aude [Thu, 24 Jul 2014 13:48:37 +0000 (15:48 +0200)]
Remove @todo in SpecialPage for making it into ContextSource

It is better to have $context as a member variable,
which can be accessed, $special->getContext(), as needed
with a composition approach instead of inheritance.

Having SpecialPage directly inherit makes testing code
a bit more challenging and messy.

Change-Id: I5e5587cbbc9abfb2fa4ab1e7603cd2ddcad1b96d

9 years agoMove MediaWikiPasswordTestCase to password dir
addshore [Sat, 9 Aug 2014 00:16:43 +0000 (01:16 +0100)]
Move MediaWikiPasswordTestCase to password dir

Change-Id: I423e484929ce1bbc21e8f2ddd78196dee3520677

9 years agoRevert "Pass a real IContextSource to ProtectedTitlesPager"
Legoktm [Sat, 9 Aug 2014 00:29:43 +0000 (00:29 +0000)]
Revert "Pass a real IContextSource to ProtectedTitlesPager"

Turns out the first parameter is actually supposed to be the SpecialPage instance.

This reverts commit bfe3fb637eae69817ca9c4b1b6027a77d31a921b.

Change-Id: I7605ef60c7ab10a3d164204620714cc68576f7e2

9 years agoSpecialImport: Use Config instead of globals
Kunal Mehta [Sun, 3 Aug 2014 22:34:32 +0000 (15:34 -0700)]
SpecialImport: Use Config instead of globals

Change-Id: I1903a50d0a2f75cd4e6e78d6da3c41172be4898f

9 years agoLet subclasses specify their associated content class for JSONContentHandler
Kunal Mehta [Fri, 8 Aug 2014 23:51:19 +0000 (00:51 +0100)]
Let subclasses specify their associated content class for JSONContentHandler

Also add @since tags and release notes

Change-Id: I515a51f40b7820a3d45b1219d21923467abe5ecd

9 years agoMerge "Split PoolCounterWorkViaCallback into own file"
jenkins-bot [Fri, 8 Aug 2014 23:56:40 +0000 (23:56 +0000)]
Merge "Split PoolCounterWorkViaCallback into own file"

9 years agoMerge "Restore formatting before split of RevisionDelete.php"
jenkins-bot [Fri, 8 Aug 2014 23:55:31 +0000 (23:55 +0000)]
Merge "Restore formatting before split of RevisionDelete.php"

9 years agoSplit PoolCounterWorkViaCallback into own file
addshore [Fri, 8 Aug 2014 23:44:59 +0000 (00:44 +0100)]
Split PoolCounterWorkViaCallback into own file

Change-Id: I9c920cd03351a2b2b155247d58fbb2280d4d3775

9 years agoAdd JSONContent and handler from EventLogging
Kunal Mehta [Fri, 8 Aug 2014 16:41:26 +0000 (17:41 +0100)]
Add JSONContent and handler from EventLogging

As was discussed at the architecture summit, a basic JSON content
class which handles validation and basic display. Not intended to
be used directly, but for extensions to subclass.

Co-Authored-By: addshore <addshorewiki@gmail.com>
Change-Id: Ifcde9bcd0efcf15a3ab692dd2a0a3038559e0254

9 years agoMerge "Add Uncyclopedia to the default interwiki list."
jenkins-bot [Fri, 8 Aug 2014 21:38:39 +0000 (21:38 +0000)]
Merge "Add Uncyclopedia to the default interwiki list."

9 years agoAdd Uncyclopedia to the default interwiki list.
Lewis Cawte [Fri, 8 Aug 2014 21:29:13 +0000 (22:29 +0100)]
Add Uncyclopedia to the default interwiki list.

As it's a big project and no longer a Wikia project it can
have it's own entry.

Change-Id: I998d722472fe37ff895648d6d8c7ba131987656d

9 years agoAdd ShoutWiki to the default interwiki list.
Lewis Cawte [Wed, 6 Aug 2014 17:42:38 +0000 (18:42 +0100)]
Add ShoutWiki to the default interwiki list.

Change-Id: I0cfa913c03cd9e0c84e2d25a63c3c44e5a135c6a

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 8 Aug 2014 20:53:24 +0000 (22:53 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: If57a80235a04f352da55128892daaa1f096bea28

9 years agoDoc: Parser::getTargetLanguage cannot return null
umherirrender [Fri, 8 Aug 2014 19:03:46 +0000 (21:03 +0200)]
Doc: Parser::getTargetLanguage cannot return null

Change-Id: I979d3d5010dc3d0ada3d82ca6d9546c5e800aaec

9 years agoMerge "includes/resourceloader/: Use Config instead of globals"
jenkins-bot [Fri, 8 Aug 2014 17:25:42 +0000 (17:25 +0000)]
Merge "includes/resourceloader/: Use Config instead of globals"

9 years agoRestore formatting before split of RevisionDelete.php
umherirrender [Fri, 8 Aug 2014 13:55:19 +0000 (15:55 +0200)]
Restore formatting before split of RevisionDelete.php

I244a66fe19c089df4bcabcf745536d99b2103bc4 splitted RevisionDelete.php in
11 files, but that removed code formatting and produced long lines.
Restored code formatting and added newline at end of files.

Change-Id: I51ab4181b723b46a806dad4752420e6bfc530133

9 years agoSkinFallback: Use Config instead of globals
Kunal Mehta [Fri, 8 Aug 2014 09:40:58 +0000 (10:40 +0100)]
SkinFallback: Use Config instead of globals

Change-Id: I2f03f649cdfd334f842d473eaa7613e17f112ab5

9 years agoPass a Config object to QuickTemplate
Kunal Mehta [Fri, 8 Aug 2014 09:40:04 +0000 (10:40 +0100)]
Pass a Config object to QuickTemplate

Change-Id: I9c2c9fb8e2d0cd1474218b2a49b41d053672fe7b

9 years agoRequestContext: Use Config instead of globals
Kunal Mehta [Fri, 8 Aug 2014 09:25:03 +0000 (10:25 +0100)]
RequestContext: Use Config instead of globals

Change-Id: Id6107d0446f5143e60885d002bc8df80a7dc7c10

9 years agoMerge "Html::closeElement: Don't omit closing tags."
jenkins-bot [Fri, 8 Aug 2014 00:43:31 +0000 (00:43 +0000)]
Merge "Html::closeElement: Don't omit closing tags."

9 years agoUse Config instead of globals in MediaWiki
Kunal Mehta [Thu, 7 Aug 2014 20:38:09 +0000 (21:38 +0100)]
Use Config instead of globals in MediaWiki

Change-Id: I1e7a59b0f3d514fc49c6c3f6299000419e018b3c

9 years agoUnify the spelling of MIME in documentation
rillke [Thu, 24 Jul 2014 14:04:48 +0000 (16:04 +0200)]
Unify the spelling of MIME in documentation

Writing MIME as written in Wikipedia and some documentation clean up.

Change-Id: I9dfc36d2bf55d72d9374c4075bd6d45eef0415a4

9 years agoSplit RevisionDelete.php to separate files
Reedy [Thu, 7 Aug 2014 20:43:55 +0000 (21:43 +0100)]
Split RevisionDelete.php to separate files

Change-Id: I244a66fe19c089df4bcabcf745536d99b2103bc4

9 years agoRevisionDelete: Use Config instead of globals
Kunal Mehta [Thu, 7 Aug 2014 19:07:40 +0000 (20:07 +0100)]
RevisionDelete: Use Config instead of globals

Change-Id: Ia4b36a861b86ea44811410011298599b9356a767

9 years agoMerge "Make UserNotLoggedIn redirect to login page"
jenkins-bot [Thu, 7 Aug 2014 18:35:40 +0000 (18:35 +0000)]
Merge "Make UserNotLoggedIn redirect to login page"

9 years agoincludes/resourceloader/: Use Config instead of globals
Kunal Mehta [Thu, 7 Aug 2014 10:25:56 +0000 (11:25 +0100)]
includes/resourceloader/: Use Config instead of globals

Change-Id: Iaa1f4ae9c397575c9bb86dacbc342456e6f5f532

9 years agoMake UserNotLoggedIn redirect to login page
Tyler Romeo [Tue, 15 Jul 2014 18:48:09 +0000 (14:48 -0400)]
Make UserNotLoggedIn redirect to login page

For pages like Special:Watchlist that throw
a UserNotLoggedIn exception when the user is
anonymous, this patch makes the page redirect
to the login page automatically.

This is instead
of the current behavior of showing a link to
the login page that the user must click.

(Also, Special:Userlogin has existing functionality
that will redirect the user back once they are
logged in.)

Bug: 15484
Change-Id: Idd9325374cb5dc13c4c057f45f88a33bdff523a9

9 years agoincludes/specialpage: Use Config instead of globals (almost!)
Kunal Mehta [Thu, 7 Aug 2014 17:28:22 +0000 (18:28 +0100)]
includes/specialpage: Use Config instead of globals (almost!)

SpecialPageFactory is very scary and will need some refactoring
to be de-globalified.

Change-Id: I1de6301e195d94faddf134a53b456029b1079ec8

9 years agoMerge "jquery.tablesorter: Limit the scope of two variables"
jenkins-bot [Thu, 7 Aug 2014 16:29:24 +0000 (16:29 +0000)]
Merge "jquery.tablesorter: Limit the scope of two variables"

9 years agoHtml::closeElement: Don't omit closing tags.
Matthew Flaschen [Thu, 7 Aug 2014 16:09:06 +0000 (12:09 -0400)]
Html::closeElement: Don't omit closing tags.

Although it's allowed by the HTML Living Standard in particular
circumstances, the rules are non-trivial and can not be enforced
by this method since it has no context.

For example, as of http://web.archive.org/web/20140807160955/http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#optional-tags
it says:

"A head element's end tag may be omitted if the head element is not
immediately followed by a space character or a comment."

Html::closeElement has no way of knowing whether there is a space
character or comment after the tag.

There are similar issues with some other tags (e.g. body).  Also,
even when the rule should be followed anyway (e.g. lists can only
contain li elements), there is evidence of browser issues (bug 52210).

Use closing tags for all elements for simplicity.

Bug: 52210
Change-Id: I97ce415288300e40c4d0aa0442bdf4ee3dedb30f

9 years agojquery.tablesorter: Limit the scope of two variables
Derk-Jan Hartman [Thu, 7 Aug 2014 16:12:57 +0000 (17:12 +0100)]
jquery.tablesorter: Limit the scope of two variables

No functional change, but improves readability of the code

Change-Id: If858d198c9ca0e2feb4930f9f94425262f8afbdc

9 years agoMerge "Fix focus state of neutral button on Special:UserLogin"
jenkins-bot [Thu, 7 Aug 2014 15:51:41 +0000 (15:51 +0000)]
Merge "Fix focus state of neutral button on Special:UserLogin"

9 years agoFix focus state of neutral button on Special:UserLogin
Derk-Jan Hartman [Thu, 7 Aug 2014 15:29:39 +0000 (16:29 +0100)]
Fix focus state of neutral button on Special:UserLogin

See: I47578dd340b6c0d244e7696936a7bfa52c36f204
See: I39776b554909978094bfaa031b3ece6066f998ca
Change-Id: I19cf3fa5029d96fdd41b44c1c60693e4ee9683ef

9 years agoFix variable names
robin [Thu, 7 Aug 2014 15:34:57 +0000 (16:34 +0100)]
Fix variable names

Change I2f4d298a15046c4dc02afbf7582c90a1f17ea4cb added $title = $this->getTitle()
but $title was already defined for the delete reason message, causing the delete log except
to be shown always for the page "MediaWiki:Deletereason-dropdown".
Renaming the previous $title to fix this.

Change-Id: Ibecd181e80d83b0163e17d53b0b1b8c4a366ac1d

9 years agoAdded a script to find missing LocalRepo files
Aaron Schulz [Wed, 6 Aug 2014 13:01:56 +0000 (06:01 -0700)]
Added a script to find missing LocalRepo files

Change-Id: I507bd43c6a74568ce94844146c9e20a4d8d17d46

9 years agoMerge "Revert "Revert "Stop always loading MonoBook and Vector"""
Krinkle [Thu, 7 Aug 2014 15:06:03 +0000 (15:06 +0000)]
Merge "Revert "Revert "Stop always loading MonoBook and Vector"""

9 years agoRevert "Revert "Stop always loading MonoBook and Vector""
Krinkle [Thu, 7 Aug 2014 15:05:56 +0000 (15:05 +0000)]
Revert "Revert "Stop always loading MonoBook and Vector""

This reverts commit ad849a2b46ae9daf4457f95c6cc714caa211eb64.

Change-Id: Ibfed909ede8ad657326d23b02b9481ffaf44b026

9 years agoMerge "Revert "Stop always loading MonoBook and Vector""
Krinkle [Thu, 7 Aug 2014 15:03:36 +0000 (15:03 +0000)]
Merge "Revert "Stop always loading MonoBook and Vector""

9 years agoRevert "Stop always loading MonoBook and Vector"
Krinkle [Thu, 7 Aug 2014 15:03:29 +0000 (15:03 +0000)]
Revert "Stop always loading MonoBook and Vector"

This reverts commit aef99727f6bcf655e467dd5a92972c14bda01811.

Change-Id: Ic2b1c8336fb4378db2a5012ad60f04869b20cb09

9 years agoRemove Vector and MonoBook exceptions from skins' .gitignore
Bartosz Dziewoński [Thu, 7 Aug 2014 14:44:14 +0000 (16:44 +0200)]
Remove Vector and MonoBook exceptions from skins' .gitignore

Change-Id: I8bf0095321fd8768ee01ad7d0872c764cfb42bae

9 years agoImprove information for developers about the great skins switchover
Bartosz Dziewoński [Thu, 7 Aug 2014 14:27:01 +0000 (16:27 +0200)]
Improve information for developers about the great skins switchover

Change-Id: Ic62a9e6166c0a491f30abeb82b27824ba883de1a

9 years agoMove Vector and MonoBook to separate repositories
Bartosz Dziewoński [Thu, 7 Aug 2014 11:37:51 +0000 (13:37 +0200)]
Move Vector and MonoBook to separate repositories

This is the final step of the process described at
<https://www.mediawiki.org/wiki/Separating_skins_from_core_MediaWiki>.

Corresponding changes: I84fcf7ce in Vector, I83b1efb4 in MonoBook.

Change-Id: Idfc38503d8397ffe26e139037082d648bc5bfc5c

9 years agoMove Vector's $wg configuration options to Vector.php
Bartosz Dziewoński [Tue, 22 Jul 2014 18:27:46 +0000 (20:27 +0200)]
Move Vector's $wg configuration options to Vector.php

Change-Id: Ic1801bff707ebfb3fccdbf4ac257ed6593ca3178

9 years agoStop always loading MonoBook and Vector
Bartosz Dziewoński [Tue, 22 Jul 2014 21:32:53 +0000 (23:32 +0200)]
Stop always loading MonoBook and Vector

Removing the hack added in Ib4bdda5e.

This will cause an error message to be shown to almost every MediaWiki
user who upgrades their installation (including us developers) until
they add entries for their skins to LocalSettings. This is deemed an
acceptable trade-off, and the message makes it easy to resolve the
issue.

Bug: 68402
Change-Id: I2596ef73088ce94d78ce3dc3ae4da9d81023a2cb

9 years agoRemove score display from search engine
Chad Horohoe [Thu, 7 Aug 2014 13:18:03 +0000 (14:18 +0100)]
Remove score display from search engine

Scores are an internal metric that should not be exposed to
users, plus most backends fail to even support it.

Removes PostgresSearch*-specific result classes as they're not
needed anymore.

Change-Id: I00acaabad0565b9a5b3524c992feea366eb74bcc

9 years agoChange the autonym of Algerian Arabic
Amir E. Aharoni [Thu, 7 Aug 2014 11:24:54 +0000 (12:24 +0100)]
Change the autonym of Algerian Arabic

This name is used in the Incubator at
https://incubator.wikimedia.org/wiki/Wp/arq

Change-Id: I1d59e83580ec683ec2cc19782d6a88252f5af868

9 years agoMerge "ResourceLoaderFileModule::extractBasePaths: Simplify if condition"
jenkins-bot [Thu, 7 Aug 2014 10:35:39 +0000 (10:35 +0000)]
Merge "ResourceLoaderFileModule::extractBasePaths: Simplify if condition"

9 years agoResourceLoaderFileModule::extractBasePaths: Simplify if condition
Kunal Mehta [Thu, 7 Aug 2014 10:27:36 +0000 (11:27 +0100)]
ResourceLoaderFileModule::extractBasePaths: Simplify if condition

Change-Id: I69f090595629dabefaa0c6ddaa9a793a2f86ecfd

9 years agoMerge "Fix spelling and make category desc consistent"
jenkins-bot [Thu, 7 Aug 2014 10:26:44 +0000 (10:26 +0000)]
Merge "Fix spelling and make category desc consistent"

9 years agoMerge "Remove some silly references to skins/common/"
jenkins-bot [Thu, 7 Aug 2014 10:08:05 +0000 (10:08 +0000)]
Merge "Remove some silly references to skins/common/"

9 years agoMerge "Fixes Algerian messages file so it does not convert to Arabic digits."
jenkins-bot [Thu, 7 Aug 2014 08:52:02 +0000 (08:52 +0000)]
Merge "Fixes Algerian messages file so it does not convert to Arabic digits."

9 years agoFixes Algerian messages file so it does not convert to Arabic digits.
jsahleen [Wed, 6 Aug 2014 13:19:07 +0000 (14:19 +0100)]
Fixes Algerian messages file so it does not convert to Arabic digits.

Bug: 69172
Change-Id: I8ba9e135daa2fc80907703b1023172c680fa571b

9 years agoAdd $query parameter to OutputPage::addBacklinkSubtitle
Kunal Mehta [Thu, 7 Aug 2014 08:22:57 +0000 (09:22 +0100)]
Add $query parameter to OutputPage::addBacklinkSubtitle

Change-Id: If6145b5512657bbd9e165b0c614e5061615c294d

9 years agoMerge "Allow factory functions for creating API modules."
jenkins-bot [Thu, 7 Aug 2014 08:07:48 +0000 (08:07 +0000)]
Merge "Allow factory functions for creating API modules."

9 years agoSplit UnwatchAction into own class
addshore [Thu, 7 Aug 2014 00:40:35 +0000 (01:40 +0100)]
Split UnwatchAction into own class

Change-Id: Ief650c115237214345bef7733d33967f0e042521

9 years agoSplit UnprotectAction into own file
addshore [Thu, 7 Aug 2014 00:24:45 +0000 (01:24 +0100)]
Split UnprotectAction into own file

Change-Id: Ibde9dca89631522a25e2f0eef2790c2654a2bbd9

9 years agoRemove some silly references to skins/common/
Bartosz Dziewoński [Thu, 7 Aug 2014 00:05:08 +0000 (02:05 +0200)]
Remove some silly references to skins/common/

Change-Id: I7676de39bf43ab01776198531e337b34405b941a

9 years agoMerge "MediaWiki UI: Adjustments to mw-ui-input"
jenkins-bot [Wed, 6 Aug 2014 23:52:30 +0000 (23:52 +0000)]
Merge "MediaWiki UI: Adjustments to mw-ui-input"

9 years agoMerge "SpecialWithoutInterwiki: Use Config instead of globals"
jenkins-bot [Wed, 6 Aug 2014 23:39:15 +0000 (23:39 +0000)]
Merge "SpecialWithoutInterwiki: Use Config instead of globals"

9 years agoMerge "SpecialWhatlinkshere: Use Config instead of globals"
jenkins-bot [Wed, 6 Aug 2014 23:39:02 +0000 (23:39 +0000)]
Merge "SpecialWhatlinkshere: Use Config instead of globals"

9 years agoMerge "mediawiki.notification: Document that #notify accepts HTMLElement[] too"
jenkins-bot [Wed, 6 Aug 2014 23:03:03 +0000 (23:03 +0000)]
Merge "mediawiki.notification: Document that #notify accepts HTMLElement[] too"

9 years agoMerge "SpecialWantedPages: Use Config instead of globals"
Kunal Mehta [Wed, 6 Aug 2014 22:59:53 +0000 (22:59 +0000)]
Merge "SpecialWantedPages: Use Config instead of globals"

9 years agoSpecialWithoutInterwiki: Use Config instead of globals
Kunal Mehta [Wed, 6 Aug 2014 22:58:03 +0000 (23:58 +0100)]
SpecialWithoutInterwiki: Use Config instead of globals

Change-Id: I19bf57bdbf0c793cba25033d219d35353f3ae936

9 years agomediawiki.notification: Document that #notify accepts HTMLElement[] too
Bartosz Dziewoński [Wed, 6 Aug 2014 22:53:55 +0000 (00:53 +0200)]
mediawiki.notification: Document that #notify accepts HTMLElement[] too

Practical use case: mw.notify( $.parseHTML( … ) )

Change-Id: I6396e5d0fde0079e396286c2edad37d95a0578d8

9 years agoMerge "SpecialActiveusers: Use Config objects instead of globals"
jenkins-bot [Wed, 6 Aug 2014 21:43:59 +0000 (21:43 +0000)]
Merge "SpecialActiveusers: Use Config objects instead of globals"

9 years agoMerge "SpecialUndelete/PageArchive: Use Config instead of globals"
jenkins-bot [Wed, 6 Aug 2014 21:42:00 +0000 (21:42 +0000)]
Merge "SpecialUndelete/PageArchive: Use Config instead of globals"

9 years agoMerge "SpecialTrackingCategories: Use Config instead of globals"
jenkins-bot [Wed, 6 Aug 2014 21:38:15 +0000 (21:38 +0000)]
Merge "SpecialTrackingCategories: Use Config instead of globals"

9 years agoMerge "SpecialStatistics: Use Config instead of globals"
jenkins-bot [Wed, 6 Aug 2014 21:31:27 +0000 (21:31 +0000)]
Merge "SpecialStatistics: Use Config instead of globals"

9 years agoMerge changes I5d11a642,I4ed191bd
jenkins-bot [Wed, 6 Aug 2014 21:26:22 +0000 (21:26 +0000)]
Merge changes I5d11a642,I4ed191bd

* changes:
  SpecialProtectedTitles: Use Config instead of globals
  Pass a real IContextSource to ProtectedTitlesPager

9 years agoSpecialWhatlinkshere: Use Config instead of globals
Kunal Mehta [Wed, 6 Aug 2014 17:28:20 +0000 (18:28 +0100)]
SpecialWhatlinkshere: Use Config instead of globals

Change-Id: Ib785ea6371801e7864a8d3a4f19a7a3ffa4760c5

9 years agoMerge "SpecialRandomInCategory: Use wfScript() instead of global"
jenkins-bot [Wed, 6 Aug 2014 21:17:41 +0000 (21:17 +0000)]
Merge "SpecialRandomInCategory: Use wfScript() instead of global"

9 years agoMerge "SpecialWatchlist: Use Config instead of globals"
jenkins-bot [Wed, 6 Aug 2014 21:16:11 +0000 (21:16 +0000)]
Merge "SpecialWatchlist: Use Config instead of globals"

9 years agoMerge "SpecialUserRights: Use Config instead of globals"
Addshore [Wed, 6 Aug 2014 21:10:15 +0000 (21:10 +0000)]
Merge "SpecialUserRights: Use Config instead of globals"

9 years agoAllow factory functions for creating API modules.
daniel [Thu, 24 Jul 2014 22:37:52 +0000 (00:37 +0200)]
Allow factory functions for creating API modules.

This enables factory functions to be registered for API modules,
in addition to the module class itself. This allows modules to
use proper dependency injection via the modules constructor.

Example:

  $wgAPIModules['foo'] = array(
    'class' => 'ApiFoo',
    'factory' => function( $main, $action ) { ... }
  )

Change-Id: Ieb85493a7765f466317f5fa74b0b0e262220deab

9 years agoMerge "Consistent handling of multiple keys in Message"
jenkins-bot [Wed, 6 Aug 2014 20:45:37 +0000 (20:45 +0000)]
Merge "Consistent handling of multiple keys in Message"

9 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 6 Aug 2014 20:36:07 +0000 (22:36 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: Icd6f11894222ab4ec19bfc240ef190ed9e931f76

9 years agoMerge "Remove IEFixes.js (legacy support for MSIE<=6)."
jenkins-bot [Wed, 6 Aug 2014 19:05:42 +0000 (19:05 +0000)]
Merge "Remove IEFixes.js (legacy support for MSIE<=6)."

9 years agoMediaWiki UI: Adjustments to mw-ui-input
Shahyar [Wed, 30 Jul 2014 23:06:52 +0000 (19:06 -0400)]
MediaWiki UI: Adjustments to mw-ui-input

Correcting slight issues with mw-ui-input with
focus behaviour and vertical alignment

Use negative margin to ensure that when input element is
focused that all 4 border sides are shown rather than just
3.

Change-Id: I9d51fcd1781a9a615e3b41e6988e19021466a9d1

9 years agoLSG: Allow the style guide to build without npm present at runtime
Matthew Flaschen [Tue, 5 Aug 2014 22:07:05 +0000 (18:07 -0400)]
LSG: Allow the style guide to build without npm present at runtime

By only requiring the actual kss-node executable, this allows
running "npm install" at a separate time/machine from the actual
build.

For example, this is useful since the machines used to run Tool Labs
grid jobs do not have npm.

Change-Id: I561b365d4aaf44d921fb54a020e9ff6319318063

9 years agoSpecialRecentChanges: Use Config instead of globals
Kunal Mehta [Mon, 4 Aug 2014 00:35:56 +0000 (17:35 -0700)]
SpecialRecentChanges: Use Config instead of globals

Change-Id: I9994f40165f45a51e07ed8519e9c50e907c29094

9 years agoMerge "Use a special fallback skin when selected skin is unavailable"
jenkins-bot [Wed, 6 Aug 2014 17:29:37 +0000 (17:29 +0000)]
Merge "Use a special fallback skin when selected skin is unavailable"

9 years agoMerge "QUnit: fix swapped expected/actual fields"
jenkins-bot [Wed, 6 Aug 2014 17:25:03 +0000 (17:25 +0000)]
Merge "QUnit: fix swapped expected/actual fields"

9 years agoMerge "SpecialSearch: Use Config instead of globals"
jenkins-bot [Wed, 6 Aug 2014 17:24:37 +0000 (17:24 +0000)]
Merge "SpecialSearch: Use Config instead of globals"

9 years agoMerge "SpecialUnlockdb: Use Config instead of globals"
jenkins-bot [Wed, 6 Aug 2014 17:24:33 +0000 (17:24 +0000)]
Merge "SpecialUnlockdb: Use Config instead of globals"

9 years agoMerge "SpecialUploadStash: Use Config instead of globals"
jenkins-bot [Wed, 6 Aug 2014 17:20:35 +0000 (17:20 +0000)]
Merge "SpecialUploadStash: Use Config instead of globals"

9 years agoMerge "SpecialUnusedimages: Use Config instead of globals"
jenkins-bot [Wed, 6 Aug 2014 17:20:32 +0000 (17:20 +0000)]
Merge "SpecialUnusedimages: Use Config instead of globals"

9 years agoSpecialWatchlist: Use Config instead of globals
Kunal Mehta [Wed, 6 Aug 2014 17:20:30 +0000 (18:20 +0100)]
SpecialWatchlist: Use Config instead of globals

Change-Id: I98e095ae31c0e44d7f22a23e85c6fc671b2a66bc