Brad Jorsch [Thu, 9 May 2013 22:09:20 +0000 (18:09 -0400)]
(bug 48294) API: Fix chunk upload async mode
I915c1678 fixed single-chunk chunked uploads for the common case, but
didn't store the data for async uploads under the correct filekey. This
fixes that.
Bug: 48294
Change-Id: Idbeab2fd0d801974b610198dcf02c81798f65a0d
jenkins-bot [Wed, 29 May 2013 16:55:30 +0000 (16:55 +0000)]
Merge "Make 'subnet' feature of $wgRateLimits work with IPv6"
jenkins-bot [Wed, 29 May 2013 15:07:02 +0000 (15:07 +0000)]
Merge "Newlines should be converted to spaces for IRC feed"
Antoine Musso [Wed, 29 May 2013 09:16:25 +0000 (11:16 +0200)]
wfIniGetBool: reduce strtolower() calls
We were calling strtolower() up to three times. As a micro optimization,
call it once around ini_get() and do the logical checks against the
variable containing the lower case output.
Change-Id: I16c149fbb9de84d7b6f3e68da06de208c5572b7c
Antoine Musso [Wed, 29 May 2013 10:40:00 +0000 (12:40 +0200)]
revert last 'ru' l10n update
The russian localisation update made in
4455865 are apparently wrong. A
side effect is also the 'mainpage' message that got changed and which is
breaking tests in master.
Change-Id: I99bcda82f524ddde25a860dc5c08a77a31acd604
Translation updater bot [Wed, 29 May 2013 08:37:37 +0000 (08:37 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I9832bfa9e077c7f71e95a64d615dd83b98676124
Translation updater bot [Wed, 29 May 2013 07:49:28 +0000 (07:49 +0000)]
Merge "Localisation updates from translatewiki.net."
jenkins-bot [Wed, 29 May 2013 00:43:27 +0000 (00:43 +0000)]
Merge "Check if API enabled before loading dependent JS modules"
Kevin Israel [Tue, 28 May 2013 12:00:52 +0000 (08:00 -0400)]
Check if API enabled before loading dependent JS modules
Affects whether these modules are loaded:
* mediawiki.searchSuggest ($wgEnableAPI only)
* mediawiki.page.watch.ajax ($wgEnableAPI, $wgEnableWriteAPI,
'writeapi' right)
* mediawiki.page.patrol.ajax (same as above)
Checking of $wgUseAjax has not been removed where it was
already present, in case some users have set the variable
to false to disable these specific features.
Bug: 30213
Change-Id: If2ec219cfbb94e7c9718c58b9b54a508d0e0c656
Timo Tijhof [Tue, 23 Apr 2013 18:28:05 +0000 (20:28 +0200)]
wikibits: Pass JSHint
Change-Id: I95897e01b339c16abdd12190129d2b343be43d30
Timo Tijhof [Mon, 22 Apr 2013 13:24:39 +0000 (15:24 +0200)]
wikibits: Wrap jsMsg in mw.log.deprecate
No release notes since it was already deprecated (in 1.17 to
mw.util.jsMessage and in 1.20 to mediawiki.notify, though we
don't fallback to that directly since it is not compatible).
Change-Id: I359c94929e58363d5b38f410a60b456111bb0897
Timo Tijhof [Mon, 22 Apr 2013 13:05:31 +0000 (15:05 +0200)]
wikibits: Replace checkboxShiftClick globals with dummies
They have been deprecated in favour of jquery.checkboxShiftClick for
many releases now (since MediaWiki 1.17) and aren't used anywhere in
MediaWiki core (or extensions that I know of).
Though removal is justified, given the slow pace at which the tour[1]
is progressing and the amount of garbage I still find on a daily basis,
I'm replacing them with dummies instead and marking the dummies as
deprecated for easier tracking.
[1] https://meta.wikimedia.org/wiki/User:Krinkle/Le_Tour_de_Wik%C3%AD/2011_Resource_Walker
Change-Id: I72aac6111b9be974f160fecad8312c49c9460c5b
Timo Tijhof [Mon, 22 Apr 2013 12:33:55 +0000 (14:33 +0200)]
wikibits: Wrap UA and accesskey globals in mw.log.deprecate
Change-Id: I026d3d3110fe1580733324d50e8a4c8b04798234
jenkins-bot [Tue, 28 May 2013 21:40:19 +0000 (21:40 +0000)]
Merge "new Create account contributors icon"
jenkins-bot [Tue, 28 May 2013 21:30:07 +0000 (21:30 +0000)]
Merge "Give skin more control of OutputPage modules"
jenkins-bot [Tue, 28 May 2013 21:28:40 +0000 (21:28 +0000)]
Merge "mediawiki.searchSuggest: Use mw.Api instead of jQuery.ajax"
jenkins-bot [Tue, 28 May 2013 21:23:44 +0000 (21:23 +0000)]
Merge "Allow setting the ID of the main table in HTMLForm"
Alexandre Emsenhuber [Mon, 29 Apr 2013 06:13:05 +0000 (08:13 +0200)]
Allow setting the ID of the main table in HTMLForm
- Added new method HTMLForm::setTableId() to allow to set the ID
of the main table (or the outermost <div> element depending on
the format).
- Changed the second parameter of HTMLForm::displaySection()
to take the full ID so that the one set with setTableId()
will not get prefixed with "mw-htmlform-"
Note: If someone has a better idea for the name of that method
(since it also applies to <div> elements), please tell me it :)
Change-Id: Id01bd0fa44512b0320f3c3ff79627e8a9bccd5bb
jenkins-bot [Tue, 28 May 2013 17:34:30 +0000 (17:34 +0000)]
Merge "De-duplicate refreshLinks2 base jobs on insert."
jrobson [Mon, 13 May 2013 22:09:33 +0000 (15:09 -0700)]
Give skin more control of OutputPage modules
Remove addDefaultModules from OutputPage
Instead only enforce mediawiki.page.startup
Add a method getDefaultModules which groups modules
by type allowing a skin to tweak
Change-Id: I89d529f0378d90af0fe0a5adea5d5dbdca83a86e
umherirrender [Sun, 26 May 2013 18:48:17 +0000 (20:48 +0200)]
ApiHelp: Avoid header for example, when there no examples
When writing a new extension the source:
public function getExamples() {
return array(
//TODO
);
}
would produce a empty "Example:" header on the help page. Avoid this, by
changing the condition to check for truthy instead of false and empty
string.
Change-Id: I67ecacbbac66b97ed96412abf79b49aebe0ebdbf
Alex Monk [Sun, 26 May 2013 18:46:04 +0000 (19:46 +0100)]
mediawiki.searchSuggest: Use mw.Api instead of jQuery.ajax
Change-Id: I5e12371bf7e0a6eaeb2507b8942773f63281139b
jenkins-bot [Tue, 28 May 2013 10:29:49 +0000 (10:29 +0000)]
Merge "ResourceLoader: Prevent prefixless modules from overwriting others"
Henning Snater [Mon, 27 May 2013 15:13:59 +0000 (17:13 +0200)]
ResourceLoader: Prevent prefixless modules from overwriting others
Expanding prefixless modules should not overwrite the result set
of expanded modules.
Change-Id: Ic6e0e1c9e3fe7a585d34de21c532ee5ac3e7fdc5
Translation updater bot [Tue, 28 May 2013 06:42:04 +0000 (06:42 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I488ebb99fba311a78fc879933606f797a1f640ad
Matthew Flaschen [Mon, 27 May 2013 20:43:06 +0000 (16:43 -0400)]
Add autocreate to addNewUserLogEntry docs.
Change-Id: I40bdd510dbbc32d32ceee39b54bb4c66ace0ccfc
TheDJ [Mon, 27 May 2013 20:11:14 +0000 (20:11 +0000)]
Merge "Avoid changing the global on special pages"
nischayn22 [Tue, 21 May 2013 07:57:23 +0000 (13:27 +0530)]
Fieldset legends is broken.
HTMLForm constructor didn't use messagePrefix if context is null.
Bug: 48650
Change-Id: I26367bd597f873838c8cf45d75800661d37c0f95
Aaron Schulz [Wed, 22 May 2013 19:12:21 +0000 (12:12 -0700)]
Moved job queue aggregator classes to a subdirectory.
Change-Id: Iabbf566b05d44e19770db7b4519abfe00e4a8d90
Marius Hoch [Sat, 25 May 2013 10:27:42 +0000 (12:27 +0200)]
Add Release notes for I1e24733c
Change-Id: I271cf65b74ff9101914670b3e0c70241b5638020
jenkins-bot [Sun, 26 May 2013 21:42:09 +0000 (21:42 +0000)]
Merge "Updated profiling table definition."
jenkins-bot [Sun, 26 May 2013 14:02:27 +0000 (14:02 +0000)]
Merge "Enable fallback languages when retrieving messages"
Tyler Romeo [Wed, 16 Jan 2013 07:28:54 +0000 (23:28 -0800)]
Enable fallback languages when retrieving messages
The core function behind wfMessage() (MessageCache->get()) did not
apply the language fallback chain to on-wiki messages.
This patch has changed the behavior to iterate over all possible
languages, first checking on-wiki and then checking the CDB cache,
until it finds the message. Note that fallback languages never
take precedence over the actual requested language.
This patch was taken from the following changes and then
adjusted to fix issues that caused bug 46579.
* Change-Id: Iaaf6ccebd8c40c9602748c58c3a5c73c29e7aa4d
- Author: Matthew Walker <mwalker@wikimedia.org>
- (cherry picked from commit
d434bfcf3bbab05660ed8f798a4622487dd8ba56)
* Change-Id: Ib607a446d3499a3c042dce408db5cbaf12fa9e3d
- Author: Mormegil <mormegil@centrum.cz>
- (cherry picked from commit
1b8cb8dc3119bfb12d86d2f044018dc12553939b)
Bug: 1495
Bug: 46579
Change-Id: I420457863eeb79824698d06abc7784032b267af2
jenkins-bot [Sun, 26 May 2013 10:31:10 +0000 (10:31 +0000)]
Merge "Language::convertPlural: check if matching form exists"
freakolowsky [Sun, 26 May 2013 10:14:58 +0000 (12:14 +0200)]
Updated profiling table definition.
Change-Id: I20e92f2bc9b57a9c06cbcdfd30370fedf3c0e2f7
Aaron Schulz [Wed, 1 May 2013 03:00:20 +0000 (20:00 -0700)]
[JobQueue] Allow using gzip on larger jobs in JobQueueRedis.
Change-Id: I74ebdcfa0d3f2bcdc429394f7873fa25b7eb0f58
Translation updater bot [Sun, 26 May 2013 08:40:58 +0000 (08:40 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ie17b0ec177b58826a9fa3e8131d29ffdb75dc8dd
Kevin Israel [Sun, 26 May 2013 01:27:56 +0000 (21:27 -0400)]
Ensure title in NS_FILE before showing archived file
Avoid an MWException "X is not a valid file title." with invalid
input such as index.php?title=Special:Undelete&title=X&file=Y .
Change-Id: Ie915726fdde8e772a63713d3eb9da232d9fd83bd
Kevin Israel [Sat, 25 May 2013 23:19:55 +0000 (19:19 -0400)]
Language::convertPlural: check if matching form exists
It is possible that only explicit plural forms are specified, and
therefore, it is possible that none match. However, handling of
explicit forms came after the count( $forms ) check, so input such
as {{PLURAL:|1=}} would trigger a "PHP Notice: Undefined offset: -1".
Change-Id: I8494de8ceb9e0cfff7203c69c21f02b3731275af
Follows-Up: I50eb0c6d1c02ca936848d310de625ed1fe43d91a
Alex Monk [Sat, 25 May 2013 15:47:37 +0000 (16:47 +0100)]
Newlines should be converted to spaces for IRC feed
Instead of just removing them, which was causing reasons to show up like this:
"Automatically blocked by abuse filter.Description of matched rule: Long-term Chinese spambots"
While showing like this on the web pages:
"Automatically blocked by abuse filter. Description of matched rule: Long-term Chinese spambots"
Change-Id: I058e4b446aaa42b4dfe3369f101191f36b6f6978
jenkins-bot [Sat, 25 May 2013 11:22:57 +0000 (11:22 +0000)]
Merge "Rename $usableSkins to $allowedSkins"
Waldir Pimenta [Sat, 25 May 2013 11:10:34 +0000 (12:10 +0100)]
Rename $usableSkins to $allowedSkins
This change is entirely in local scope.
The function is still called getUsableSkins()
so this change won't break anything.
But the variable name and the updated documentation comment
make it clearer what the purpose of this function is,
for anyone reading the code or reading the autogenerated docs.
This change also includes minor changes to documentation
in skin-related files (typos and small edits for clarity).
Change-Id: I4220408f4d3b64cf87be4ad1af4b72d3a4524922
jenkins-bot [Sat, 25 May 2013 10:08:50 +0000 (10:08 +0000)]
Merge "Patrol overhaul phase 1: Remove rcid parameters"
Marius Hoch [Sat, 29 Dec 2012 02:53:18 +0000 (03:53 +0100)]
Patrol overhaul phase 1: Remove rcid parameters
I've changed the logic in Article::showPatrolFooter to be able
to fetch the recent changes id and to only show the patrol link
in case the change hasn't yet been patrolled.
In case recentchanges patrolling is enabled this will try to
create a patrol link for the revision the user is currently
viewing. If only new page patrolling is enabled it tries to
create a patrol link for the first revision of the page.
Furthermore I've removed the passing around of &rcid parameters
within MediaWiki as those had several issues (some even security
related) and were only a workaround to protect the DB from some
queries, which is no longer needed.
This has already been partly implemented in a different manner in
r45778 but had to be reverted in r46542 due to performance issues.
This version shouldn't cause such issues as I'm only adding one or
two indexed database queries per page view.
I've written this new version of the patch with mostly
performance in mind and even tested the database queries it uses
against the replicated databases of enwiki on the toolserver. I'm
pretty sure this can't be implemented any faster without creating
a new index on the recentchanges table.
As I was on it I've implemented RecentChange::isInRCLifespan which
checks whether the given timestamp is new enough to may have a RC
row. That way we can avoid some DB queries for timestamps which are
older than the max RC age.
Fixes bugs:
(bug 15936) New page's patrol button should always be visible
(bug 35810) ! N pages non-patrol-able
(bug 36641) Patrol page link shows on non-existent revs
Change-Id: I1e24733cafbfdc51b7a5a9a1c1baf948e760fe1a
jenkins-bot [Sat, 25 May 2013 08:40:30 +0000 (08:40 +0000)]
Merge "Remove 'SkinTemplateTabs' from docs/hooks.txt"
Translation updater bot [Sat, 25 May 2013 08:31:38 +0000 (08:31 +0000)]
Merge "Localisation updates from translatewiki.net."
Translation updater bot [Sat, 25 May 2013 08:18:55 +0000 (08:18 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I95c3d4327c845da676a4f646e5ffaa925d453a0b
jenkins-bot [Sat, 25 May 2013 07:59:47 +0000 (07:59 +0000)]
Merge "Set context when using UserrightsPage"
Kevin Israel [Sat, 25 May 2013 03:50:26 +0000 (23:50 -0400)]
Remove 'SkinTemplateTabs' from docs/hooks.txt
According to online documentation: "This feature was removed completely
in version 1.18.0."
Change-Id: I410dce8b04ff788cd6573b3b11fd56ce41a96395
jenkins-bot [Fri, 24 May 2013 21:19:46 +0000 (21:19 +0000)]
Merge "displaytitle: reject some CSS if $wgRestrictDisplayTitle set"
jenkins-bot [Fri, 24 May 2013 20:52:50 +0000 (20:52 +0000)]
Merge "Reset the error string in LoadBalancer::getConnection() to avoid it crufting up."
jenkins-bot [Fri, 24 May 2013 20:48:56 +0000 (20:48 +0000)]
Merge "Added a --profiler option to all maintenance scripts."
Aaron Schulz [Fri, 24 May 2013 20:00:59 +0000 (13:00 -0700)]
Fixed misleading @since tag.
Change-Id: Ief77172a286ffb98389b22968296217d37dac35f
Michał Zieliński [Fri, 24 May 2013 19:04:52 +0000 (21:04 +0200)]
Preferences: Add link to user contributions on value of "Number of edits".
Bug: 43637
Change-Id: I10a662051fc23ff007b8749c4dc46a4b53a7f4bd
Aaron Schulz [Fri, 24 May 2013 18:46:56 +0000 (11:46 -0700)]
De-duplicate refreshLinks2 base jobs on insert.
* This should work better and take up less space than using root job
de-duplication alone.
Change-Id: Ie339ccf0eed93f5d525a24519d20811de8f6c0b5
Aaron Schulz [Wed, 22 May 2013 23:26:46 +0000 (16:26 -0700)]
Actually update $lastTime in runJobs.php
Change-Id: Ic51b0941aa72f444b1bad919e6a05ff0ba273ce7
umherirrender [Fri, 24 May 2013 14:17:12 +0000 (16:17 +0200)]
Apply default robot policy for non-existing user pages
MediaWiki is sending HTTP 200 for every user page, this can result in
search engine indexing user pages with block hint. This is not happen,
when the page exists (even it is empty), so applying the default robot
policy also for non-existing user pages to avoid this.
Change-Id: Ia62b977b3488d6b002c7b129d9308b7887e4f42d
umherirrender [Fri, 24 May 2013 13:58:54 +0000 (15:58 +0200)]
Set context when using UserrightsPage
SpecialPage::getContext called and $mContext is null. Return
RequestContext::getMain(); for sanity
Change-Id: Ie0ed360835164e8a4eb1c675ec8edd944ab95898
MatmaRex [Wed, 22 May 2013 08:48:14 +0000 (10:48 +0200)]
displaytitle: reject some CSS if $wgRestrictDisplayTitle set
$wgRestrictDisplayTitle is intended to make it possible to simply
copy-and-paste the title text even if it requires some styling like
subscript or superscript. Using a <span style="display: none;" />
broke that expectation, as the text hidden in such way becomes
completely invisible and unselectable. This patch rejects such styles.
Also disallowed 'user-select' and 'visibility', since they both
prevent the user from selecting and/or copying the text as well.
Minor changes in Sanitizer:
* checkCss() was made to pass through values which consist of nothing
but a single comment, to allow this rejection to display some sort
of a notification to the user.
* encodeTagAttributes() was added as a counterpart to
decodeTagAttributes(), pulling some code out of fixTagAttributes().
Bug: 26547
Change-Id: Ie162535b6bcbebce4ee69f6dcc1957ccccc3c672
jenkins-bot [Fri, 24 May 2013 11:09:55 +0000 (11:09 +0000)]
Merge "Change space to non-breaking space to keep headers aligned"
jenkins-bot [Fri, 24 May 2013 09:34:23 +0000 (09:34 +0000)]
Merge "jquery.byteLimit: Fix infinite loop if text is longer than max"
jenkins-bot [Fri, 24 May 2013 09:29:33 +0000 (09:29 +0000)]
Merge "jquery.byteLimit: Improve unit tests"
umherirrender [Mon, 13 May 2013 18:34:26 +0000 (20:34 +0200)]
jquery.byteLimit: Fix infinite loop if text is longer than max
When the length of the returned text of the callback is longer than the
max, the slicing of the input text, should not go into a endless loop.
Without this change, the added unit tests would fail as a result of
the infinite loop.
Bug: 41450
Change-Id: Iad84522659ab160e18828cbfc463db83bc7e4795
jenkins-bot [Fri, 24 May 2013 09:23:32 +0000 (09:23 +0000)]
Merge "Actually try to load intl for test which requires it."
Timo Tijhof [Tue, 21 May 2013 20:33:38 +0000 (22:33 +0200)]
jquery.byteLimit: Improve unit tests
* Update outdated documentation
* Remove hasLimit and limit properties of the test helper
function. These just repeated data already provided
(hasLimit if input != output, limit == expected.length)
* Add tests for a filter that increases the length
(currently only a decreasing filter was tested).
Change-Id: Ib4c19f4d49ed9d19117bbbaccedb0fccaeb34719
Translation updater bot [Fri, 24 May 2013 08:32:06 +0000 (08:32 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I394beb54391ba868283759f889e64c86e8af8538
S Page [Thu, 23 May 2013 06:42:39 +0000 (23:42 -0700)]
new Create account contributors icon
This is more gender-neutral and better relates to the background image
glyph-people-large.png behind the new Login form's link to create an
account. It's only 45px high not 75 but lays out OK in Firefox 21,
Chromium 25, and IE7.
Change-Id: I2a4aba718a15b5f2ee9129536584304a461874dd
Aaron Schulz [Thu, 23 May 2013 21:06:00 +0000 (14:06 -0700)]
Added a --profiler option to all maintenance scripts.
* This dumps profiling information in list or trace format as specified.
* Also optimized wfProfile* function like the ProfileSection class, which
also plays better with Profiler::setInstance().
* Fixed fatals due to wfDebug() calls in Profiler::instance() due to that
function not yet being loaded. The calls were simply removed.
* Cleaned up file performance test script a bit.
Change-Id: I6b8cd8b30fefc1904eeeeacada7a30a46f62fe2a
umherirrender [Thu, 23 May 2013 18:38:05 +0000 (20:38 +0200)]
Avoid select/writes for anon user in WatchedItem
For a page view of a anon user the following select is executed:
SELECT wl_notificationtimestamp FROM `watchlist` WHERE wl_user = '0'
AND wl_namespace = '0' AND wl_title = 'Hauptseite' LIMIT 1
Change-Id: I1cf77a2d024956ed7c150bdf1687eb80c7eccc6f
jenkins-bot [Thu, 23 May 2013 17:57:52 +0000 (17:57 +0000)]
Merge "Add ss_active_users in SiteStats::isSane"
jenkins-bot [Thu, 23 May 2013 17:53:08 +0000 (17:53 +0000)]
Merge "Removing prefix exception for HTMLCheckMatrix"
umherirrender [Thu, 23 May 2013 17:31:56 +0000 (19:31 +0200)]
Avoid changing the global on special pages
Change-Id: I742845badd43cef68ba9f807030d8ea434961fd4
umherirrender [Thu, 23 May 2013 17:05:13 +0000 (19:05 +0200)]
Add ss_active_users in SiteStats::isSane
Also changed the array to the full row name, avoids unnecessary string
concat
Change-Id: Id8f1cb7035ae0058fb34a6c7bdf7bf9f6c740a69
Antoine Musso [Thu, 23 May 2013 14:17:15 +0000 (16:17 +0200)]
User::getDefaultOptions duplicate call
The User::getDefaultOptions() has to set up the 'language' and 'variant'
language. That was done using two calls of $wgContLang->getCode().
This patch reduce it to one call.
Change-Id: I0a30f2541e35c115d1cda72ce40d5e3dcd405c5b
Aaron Schulz [Thu, 23 May 2013 07:26:33 +0000 (00:26 -0700)]
Reset the error string in LoadBalancer::getConnection() to avoid it crufting up.
Change-Id: I89e9fb46367970a0877986cd72d397eef51a0a06
Translation updater bot [Thu, 23 May 2013 05:40:00 +0000 (05:40 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ie897be7438e5e494fcd53fb61421204e0e146a13
kaldari [Wed, 22 May 2013 20:15:40 +0000 (13:15 -0700)]
Removing prefix exception for HTMLCheckMatrix
Unifying how the option prefix is handled for HTMLCheckMatrix and
HTMLMultiSelectField. This needs to be deployed at the same time
as the dependant Echo extension change Ic8420b89.
Change-Id: I4049b666db554283ce953387a30a0a8a7d0cd920
Translation updater bot [Wed, 22 May 2013 18:45:54 +0000 (18:45 +0000)]
Merge "Localisation updates from translatewiki.net."
jenkins-bot [Wed, 22 May 2013 18:01:52 +0000 (18:01 +0000)]
Merge "Fix for wrong prefixing of multi checkbox"
Erik Bernhardson [Wed, 22 May 2013 16:58:53 +0000 (09:58 -0700)]
Fix for wrong prefixing of multi checkbox
Bug: 48693
Change-Id: Ifd8d1d54d5252da958c30cdc0ffa1155ba4cf924
umherirrender [Wed, 22 May 2013 15:10:25 +0000 (17:10 +0200)]
Add page language to prop=info
This can be useful to determine the language of a page, for example
javascript has english as page language. MediaWiki pages has it page
language corresponding to the lang code in the sub page.
Change-Id: Idd0412574b314ecf52d92243a3f8a08755474663
umherirrender [Wed, 22 May 2013 15:59:59 +0000 (17:59 +0200)]
Use square brackets instead of curly braces for char of a string
The use of curly braces is deprecated in php 4.0, so changing it to
square brackets
Change-Id: Iffab398c8d18b386ec2e1a5de751c095b7a9cc77
umherirrender [Sat, 11 May 2013 18:44:55 +0000 (20:44 +0200)]
Do not returning external title in ApiPageSet::getRedirectTargets
Having a page with a redirect to "en:Main Page" will be added as "Main
Page" to the output, that is wrong
http://test.wikipedia.org/w/api.php?action=query&titles=Redirect%20to%20interwiki%20page&redirects
Change-Id: I7b59f592c1293dbb96f4c4279201bf04fcfea29d
jenkins-bot [Wed, 22 May 2013 08:05:22 +0000 (08:05 +0000)]
Merge "Add more tests for paragraphs and headings with extra spacing"
Translation updater bot [Wed, 22 May 2013 07:50:17 +0000 (07:50 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I7779db39f74f4f92ac36ac1eb9d3941eb5ad0e50
Timo Tijhof [Fri, 17 May 2013 00:16:59 +0000 (02:16 +0200)]
phpcs: More require/include is not a function
Follows-up I1343872de7, Ia533aedf63 and I2df2f80b81.
Also updated usage in text in documentation and the
installer LocalSettingsGenerator.
Most of them were handled by this regex:
- find: (require|include|require_once|include_once)\s*\(\s*(.+?)\s*\)\s*;$
- replace: $1 $2;
Change-Id: I6b38aad9a5149c9c43ce18bd8edbab14b8ce43fa
csteipp [Thu, 16 May 2013 22:09:44 +0000 (15:09 -0700)]
SECURITY: Do checks on all upload types
Also, verify file before stashing it
Change-Id: Ib2474cb778d53959a4f479e53d0392f916b18d83
jenkins-bot [Tue, 21 May 2013 20:06:10 +0000 (20:06 +0000)]
Merge "TitleSquidURLs hook for changing the URLs to purge"
daniel [Fri, 17 May 2013 13:18:48 +0000 (15:18 +0200)]
TitleSquidURLs hook for changing the URLs to purge
This allows extensions to purge derivative resources that need
updating when a wiki page is changed.
Change-Id: Ic28ce7f57f29376b041627288979981fcb218a44
jenkins-bot [Tue, 21 May 2013 19:51:50 +0000 (19:51 +0000)]
Merge "Add parsoid-specific image testing"
Mark Holmquist [Mon, 8 Apr 2013 17:34:08 +0000 (10:34 -0700)]
Add parsoid-specific image testing
Using the wonderful
http://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec#Images
to come up with some more sane image formats.
Change-Id: Ie98a2270ef7246d1e7b6e361d505c0bff7277c69
TheDJ [Tue, 21 May 2013 18:18:58 +0000 (18:18 +0000)]
Merge "Adding short date format i18n strings to Language message files"
kaldari [Fri, 17 May 2013 21:24:50 +0000 (14:24 -0700)]
Adding short date format i18n strings to Language message files
For the short date format 'Month XX', different languages are inconsistent about
whether they apply the genitive case. For example, in Czech using the genitive
form is correct. For German it's not. Because of this inconsistancy, we have to
have a separate set of i18n messages for this date format.
Bug: 47211
Change-Id: Idca1bfc9f4eff7dc561253424f15c15ea007ab6d
jenkins-bot [Tue, 21 May 2013 17:55:44 +0000 (17:55 +0000)]
Merge "Fixed behavior of Title::invalidateCache."
TheDJ [Tue, 21 May 2013 17:52:59 +0000 (17:52 +0000)]
Merge "newlines in wfDebug() calls"
Tyler Anthony Romeo [Mon, 6 May 2013 01:08:27 +0000 (11:08 +1000)]
Fixed behavior of Title::invalidateCache.
Removed actions that should not be in Title::invalidateCache,
specifically the clearing of the InfoAction cache, and added
those actions to their appropriate locations.
Added a new method InfoAction::invalidateCache that clears the
cache for a given title.
Bug: 46816
Change-Id: Ic12c66446c0d71f567dceb5d4630382ff41ad8bf
jenkins-bot [Tue, 21 May 2013 16:45:58 +0000 (16:45 +0000)]
Merge "autoloader missed some entries"
jenkins-bot [Tue, 21 May 2013 15:31:18 +0000 (15:31 +0000)]
Merge "jquery.textSelection: Fix typos in documentation"
XP1 [Mon, 20 May 2013 12:53:19 +0000 (08:53 -0400)]
jquery.textSelection: Fix typos in documentation
Change-Id: I8260b7a43937e9fdddeb681333defaa337fcb397
Antoine Musso [Tue, 21 May 2013 09:56:26 +0000 (11:56 +0200)]
autoloader missed some entries
Jenkins does not run the autoloader test (will be fixed in a different
commit). This patch fix the main and test autoloader to add in all the
missing entries.
bug: 47750
Change-Id: I285fa7ed24a6fc45a4dc475b54d80cf3816436fb