lhc/web/wiklou.git
9 years agoMaintenance: Add an easy way to access Config instances
Kunal Mehta [Thu, 7 Aug 2014 20:57:14 +0000 (21:57 +0100)]
Maintenance: Add an easy way to access Config instances

Change-Id: I97d50c624e988c70bb2ac0da4fc33957ce3cf524

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 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 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

10 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"

10 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"

10 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"

10 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"

10 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

10 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

10 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"

10 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"

10 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"

10 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

10 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"

10 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

10 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)."

10 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

10 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

10 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

10 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"

10 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"

10 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"

10 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"

10 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"

10 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"

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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""

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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"

10 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"

10 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

10 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

10 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

10 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

10 years agoConsistent handling of multiple keys in Message
daniel [Thu, 17 Apr 2014 09:01:36 +0000 (11:01 +0200)]
Consistent handling of multiple keys in Message

Message objects may be constructed with a list of keys as a
simple fallback mechanism. This patch assures consistent
handling of this case.

Change-Id: I458c0af3114754ddf3d721f6c374e249f482e4cf

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Tue, 5 Aug 2014 19:44:53 +0000 (21:44 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I1e884e2a94ffb687ad82a41008b6ee8b00a8f039

10 years agoMerge "Add gender for upload log entries"
jenkins-bot [Tue, 5 Aug 2014 15:09:51 +0000 (15:09 +0000)]
Merge "Add gender for upload log entries"

10 years agoMerge "Update links for software homepages"
jenkins-bot [Tue, 5 Aug 2014 14:49:07 +0000 (14:49 +0000)]
Merge "Update links for software homepages"

10 years agoMerge "mediawiki.jqueryMsg.test.js: Additional test cases for external link"
jenkins-bot [Mon, 4 Aug 2014 23:15:21 +0000 (23:15 +0000)]
Merge "mediawiki.jqueryMsg.test.js: Additional test cases for external link"

10 years agoMerge "Preferences: Disable the 'skin' preference if there are no skins"
jenkins-bot [Mon, 4 Aug 2014 20:04:09 +0000 (20:04 +0000)]
Merge "Preferences: Disable the 'skin' preference if there are no skins"

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 4 Aug 2014 19:39:15 +0000 (21:39 +0200)]
Localisation updates from https://translatewiki.net.

Change-Id: I02368e329c1c30add1269663e5c4b2a658dadbbb

10 years agoMerge "Add loadPasswords() calls to User password mutators"
jenkins-bot [Mon, 4 Aug 2014 18:26:50 +0000 (18:26 +0000)]
Merge "Add loadPasswords() calls to User password mutators"

10 years agoRemove unused globals
addshore [Mon, 4 Aug 2014 08:43:50 +0000 (09:43 +0100)]
Remove unused globals

These were missed in I4a87a7007f4adc2ab47be1207f1a04a5ccd31323

Change-Id: I1fc0435c1cd359a30cb1a9f5f07ebadd6e14bcf1

10 years agoTests for API action=revisiondelete
Kunal Mehta [Sun, 27 Oct 2013 04:53:39 +0000 (21:53 -0700)]
Tests for API action=revisiondelete

Change-Id: Ida8acb8a58fe3e871ac30727d90e22fff04f488d

10 years agoUpdate links for software homepages
Fomafix [Mon, 4 Aug 2014 15:53:56 +0000 (15:53 +0000)]
Update links for software homepages

Avoid redirects.

This is the current situation:
* MySQL: http://www.mysql.com/ redirects to https://www.mysql.com/
* MariaDB: http://mariadb.org/ redirects to https://mariadb.org/
* Percona: https://www.percona.com/ redirects to http://www.percona.com/
* PostgreSQL: https://www.postgresql.org/ redirects to http://www.postgresql.org/
* Oracle: https://www.oracle.com/ redirects to http://www.oracle.com/
* SQLite: http://www.sqlite.org/ redirects to https://www.sqlite.org/
* Microsoft: Supports http://www.microsoft.com/ and https://www.microsoft.com/
  and http://microsoft.com/ and https://microsoft.com/ redirects to https://www.microsoft.com/
* PHP: http://www.php.net/ redirects to http://php.net/
  and https://www.php.net/ redirects to https://php.net/

Change-Id: I3da95a22386cc5e479ac1365a6680bf54bdcd81a

10 years agoAdd gender for upload log entries
umherirrender [Mon, 4 Aug 2014 15:25:11 +0000 (17:25 +0200)]
Add gender for upload log entries

With Icd8662ecb9eb0f6c0ff9841bdbd5736d6dd0d015 the log for uploads was
migrated to the new system, but no formatter was set to use the new
system also on Special:Log.
There is no need for an extra formatter class, because at the moment
there is nothing extra to format.

Added the new messages and adjust them. Now upload logs supports gender.
The old messages are kept for IRC where there were already in use.
This also hide the params added with
Icd8662ecb9eb0f6c0ff9841bdbd5736d6dd0d015 on Special:Log, because there
are not needed for i18n.

Change-Id: Idf281898d8a5a023a0b9ce3bc90b3ca55c1a6376

10 years agoHTMLForm: Avoid usage of non-standard 'flags' parameter of String#replace
Brad Jorsch [Wed, 16 Jul 2014 21:04:20 +0000 (17:04 -0400)]
HTMLForm: Avoid usage of non-standard 'flags' parameter of String#replace

Chrome (and most other browser) don't support the non-standard 'flags'
argument to String#replace (implemented by Mozilla Firefox). Instead pass
a RegExp object with those flags.

Bug: 68050
Change-Id: Ia463002e708975eed1a5c3657f2e1a4d6b4e74de

10 years agoAdd loadPasswords() calls to User password mutators
Tyler Romeo [Mon, 4 Aug 2014 15:10:01 +0000 (11:10 -0400)]
Add loadPasswords() calls to User password mutators

In User::setPassword() and User::setNewpassword(), added
calls to loadPasswords() so that the passwords are not
overridden when they are eventually actually loaded.

Bug: 69102
Change-Id: I0b881986323051abed7d1af816eae9eafdbd6782