lhc/web/wiklou.git
10 years agoMerge "Remove deprecated methods from Revision, SkinTemplate, and WikiPage"
jenkins-bot [Fri, 27 Dec 2013 21:41:20 +0000 (21:41 +0000)]
Merge "Remove deprecated methods from Revision, SkinTemplate, and WikiPage"

10 years agoMerge "Revert "Add .gitignore to the /skins directory""
jenkins-bot [Fri, 27 Dec 2013 21:28:54 +0000 (21:28 +0000)]
Merge "Revert "Add .gitignore to the /skins directory""

10 years agoRevert "Add .gitignore to the /skins directory"
Bartosz Dziewoński [Fri, 27 Dec 2013 21:23:20 +0000 (21:23 +0000)]
Revert "Add .gitignore to the /skins directory"

New skin files (images etc.) seem to be matches by these
rules. I'm going to revert this for now since it's annoying,
feel free to resubmit a .gitignore that works.

This reverts commit d21381021658079720ce1a9aa9f0e989d8dd358e.

Change-Id: I77655ea4ba3ddb5941e1e423ad766be20479247f

10 years agoBreak some long lines
Chad Horohoe [Fri, 27 Dec 2013 21:01:17 +0000 (16:01 -0500)]
Break some long lines

Change-Id: I8c3919c04a3fc468191750af51b8be3f952f464e

10 years agoReduce insane amount of code duplication and long lines
Chad Horohoe [Fri, 27 Dec 2013 20:57:50 +0000 (15:57 -0500)]
Reduce insane amount of code duplication and long lines

Change-Id: Ieae80c63e391cfb1af61841a6badd51b87d00cfe

10 years agoMerge "Remove last remainig use in core of Title::escapeFullURL()"
jenkins-bot [Fri, 27 Dec 2013 20:29:11 +0000 (20:29 +0000)]
Merge "Remove last remainig use in core of Title::escapeFullURL()"

10 years agoMerge "Release notes for removed and renamed classes"
jenkins-bot [Fri, 27 Dec 2013 20:25:07 +0000 (20:25 +0000)]
Merge "Release notes for removed and renamed classes"

10 years agoRelease notes for removed and renamed classes
Siebrand Mazeland [Fri, 27 Dec 2013 16:05:37 +0000 (17:05 +0100)]
Release notes for removed and renamed classes

Change-Id: I65de588860575d22125c05b71bf4817388234ef1

10 years agoMerge "Use Title::isWatchable in ApiWatch"
jenkins-bot [Fri, 27 Dec 2013 19:42:15 +0000 (19:42 +0000)]
Merge "Use Title::isWatchable in ApiWatch"

10 years agoRemove deprecated methods from Revision, SkinTemplate, and WikiPage
Siebrand Mazeland [Fri, 27 Dec 2013 16:20:51 +0000 (17:20 +0100)]
Remove deprecated methods from Revision, SkinTemplate, and WikiPage

No uses found in core of Gerrit extensions.

- Revision::revText() (deprecated in 1.17)
- SkinTemplate::jstext() (deprecated in 1.21)
- WikiPage::quickEdit() (deprecated in 1.18)
- WikiPage::useParserCache() (deprecated in 1.18)
- WikiPage::viewUpdates() (deprecated in 1.18)

Change-Id: I9eee23ea3ce381b6b8373da899287bcaea4cead4

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Fri, 27 Dec 2013 18:24:52 +0000 (18:24 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie7840763fc088ca06b0704749ab31ccedd0b8aec

10 years agoMerge "Remove unused local variables"
jenkins-bot [Fri, 27 Dec 2013 18:03:28 +0000 (18:03 +0000)]
Merge "Remove unused local variables"

10 years agoMerge "Add missing return value for DatabaseBase::open() overrides"
jenkins-bot [Fri, 27 Dec 2013 18:01:25 +0000 (18:01 +0000)]
Merge "Add missing return value for DatabaseBase::open() overrides"

10 years agoUse Title::isWatchable in ApiWatch
umherirrender [Fri, 27 Dec 2013 18:01:02 +0000 (19:01 +0100)]
Use Title::isWatchable in ApiWatch

Same checks, but same method as in SpecialEditWatchlist

Change-Id: Ic03fc159df9e6322fd0f2d73de4e69b34065d5bb

10 years agoAdd missing return value for DatabaseBase::open() overrides
Siebrand Mazeland [Fri, 27 Dec 2013 16:59:39 +0000 (17:59 +0100)]
Add missing return value for DatabaseBase::open() overrides

Change-Id: Ifcd9e6fb36a5f8f53ad38a60719267d69c86c17e

10 years agoAdd release notes for I9c9f5bb8af
Siebrand Mazeland [Fri, 27 Dec 2013 17:04:22 +0000 (18:04 +0100)]
Add release notes for I9c9f5bb8af

Change-Id: I65d334446de8d02d8bb5fb744c2e6d0202f2360c

10 years agoMerge "Remove deprecated SpecialRevisionDelete::extractBitField()"
jenkins-bot [Fri, 27 Dec 2013 16:45:30 +0000 (16:45 +0000)]
Merge "Remove deprecated SpecialRevisionDelete::extractBitField()"

10 years agoMerge "Remove unreachable statement"
jenkins-bot [Fri, 27 Dec 2013 16:40:33 +0000 (16:40 +0000)]
Merge "Remove unreachable statement"

10 years agoRemove unreachable statement
Siebrand Mazeland [Fri, 27 Dec 2013 16:34:55 +0000 (17:34 +0100)]
Remove unreachable statement

Change-Id: I537d189e802c6201a4c9a1a5f17ca172836ec5b3

10 years agoRemove Exif::makeFormattedData and Exif::getFormattedData
Siebrand Mazeland [Fri, 27 Dec 2013 15:56:23 +0000 (16:56 +0100)]
Remove Exif::makeFormattedData and Exif::getFormattedData

Both unused in core and Gerrit extensions.
Deprecated since MediaWiki 1.18.

Change-Id: I59e9bb5a368ffcbae1634395c0062fea0e754972

10 years agoMerge "Remove long deprecated methods from Linker"
jenkins-bot [Fri, 27 Dec 2013 15:52:46 +0000 (15:52 +0000)]
Merge "Remove long deprecated methods from Linker"

10 years agoMerge "Moved ScopedCallback to /libs"
jenkins-bot [Fri, 27 Dec 2013 15:46:01 +0000 (15:46 +0000)]
Merge "Moved ScopedCallback to /libs"

10 years agoMerge "Remove hints to fixed bug 54044"
jenkins-bot [Fri, 27 Dec 2013 15:41:27 +0000 (15:41 +0000)]
Merge "Remove hints to fixed bug 54044"

10 years agoRemove deprecated SpecialRevisionDelete::extractBitField()
Siebrand Mazeland [Fri, 27 Dec 2013 15:11:45 +0000 (16:11 +0100)]
Remove deprecated SpecialRevisionDelete::extractBitField()

Replaced only usage in core and extensions with
RevisionDeleter::extractBitField().

Change-Id: I9c9f5bb8af32ce39824b6bf816066fec04211533

10 years agoRemove long deprecated methods from Linker
Siebrand Mazeland [Fri, 27 Dec 2013 15:08:27 +0000 (16:08 +0100)]
Remove long deprecated methods from Linker

- Linker::makeBrokenLink() (deprecated in 1.16)
- Linker::makeBrokenLinkObj() (deprecated in 1.16)
- Linker::makeColouredLinkObj() (deprecated in 1.16)
- Linker::makeSizeLinkObj() (deprecated in 1.17)

Change-Id: I230096cbf964cdff980f33f76790a524d318408d

10 years agoRemove last remainig use in core of Title::escapeFullURL()
Siebrand Mazeland [Fri, 27 Dec 2013 14:01:26 +0000 (15:01 +0100)]
Remove last remainig use in core of Title::escapeFullURL()

This was deprecated in MediaWiki 1.19.

Change-Id: I21a46a35e449b81d5999420add91d7664fcf5f1d

10 years agoRemove unused local variables
Siebrand Mazeland [Fri, 27 Dec 2013 00:52:09 +0000 (01:52 +0100)]
Remove unused local variables

Change-Id: I9e5667d3b27c7685004e2f3215ea51176988d3b2

10 years agoRemove hints to fixed bug 54044
umherirrender [Fri, 27 Dec 2013 11:57:26 +0000 (12:57 +0100)]
Remove hints to fixed bug 54044

Change-Id: I119a2ec4114fd7939ef2d74e614b4a8ff8e257ac

10 years agoFixed typo in comment in MediaWikiTestCase
umherirrender [Fri, 27 Dec 2013 11:50:27 +0000 (12:50 +0100)]
Fixed typo in comment in MediaWikiTestCase

Change-Id: I72214f134e0e94195cb56271c5fcb6997245fac6

10 years agoMerge "Add SVG versions of link type icons"
jenkins-bot [Fri, 27 Dec 2013 01:47:22 +0000 (01:47 +0000)]
Merge "Add SVG versions of link type icons"

10 years agoAdd SVG versions of link type icons
m4tx [Sat, 30 Nov 2013 16:56:27 +0000 (17:56 +0100)]
Add SVG versions of link type icons

Bug: 35343
Change-Id: Ifb840cb486df7c41a98c577cd8c1845c5a89a4d1

10 years agoDeclare visibility for class property of LoadBalancerSingle
Siebrand Mazeland [Thu, 26 Dec 2013 22:24:18 +0000 (23:24 +0100)]
Declare visibility for class property of LoadBalancerSingle

Change-Id: Ief598ff677f711eefcf37b2cf7915d00e204e431

10 years agoMerge "Deprecate SpecialPage::getTitle"
jenkins-bot [Thu, 26 Dec 2013 22:45:06 +0000 (22:45 +0000)]
Merge "Deprecate SpecialPage::getTitle"

10 years agoMerge "Made Title cache use MapCacheLRU"
jenkins-bot [Thu, 26 Dec 2013 22:24:14 +0000 (22:24 +0000)]
Merge "Made Title cache use MapCacheLRU"

10 years agoRemove underscore from classes LBFactory_*, LoadBalancer_*, LoadMonitor_*
Siebrand Mazeland [Wed, 27 Nov 2013 10:17:06 +0000 (11:17 +0100)]
Remove underscore from classes LBFactory_*, LoadBalancer_*, LoadMonitor_*

Part of program to remove underscores from class names. Checked core and
600+ extensions for occurrences. All uses are in core in core are updated
in this patch.

Patches for extensions:
* https://gerrit.wikimedia.org/r/#/c/96463/ CentralAuth
* https://gerrit.wikimedia.org/r/#/c/96460/ SimpleSecurity
* https://gerrit.wikimedia.org/r/#/c/96459/ WikiBase
* https://gerrit.wikimedia.org/r/#/c/96472/ Wikimedia configuration

Antoine added tests to test the back compatibility.

Change-Id: I507ba00a83bca8375a0215f00891b47e3c7afb9f

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Thu, 26 Dec 2013 19:18:09 +0000 (19:18 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ia0c0839f6625c878e89d3d29bdec77446b8e77fb

10 years agoMerge "Add missing subjectspace pages to watchlist on update."
jenkins-bot [Thu, 26 Dec 2013 18:42:34 +0000 (18:42 +0000)]
Merge "Add missing subjectspace pages to watchlist on update."

10 years agoMerge "Declare visibility on log class related properties"
jenkins-bot [Thu, 26 Dec 2013 18:40:53 +0000 (18:40 +0000)]
Merge "Declare visibility on log class related properties"

10 years agoMerge "Don't escape HTML title of Special:Contributions for newbies"
jenkins-bot [Thu, 26 Dec 2013 18:39:12 +0000 (18:39 +0000)]
Merge "Don't escape HTML title of Special:Contributions for newbies"

10 years agoMerge "Use a better regular expression to find documented hooks in findHooks.php"
jenkins-bot [Thu, 26 Dec 2013 18:09:24 +0000 (18:09 +0000)]
Merge "Use a better regular expression to find documented hooks in findHooks.php"

10 years agoMerge "Disabled, unticked "Leave redirect" checkbox when redirect impossible"
jenkins-bot [Thu, 26 Dec 2013 15:01:11 +0000 (15:01 +0000)]
Merge "Disabled, unticked "Leave redirect" checkbox when redirect impossible"

10 years agoDisabled, unticked "Leave redirect" checkbox when redirect impossible
Jared [Tue, 24 Dec 2013 08:43:42 +0000 (00:43 -0800)]
Disabled, unticked "Leave redirect" checkbox when redirect impossible

Disabled the "Leave redirect" checkbox on Special:MovePage when redirect
is impossible because of the content model.

Bug: 58017
Change-Id: Ibbc5caace749662d51b9ebd4554234d79b7a887c

10 years agoFix typo in DerivativeContext doc
Kunal Mehta [Thu, 26 Dec 2013 06:56:49 +0000 (22:56 -0800)]
Fix typo in DerivativeContext doc

Change-Id: Ife6395fa7f78cb7b52b78cc60419fd387bd8509c

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Wed, 25 Dec 2013 19:57:26 +0000 (19:57 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I1c1d25fe74b69c0c91c69ca98636c99606dcc111

10 years agoUpdated location of zhtable in comment
Liangent [Wed, 25 Dec 2013 15:22:38 +0000 (15:22 +0000)]
Updated location of zhtable in comment

Follow up I239483e6cdf7d412be01ae8bd45978481c5dd518.

Change-Id: Ia909b36ed8b996057ba4e7966cac4d29ee3836f4

10 years agoMerge "Remove old styles for #userlogin and #userloginForm"
jenkins-bot [Wed, 25 Dec 2013 01:49:04 +0000 (01:49 +0000)]
Merge "Remove old styles for #userlogin and #userloginForm"

10 years agoMerge "Remove grey background from login/createaccount form on Monobook"
jenkins-bot [Wed, 25 Dec 2013 01:47:24 +0000 (01:47 +0000)]
Merge "Remove grey background from login/createaccount form on Monobook"

10 years agoRemove old styles for #userlogin and #userloginForm
Bartosz Dziewoński [Tue, 24 Dec 2013 16:28:01 +0000 (17:28 +0100)]
Remove old styles for #userlogin and #userloginForm

Only removed rules which either (and I could verify that):
* Are completely overridden by styles for the special pages
* No longer match any elements

Change-Id: I79268a4fc74d62b88773538e3c5817e12f70f263

10 years agoDeprecate SpecialPage::getTitle
Kunal Mehta [Tue, 24 Dec 2013 08:07:04 +0000 (00:07 -0800)]
Deprecate SpecialPage::getTitle

Callers should use SpecialPage::getPageTitle, which is
exactly identical.

This is so that in the future we can turn SpecialPage
into a ContextSource, which requires getTitle to return
getContext()->getTitle.

Change-Id: Icdcf5d5295ef5e7f08b1d403e0c123f78738fd40

10 years agoRemove grey background from login/createaccount form on Monobook
Bartosz Dziewoński [Tue, 24 Dec 2013 16:14:52 +0000 (17:14 +0100)]
Remove grey background from login/createaccount form on Monobook

It's some holdover from the early ages and looks really ugly with the
new styles.

Bug: 47698
Change-Id: I2e97fc1b4c8970cf279f0cff38b54ddd4c5b36dd

10 years agoMerge "Apply mediawiki.ui.button colors to all skins"
jenkins-bot [Tue, 24 Dec 2013 19:46:54 +0000 (19:46 +0000)]
Merge "Apply mediawiki.ui.button colors to all skins"

10 years agoMerge "Allow searching for IPs' logs"
jenkins-bot [Tue, 24 Dec 2013 15:27:15 +0000 (15:27 +0000)]
Merge "Allow searching for IPs' logs"

10 years agoMerge "mediawiki.Uri: Fix host example and change foo.com to example.com"
jenkins-bot [Tue, 24 Dec 2013 14:12:22 +0000 (14:12 +0000)]
Merge "mediawiki.Uri: Fix host example and change foo.com to example.com"

10 years agoAdded a page_links_updated column for job de-duplication
Aaron Schulz [Fri, 13 Dec 2013 00:54:51 +0000 (16:54 -0800)]
Added a page_links_updated column for job de-duplication

Change-Id: I74b6f507ef7371db92e0c3f058d38c0ca5dea9ef

10 years agoMerge "Clarify comment on SpecialPage::getDescription"
jenkins-bot [Tue, 24 Dec 2013 10:52:08 +0000 (10:52 +0000)]
Merge "Clarify comment on SpecialPage::getDescription"

10 years agoClarify comment on SpecialPage::getDescription
Brian Wolff [Tue, 24 Dec 2013 08:00:18 +0000 (01:00 -0700)]
Clarify comment on SpecialPage::getDescription

Remove mention of dynamically adding messages at runtime
(Not supported anymore)

Change-Id: I82500a6b12ffd1087211930ca62f6020caea32f7

10 years agoDon't escape HTML title of Special:Contributions for newbies
Yusuke Matsubara [Mon, 23 Dec 2013 12:31:41 +0000 (21:31 +0900)]
Don't escape HTML title of Special:Contributions for newbies

This is a correction regarding the call of "->plain".
MediaWiki:pagetitle may contain variables (such as {{SITENAME}})
to be parsed, so it should not be treated as plain text.
MediaWiki:sp-contributions-newbies-title appears to be plain text only.

Change-Id: Ia6c0d955fb789535104956be9a00ce432aabe9e1

10 years agoMerge "mediawiki.js: Add mw.track"
jenkins-bot [Mon, 23 Dec 2013 23:59:00 +0000 (23:59 +0000)]
Merge "mediawiki.js: Add mw.track"

10 years agoMerge "Added $wgJobBackoffThrottling to replace wmf sleep() hack"
jenkins-bot [Mon, 23 Dec 2013 23:40:04 +0000 (23:40 +0000)]
Merge "Added $wgJobBackoffThrottling to replace wmf sleep() hack"

10 years agoAdded $wgJobBackoffThrottling to replace wmf sleep() hack
Aaron Schulz [Sat, 21 Dec 2013 20:57:45 +0000 (12:57 -0800)]
Added $wgJobBackoffThrottling to replace wmf sleep() hack

* This also adds a Job::workItemCount() method
* Removed unused USE_PRIORITY constant
* A few small cleanups in runJobs.php

Change-Id: Ife9370e488fa63dcd1f702ed98f3b7f26057f10c

10 years agomediawiki.js: Add mw.track
Ori Livneh [Thu, 5 Dec 2013 22:51:40 +0000 (14:51 -0800)]
mediawiki.js: Add mw.track

`mw.track` implements a topic-based message broker / event bus for
JavaScript code. Its distinguishing characteristic is that subscribers are
called with each event that matches their topic filter, including any
events that fired before the subscriber registered. This allows code to be
instrumented to report performance data without having to know anything
about subscribers, and it makes it trivial to attach MediaWiki events to
any event logging system -- not just EventLogging, but also Google
Analytics, New Relic, etc., which is a compelling feature for third-party
users.

The implementation is ported from VisualEditor, where it was introduced in
change I29740fa7a and subsequently refined. I did not port
`ve.trackSubscribeAll`, since it is syntactic sugar for calling
`ve.trackSubscribe` with the empty string as a subscription. It made sense
to have a wrapper for VE, since registering a handler for all VE events is
a credible use-case, but it seems less legitimate if `track` is expanded
to the entire MediaWiki ecosystem.

Change-Id: I8c7af097e6a9b2781ba3d6625d1132b7788ce8da

10 years agoMerge "Release notes for Ia193571a, I56758908, I9fd40bcb"
jenkins-bot [Mon, 23 Dec 2013 22:35:01 +0000 (22:35 +0000)]
Merge "Release notes for Ia193571a, I56758908, I9fd40bcb"

10 years agoMerge "Split skins.common up into a proper trio of .elements, .content, and .interfac...
jenkins-bot [Mon, 23 Dec 2013 22:34:53 +0000 (22:34 +0000)]
Merge "Split skins.common up into a proper trio of .elements, .content, and .interface modules."

10 years agoRelease notes for Ia193571a, I56758908, I9fd40bcb
Bartosz Dziewoński [Sat, 21 Dec 2013 23:35:16 +0000 (00:35 +0100)]
Release notes for Ia193571a, I56758908, I9fd40bcb

Change-Id: I6d7c4ba3592c5dd646180189086fd854ee6516a8

10 years agoApply mediawiki.ui.button colors to all skins
Matthew Flaschen [Mon, 23 Dec 2013 22:14:50 +0000 (17:14 -0500)]
Apply mediawiki.ui.button colors to all skins

Specific skins can still add overrides using skinStyles.  However,
before this change, there was no custom style for any other skin.  They
just looked like Vector without the colors and type.  That grey could
be confused with a 'disabled' state.

Vector still has an override just for the font size and height.

Bug: 55554
Change-Id: I5ed8f6ca7d756731639fa4b62fbb4e4d74972100

10 years agoAllow searching for IPs' logs
Jackmcbarn [Mon, 23 Dec 2013 21:09:21 +0000 (16:09 -0500)]
Allow searching for IPs' logs

Update limitPerformer to search for IPs based on log_user_text, rather
than preventing any results from being returned. Also, make a
corresponding adjustment to list=logevents in the API, and remove
indexes to match the LogPager code.

Bug: 58691
Bug: 54404
Change-Id: Iae3f4ee5c7fba5b0b0f4f8fb3e67ac054c7b8dd7

10 years agomediawiki.Uri: Fix host example and change foo.com to example.com
Timo Tijhof [Mon, 23 Dec 2013 21:38:01 +0000 (21:38 +0000)]
mediawiki.Uri: Fix host example and change foo.com to example.com

* The example changed host from foo.com to www.foo.com, but
  the .toString() comment showing the expected value was wrong
  as it implied setting .host doesn't work, but it does.

* Update examples and tests to use example.org or example.com
  instead of foo, test, or google.com etc.

Follows-up a94417720248dd3 which accidentally broke the example,
when fixing the .setAttr() -> .attr() mistake.

Change-Id: Ifeaf713a8f1db8758b01aa84061b49316ca5d577

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Mon, 23 Dec 2013 20:44:54 +0000 (20:44 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I224ceef57736f6567735a3d1e19f1ec0fddb515e

10 years agoMerge "mediawiki.action.edit.preview: Run hook on detached node"
jenkins-bot [Mon, 23 Dec 2013 20:03:18 +0000 (20:03 +0000)]
Merge "mediawiki.action.edit.preview: Run hook on detached node"

10 years agoFix mediawiki-core-regression-master
Brad Jorsch [Mon, 23 Dec 2013 18:48:21 +0000 (13:48 -0500)]
Fix mediawiki-core-regression-master

The Interwiki class caches lookups, so ApiQueryTest.php's use of "en:"
was failing for mediawiki-core-regression-master because something else
had already made a call for that prefix. The easy fix is to use a
different prefix that is very unlikely to ever be used in a different
test.

Change-Id: I43ca554d5b5465d760eae03d1f76b8c3bf589210

10 years agoMerge "Add Travis CI job configuration for testing MediaWiki on HHVM"
jenkins-bot [Mon, 23 Dec 2013 18:13:59 +0000 (18:13 +0000)]
Merge "Add Travis CI job configuration for testing MediaWiki on HHVM"

10 years agoFix capitalization in ApiQueryBase::titlePartToKey()
btongminh [Sun, 17 Nov 2013 17:52:54 +0000 (18:52 +0100)]
Fix capitalization in ApiQueryBase::titlePartToKey()

ApiQueryBase::titlePartToKey now allows an extra parameter that
indicates the namespace in order to properly capitalize the title part.

This allows list=allcategories, list=allimages, list=alllinks,
list=allpages, list=deletedrevs and list=filearchive to
handle case-sensitivity properly for all parameters.

Bug: 25702
Change-Id: Iaa5a71ec536f3716f54bc84b39f645545dfd8660

10 years agoMerge "Plural rules: updates for UTS #35 Rev 33"
jenkins-bot [Mon, 23 Dec 2013 14:00:34 +0000 (14:00 +0000)]
Merge "Plural rules: updates for UTS #35 Rev 33"

10 years agoMerge "generateJsonI18n.php: replace i18n.php with a shim"
jenkins-bot [Mon, 23 Dec 2013 11:25:28 +0000 (11:25 +0000)]
Merge "generateJsonI18n.php: replace i18n.php with a shim"

10 years agoMerge "Add NS_USER, NS_USER_TALK aliases for Old English"
jenkins-bot [Mon, 23 Dec 2013 11:01:29 +0000 (11:01 +0000)]
Merge "Add NS_USER, NS_USER_TALK aliases for Old English"

10 years agoAdd NS_USER, NS_USER_TALK aliases for Old English
Tomasz W. Kozlowski [Mon, 23 Dec 2013 09:16:16 +0000 (10:16 +0100)]
Add NS_USER, NS_USER_TALK aliases for Old English

This patch adds accent-free aliases for the NS_USER
and NS_USER_TALK namespaces per community request.
The names, I am told, have been translated by an
Old English Wikipedia administrator.

See bug for details.

Bug: 58863
Change-Id: I14e334fe42c502b8182487328ebab76a6d52a8a8

10 years agogenerateJsonI18n.php: replace i18n.php with a shim
Niklas Laxström [Sun, 22 Dec 2013 17:11:14 +0000 (17:11 +0000)]
generateJsonI18n.php: replace i18n.php with a shim

Change-Id: I4b8f1d9c0b13fca3aae0bec5c614218e917691ef

10 years agoAdd Travis CI job configuration for testing MediaWiki on HHVM
Ori Livneh [Mon, 23 Dec 2013 05:44:51 +0000 (21:44 -0800)]
Add Travis CI job configuration for testing MediaWiki on HHVM

Travis CI is a popular continuous integration service that provides free
automated testing to FOSS projects. Ten days ago, the HHVM team announced that
Travis CI's build environment provides HHVM by default. This patch contains a
Travis CI job configuration that runs MediaWiki's test suite using HHVM.
Because we replicate changes to GitHub, merging this change and enabling the
Travis CI hook in the repository configuration on GitHub will cause Travis CI
to run the tests on each commit.

Change-Id: Ia18cba5facb7f0b506e962df2f114338af571b8a

10 years agoFix doc for NullJob
Kunal Mehta [Mon, 23 Dec 2013 03:16:54 +0000 (19:16 -0800)]
Fix doc for NullJob

Change-Id: I6cde9fc95a102349ecbaccb813fb8ef86f159b8c
Follows-up: I2bedd0ff311bff027d998f193d6cb799d70d2a93

10 years agomediawiki.hlist: Use mw.hook( 'wikipage.content' ) in JS fallback
Bartosz Dziewoński [Tue, 19 Nov 2013 11:15:06 +0000 (12:15 +0100)]
mediawiki.hlist: Use mw.hook( 'wikipage.content' ) in JS fallback

…to make sure that any dynamically-inserted content will be processed
as well.

Change-Id: Ibc34668fea309c319118b29f51300da3ed06311a

10 years agomediawiki.hlist: Remove skin-specific styles
Bartosz Dziewoński [Sat, 7 Dec 2013 01:26:26 +0000 (02:26 +0100)]
mediawiki.hlist: Remove skin-specific styles

Per bug 40062 comment 23, these no longer do anything useful.

Change-Id: I666cae92a6742aadf840f4a1c20d7f7a1426192b

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sun, 22 Dec 2013 20:33:10 +0000 (20:33 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: I6b506db2ec155c99e9d3b3dd59e5f8e8de760f94

10 years agoMerge "Make Language::fetchLanguageName lowercase its first argument."
jenkins-bot [Sun, 22 Dec 2013 16:18:27 +0000 (16:18 +0000)]
Merge "Make Language::fetchLanguageName lowercase its first argument."

10 years agoRemove spacing between $wgLogo and value in generated LocalSettings
aude [Sun, 22 Dec 2013 13:20:13 +0000 (13:20 +0000)]
Remove spacing between $wgLogo and value in generated LocalSettings

makes it consistent with the other variables and removes phpcs violation

Change-Id: I2b8a5ef6d07575a69f3b2ac77c1334553dd54215

10 years agoMerge "Move BitmapHandler::canRotate() call out of Setup.php"
jenkins-bot [Sun, 22 Dec 2013 08:32:02 +0000 (08:32 +0000)]
Merge "Move BitmapHandler::canRotate() call out of Setup.php"

10 years agoClearer message for range blocks on CreateAccount
theopolisme [Sun, 22 Dec 2013 06:05:07 +0000 (00:05 -0600)]
Clearer message for range blocks on CreateAccount

If a user tries to create an account but their
IP address is part of a range block, this will
be reflected in the error that is displayed via
the cantcreateaccount-range-text message.

Bug: 35090
Change-Id: I74e912755dea93c2b74e67d7104b7525298051c0

10 years agoMove BitmapHandler::canRotate() call out of Setup.php
Aaron Schulz [Sun, 22 Dec 2013 03:08:28 +0000 (19:08 -0800)]
Move BitmapHandler::canRotate() call out of Setup.php

* This was wasting 5ms on every request hit on test wiki

Change-Id: Ie7a5aa27593ab8e0d52fb00218345d1789da61a1

10 years agoRefactor RL modules related to Special:Userlogin
Bartosz Dziewoński [Mon, 2 Dec 2013 19:29:03 +0000 (20:29 +0100)]
Refactor RL modules related to Special:Userlogin

* Removed duplicated code
* Moved generic styles to mediawiki.ui
* Made sure scripts only run when they're needed
* Cleaned up formatting
* Cleaned up module and file naming

Change-Id: I90a2331182d4d66f0584083b30b90ac6471c3aaf

10 years agovector: Switch around regular and HD content padding
Bartosz Dziewoński [Thu, 19 Dec 2013 15:52:14 +0000 (16:52 +0100)]
vector: Switch around regular and HD content padding

The HD one was smaller… this must have been accidentally switched
around during the LESS rewrite.

Change-Id: I2551ab1665cd494b360da2c88a9646035551ed85

10 years agoMake Language::fetchLanguageName lowercase its first argument.
Brian Wolff [Sat, 21 Dec 2013 23:28:25 +0000 (16:28 -0700)]
Make Language::fetchLanguageName lowercase its first argument.

Currently Language::fetchLanguageName( 'en-GB' ) returns false as
it expects 'en-gb'. Given that technically speaking, 'en-GB'
is the canonical form, I don't think this is a good thing.

Changed function to lowercase its argument. There's no
Language object handy, so I just used strtolower (since language
codes are always ascii, that shouldn't matter)

Change-Id: Iba1f581bf2d6d2b26a14f9f80699d8eeb5d724d6

10 years agoSplit skins.common up into a proper trio of .elements, .content, and .interface modules.
Daniel Friesen [Sat, 21 Dec 2013 01:26:14 +0000 (17:26 -0800)]
Split skins.common up into a proper trio of .elements, .content, and .interface modules.

Ideally it would be possible to add these as dependencies and also make them depend on each other
instead of partially duplicating the list of stylesheets, but ResourceLoader’s dependencies are
completely broken for skin stylesheets.

Followup to Ia193571afffff36ecb1f14ee9036fb9bb98347e7

Change-Id: I56758908c2f41430c7301a0ea6a4cf8b1eaa7fd8

10 years agoLocalisation updates from https://translatewiki.net.
Translation updater bot [Sat, 21 Dec 2013 20:36:27 +0000 (20:36 +0000)]
Localisation updates from https://translatewiki.net.

Change-Id: Ie9ce20b1c1f8a4e640cc0d79ffdcbee72cc8a024

10 years agoMerge "Improvements to KSS CSS documentation generation"
jenkins-bot [Sat, 21 Dec 2013 17:30:50 +0000 (17:30 +0000)]
Merge "Improvements to KSS CSS documentation generation"

10 years agoMerge "Make SpecialContributionsBeforeMainOutput hook more useful"
jenkins-bot [Sat, 21 Dec 2013 12:23:06 +0000 (12:23 +0000)]
Merge "Make SpecialContributionsBeforeMainOutput hook more useful"

10 years agoAdd logging for "Invalid message parameter"
Yuri Astrakhan [Thu, 19 Dec 2013 00:27:32 +0000 (19:27 -0500)]
Add logging for "Invalid message parameter"

Records a full stacktrace for this warning

Bug: 58676
Change-Id: I234b525b04168eee6085d44fbf0e0d8ac3d0af91

10 years agoImprovements to KSS CSS documentation generation
S Page [Sat, 21 Dec 2013 10:06:21 +0000 (02:06 -0800)]
Improvements to KSS CSS documentation generation

Avoid npm warnings.
Makefile fixes: it's not a bash script, kss is default target, quieter
output.

Change-Id: Ia7b862b6bef95c7735a42c1b6f70625283e915ab

10 years agoMerge "Add ability to generate KSS files for mediawiki.ui"
jenkins-bot [Sat, 21 Dec 2013 09:51:12 +0000 (09:51 +0000)]
Merge "Add ability to generate KSS files for mediawiki.ui"

10 years agoMake SpecialContributionsBeforeMainOutput hook more useful
Kunal Mehta [Sat, 21 Dec 2013 07:50:57 +0000 (23:50 -0800)]
Make SpecialContributionsBeforeMainOutput hook more useful

The current id number is useless for IP addresses, so it now
passes a proper User object.

For context, the SpecialPage instance is also provided.

Change-Id: Ie196611d504b3969bcdfb5c589716af2f3c54e14

10 years agoi18n: add full-stop to three block related messages
shirayuki [Sat, 21 Dec 2013 05:13:28 +0000 (14:13 +0900)]
i18n: add full-stop to three block related messages

Affected messages:
*sorbs_create_account_reason
*ipbblocked
*ipbnounblockself

Change-Id: Ic0d1145d22fc76c2983bde3e48c723ea390f16ee

10 years agoMerge "Move VectorBeta modules to VectorBeta extension"
jenkins-bot [Fri, 20 Dec 2013 23:03:13 +0000 (23:03 +0000)]
Merge "Move VectorBeta modules to VectorBeta extension"