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

9 years agoSpecialWantedPages: Use Config instead of globals
Kunal Mehta [Wed, 6 Aug 2014 17:15:29 +0000 (18:15 +0100)]
SpecialWantedPages: Use Config instead of globals

Change-Id: I1969af7c5367f13493b4ba938f20972bb8a72ce1

9 years agoUse a special fallback skin when selected skin is unavailable
Bartosz Dziewoński [Tue, 22 Jul 2014 21:27:32 +0000 (23:27 +0200)]
Use a special fallback skin when selected skin is unavailable

It just displays a helpful message that explains why and how to
install and enable skins. There is no navigation nor other basic page
elements (like the logo or site notice), since this is not intended to
be a fully functional skin.

Bug: 68332
Change-Id: Id14fbb8733cd8fbb912a724ac658f5e7244364b5

9 years agoRemove IEFixes.js (legacy support for MSIE<=6).
Eloquence [Wed, 6 Aug 2014 16:05:54 +0000 (17:05 +0100)]
Remove IEFixes.js (legacy support for MSIE<=6).

Since JavaScript is no longer loaded in MSIE6, these compatibility
fixes are no longer required.

Change-Id: Ib2a2be28877911ec20a76c766a49581eda9c5a5f

9 years agoQUnit: fix swapped expected/actual fields
Derk-Jan Hartman [Wed, 6 Aug 2014 15:50:28 +0000 (16:50 +0100)]
QUnit: fix swapped expected/actual fields

Change-Id: I55db7e3ef4e155fb9e1152cbf777189d04eec951

9 years agoSpecialUserRights: Use Config instead of globals
Kunal Mehta [Wed, 6 Aug 2014 15:41:23 +0000 (16:41 +0100)]
SpecialUserRights: Use Config instead of globals

Change-Id: Ied99264c0d47023cefec9b5d37d758978c480ee2

9 years agoSpecialSearch: Use Config instead of globals
Kunal Mehta [Wed, 6 Aug 2014 14:51:25 +0000 (15:51 +0100)]
SpecialSearch: Use Config instead of globals

Change-Id: I18b3ad47497e9bc82d38bc17225c8e0e9268ba83

9 years agoSpecialUploadStash: Use Config instead of globals
Kunal Mehta [Wed, 6 Aug 2014 15:38:27 +0000 (16:38 +0100)]
SpecialUploadStash: Use Config instead of globals

Change-Id: I48a5838539b6aac822dd6806facbb1e8de204e4e

9 years agoMerge "Release notes for "Disable JavaScript for MSIE6 users""
jenkins-bot [Wed, 6 Aug 2014 15:31:22 +0000 (15:31 +0000)]
Merge "Release notes for "Disable JavaScript for MSIE6 users""

9 years agoSpecialUnusedimages: Use Config instead of globals
Kunal Mehta [Wed, 6 Aug 2014 15:23:27 +0000 (16:23 +0100)]
SpecialUnusedimages: Use Config instead of globals

Change-Id: Iee9398ec8bc223b4833aa4055c32577cfc3227e1

9 years agoSpecialUnlockdb: Use Config instead of globals
Kunal Mehta [Wed, 6 Aug 2014 15:22:35 +0000 (16:22 +0100)]
SpecialUnlockdb: Use Config instead of globals

Change-Id: Id6e2c0511113b24a7f90a7e3d50ab9b0f787f356

9 years agoSpecialUndelete/PageArchive: Use Config instead of globals
Kunal Mehta [Wed, 6 Aug 2014 15:20:26 +0000 (16:20 +0100)]
SpecialUndelete/PageArchive: Use Config instead of globals

Change-Id: Ic025412ed74d9cffad48a3ab04788d46ab43befb

9 years agoSpecialTrackingCategories: Use Config instead of globals
Kunal Mehta [Wed, 6 Aug 2014 15:02:44 +0000 (16:02 +0100)]
SpecialTrackingCategories: Use Config instead of globals

Change-Id: I89513fcde54c7b0ec856f08612802b5f1b47503d

9 years agoSpecialStatistics: Use Config instead of globals
Kunal Mehta [Wed, 6 Aug 2014 15:01:02 +0000 (16:01 +0100)]
SpecialStatistics: Use Config instead of globals

Change-Id: I2192d351a9e5398ffc8d02eaa7d26c11298537ea

9 years agoRemove $wgSortSpecialPages
Kunal Mehta [Wed, 6 Aug 2014 14:54:41 +0000 (15:54 +0100)]
Remove $wgSortSpecialPages

This is a silly option, and there's no reason you wouldn't
want them sorted.

Change-Id: Iec1598fce2278d2d8d7b89a75f888e3de9801d17

9 years agoRelease notes for "Disable JavaScript for MSIE6 users"
Eloquence [Wed, 6 Aug 2014 14:44:26 +0000 (15:44 +0100)]
Release notes for "Disable JavaScript for MSIE6 users"

Follow-up to commit 05d0f6fefdcc959dfe7cb0cc409fcc7a4d2162e4

Change-Id: I31d221236c9b3878ce105460b978a9e1db35bec5

9 years agoMerge "Disable JavaScript for MSIE6 users, update tests accordingly"
jenkins-bot [Wed, 6 Aug 2014 14:24:44 +0000 (14:24 +0000)]
Merge "Disable JavaScript for MSIE6 users, update tests accordingly"

9 years agoMerge "Move MW_LC_VERSION to class constant instead of global define"
jenkins-bot [Wed, 6 Aug 2014 14:21:16 +0000 (14:21 +0000)]
Merge "Move MW_LC_VERSION to class constant instead of global define"

9 years agoDisable JavaScript for MSIE6 users, update tests accordingly
Eloquence [Wed, 6 Aug 2014 13:18:34 +0000 (14:18 +0100)]
Disable JavaScript for MSIE6 users, update tests accordingly

MSIE6 is outdated and unsupported and has several unpatched security
vulnerabilities. [1] Its usage is strongly discouraged by Microsoft. [2]
Supporting its JavaScript engine requires significant testing and
development effort which is better spent elsewhere.

This effectively demotes MSIE6 to "Grade C" status per the MediaWiki
browser compatibility standards. [3]

This commit also labels the startup tests as "grade C" consistent with
the browser compatibility guidelines.

[1] http://secunia.com/advisories/product/11/
[2] https://www.modern.ie/en-us/ie6countdown
[3] https://www.mediawiki.org/wiki/Compatibility#Grade_C

Change-Id: I98140491ee980f65eac782b00c478f4f5c3a47fb

9 years agoUpdate OOjs UI to v0.1.0-pre (0e50d2e336)
Roan Kattouw [Wed, 6 Aug 2014 12:56:55 +0000 (13:56 +0100)]
Update OOjs UI to v0.1.0-pre (0e50d2e336)

New changes:
1283a33 Localisation updates from https://translatewiki.net.
0e50d2e Initialise dir property and use a getter

Change-Id: Ieb469d38e881cf7de284a987301626a2f945d2df

9 years agoMove MW_LC_VERSION to class constant instead of global define
Chad Horohoe [Wed, 6 Aug 2014 12:35:48 +0000 (13:35 +0100)]
Move MW_LC_VERSION to class constant instead of global define

Change-Id: I184ec13081a5cf60d593a1c25c091b1db7b344a9

9 years agojquery.confirmable: New inline confirmation module
Bartosz Dziewoński [Mon, 28 Oct 2013 14:56:30 +0000 (15:56 +0100)]
jquery.confirmable: New inline confirmation module

$().confirmable() can be applied to any inline-block element. It will
cause it to expand into "Are you sure? [Yes] [No]" question and
buttons when clicked, where the buttons are clones of the original
element: [Yes] will carry out the default action (or a different one,
if specified), [No] will collapse the interface back.

Possible uses include:
* Confirmable "rollback" links
* Confirmable "unwatch" links on watchlists
* Confirmable "thank" links (Echo extension's ones)

Added a demo with possible uses on history and watchlist pages.
Included Hebrew messages courtesy of Moriel.

Change-Id: I2f6e0bd4f6f0a84e1a0d7193cde076738f3cdd25