lhc/web/wiklou.git
11 years agoCleanup to ImagePage::openShowImage()
Alexandre Emsenhuber [Mon, 12 Nov 2012 19:52:27 +0000 (20:52 +0100)]
Cleanup to ImagePage::openShowImage()

- Removed useless $showLink variable and related check since the variable is always defined to true
- Moved $linktext up so that there's no need to use a temporary variable to modify it
- Moved $longDesc down where it's used
- Change "else { if ( ... ) { } }" to elseif for better clarity

Change-Id: I65dcbb76c7f0a0441a6420e76affe797a3dc9c45

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Thu, 20 Dec 2012 21:09:57 +0000 (21:09 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 20 Dec 2012 20:23:34 +0000 (20:23 +0000)]
Localisation updates from translatewiki.net.

Change-Id: If69487fb62fda379ce9fc2c38ca4dc6fe0c07292

11 years ago(bug 43307) L10n recache needed in LogFormatterTest::tearDown
Brad Jorsch [Thu, 20 Dec 2012 19:55:40 +0000 (14:55 -0500)]
(bug 43307) L10n recache needed in LogFormatterTest::tearDown

LogFormatterTest replaces all extension localization files in
$wgExtensionMessagesFiles with its own, and correctly restores this
variable. But it neglects to refresh the localization cache after
restoring the variable, so subsequent extension tests are missing their
localization.

Change-Id: I74809af47830a5e09c36f8fec20c9c65b1e3aa17

11 years agoSet correct context for ImageHistoryPseudoPager
umherirrender [Sun, 9 Dec 2012 18:12:42 +0000 (19:12 +0100)]
Set correct context for ImageHistoryPseudoPager

ContextSource::getContext (ImageHistoryPseudoPager): called and $context
is null. Using RequestContext::getMain() for sanity

Change-Id: I0430791a705f42ca3e5d02692070f0fb0dadc897

11 years agoMerge "(bug 41470) Use numParams in Language::formatDuration"
IAlex [Thu, 20 Dec 2012 19:15:43 +0000 (19:15 +0000)]
Merge "(bug 41470) Use numParams in Language::formatDuration"

11 years ago(bug 41470) Use numParams in Language::formatDuration
umherirrender [Fri, 7 Dec 2012 08:54:32 +0000 (09:54 +0100)]
(bug 41470) Use numParams in Language::formatDuration

Change-Id: I3f9642d445ef6f3b3c77a824e385ce259210e46e

11 years ago(bug 32434) API allows reblocking the user without reblock parameter.
Szymon Świerkosz [Sat, 14 Apr 2012 21:43:49 +0000 (23:43 +0200)]
(bug 32434) API allows reblocking the user without reblock parameter.

This change adds special case in processing of the block form.
An unused parameter 'AlreadyBlocked' was replaced by 'Reblock'.
Parameter 'PreviousTarget' was added so API user can block him/herself.

Change-Id: I29275eb4b5f425b7382ba8b7dec050209878f81b

11 years agoadd function in ChangesList to getTimestamp without inserting it
aude [Wed, 28 Nov 2012 20:18:39 +0000 (20:18 +0000)]
add function in ChangesList to getTimestamp without inserting it

Change-Id: Iae28a6a36f3ab1de3c74cd9eba88793c85faa322

11 years agoMerge "misc style fix"
IAlex [Thu, 20 Dec 2012 15:15:17 +0000 (15:15 +0000)]
Merge "misc style fix"

11 years agomisc style fix
Antoine Musso [Thu, 20 Dec 2012 15:09:25 +0000 (16:09 +0100)]
misc style fix

* makes booleans lower case
* add spaces before open braces

Change-Id: Id88884e08bc23d7730361ee91646f54f5e16920b

11 years agoMerge "(bug 42168) Nicely handle missing revisions in ApiQueryRevisions."
jenkins-bot [Thu, 20 Dec 2012 14:59:28 +0000 (14:59 +0000)]
Merge "(bug 42168) Nicely handle missing revisions in ApiQueryRevisions."

11 years ago(bug 42168) Nicely handle missing revisions in ApiQueryRevisions.
daniel [Thu, 13 Dec 2012 16:50:45 +0000 (17:50 +0100)]
(bug 42168) Nicely handle missing revisions in ApiQueryRevisions.

ApiQueryRevisions had fatal errors when the Content object of a revision was null.
Should be fixed now.

Change-Id: Ic41d03fc55413ba7ba1c96b4f06d71d79fb7c4eb

11 years agoMerge "[JobQueue] Cleaned up DuplicateJob factory function."
jenkins-bot [Thu, 20 Dec 2012 14:00:39 +0000 (14:00 +0000)]
Merge "[JobQueue] Cleaned up DuplicateJob factory function."

11 years agoMerge "Add missing message in messages.inc and rebuild MessagesEn.php"
jenkins-bot [Thu, 20 Dec 2012 13:40:09 +0000 (13:40 +0000)]
Merge "Add missing message in messages.inc and rebuild MessagesEn.php"

11 years ago(bug 42519) Message "enotif body intro deleted" mentions revision
Federico Leva [Fri, 30 Nov 2012 08:12:47 +0000 (09:12 +0100)]
(bug 42519) Message "enotif body intro deleted" mentions revision

"See current revision" was just a way to call the article URL.
I'm leaving the URL and removing the incorrect definition.
URL is still useful to have something to click and also
to see the talk page, the excerpts from logs, etc.

Also replaced "changes" with the more generic "activity" in enotif_body.

Change-Id: If77117e208b350dc318471dc84cef339d653f10d

11 years agoFix ApiQueryLogEvents::addLogParams for unknown types using the new format
Marius Hoch [Tue, 18 Dec 2012 18:02:08 +0000 (19:02 +0100)]
Fix ApiQueryLogEvents::addLogParams for unknown types using the new format

Fixed ApiQueryLogEvents::addLogParams for unknown (probably extension)
log types which use the new log format (with keys like 4:foo:paramname).
Until now such keys we're directly put into the XML output resulting
in invalid XML (see bug 43221, which will be fixed by this). To prevent
this we just remove everything except the plain parameter name and use that
as key for the output.

Change-Id: I1a3c7ac624eb575b879d068d47d3a13c9972b1a1

11 years agoMerge "[MessageCache] Cleaned message cache load() error handling."
IAlex [Thu, 20 Dec 2012 10:59:59 +0000 (10:59 +0000)]
Merge "[MessageCache] Cleaned message cache load() error handling."

11 years agocleanup WatchedItem class
Antoine Musso [Sat, 17 Nov 2012 14:26:01 +0000 (15:26 +0100)]
cleanup WatchedItem class

* removed $id, $ns, $ti which were set on construction and replace them
  with meaningful accessor getUserId(), getTitleNs and getTitleDBkey()
* removed a commented out hack from September 2004

Change-Id: Iaa9e851516e0522492b0452430c7583fe3526ffc

11 years agoAdd an option to importImages to search subdirectories recursively
Marius Hoch [Wed, 19 Dec 2012 19:29:15 +0000 (20:29 +0100)]
Add an option to importImages to search subdirectories recursively

Change-Id: I73a0d42884c1006492cd3de912eb1dc6dab08c5e

11 years ago(bug 39957) Document $wgUnwatchedPageThreshold var
Ori Livneh [Thu, 20 Dec 2012 09:14:19 +0000 (01:14 -0800)]
(bug 39957) Document $wgUnwatchedPageThreshold var

Added in I1cb6ee22d50d871a8c7083c5b7a091d31cf640f5.

Change-Id: I35df67c66855c9aa1b8ee74ee2c57ff109823634

11 years agofix and provide more documentation in EditPage for mergeContentInto functions
aude [Fri, 26 Oct 2012 03:47:30 +0000 (03:47 +0000)]
fix and provide more documentation in EditPage for mergeContentInto functions

Change-Id: I2a5aed29a6e8ff05ddea5d46f854740b9f3b03b1

11 years agoAdd missing message in messages.inc and rebuild MessagesEn.php
Alexandre Emsenhuber [Thu, 20 Dec 2012 08:07:45 +0000 (09:07 +0100)]
Add missing message in messages.inc and rebuild MessagesEn.php

Change-Id: Ie40b26ba357db133c4aa5f0f42eaa0d56ad49bd5

11 years agoMerge "(bug 39957) Added threshold for showing number of page watchers."
Ori.livneh [Thu, 20 Dec 2012 07:11:44 +0000 (07:11 +0000)]
Merge "(bug 39957) Added threshold for showing number of page watchers."

11 years agoImproving function descriptions in Linker
Kaldari [Wed, 19 Dec 2012 22:20:54 +0000 (14:20 -0800)]
Improving function descriptions in Linker

Change-Id: Id3aff70f8b5813f80e5b44bf14cb8198b2e16d4b

11 years agoMerge "(bug 37195) Doc fix. $from and $until are arrays since 1.17."
IAlex [Thu, 20 Dec 2012 06:43:05 +0000 (06:43 +0000)]
Merge "(bug 37195) Doc fix. $from and $until are arrays since 1.17."

11 years ago(bug 39957) Added threshold for showing number of page watchers.
Tyler Anthony Romeo [Mon, 8 Oct 2012 04:04:07 +0000 (00:04 -0400)]
(bug 39957) Added threshold for showing number of page watchers.

Added configuation variable that allows bypassing the unwatchedpages
permission when the number of people watching a page is greater
than a certain threshold. The default value is false, meaning the
unwatchedpages permission is always required.

Change-Id: I1cb6ee22d50d871a8c7083c5b7a091d31cf640f5

11 years agoFixed comment typo.
Aaron Schulz [Thu, 20 Dec 2012 00:00:29 +0000 (16:00 -0800)]
Fixed comment typo.

Change-Id: I5f68cff001a6059806d1dd5e99db59754290ce71

11 years ago(bug 37195) Doc fix. $from and $until are arrays since 1.17.
Brian Wolff [Wed, 19 Dec 2012 22:59:47 +0000 (18:59 -0400)]
(bug 37195) Doc fix. $from and $until are arrays since 1.17.

This makes $from and $until of the constructor be documented as
arrays instead of strings. It also changes the default to be
an empty array instead of the empty string. In theory this
could use some back-compat code, but the change was made
way back in 1.17 so I don't think there's a point.

Change-Id: I6f995ea925960b90bc4a458db5af4f7aa768c1ae

11 years ago[MessageCache] Cleaned message cache load() error handling.
Aaron Schulz [Wed, 19 Dec 2012 20:49:54 +0000 (12:49 -0800)]
[MessageCache] Cleaned message cache load() error handling.

Change-Id: Ic8d62fa4162b54c776d934bd7106978fb36a6d32

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 19 Dec 2012 19:43:38 +0000 (19:43 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I4c875b76b6cdb7d88d5cb6744a4d344d9f9a713b

11 years agoMerge "make rebuildtextindex script aware of content models."
jenkins-bot [Wed, 19 Dec 2012 17:44:45 +0000 (17:44 +0000)]
Merge "make rebuildtextindex script aware of content models."

11 years agoMerge "Pass user to LogEventsList::getExcludeClause"
IAlex [Wed, 19 Dec 2012 16:05:16 +0000 (16:05 +0000)]
Merge "Pass user to LogEventsList::getExcludeClause"

11 years agoMerge "(bug 43184) bogus script path in Special:Version"
jenkins-bot [Wed, 19 Dec 2012 16:02:18 +0000 (16:02 +0000)]
Merge "(bug 43184) bogus script path in Special:Version"

11 years agoPass user to LogEventsList::getExcludeClause
umherirrender [Fri, 14 Dec 2012 14:01:32 +0000 (15:01 +0100)]
Pass user to LogEventsList::getExcludeClause

This avoids $wgUser in that method

Also removed the double strencode for logtypes,
that is already done by Database::addQuotes/Database::makeList

Change-Id: I5f7f6da06594d92375f74ca48c04d180505642a9

11 years agoMerge "Fix PEAR part of install-phpunit.sh."
jenkins-bot [Wed, 19 Dec 2012 15:56:50 +0000 (15:56 +0000)]
Merge "Fix PEAR part of install-phpunit.sh."

11 years ago(bug 43184) bogus script path in Special:Version
karun [Mon, 17 Dec 2012 22:48:53 +0000 (09:48 +1100)]
(bug 43184) bogus script path in Special:Version

Corrected display of script path change so that when the script path is
empty, we default to showing / as the path.

Change-Id: I8bb6ff820fa3f8d7c3cdd608f531c0f3c36389ca

11 years agoFixed description for async parameter in upload module
Petr Onderka [Tue, 18 Dec 2012 19:38:04 +0000 (20:38 +0100)]
Fixed description for async parameter in upload module

The description was already present,
but it used incorrect syntax, so it didn't show.

Change-Id: I7522265362f019c73523125df182366dfd274be2

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Tue, 18 Dec 2012 20:45:29 +0000 (20:45 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoMerge "(bug 39490) Add caching to InfoAction."
jenkins-bot [Tue, 18 Dec 2012 20:42:54 +0000 (20:42 +0000)]
Merge "(bug 39490) Add caching to InfoAction."

11 years ago(bug 39490) Add caching to InfoAction.
Tyler Anthony Romeo [Mon, 8 Oct 2012 03:47:46 +0000 (23:47 -0400)]
(bug 39490) Add caching to InfoAction.

Added caching to InfoAction. The cache key uses the ID of the
latest revision so it is auto-invalidated when the page is
changed. Also, the cache key is deleted whenever the page is
purged.

Change-Id: I90446b7bcb4517959605aa38eacfada2b785060b

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 18 Dec 2012 20:25:49 +0000 (20:25 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I8881e68353fccbbd7c4b8da737045747dc5c1c05

11 years agoFix PEAR part of install-phpunit.sh.
Matthew Flaschen [Sat, 15 Dec 2012 00:51:39 +0000 (16:51 -0800)]
Fix PEAR part of install-phpunit.sh.

* Discover additional channel, update, and use alldeps.
* Remove obsolete pear.symfony-project.com
* Per https://www.mediawiki.org/wiki/Manual:PHP_unit_testing/Installing_PHPUnit#Using_PEAR

Change-Id: I7f348c967c1526736ec7f34d610d315f8aabd504

11 years agoMerge "(bug 43218) Fixing PHP notice: undefined SERVER_PROTOCOL key"
jenkins-bot [Tue, 18 Dec 2012 14:51:57 +0000 (14:51 +0000)]
Merge "(bug 43218) Fixing PHP notice: undefined SERVER_PROTOCOL key"

11 years ago(bug 43218) Fixing PHP notice: undefined SERVER_PROTOCOL key
Dereckson [Tue, 18 Dec 2012 00:31:03 +0000 (01:31 +0100)]
(bug 43218) Fixing PHP notice: undefined SERVER_PROTOCOL key

Change-Id: I1ce7605a7c8503aed37ed9b3e7c3f3c13083db6f

11 years agoMerge "Update docs"
jenkins-bot [Tue, 18 Dec 2012 14:33:24 +0000 (14:33 +0000)]
Merge "Update docs"

11 years agoDocument ResourceLoaderWikiModule::getPages.
Matthew Flaschen [Tue, 18 Dec 2012 08:31:59 +0000 (03:31 -0500)]
Document ResourceLoaderWikiModule::getPages.

Change-Id: Id3b3df20efcec90dfcc7cd496aecbe74e5cd9915

11 years ago[JobQueue] Cleaned up DuplicateJob factory function.
Aaron Schulz [Tue, 18 Dec 2012 01:11:15 +0000 (17:11 -0800)]
[JobQueue] Cleaned up DuplicateJob factory function.

Change-Id: If2303776bdbc9b78a07907e7b290c2da5af7e493

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Mon, 17 Dec 2012 21:10:24 +0000 (21:10 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I0ad670d4b2dc9410e0b1021c29d79cd209209b78

11 years agoSuppress warnings around unlink call
Reedy [Mon, 17 Dec 2012 20:27:05 +0000 (20:27 +0000)]
Suppress warnings around unlink call

Attempt to shut a lot of noise in production logs

e.g.
1 Warning:  unlink(/mnt/thumbs2/wikipedia/commons/thumb/f/f2/Members_only_jacket.jpg/800px-Members_only_jacket.jpg) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in /usr/lo
cal/apache/common-local/php-1.21wmf6/includes/filebackend/FSFileBackend.php on line 422

Change-Id: I9e1407c4b11301f468f8e291105955ade9a731d0

11 years agoMerge "(bug 43096) Fix querying suppression logs"
jenkins-bot [Mon, 17 Dec 2012 20:16:11 +0000 (20:16 +0000)]
Merge "(bug 43096) Fix querying suppression logs"

11 years agoMerge "(bug 43207) Fix regression in API generator=duplicatefiles"
jenkins-bot [Mon, 17 Dec 2012 20:09:24 +0000 (20:09 +0000)]
Merge "(bug 43207) Fix regression in API generator=duplicatefiles"

11 years ago(bug 43096) Fix querying suppression logs
Alex Monk [Sun, 16 Dec 2012 13:28:50 +0000 (13:28 +0000)]
(bug 43096) Fix querying suppression logs

Change-Id: Ia9709ed5f694e07b7544887b49c99db5ed7063df

11 years agoMerge "use null rather then false and doc fix"
jenkins-bot [Mon, 17 Dec 2012 19:46:59 +0000 (19:46 +0000)]
Merge "use null rather then false and doc fix"

11 years agoMerge "(bug 43177) API: Fix regression in case handling for sha1 params"
jenkins-bot [Mon, 17 Dec 2012 19:45:15 +0000 (19:45 +0000)]
Merge "(bug 43177) API: Fix regression in case handling for sha1 params"

11 years agoMerge "(bug 43137) Don't return the sha1 of revisions through the API if the content...
jenkins-bot [Mon, 17 Dec 2012 19:38:33 +0000 (19:38 +0000)]
Merge "(bug 43137) Don't return the sha1 of revisions through the API if the content is revdel'd"

11 years ago(bug 43207) Fix regression in API generator=duplicatefiles
Brad Jorsch [Mon, 17 Dec 2012 19:11:47 +0000 (14:11 -0500)]
(bug 43207) Fix regression in API generator=duplicatefiles

Prior to change I745cae7a, generator=duplicatefiles would return all the
files that were duplicates of the passed files. Since then, it will
return only one of the input files if any duplicates are found, possibly
one that doesn't even have duplicates.

The problem is the use of a wrong variable.

Change-Id: I8e8493718ab1f7f5cb6ae718790738a7cf3c72c7

11 years ago(bug 43137) Don't return the sha1 of revisions through the API if the content is...
Alex Monk [Fri, 14 Dec 2012 22:33:06 +0000 (22:33 +0000)]
(bug 43137) Don't return the sha1 of revisions through the API if the content is revdel'd

Change-Id: Ic2cad08cdae428d04dbdc31665c531d8a4759cbb

11 years ago(bug 43177) API: Fix regression in case handling for sha1 params
Brad Jorsch [Sun, 16 Dec 2012 22:45:31 +0000 (17:45 -0500)]
(bug 43177) API: Fix regression in case handling for sha1 params

While the change in Ic980fd71 makes sense since MediaWiki stores the
hashes with lowercase letters, historically aisha1 and fasha1 accepted
both upper and lowercase because wfBaseConvert accepts both.

To avoid a backwards compatibility break, let's adjust the code to
explicitly lowercase the input for those parameters. And for good
measure, let's also accept both cases for the corresponding sha1base36
parameters.

Change-Id: I704935193398c722c22a302dc9d23f2c0e2e3e39

11 years agoUpdate docs
Siebrand Mazeland [Mon, 17 Dec 2012 10:23:02 +0000 (11:23 +0100)]
Update docs

Change-Id: I96c04c4ce9384816e120baef3572dfc4fd216b9a

11 years agoFix the little documentation that FormOptions::consumeValue() has
Siebrand Mazeland [Sun, 16 Dec 2012 21:14:01 +0000 (22:14 +0100)]
Fix the little documentation that FormOptions::consumeValue() has

Change-Id: I9a4bfaace4f19ba5e3e8a405118fe1bae3a1696d

11 years ago(bug 42184) Send second variable for large-variable message
Kunal Mehta [Mon, 17 Dec 2012 06:24:11 +0000 (00:24 -0600)]
(bug 42184) Send second variable for large-variable message

Change-Id: Iad4bb0d0ab25248ec6296af4f39401eeb59c306f

11 years agoMerge "ResourceLoader: Move safeFilemtime() to ResourceLoaderModule."
jenkins-bot [Mon, 17 Dec 2012 00:04:22 +0000 (00:04 +0000)]
Merge "ResourceLoader: Move safeFilemtime() to ResourceLoaderModule."

11 years agoResourceLoader: Move safeFilemtime() to ResourceLoaderModule.
Timo Tijhof [Wed, 5 Dec 2012 07:37:48 +0000 (08:37 +0100)]
ResourceLoader: Move safeFilemtime() to ResourceLoaderModule.

This is a useful method not just for inside and sub classes of
ResourceLoaderFileModule (i.e. it could've been useful in
VisualEditor's ResourceLoaderModule class as well)

Also moved up getTargets() to be in the right section (looking at
the file as a whole).

Change-Id: If696ffbdc5aa7f0a51603bcf9d52adab38b9c686

11 years agoMerge "applying code conventions and cleanup in mediawiki.special.*"
jenkins-bot [Sun, 16 Dec 2012 21:38:27 +0000 (21:38 +0000)]
Merge "applying code conventions and cleanup in mediawiki.special.*"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Sun, 16 Dec 2012 20:58:30 +0000 (20:58 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sun, 16 Dec 2012 20:36:18 +0000 (20:36 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Iecaef86923bb32e102dd69ec12651824565bc3ed

11 years ago(bug 41342) jquery.suggestions: Call cancel before fetching.
MatmaRex [Sun, 9 Dec 2012 20:08:49 +0000 (21:08 +0100)]
(bug 41342) jquery.suggestions: Call cancel before fetching.

This caused race conditions in the calling code, if it used AJAX
and they completed in different order than they were started.

For example in mediawiki.searchSuggest, when one slowly types
"wikipedia", 9 requests get sent (suggestions for "w", "wi",
"wik", etc.), but they might not necessarily arrive in the same
order, especially on slow (e.g. mobile) connections.

Then you get the race condition effect - suggestions for
"wikipedia" flash briefly and then are replaced by suggestions for
"wik", even though the bolding is correct.

This commit fixes the issue by using a function that was already
present, that calls the callback as well as clearing the internal
timeout, which for some reason wasn't used in this code path.

Change-Id: I880a61e5e45a64bea6d679ed160c4be3da085dfa

11 years agoMerge "Remove nocreatetitle"
jenkins-bot [Sun, 16 Dec 2012 19:13:11 +0000 (19:13 +0000)]
Merge "Remove nocreatetitle"

11 years agoRemove nocreatetitle
Amir E. Aharoni [Sun, 16 Dec 2012 17:31:16 +0000 (19:31 +0200)]
Remove nocreatetitle

This message was removed from OutputPage in commit 3801a3cd
and it doesn't appear to be used elsewhere.

Change-Id: Iba5de5ba6f6e699bac5b1e21efd8869006398f1b

11 years agoapplying code conventions and cleanup in mediawiki.special.*
MatmaRex [Sun, 16 Dec 2012 14:15:49 +0000 (15:15 +0100)]
applying code conventions and cleanup in mediawiki.special.*

Using standard closures per [[CC/JS]], typos in comments, indentation
inconsistencies, some other minor changes.

Change-Id: I53eef75006d87c8b55d6780d36165317066d1368

11 years ago(bug 28401) Make RC en RCL honour options for rss/atom
mrbluesky [Thu, 13 Dec 2012 21:59:02 +0000 (22:59 +0100)]
(bug 28401) Make RC en RCL honour options for rss/atom

RecentChanges and RecentChangesLinked should link to atom/rss feeds using the same options as specified for the pages themselves. E.g. if somebody is looking at Special:RecentChanges&hideliu=1&namespace=1 the feed(s) should link to Special:RecentChanges&feed=atom&hideliu=1&namespace=1. All options available on RC and RCL are already supported by their feeds, except the maximum number of changes in feeds is bound by $wgFeedLimit.

Change-Id: I8fb00ccd7efdd962a8a42f0bce3eac5177e2cfbd

11 years agoMake wfSuppressWarnings kill E_STRICT in PHP 5.4+
Brian Wolff [Thu, 13 Dec 2012 22:16:22 +0000 (18:16 -0400)]
Make wfSuppressWarnings kill E_STRICT in PHP 5.4+

Since PHP 5.4+ E_STRICT is now included in E_ALL. Hence
wfSuppressWarnings was not filtering E_STRICT.

There was some complaints on project:support_desk about
timezone warnings popping up. See also bug 43092

Change-Id: Ie1ace158dac1733e6b2b2c1d533004d9bcab8c80

11 years agoTrimming 'addedwatchtext'. The previous text was too long and overly detailed.
Kaldari [Fri, 14 Dec 2012 23:11:30 +0000 (15:11 -0800)]
Trimming 'addedwatchtext'. The previous text was too long and overly detailed.

Change-Id: If7c5ba8e2a7dd7e6e628118a72f3c4527528e4c4

11 years agoMoved LocalisationCache under /cache.
Aaron Schulz [Fri, 14 Dec 2012 21:18:43 +0000 (13:18 -0800)]
Moved LocalisationCache under /cache.

Change-Id: I54b230376ed682d6a6b7d6fa4fd5ab133c8c8b1b

11 years ago(Bug 35987) Clarify change password on Special:ChangeEmail
Pranav Ravichandran [Fri, 27 Apr 2012 04:16:00 +0000 (04:16 +0000)]
(Bug 35987) Clarify change password on Special:ChangeEmail

Continuing Ravichandran's work, I fixed issues raised by IAlex.

Change-Id: Ib8bec70bf0aa451d26971569214b4b13c2abddff

11 years agoMerge "drop "@fixed" annotations in CologneBlue skin"
jenkins-bot [Sun, 16 Dec 2012 00:23:29 +0000 (00:23 +0000)]
Merge "drop "@fixed" annotations in CologneBlue skin"

11 years agoxLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 15 Dec 2012 23:44:58 +0000 (23:44 +0000)]
xLocalisation updates from translatewiki.net.

Change-Id: I1167ecea2f384d226f18dcba864e6ea69c40381d

11 years agodrop "@fixed" annotations in CologneBlue skin
MatmaRex [Sat, 15 Dec 2012 23:27:23 +0000 (00:27 +0100)]
drop "@fixed" annotations in CologneBlue skin

These were only useful for me when I was refactoring the code,
and are not needed anymore.

Change-Id: I30aca1619817102a412f9d3cf83da8cf52fa62af

11 years agoAdd new message key from I28ef70f7 to maintenane file
raymond [Sat, 15 Dec 2012 22:44:55 +0000 (23:44 +0100)]
Add new message key from  I28ef70f7 to maintenane file

Change-Id: I56c3d200ff22b12c395ccfefba9c163f250f6348

11 years agouse null rather then false and doc fix
jeroendedauw [Thu, 6 Dec 2012 22:36:42 +0000 (23:36 +0100)]
use null rather then false and doc fix

Change-Id: Ifb8798a66d32da36fc8134e2039ec880c0f1dc1a

11 years agoRemoved commas before 'because'
Amir E. Aharoni [Sat, 15 Dec 2012 17:23:46 +0000 (19:23 +0200)]
Removed commas before 'because'

If I understand correctly, a comma is not needed before because
in these messages. It's possible that I'm wrong, however, so
if you know English punctuation well, please review this.
You can also ask your grammar-sensitive friends.

Change-Id: Ic9c1e42be28ce6d23bdbd15714f1c512a888ed75

11 years agoMerge "Add some entries removed in I41f1995d back."
jenkins-bot [Sat, 15 Dec 2012 10:01:54 +0000 (10:01 +0000)]
Merge "Add some entries removed in I41f1995d back."

11 years agoMerge "(bug 42787) Make import robust against corrupt content."
jenkins-bot [Sat, 15 Dec 2012 01:14:53 +0000 (01:14 +0000)]
Merge "(bug 42787) Make import robust against corrupt content."

11 years agoUse $IP instead of relative paths.
Aaron Schulz [Sat, 15 Dec 2012 00:06:36 +0000 (16:06 -0800)]
Use $IP instead of relative paths.

Change-Id: Ic49ed466d3974c1640378831f0db61fda89f4e9e

11 years agoUse $IP instead of hard-coded relative path.
Aaron Schulz [Fri, 14 Dec 2012 22:06:20 +0000 (14:06 -0800)]
Use $IP instead of hard-coded relative path.

Change-Id: I6e631116ca73896527eee7a607204071c1467414

11 years agoMerge "jquery.badge: Add ability to display the number zero."
Bsitu [Fri, 14 Dec 2012 22:10:52 +0000 (22:10 +0000)]
Merge "jquery.badge: Add ability to display the number zero."

11 years agojquery.badge: Add ability to display the number zero.
Timo Tijhof [Fri, 14 Dec 2012 21:13:23 +0000 (22:13 +0100)]
jquery.badge: Add ability to display the number zero.

This is needed by Echo extension.

Follows-up Id5e7cbb1.

Change-Id: I88c5f819c42d9fe1468be6b2cf74413d7d6d6907

11 years ago[LockManager] Moved ScopedLock to its own file.
Aaron Schulz [Fri, 14 Dec 2012 21:06:39 +0000 (13:06 -0800)]
[LockManager] Moved ScopedLock to its own file.

Change-Id: I7430604d3a23a25e8b82036b022336a73cbbc996

11 years agoMerge "Revert "Adding ability of jQuery badge to display the number zero if requested.""
Krinkle [Fri, 14 Dec 2012 21:02:17 +0000 (21:02 +0000)]
Merge "Revert "Adding ability of jQuery badge to display the number zero if requested.""

11 years agoRevert "Adding ability of jQuery badge to display the number zero if requested."
Krinkle [Fri, 14 Dec 2012 21:02:06 +0000 (21:02 +0000)]
Revert "Adding ability of jQuery badge to display the number zero if requested."

This reverts commit b170b56f09d1ec5ab5e34e997447546239e008fd

11 years agoMerge "(bug 37714) Use log type in target object when deleting logs of the same type"
CSteipp [Fri, 14 Dec 2012 20:58:31 +0000 (20:58 +0000)]
Merge "(bug 37714) Use log type in target object when deleting logs of the same type"

11 years agoMerge "Test a newline-only template parameter"
Subramanya Sastry [Fri, 14 Dec 2012 20:46:07 +0000 (20:46 +0000)]
Merge "Test a newline-only template parameter"

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Fri, 14 Dec 2012 20:39:51 +0000 (20:39 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoTest a newline-only template parameter
Gabriel Wicke [Fri, 14 Dec 2012 19:54:55 +0000 (11:54 -0800)]
Test a newline-only template parameter

Change-Id: I99f17767e0aed915e84962a72403ebfb3b1307be

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 14 Dec 2012 20:15:55 +0000 (20:15 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I55a9766a29e8bb5513bcb472cad30c4ed979283c

11 years agoMerge "Adding ability of jQuery badge to display the number zero if requested."
Bsitu [Fri, 14 Dec 2012 20:12:04 +0000 (20:12 +0000)]
Merge "Adding ability of jQuery badge to display the number zero if requested."

11 years agoMerge "Changed LoginForm::addNewaccountInternal() to return Status."
jenkins-bot [Fri, 14 Dec 2012 19:48:35 +0000 (19:48 +0000)]
Merge "Changed LoginForm::addNewaccountInternal() to return Status."

11 years agoAdd link to localisation instructions in the installer
Federico Leva [Fri, 14 Dec 2012 17:50:05 +0000 (18:50 +0100)]
Add link to localisation instructions in the installer

The installer didn't give any clue on how to localise MediaWiki,
while localisation is the main "customisation" need for a wiki.
"Localisation" now does have some human-redable sections with pointers.

Change-Id: Ia08eaababcaaf281cae6d8b509cead3a66a62111

11 years agoMerge "(minor) Always use getSites() to get sites."
jenkins-bot [Fri, 14 Dec 2012 16:35:08 +0000 (16:35 +0000)]
Merge "(minor) Always use getSites() to get sites."