lhc/web/wiklou.git
11 years agoMerge "Convert core to use new ThumbnailImage() constructor"
Aaron Schulz [Tue, 4 Sep 2012 18:17:59 +0000 (18:17 +0000)]
Merge "Convert core to use new ThumbnailImage() constructor"

11 years agoAdded missing GPLv2 headers in maintenance scripts.
Alexandre Emsenhuber [Tue, 4 Sep 2012 16:48:17 +0000 (18:48 +0200)]
Added missing GPLv2 headers in maintenance scripts.

- made file/class documentation more consistent
- contains a fix for Id7a04ff8 (2a7478b)

Change-Id: I5264105ce1b6ad86a9840e05be1af99f5d6e252a

11 years agoMerge "test: new assertHTMLEquals()"
Antoine Musso [Tue, 4 Sep 2012 16:29:48 +0000 (16:29 +0000)]
Merge "test: new assertHTMLEquals()"

11 years agoFollowup da433140: remove an old workaround
Liangent [Tue, 4 Sep 2012 15:14:20 +0000 (23:14 +0800)]
Followup da433140: remove an old workaround

The code was to work around a bug fixed by da433140.

Change-Id: I793cedf3d3cbc23dc5d07b3e0325ad238853385a

11 years agoMerge "Followup da433140: add one more test and release note"
IAlex [Tue, 4 Sep 2012 15:34:43 +0000 (15:34 +0000)]
Merge "Followup da433140: add one more test and release note"

11 years agoMerge "Added missing field definition, added cache key check and fixed type hint"
IAlex [Tue, 4 Sep 2012 15:32:12 +0000 (15:32 +0000)]
Merge "Added missing field definition, added cache key check and fixed type hint"

11 years agoFollowup da433140: add one more test and release note
Liangent [Tue, 4 Sep 2012 15:14:20 +0000 (23:14 +0800)]
Followup da433140: add one more test and release note

Change-Id: I03f3fa9cb58b6e98a88a2828f19bae849acf5455

11 years agoMerge "'lang' attrib in #mw-content-text should be set to variant code."
Hashar [Tue, 4 Sep 2012 15:04:52 +0000 (15:04 +0000)]
Merge "'lang' attrib in #mw-content-text should be set to variant code."

11 years ago'lang' attrib in #mw-content-text should be set to variant code.
Liangent [Sat, 2 Jun 2012 18:07:46 +0000 (02:07 +0800)]
'lang' attrib in #mw-content-text should be set to variant code.

Change-Id: I15cd8c102991c5007b43e06939a0c1a7593d0933

11 years ago(bug 34939) Handle mixed-case URL protocols in wikitext
Fran McCrory [Tue, 10 Jul 2012 18:49:02 +0000 (14:49 -0400)]
(bug 34939) Handle mixed-case URL protocols in wikitext

This patch marks the regex matching url protocol as being case
insensitive. We will from now render links like [HTTP://ww].

Tests added.

Change-Id: I706acb7a0ae194b50d2318763beae4e5e83671f3

11 years agoRevert back to jQuery 1.7.2
Reedy [Tue, 4 Sep 2012 14:09:40 +0000 (15:09 +0100)]
Revert back to jQuery 1.7.2

Seems we potentially have numerous bugs resulting from the 1.8/1.8.1 upgrades

Change-Id: I8ed2f2c02bd498a547599391325ce62356084847

11 years agoAdded missing field definition, added cache key check and fixed type hint
jeroendedauw [Tue, 4 Sep 2012 13:37:24 +0000 (15:37 +0200)]
Added missing field definition, added cache key check and fixed type hint

Change-Id: I60a6bc22175f9187cafbd9daebe1dfb7d2b1d0fd

11 years agoUpdate jquery.qunit from upstream v1.9.0 to v1.10.0
Timo Tijhof [Sun, 2 Sep 2012 21:09:11 +0000 (23:09 +0200)]
Update jquery.qunit from upstream v1.9.0 to v1.10.0

Upstream:
* git-repo: https://github.com/jquery/qunit.git
* git-tag: v1.10.0
* git-commit: 900f72051b0112342feda3d700a7a049d886b9ce

* tree:
  https://github.com/jquery/qunit/tree/v1.10.0
* compare:
  https://github.com/jquery/qunit/compare/v1.9.0...v1.10.0
* release-notes:
  https://github.com/jquery/qunit/blob/v1.10.0/History.md

Change-Id: If8529952a1d9f228ad1c5697057afea12fdf3630

11 years agoPass JSHint on resources/{mediawiki.api,jquery,mediawiki}/*
Timo Tijhof [Mon, 27 Aug 2012 17:43:14 +0000 (19:43 +0200)]
Pass JSHint on resources/{mediawiki.api,jquery,mediawiki}/*

Notes:
* JSHint stuff
* Code conventions
* jQuery best practices
* mediawiki.debug:
  - Append a text node instead of html. Though .append()
    does check if it looks "like" not-html and creates a text
    node, this is not more a sanity/security thing than a
    reliable documented feature. http://api.jquery.com/append/ :
    "HTML string, DOM element(s) or jQuery object".

While at it:
* Update .jshintignore to also cover:
  - resources/mediawiki.libs/CLDRPluralRuleParser.js
* Update .jshintrc to set onevar back to true (was set to false
  temporarily but not removed).
* Fix files in resources/mediawiki and resources/jquery as well.
  These dirs where already covered, perhaps these were missed or
  recently introduced, again.
* Add missing dependencies:
  jquery.highlightText -> jquery.mwExtension ($.escapeRE)
  jquery.tablesorter -> jquery.mwExtension ($.escapeRE)
  mediawiki.page.watch.ajax -> jquery.mwExtension ($.escapeRE)

Change-Id: I30a55717d0963ce23e51cef1f1df9e549e4c232e

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Mon, 3 Sep 2012 19:57:48 +0000 (19:57 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 3 Sep 2012 19:49:20 +0000 (19:49 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I23f4abe39a66153544a3e9418b4f507ae2b4d9b7

11 years agoFixes for Id2ac68ef (a6e8b13)
Alexandre Emsenhuber [Mon, 3 Sep 2012 19:38:59 +0000 (21:38 +0200)]
Fixes for Id2ac68ef (a6e8b13)

- drop no longer used $options variable
- use $this->msg() instead of wfMessage()

Change-Id: Ib690f3a8e63f3ede993e9cd34e2831ef18098ed9

11 years agoImprove documentation of maintenance scripts.
Alexandre Emsenhuber [Mon, 3 Sep 2012 18:10:09 +0000 (20:10 +0200)]
Improve documentation of maintenance scripts.

Change-Id: Id7a04ff816dc47a8cc81a4da5ab0dff26b688bd5

11 years agoDrop support for 'options' in OutputPage::wrapWikiMsg()
Siebrand Mazeland [Mon, 3 Sep 2012 10:18:23 +0000 (12:18 +0200)]
Drop support for 'options' in OutputPage::wrapWikiMsg()

It was not used[1] and complicated migration to Message class.

[1] Checked uses in 100 extensions, including most Wikimedia, twn and SMW extensions.

Change-Id: Id2ac68ef79e98272d02117165e2f04034f209fb3

11 years agoMerge "mediawiki.user.test: Fix getGroups() regression"
Hashar [Mon, 3 Sep 2012 10:26:09 +0000 (10:26 +0000)]
Merge "mediawiki.user.test: Fix getGroups() regression"

11 years agotest: new assertHTMLEquals()
Antoine Musso [Mon, 3 Sep 2012 08:46:07 +0000 (10:46 +0200)]
test: new assertHTMLEquals()

Very trivial helper to compare HTML content. The method just add a
newline after each closing angle and then call assertEquals().

Change-Id: I5e6daa916a4fb452824616fa3c8a87bdb8038e8c

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 2 Sep 2012 20:27:19 +0000 (20:27 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I41d843b3be378ea2100d410386db4a43ec78fa20

11 years agoMerge "Improve documentation of maintenance scripts."
Siebrand [Sun, 2 Sep 2012 20:00:19 +0000 (20:00 +0000)]
Merge "Improve documentation of maintenance scripts."

11 years agomediawiki.user.test: Fix getGroups() regression
Timo Tijhof [Sun, 2 Sep 2012 19:43:08 +0000 (21:43 +0200)]
mediawiki.user.test: Fix getGroups() regression

* Test depended on sort order, fixing by looking up index
  instead.

  Order is not documented and should not be depended on,
  therefore updating the test instead of changing the output.

* Follows-up 1e8992ca7489e620d157d9a50d9aa5e611b84887

Change-Id: Id72b0550e5c0e1ae5454005f9245d1d542fc2e46

11 years agoMerge "[mw.notification] Introduce a full fledged notification system into core repla...
Krinkle [Sun, 2 Sep 2012 19:27:42 +0000 (19:27 +0000)]
Merge "[mw.notification] Introduce a full fledged notification system into core replacing jsMessage."

11 years ago[mw.notification] Introduce a full fledged notification system into core replacing...
Daniel Friesen [Mon, 13 Aug 2012 06:18:07 +0000 (23:18 -0700)]
[mw.notification] Introduce a full fledged notification system into core replacing jsMessage.

- Support for multiple messages instead of just one is included.
- Persistent messages are also supported.
- Tagged message replacement is supported so that only one message of a type will show up at once.
- A light flood protection is included to stop all the notifications from disappearing at once.
- Watchlist uses it's own tag now.
- Legacy jsMessage messages still replace each other by using a tag: 'legacy' option
- #mw-js-message was an old id used for something with a completely different style. So rather than re-using it that id is being dropped. Skins can now style the new notifications.
- Core is no longer using messageBox and no extension uses it so instead of making a compatibility layer for it that module is just being dropped.

This is a follow up to I41c70d78.

Change-Id: I2b3d9cbce6d1514d754b4403ec878d89ea6af29d

11 years agoImprove documentation of maintenance scripts.
Alexandre Emsenhuber [Sun, 2 Sep 2012 18:33:22 +0000 (20:33 +0200)]
Improve documentation of maintenance scripts.

Also contains a fix for Ia5a38311 (fae0550).

Change-Id: I630c83b48b66c5d8c97411082cabd731f316f42d

11 years ago(bug 39908) jQuery 1.8.1
Antoine Musso [Sun, 2 Sep 2012 12:50:56 +0000 (14:50 +0200)]
(bug 39908) jQuery 1.8.1

jQuery 1.8.0 has regression issues where selections with class and id
returned wrong elements (aka: $('#ca-talk.new a'). This patch upgrade
jQuery to 1.8.1 from upstream.

Change-Id: I9db28a52341eef0862aac7e1ae5e4f4e4637fd91

11 years agoAdded @since to new function.
Aaron Schulz [Sun, 2 Sep 2012 07:33:19 +0000 (00:33 -0700)]
Added @since to new function.

Change-Id: If15c11df7f460bea6c748584442970065fdaaaae

11 years agoMerge "Fixes for DatabaseMysql::open()"
Aaron Schulz [Sun, 2 Sep 2012 05:05:54 +0000 (05:05 +0000)]
Merge "Fixes for DatabaseMysql::open()"

11 years agoMerge "(bug 39875) Fixed conversion of array attributes in Html."
Aaron Schulz [Sun, 2 Sep 2012 04:55:50 +0000 (04:55 +0000)]
Merge "(bug 39875) Fixed conversion of array attributes in Html."

11 years agoMerge "Make functions match definitions in Preprocessor interface"
Siebrand [Sat, 1 Sep 2012 22:44:48 +0000 (22:44 +0000)]
Merge "Make functions match definitions in Preprocessor interface"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Sat, 1 Sep 2012 20:50:14 +0000 (20:50 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 1 Sep 2012 20:43:45 +0000 (20:43 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ifae56bd20a5d2868c54751f5d0a04439d35c89c2

11 years agoMerge "Added missing GPLv2 headers in new files."
Siebrand [Sat, 1 Sep 2012 20:41:55 +0000 (20:41 +0000)]
Merge "Added missing GPLv2 headers in new files."

11 years agoAdded missing GPLv2 headers in new files.
Alexandre Emsenhuber [Sat, 1 Sep 2012 19:56:38 +0000 (21:56 +0200)]
Added missing GPLv2 headers in new files.

Also improved file documentation.

Change-Id: Ia5a383110769cf51603305dc639616d904ebbab2

11 years agoConvert core to use new ThumbnailImage() constructor
jarry1250 [Sat, 1 Sep 2012 16:12:48 +0000 (17:12 +0100)]
Convert core to use new ThumbnailImage() constructor

See change #21321 for the introduction of that new constructor
and the reasoning behind it.

Change-Id: I15843fab4217333077e16ae187e7c09f76d47e58

11 years agoFixes for DatabaseMysql::open()
Alexandre Emsenhuber [Sat, 1 Sep 2012 15:13:35 +0000 (17:13 +0200)]
Fixes for DatabaseMysql::open()

- Group global declarations at the top
- Early abort on error, instead of going through
  the whole code
- Group double call to wfDebug()
- Whitespaces fixes

Change-Id: I9e28395a2698216e14458d1a74ef0a89e7ee48d6

11 years agoLivePreview: properly use jquery.form (as dependency)
MatmaRex [Sat, 1 Sep 2012 14:20:16 +0000 (16:20 +0200)]
LivePreview: properly use jquery.form (as dependency)

... instead of just using two outdated functions copied from there god knows when.

Change-Id: Ifcc7e7c51cf20b3b93e4b16bd9ba55dfe45b445c

11 years agoMerge "Follow-up I0b781c11 (2a55449): use User::getAutomaticGroups()."
Siebrand [Sat, 1 Sep 2012 12:33:07 +0000 (12:33 +0000)]
Merge "Follow-up I0b781c11 (2a55449): use User::getAutomaticGroups()."

11 years ago(bug 39875) Fixed conversion of array attributes in Html.
Tyler Anthony Romeo [Sat, 1 Sep 2012 01:25:27 +0000 (21:25 -0400)]
(bug 39875) Fixed conversion of array attributes in Html.

Changed Html::dropDefaults() so that when an array is
passed as an attribute value, it does not call strval(),
thus triggering a PHP notice. Instead arrays are
imploded with a space as the separator.

Change-Id: I2521b78c7de94c183b7de7e7d4b2b510ab0c7770

11 years agoMerge "[FileRepo] Added option to shorten long file names."
Catrope [Sat, 1 Sep 2012 00:11:19 +0000 (00:11 +0000)]
Merge "[FileRepo] Added option to shorten long file names."

11 years agoMerge "Allow array condition for HAVING in database interface"
Aaron Schulz [Sat, 1 Sep 2012 00:03:47 +0000 (00:03 +0000)]
Merge "Allow array condition for HAVING in database interface"

11 years agoMerge "(bug 25830) fix JS preview causing the page to "jump""
Kaldari [Fri, 31 Aug 2012 23:53:21 +0000 (23:53 +0000)]
Merge "(bug 25830) fix JS preview causing the page to "jump""

11 years ago[FileRepo] Added option to shorten long file names.
Aaron [Fri, 31 Aug 2012 21:21:39 +0000 (14:21 -0700)]
[FileRepo] Added option to shorten long file names.

Change-Id: Id36e787192b32b72d3b49e2afbe41335b81ae732

11 years agoCleaned up some whitespace from 45b9073b61d3aa569adb8cff46531a5b06b8bb7a
Aaron [Fri, 31 Aug 2012 23:24:19 +0000 (16:24 -0700)]
Cleaned up some whitespace from 45b9073b61d3aa569adb8cff46531a5b06b8bb7a

Change-Id: I42e376d80d6cc483b96e815d63b19aee78fe1127

11 years agoMerge "Adjust margin of wpSummary elements per move of summary box."
Trevor Parscal [Fri, 31 Aug 2012 23:20:55 +0000 (23:20 +0000)]
Merge "Adjust margin of wpSummary elements per move of summary box."

11 years agoMerge "[FileBackend] Added Content-Disposition support to Swift."
Catrope [Fri, 31 Aug 2012 23:20:18 +0000 (23:20 +0000)]
Merge "[FileBackend] Added Content-Disposition support to Swift."

11 years ago(bug 25830) fix JS preview causing the page to "jump"
MatmaRex [Thu, 9 Aug 2012 13:51:28 +0000 (15:51 +0200)]
(bug 25830) fix JS preview causing the page to "jump"

Originally a patch by DieBuche <diebuche@gmail.com>, fixed to apply on
master (only whitespace changes were needed), with multiple new tweaks and
fixes.

The patch introduces fadeTo(..., 0.4) instead of fadeIn/fadeOut, causing
the preview not to be removed, but only faded out slightly. The reason
for this change is twofold:
* We do not want to completely remove the elements, which is what the old
  version did. This causes the edit field to jump up and then back down
  when the preview is reinserted.
* We do not want to display a huge blank white space where the preview
  used to be before it disappeared.

Instead of scrolling to the top, we scroll straight to the preview. This
works when the preview is set to appear below edit field and possibly with
non-default skins. (And also is much neater.) Thanks to Jdlrobson for
noticing this issue.

We also separately handle first preview and all the following ones to
further reduce jumping. Thanks to MarkTraceur and Kaldari for noticing the
problem and to Kaldari for a patch.

Change-Id: I743ed45e039445242a99a23cad719a75731c5562

11 years agoMerge "Fix return doc and update whitespace in SpecialBlock.php"
Siebrand [Fri, 31 Aug 2012 23:05:39 +0000 (23:05 +0000)]
Merge "Fix return doc and update whitespace in SpecialBlock.php"

11 years agoAdjust margin of wpSummary elements per move of summary box.
Rob Moen [Wed, 29 Aug 2012 22:31:04 +0000 (15:31 -0700)]
Adjust margin of wpSummary elements per move of summary box.

See change: https://gerrit.wikimedia.org/r/#/c/21852
Rational:
http://www.mediawiki.org/wiki/Micro_Design_Improvements

Change-Id: Ib0e7a5a8c1e0076d44bd1a244e97c79e5e72de41

11 years ago[FileBackend] Added Content-Disposition support to Swift.
Aaron [Fri, 31 Aug 2012 22:35:39 +0000 (15:35 -0700)]
[FileBackend] Added Content-Disposition support to Swift.

* Renamed $handle => $op to avoid line breaks in a few spots.

Change-Id: I4598e685cc27552425a47f9d97eaeddaaf1a64a1

11 years agoFix return doc and update whitespace in SpecialBlock.php
robin [Wed, 29 Aug 2012 02:34:00 +0000 (04:34 +0200)]
Fix return doc and update whitespace in SpecialBlock.php

Fix return documentation for blockLogFlags() in SpecialBlock.php.

Make whitespace of if() and foreach() consistent per coding standards in SpecialBlock.php

Change-Id: I87ea271e71c45dcc3f7cdd0960eb8f60a13cfec6

11 years agoMerge "(bug 39700) Add htmlspecialchars encoding to label"
csteipp [Fri, 31 Aug 2012 22:05:04 +0000 (22:05 +0000)]
Merge "(bug 39700) Add htmlspecialchars encoding to label"

11 years ago(bug 39700) Add htmlspecialchars encoding to label
csteipp [Fri, 31 Aug 2012 03:40:19 +0000 (20:40 -0700)]
(bug 39700) Add htmlspecialchars encoding to label

Adds htmlspecialchars encoding to the link label, passed
into Linker::makeBrokenImageLinkObj.

This fixes a stored XSS (HTML injection) vulnerability.

* Released as part of 1.20wmf10, 1.19.2, 1.18.5

Change-Id: I0e5f9eeb1f3561b1354aecced74f68ae2fa20dfa

11 years ago(bug 39184) LDAP password leakage
csteipp [Fri, 31 Aug 2012 03:38:05 +0000 (20:38 -0700)]
(bug 39184) LDAP password leakage

Allow AuthPlugin to determine if user passwords should be stored
locally.

* Released as part of 1.20wmf10, 1.19.2, 1.18.5

Change-Id: Ie41bed7ecf5390f8815128c227bae371880a6058

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 31 Aug 2012 19:44:24 +0000 (19:44 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I9b073c9cdd5556abb26f675ce9a96a4481bb393a

11 years agoMerge "Add @since to new variables, fix variable name"
Siebrand [Fri, 31 Aug 2012 19:25:17 +0000 (19:25 +0000)]
Merge "Add @since to new variables, fix variable name"

11 years agoMerge "Fix zhtable's Makefile.py"
Siebrand [Fri, 31 Aug 2012 19:23:13 +0000 (19:23 +0000)]
Merge "Fix zhtable's Makefile.py"

11 years agoMerge "Better conversion for 线/綫/線"
Siebrand [Fri, 31 Aug 2012 19:22:36 +0000 (19:22 +0000)]
Merge "Better conversion for 线/綫/線"

11 years agoFix zhtable's Makefile.py
Liangent [Fri, 31 Aug 2012 18:31:53 +0000 (02:31 +0800)]
Fix zhtable's Makefile.py

* Add the trailing \n to ZhConversion.php
* Switch to dfn.dl.sourceforge.net because cdnetworks-kr-2
  seems down (tested on both my PC and Toolserver)

Change-Id: I9843d9ff190a6e909d2fa699af8880a7025778ab

11 years agoBetter conversion for 线/綫/線
Liangent [Fri, 31 Aug 2012 18:27:02 +0000 (02:27 +0800)]
Better conversion for 线/綫/線

Change-Id: Ib32fe67cc812dd42cd1aae5682e44872e4b9f01f

11 years agoAllow array condition for HAVING in database interface
umherirrender [Fri, 31 Aug 2012 18:12:19 +0000 (20:12 +0200)]
Allow array condition for HAVING in database interface

Current no use in core.

Change-Id: I8ed86c8238146285dd1caed4d8586c877cbecf44

11 years agoAdd @since to new variables, fix variable name
robin [Fri, 31 Aug 2012 17:23:38 +0000 (19:23 +0200)]
Add @since to new variables, fix variable name

Add @since 1.20 to new configuration variables and fix variable name wgLocalTimezone -> wgLocaltimezone

(New variables per https://www.mediawiki.org/wiki/Category:MediaWiki_configuration_settings_1.20.0 )

Change-Id: I97f373e9760f5b4966ae064965ec6cfd8dff2498

11 years ago(bug 38451) remove $wgAllowPageInfo
Reedy [Sat, 21 Jul 2012 21:37:59 +0000 (22:37 +0100)]
(bug 38451) remove $wgAllowPageInfo

InfoAction needs a bit of work, so this might want to wait a little
while. The patch removes $wgAllowPageInfo which was used to enable the
action=info action (which was disabled by default).

https://gerrit.wikimedia.org/r/#/c/15847 is needed to disable the
counter query.

Change-Id: I467e688090919b627bf1fb124ef712821c2257f6

11 years agotest: unwanted search namespace should not be there
Liangent [Wed, 6 Jun 2012 13:50:59 +0000 (21:50 +0800)]
test: unwanted search namespace should not be there

When Special:Search uses User preferences for search, make sure that no
unwanted namespaces have been used.

Change-Id: Ibcb23c812bf1e02a398ffbf3a276afc1b1f367cf

11 years agoMerge "(bug 39180) Set x-frame-options='DENY' for api"
Demon [Fri, 31 Aug 2012 14:47:28 +0000 (14:47 +0000)]
Merge "(bug 39180) Set x-frame-options='DENY' for api"

11 years agoMerge "(bug 35839) Check permisions for revdel blocks"
Demon [Fri, 31 Aug 2012 14:46:48 +0000 (14:46 +0000)]
Merge "(bug 35839) Check permisions for revdel blocks"

11 years agoMerge "[FileRepo] Made temp zone files use doQuickOperations."
Demon [Fri, 31 Aug 2012 13:42:09 +0000 (13:42 +0000)]
Merge "[FileRepo] Made temp zone files use doQuickOperations."

11 years agoMerge "[FileBackend] Reduced CDN purging when CDN is enabled."
Demon [Fri, 31 Aug 2012 13:40:17 +0000 (13:40 +0000)]
Merge "[FileBackend] Reduced CDN purging when CDN is enabled."

11 years agoMerge "Added PHP complement for mw.Time."
Demon [Fri, 31 Aug 2012 13:38:59 +0000 (13:38 +0000)]
Merge "Added PHP complement for mw.Time."

11 years agoMerge "Replace deprecated wfMsg* calls with Message class calls."
IAlex [Fri, 31 Aug 2012 13:15:45 +0000 (13:15 +0000)]
Merge "Replace deprecated wfMsg* calls with Message class calls."

11 years agoAdded PHP complement for mw.Time.
Tyler Anthony Romeo [Tue, 31 Jul 2012 19:37:01 +0000 (15:37 -0400)]
Added PHP complement for mw.Time.

Figured since a JS Timestamp class was being implemented
it might be appropriate to create a complementary PHP
Timestamp class. Much of code is taken from wfTimestamp().

Note: Another change (I53dcf547) is attempting a related
issue. Not sure how much of scope overlap there is.

Change-Id: I68eb9f27eebe80df757187f634392e1bcba5551f
Signed-off-by: Tyler Romeo <tylerromeo@gmail.com>
11 years agoMerge "Revert "Setting up a way to have uploading by URL, but not on Special:Upload""
Kaldari [Fri, 31 Aug 2012 00:06:33 +0000 (00:06 +0000)]
Merge "Revert "Setting up a way to have uploading by URL, but not on Special:Upload""

11 years agoRevert "Setting up a way to have uploading by URL, but not on Special:Upload"
Kaldari [Thu, 30 Aug 2012 23:59:52 +0000 (23:59 +0000)]
Revert "Setting up a way to have uploading by URL, but not on Special:Upload"

This reverts commit 8c6c29b3fc5db93c46bdd73b48f1ff5b4edad25c

I erroneously assumed there was a practical reason why
wgAllowCopyUploads was turned off on Commons, i.e. it was
too easy to abuse, causing too many copyvios, etc. I didn't
realize that the reason it was turned off was purely
technical (since the apaches on the cluster have no
external internet access). So there's no reason we need a
separate config.

Change-Id: I293a59d756335909898fd647edd6eddb68f06e17

11 years ago[FileRepo] Made temp zone files use doQuickOperations.
Aaron [Thu, 30 Aug 2012 23:03:36 +0000 (16:03 -0700)]
[FileRepo] Made temp zone files use doQuickOperations.

* This avoids stat and journaling overhead.

Change-Id: I817e95fa15096bb02ab7505055949acd56164442

11 years agoFix up the preferred way to specify mw.util.$content
Daniel Friesen [Sun, 12 Aug 2012 09:23:50 +0000 (02:23 -0700)]
Fix up the preferred way to specify mw.util.$content

- Setting a .mw-body class is the preferred way for $content to be defined
- You can set an extra .mw-body-primary if you use multiple .mw-body classes or for some legacy reasons .mw-body is at a different depth than the content area
- No extensions appear to be using util.$content in a way that would imply they want the body text rather than the overall content area
- Anyone that actually needs the body text can use #mw-content-text.

Change-Id: Ic7b756f139047e4100fcab8f63a968d45ca2b2fe

11 years ago[FileBackend] Reduced CDN purging when CDN is enabled.
Aaron [Thu, 30 Aug 2012 21:23:41 +0000 (14:23 -0700)]
[FileBackend] Reduced CDN purging when CDN is enabled.

Change-Id: I63fc9271ca997b19dad957b544503e9ec3b54fa1

11 years agoMerge "Add and update some missing release notes for rl modules."
Catrope [Thu, 30 Aug 2012 21:09:43 +0000 (21:09 +0000)]
Merge "Add and update some missing release notes for rl modules."

11 years agoMerge "Make LinksUpdate run without a db transaction."
Aaron Schulz [Thu, 30 Aug 2012 21:06:14 +0000 (21:06 +0000)]
Merge "Make LinksUpdate run without a db transaction."

11 years agoMake functions match definitions in Preprocessor interface
Reedy [Thu, 30 Aug 2012 21:03:19 +0000 (22:03 +0100)]
Make functions match definitions in Preprocessor interface

Change-Id: I0bc1f5540bb7aabcd7e54edc180439446af979f4

11 years agoMerge "[FileBackend] Improved stat caching by reducing cache salting."
Demon [Thu, 30 Aug 2012 20:58:07 +0000 (20:58 +0000)]
Merge "[FileBackend] Improved stat caching by reducing cache salting."

11 years agoMerge "Addressing problems with jquery.badge mentioned at I0f5e7541"
Krinkle [Thu, 30 Aug 2012 20:51:56 +0000 (20:51 +0000)]
Merge "Addressing problems with jquery.badge mentioned at I0f5e7541"

11 years agoAdd and update some missing release notes for rl modules.
Timo Tijhof [Thu, 30 Aug 2012 20:51:39 +0000 (22:51 +0200)]
Add and update some missing release notes for rl modules.

* QUnit v1.9.0
* jQuery UI 1.8.23
* New: jquery.badge

Change-Id: I6b3de9b0e02ea7c4931ebf3f3a3b85bf76407f02

11 years ago[FileBackend] Improved stat caching by reducing cache salting.
Aaron [Thu, 30 Aug 2012 19:47:19 +0000 (12:47 -0700)]
[FileBackend] Improved stat caching by reducing cache salting.

Change-Id: Ieec6515fcf1c2f147b52eceec1f6c55a681115c5

11 years agoAddressing problems with jquery.badge mentioned at I0f5e7541
Kaldari [Thu, 16 Aug 2012 21:22:45 +0000 (14:22 -0700)]
Addressing problems with jquery.badge mentioned at I0f5e7541

Making sure variable types are consistant, fixing global vars,
various style fixes, etc.

Change-Id: I2f30fe07078aa3cadd730b0d6f199d037f2a4612

11 years agoMerge "Update migrateUserGroup to deal with primary key issue"
Demon [Thu, 30 Aug 2012 20:20:59 +0000 (20:20 +0000)]
Merge "Update migrateUserGroup to deal with primary key issue"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 30 Aug 2012 19:44:22 +0000 (19:44 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "(bug 36329) Fix accesskey tooltip for Firefox 14 on Mac"
Krinkle [Thu, 30 Aug 2012 19:36:15 +0000 (19:36 +0000)]
Merge "(bug 36329) Fix accesskey tooltip for Firefox 14 on Mac"

11 years ago(bug 36329) Fix accesskey tooltip for Firefox 14 on Mac
Minh Nguyễn [Sat, 28 Apr 2012 22:30:22 +0000 (22:30 +0000)]
(bug 36329) Fix accesskey tooltip for Firefox 14 on Mac

Should use "ctrl-option-" prefix

Change-Id: I87463fc6043fb17cab70956f65fd9da3cdd7477d

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 30 Aug 2012 19:33:15 +0000 (19:33 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Ia32bb1239b6b88c757b04a748bc3d9f69cc6be36

11 years agoMerge "[FileBackend] Improved getLocalCopy() performance for Swift."
Demon [Thu, 30 Aug 2012 19:26:03 +0000 (19:26 +0000)]
Merge "[FileBackend] Improved getLocalCopy() performance for Swift."

11 years ago[FileBackend] Improved getLocalCopy() performance for Swift.
Aaron [Thu, 30 Aug 2012 19:17:28 +0000 (12:17 -0700)]
[FileBackend] Improved getLocalCopy() performance for Swift.

* This eliminates HEAD requests to speed up concatenate() operations (by ~9 seconds for 300 chunks for wmf).

Change-Id: I43456bd59eeb7943e66cae9c1e42dc410c2a8daf

11 years agoMerge "(bug 39273) add diff support to LivePreview"
Catrope [Thu, 30 Aug 2012 18:57:34 +0000 (18:57 +0000)]
Merge "(bug 39273) add diff support to LivePreview"

11 years agoMerge "[FileBackend] Made TempFSFile use wfRandomString() and be more random."
Catrope [Thu, 30 Aug 2012 18:13:47 +0000 (18:13 +0000)]
Merge "[FileBackend] Made TempFSFile use wfRandomString() and be more random."

11 years ago[FileBackend] Made TempFSFile use wfRandomString() and be more random.
Aaron [Thu, 30 Aug 2012 18:05:52 +0000 (11:05 -0700)]
[FileBackend] Made TempFSFile use wfRandomString() and be more random.

Change-Id: I5bfff8cfb9d1c786490f7539a6cdb47e36d88cc1

11 years agoMerge "[FileBackend] Reduce backend sync errors a bit by aborting operations more."
Catrope [Thu, 30 Aug 2012 17:50:55 +0000 (17:50 +0000)]
Merge "[FileBackend] Reduce backend sync errors a bit by aborting operations more."

11 years agoMerge "clear magicword cache before testing cleanSig"
Aaron Schulz [Thu, 30 Aug 2012 17:16:33 +0000 (17:16 +0000)]
Merge "clear magicword cache before testing cleanSig"

11 years ago[FileBackend] Reduce backend sync errors a bit by aborting operations more.
Aaron [Thu, 30 Aug 2012 17:10:50 +0000 (10:10 -0700)]
[FileBackend] Reduce backend sync errors a bit by aborting operations more.

Change-Id: Iedb8d7e1f95c971dbb9f9baed67de047753ab40d

11 years agoMerge "Fix the incorrect nesting"
Siebrand [Thu, 30 Aug 2012 15:07:26 +0000 (15:07 +0000)]
Merge "Fix the incorrect nesting"