lhc/web/wiklou.git
11 years agotestPngNativetZtxt requires zlib extension
Platonides [Mon, 14 Jan 2013 21:16:50 +0000 (22:16 +0100)]
testPngNativetZtxt requires zlib extension

Change-Id: I27e84548ff792ee3bac9b582ba058a029a786768

11 years agotest: helper to skip tests depending on a PHP ext
Antoine Musso [Mon, 28 Jan 2013 09:27:31 +0000 (10:27 +0100)]
test: helper to skip tests depending on a PHP ext

Some of our tests expect a specific PHP extension to be loaded to get
anything done, for example zlib or gd.  This patch creates a new helping
method that people can use to easily skip a test whenever a PHP
extension is not around: MediaWikiTestCase::checkPHPExtension()

Example usage:

 function testCompressFiles() {
   $this->checkPHPExtension( 'zlib' );
   ...
 }

Change-Id: Ia87317ca379b2d5d1d1fa4231f76033ee66086c2

11 years agoMerge "Sprinkle <code> over some strings."
jenkins-bot [Mon, 28 Jan 2013 10:01:26 +0000 (10:01 +0000)]
Merge "Sprinkle <code> over some strings."

11 years agoSpell checked docs/hooks.txt
Yuri Astrakhan [Sun, 27 Jan 2013 17:59:24 +0000 (12:59 -0500)]
Spell checked docs/hooks.txt

Change-Id: I8010fed6e138ee5b1803b9c5c0e678da3f2db9ef

11 years agoSprinkle <code> over some strings.
Siebrand Mazeland [Sun, 27 Jan 2013 19:02:16 +0000 (20:02 +0100)]
Sprinkle <code> over some strings.

Change-Id: I80e3c5ec5c28fa6e5a0b449d276db5b4e77a4a89

11 years agoMerge "fix some spacing"
jenkins-bot [Sun, 27 Jan 2013 18:48:22 +0000 (18:48 +0000)]
Merge "fix some spacing"

11 years agoRemove obsolete entries in MessagesBh.php
Translation updater bot [Sun, 27 Jan 2013 18:27:27 +0000 (18:27 +0000)]
Remove obsolete entries in MessagesBh.php

These are now in MessagesBho.php.

Change-Id: I17eb6af2e36b7a66ca337d0e865614a33c3114f0

11 years agofix some spacing
umherirrender [Sat, 26 Jan 2013 18:32:03 +0000 (19:32 +0100)]
fix some spacing

Change-Id: Ie7bb35871cc99237f3a655f7db22ca1f0646df5e

11 years agoMerge "fix some spacing"
jenkins-bot [Sun, 27 Jan 2013 13:14:56 +0000 (13:14 +0000)]
Merge "fix some spacing"

11 years agoMerge "The static declaration must come after the visibility declaration"
IAlex [Sun, 27 Jan 2013 11:08:52 +0000 (11:08 +0000)]
Merge "The static declaration must come after the visibility declaration"

11 years agoMerge "Let nextJobDB.php narrow down the type based on a set."
ArielGlenn [Sun, 27 Jan 2013 07:11:53 +0000 (07:11 +0000)]
Merge "Let nextJobDB.php narrow down the type based on a set."

11 years agoLet nextJobDB.php narrow down the type based on a set.
Aaron Schulz [Sun, 27 Jan 2013 06:19:17 +0000 (22:19 -0800)]
Let nextJobDB.php narrow down the type based on a set.

* This can avoid slower for loops in jobs-loop.sh.

Change-Id: I4d686400dcb83a3c64c14a01100ad6b451542f05

11 years agoFollowup Id9f2fea7: Remove wall time restriction for readline.
Liangent [Sun, 27 Jan 2013 06:15:45 +0000 (14:15 +0800)]
Followup Id9f2fea7: Remove wall time restriction for readline.

Using such restriction breaks the interactive user interface, and it
doesn't make sense to have wall time limit when waiting for user input.

Change-Id: Id8fa8e9f0d0df58aa879e7bc83bec2a55674b4ab

11 years agoFixed slave check when the job type is not specified.
Aaron Schulz [Sun, 27 Jan 2013 03:09:33 +0000 (19:09 -0800)]
Fixed slave check when the job type is not specified.

Change-Id: I6bee31d149330ead537b9deebb57294f12ce9e02

11 years agoMerge "fix some spacing"
jenkins-bot [Sat, 26 Jan 2013 21:51:57 +0000 (21:51 +0000)]
Merge "fix some spacing"

11 years agoThe use of function sizeof() is forbidden; use count() instead
umherirrender [Sat, 26 Jan 2013 21:20:04 +0000 (22:20 +0100)]
The use of function sizeof() is forbidden; use count() instead

From phpcs

Change-Id: I919c8af46a722cd1c14bb8c134400e2ec51160d1

11 years agofix some spacing
umherirrender [Sat, 26 Jan 2013 21:11:09 +0000 (22:11 +0100)]
fix some spacing

Change-Id: Id7eda67a43f9040117edd79fdbeb678f1c3a6da2

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Sat, 26 Jan 2013 20:18:46 +0000 (20:18 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoThe static declaration must come after the visibility declaration
umherirrender [Sat, 26 Jan 2013 20:03:52 +0000 (21:03 +0100)]
The static declaration must come after the visibility declaration

From phpcs

Change-Id: Ieab0207f965630eda113abdc0259aa2eddcf5ca7

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Sat, 26 Jan 2013 19:59:55 +0000 (19:59 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I49cf516e3ca1dc982e1e65cf28951c1eb3cb2b97

11 years agoThe final declaration must precede the visibility declaration
umherirrender [Sat, 26 Jan 2013 19:49:50 +0000 (20:49 +0100)]
The final declaration must precede the visibility declaration

From phpcs

Change-Id: I87592615014f39eff2a299cf578e8889afd902f7

11 years agoThe abstract declaration must precede the visibility declaration
umherirrender [Sat, 26 Jan 2013 19:00:09 +0000 (20:00 +0100)]
The abstract declaration must precede the visibility declaration

From phpcs

Change-Id: I169c80a911ba75d64ab8a503088903ce3b8a7cca

11 years agoMerge "(bug 17808) (bug 21167) use real links for search suggestions"
jenkins-bot [Sat, 26 Jan 2013 18:39:09 +0000 (18:39 +0000)]
Merge "(bug 17808) (bug 21167) use real links for search suggestions"

11 years agofix some spacing
umherirrender [Sat, 26 Jan 2013 18:15:35 +0000 (19:15 +0100)]
fix some spacing

Change-Id: I78a97ad87e0bfe724fc851daf6ffeeed81887800

11 years agoFixed the usage message text if parameters are missing.
Aaron Schulz [Fri, 25 Jan 2013 20:36:28 +0000 (12:36 -0800)]
Fixed the usage message text if parameters are missing.

Change-Id: Ib87e1f1149499bae20ad5de9c888a9572b3708ef

11 years agoMerge "$wgContLang global unused in addNewUserLogEntry since b65893755"
jenkins-bot [Sat, 26 Jan 2013 00:00:05 +0000 (00:00 +0000)]
Merge "$wgContLang global unused in addNewUserLogEntry since b65893755"

11 years ago(bug 43751) Allow '+' in MySQL database names.
Victor Vasiliev [Sun, 20 Jan 2013 00:46:26 +0000 (19:46 -0500)]
(bug 43751) Allow '+' in MySQL database names.

Change-Id: I0196af1989a09d941bfcc8e52c6c9f97ea5abe95

11 years ago$wgContLang global unused in addNewUserLogEntry since b65893755
Platonides [Fri, 25 Jan 2013 21:33:12 +0000 (22:33 +0100)]
$wgContLang global unused in addNewUserLogEntry since b65893755

Change-Id: Ie59aba0b6805484b57bfee917778b7dd97f86754

11 years agoMore tests for mismatched attr quotes + entities in nowiki & pre.
Subramanya Sastry [Fri, 25 Jan 2013 20:56:35 +0000 (12:56 -0800)]
More tests for mismatched attr quotes + entities in nowiki & pre.

Change-Id: I16af0fc6027bd2c51318af6117162e01be9f6d35

11 years agoMerge "Localisation updates from http://translatewiki.net."
Translation updater bot [Fri, 25 Jan 2013 20:45:13 +0000 (20:45 +0000)]
Merge "Localisation updates from translatewiki.net."

11 years agoAdded typehint
jeroendedauw [Fri, 25 Jan 2013 15:58:24 +0000 (16:58 +0100)]
Added typehint

Change-Id: Ic71419e72f8cf0a12d9ea1be84fd0fcd838337d9

11 years agouse strict null check
jeroendedauw [Fri, 25 Jan 2013 15:51:00 +0000 (16:51 +0100)]
use strict null check

Change-Id: I23d1b6b90ed46bf4b2b737539435c66b97a9a51d

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Fri, 25 Jan 2013 20:08:39 +0000 (20:08 +0000)]
Localisation updates from translatewiki.net.

Change-Id: If7185aa1d59b6c4207765127204270ce2bc91217

11 years agoSimplified code. Removed not needed if-else
jeroendedauw [Fri, 25 Jan 2013 15:46:24 +0000 (16:46 +0100)]
Simplified code. Removed not needed if-else

Change-Id: I9660f543deefb5154a03535b668ee68eb3394e75

11 years agoImproved BagOStuff docs.
Aaron Schulz [Fri, 25 Jan 2013 19:50:02 +0000 (11:50 -0800)]
Improved BagOStuff docs.

Change-Id: I01c62de23b73e1bac96aede73cd6995df8ff1221

11 years agoMerge "Fixed typo"
jenkins-bot [Fri, 25 Jan 2013 19:16:38 +0000 (19:16 +0000)]
Merge "Fixed typo"

11 years agoMerge "Test improperly quoted attribute values in HTML tags and table cells"
Subramanya Sastry [Fri, 25 Jan 2013 18:15:45 +0000 (18:15 +0000)]
Merge "Test improperly quoted attribute values in HTML tags and table cells"

11 years agoMerge "add profiling points in SiteSQLStore"
jenkins-bot [Fri, 25 Jan 2013 16:59:34 +0000 (16:59 +0000)]
Merge "add profiling points in SiteSQLStore"

11 years agoMerge "Added new "byemail" action to the new users log"
jenkins-bot [Fri, 25 Jan 2013 16:57:45 +0000 (16:57 +0000)]
Merge "Added new "byemail" action to the new users log"

11 years ago(bug 44346) Fixed call signature for PingLimiter hook.
Tyler Anthony Romeo [Fri, 25 Jan 2013 16:06:08 +0000 (11:06 -0500)]
(bug 44346) Fixed call signature for PingLimiter hook.

Changed third parameter of PingLimiter hook to a
reference since that's what all the docs say and because
extensions need to be able to override the result of
the ping limiting.

Change-Id: Ia8e9d3c4de9a6f298a00949007cad53021ab782c

11 years agoFixed typo
jeroendedauw [Fri, 25 Jan 2013 15:51:49 +0000 (16:51 +0100)]
Fixed typo

Change-Id: I3669e3bc6af93330173fc27e0c61589d9a24cada

11 years agoAdded new "byemail" action to the new users log
Alexandre Emsenhuber [Tue, 22 Jan 2013 20:03:44 +0000 (21:03 +0100)]
Added new "byemail" action to the new users log

This allows to display the "password sent by e-mail." string in the user's language
since it's now in the action text rather than always in content language due to the
fact it was hardcoded in the log's comment.

Insertion of log entries for the new users log is now acomplished using the
ManualLogEntry class rather than the old LogPage one.

Removed 'newuserlog-byemail' message since it's no longer used (also checked
extensions in Wikimedia's Git repo).

IRC notifications will use the same message for 'create2' and 'byemail' for backward
compatibility. The only difference is that 'byemail' entries will no longer have
"password sent by email." in the comment.

Change-Id: Icdf1d714259d054cf8c256faf894c533be0dc73c

11 years agoadd profiling points in SiteSQLStore
aude [Fri, 25 Jan 2013 14:51:23 +0000 (14:51 +0000)]
add profiling points in SiteSQLStore

Change-Id: I1699baba30c4e0fe5db185410f54d19097cc6eb6

11 years agoMerge "Change name of section so it does not get confused with Wikidata"
jenkins-bot [Fri, 25 Jan 2013 14:06:47 +0000 (14:06 +0000)]
Merge "Change name of section so it does not get confused with Wikidata"

11 years agoChange name of section so it does not get confused with Wikidata
jeroendedauw [Fri, 25 Jan 2013 13:57:02 +0000 (14:57 +0100)]
Change name of section so it does not get confused with Wikidata

Change-Id: I70404772a5d827bd665ec5e284828211aeb979f4

11 years agoMerge "(bug 44338) set the site internal id when loading sites from the db"
jenkins-bot [Fri, 25 Jan 2013 13:18:13 +0000 (13:18 +0000)]
Merge "(bug 44338) set the site internal id when loading sites from the db"

11 years agoMerge "Add link to the php manual to the IBM DB2 installer entry."
jenkins-bot [Fri, 25 Jan 2013 13:08:41 +0000 (13:08 +0000)]
Merge "Add link to the php manual to the IBM DB2 installer entry."

11 years ago(bug 44338) set the site internal id when loading sites from the db
aude [Fri, 25 Jan 2013 10:55:07 +0000 (10:55 +0000)]
(bug 44338) set the site internal id when loading sites from the db

Change-Id: Id0d76255e8f12ac7101b8334e3968cdbf4b04851

11 years agoAdd link to the php manual to the IBM DB2 installer entry.
Platonides [Fri, 25 Jan 2013 11:16:12 +0000 (12:16 +0100)]
Add link to the php manual to the IBM DB2 installer entry.

Change-Id: I67c4c68c1595219fa93a48e36f7ea57e141b0b8f

11 years ago(bug 41478) Implement Language::isWellFormedLanguageTag()
Amir E. Aharoni [Mon, 21 Jan 2013 04:44:09 +0000 (06:44 +0200)]
(bug 41478) Implement Language::isWellFormedLanguageTag()

Change-Id: Ief5643e9a7d3883d6d131503087aca15207b0a44

11 years agoTest improperly quoted attribute values in HTML tags and table cells
Gabriel Wicke [Fri, 25 Jan 2013 01:20:50 +0000 (17:20 -0800)]
Test improperly quoted attribute values in HTML tags and table cells

Change-Id: Iab14adcb81e32bcea2b950c7f4e68ecd69ff19d2

11 years ago(bug 43933) Made a message more accourate by changing the word "edit" for "action".
lfs [Fri, 25 Jan 2013 00:21:54 +0000 (21:21 -0300)]
(bug 43933) Made a message more accourate by changing the word "edit" for "action".

Change-Id: I582f6443e51055e8a64311b60dd223894fe821b3

11 years agoMerge "(bug 42030) Include original URL params in variant links"
jenkins-bot [Thu, 24 Jan 2013 23:16:46 +0000 (23:16 +0000)]
Merge "(bug 42030) Include original URL params in variant links"

11 years agoMerge "(bug 22457) More natural flow for the "By e-mail" feature"
jenkins-bot [Thu, 24 Jan 2013 23:14:52 +0000 (23:14 +0000)]
Merge "(bug 22457) More natural flow for the "By e-mail" feature"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Thu, 24 Jan 2013 20:45:52 +0000 (20:45 +0000)]
Localisation updates from translatewiki.net.

Change-Id: Idc9103d5cb66a0d6538d762652e95b4fd90e9545

11 years agoMerge "(bug 43964) Invalid value of "link" parameter in <gallery> no longer produces...
jenkins-bot [Thu, 24 Jan 2013 19:32:59 +0000 (19:32 +0000)]
Merge "(bug 43964) Invalid value of "link" parameter in <gallery> no longer produces a fatal error"

11 years agoMerge "Don't return invalid XML from paraminfo when one of parameter values is null"
jenkins-bot [Thu, 24 Jan 2013 18:32:09 +0000 (18:32 +0000)]
Merge "Don't return invalid XML from paraminfo when one of parameter values is null"

11 years agoAdd a method to clear the site list programmatically.
daniel [Thu, 24 Jan 2013 14:38:52 +0000 (15:38 +0100)]
Add a method to clear the site list programmatically.

Change-Id: Iecee9c4d52676f95845517a5b5dbcb500ea66cc4

11 years agoClear caches automatically when changing site list.
daniel [Thu, 24 Jan 2013 11:54:44 +0000 (12:54 +0100)]
Clear caches automatically when changing site list.

This introduces SiteSQLStore::reset() and calls it in all
methods that modify the site list.

Change-Id: If865ac16f7e79df9999db27ebe22aea5a0bc9a6b

11 years agoMerge "Further tweaks to pipe trick documentation (follow-up Iaf365e31)"
jenkins-bot [Thu, 24 Jan 2013 15:48:24 +0000 (15:48 +0000)]
Merge "Further tweaks to pipe trick documentation (follow-up Iaf365e31)"

11 years agoMerge "Fix cache key used by SiteSQLStore."
jenkins-bot [Thu, 24 Jan 2013 15:17:37 +0000 (15:17 +0000)]
Merge "Fix cache key used by SiteSQLStore."

11 years agoMerge "Implemented Serializable interface in Site"
jenkins-bot [Thu, 24 Jan 2013 15:15:49 +0000 (15:15 +0000)]
Merge "Implemented Serializable interface in Site"

11 years agoAdded missing documentation to SiteStore interface
jeroendedauw [Wed, 23 Jan 2013 22:23:36 +0000 (23:23 +0100)]
Added missing documentation to SiteStore interface

Change-Id: Ib1a12c52b7569f8f687b31efc008097ff1f62094

11 years agoMerge " (bug 42004) Enable subpages per default on Project and Help namespaces."
jenkins-bot [Thu, 24 Jan 2013 14:32:26 +0000 (14:32 +0000)]
Merge " (bug 42004) Enable subpages per default on Project and Help namespaces."

11 years agoFix cache key used by SiteSQLStore.
daniel [Thu, 24 Jan 2013 11:15:54 +0000 (12:15 +0100)]
Fix cache key used by SiteSQLStore.

This makes sure that SiteSQLStore uses a cache key that includes
information about the serialization structure as well as where the
list of sites was loaded from.

This avoids problems with loading "old" serialized versions from the
cache after an upgrade. It also avoids cache conflicts with site lists
loaded from different places.

Change-Id: I7ad5b8ae63dc24598d41b2f150df7c14105d9f62

11 years agoImplemented Serializable interface in Site
jeroendedauw [Thu, 24 Jan 2013 13:41:59 +0000 (14:41 +0100)]
Implemented Serializable interface in Site

Change-Id: I1d8394e0aa65e6ba16f1a1c1021bcae93ebb3e41

11 years agoDon't return invalid XML from paraminfo when one of parameter values is null
Petr Onderka [Wed, 23 Jan 2013 20:55:39 +0000 (21:55 +0100)]
Don't return invalid XML from paraminfo when one of parameter values is null

The module setglobalaccountstatus currently has null
as one of the values for one of its parameters,
which causes paraminfo to return invalid XML (unclosed tag).

I believe values shouldn't be null, but paraminfo
shouldn't return invalid XML even when they are.

This problem occured only with values that go into element content,
those that are rendered as attributes were already fine.

This change modifies ApiFormatXml, so it affects all modules.

Change-Id: Ibf5c329e7bfa375b06f0976ebb9e449f2cb1c927

11 years ago (bug 42004) Enable subpages per default on Project and Help namespaces.
Aarti Dwivedi [Wed, 16 Jan 2013 13:22:05 +0000 (18:52 +0530)]
 (bug 42004) Enable subpages per default on Project and Help namespaces.

Change-Id: Ia722438057999c4146a7fe6618ff4dc31781fd74

11 years agoMerge "(bug 44248) Minor tweak to MediaWiki:Readonlywarning"
jenkins-bot [Wed, 23 Jan 2013 23:19:53 +0000 (23:19 +0000)]
Merge "(bug 44248) Minor tweak to MediaWiki:Readonlywarning"

11 years agoMerge "Address gender support issues in page enotif subject and intro"
jenkins-bot [Wed, 23 Jan 2013 23:18:03 +0000 (23:18 +0000)]
Merge "Address gender support issues in page enotif subject and intro"

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Wed, 23 Jan 2013 21:59:39 +0000 (21:59 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I9b5b9a29a39af3db911934d46e6c975329c240a7

11 years agoMerge "[FileBackend] Fixed bug where "false" could be included in getDirectoryList()."
jenkins-bot [Wed, 23 Jan 2013 21:06:00 +0000 (21:06 +0000)]
Merge "[FileBackend] Fixed bug where "false" could be included in getDirectoryList()."

11 years agoMerge "Improved some thumb.php error messages."
jenkins-bot [Wed, 23 Jan 2013 21:05:45 +0000 (21:05 +0000)]
Merge "Improved some thumb.php error messages."

11 years ago[FileBackend] Fixed bug where "false" could be included in getDirectoryList().
Aaron Schulz [Wed, 23 Jan 2013 20:50:17 +0000 (12:50 -0800)]
[FileBackend] Fixed bug where "false" could be included in getDirectoryList().

Change-Id: Ib14192d4f5c5143b07af2191b62ea3919483445a

11 years agoMerge "Preserve warnings on API error"
jenkins-bot [Wed, 23 Jan 2013 19:48:22 +0000 (19:48 +0000)]
Merge "Preserve warnings on API error"

11 years agoPreserve warnings on API error
Yuri Astrakhan [Fri, 18 Jan 2013 06:45:43 +0000 (01:45 -0500)]
Preserve warnings on API error

* In case of an error, any warnings generated by API modules before
the error will be preserved in the result.
* Spelling

Change-Id: Ib61a1da90e9ce5df60ceccd0de8c6de9e49a22d6

11 years agoMerge "(bug 37209) Make TextContentTest and WikitextContentTest work in all cases"
jenkins-bot [Wed, 23 Jan 2013 19:26:19 +0000 (19:26 +0000)]
Merge "(bug 37209) Make TextContentTest and WikitextContentTest work in all cases"

11 years agoImproved some thumb.php error messages.
Aaron Schulz [Wed, 23 Jan 2013 19:11:39 +0000 (11:11 -0800)]
Improved some thumb.php error messages.

Change-Id: I5a61e898dd97db67b719a13ca044530c4baecc99

11 years agoMerge "Make Job::toString handle non-primitive parameters."
jenkins-bot [Wed, 23 Jan 2013 19:07:29 +0000 (19:07 +0000)]
Merge "Make Job::toString handle non-primitive parameters."

11 years agoMake Job::toString handle non-primitive parameters.
daniel [Wed, 23 Jan 2013 18:39:49 +0000 (19:39 +0100)]
Make Job::toString handle non-primitive parameters.

Depending on PHP version, configuration and platform, Job::toString
would cause warnings like this if non-primitive parameters where
used in the job:

Notice: Array to string conversion in C:\xampp\htdocs\wikidata-client\includes\job\Job.php on line 245

This change takes care of providing a sane representation of
non-primitive values.

Change-Id: I00ac52d40d39d8219626f5116172950f1b7af381

11 years ago(bug 37209) Make TextContentTest and WikitextContentTest work in all cases
Alexandre Emsenhuber [Wed, 23 Jan 2013 17:14:35 +0000 (18:14 +0100)]
(bug 37209) Make TextContentTest and WikitextContentTest work in all cases

Currently TextContentTest::testDeletionUpdates() and
WikitextContentTest::testGetSecondaryDataUpdates() set a random page ID to
pages that does not exist. This works in most cases, but when a method like
Title::getLatestRevID() is called on these objects, it throws an excpection
"LinkCache doesn't currently knows about this title."
This happens e.g. when SemanticMediaWiki extension is installed.

Intsead of setting a random page ID, really insert the page in the database
before getting table updates so that it won't crash anymore.

Change-Id: I489c406f78897bc38ac41d8d599b778b47b30021

11 years agoMerge "Design improvements to sites code"
jenkins-bot [Wed, 23 Jan 2013 15:04:15 +0000 (15:04 +0000)]
Merge "Design improvements to sites code"

11 years agoMerge "Added a new "api-error-publishfailed" message."
jenkins-bot [Wed, 23 Jan 2013 08:28:31 +0000 (08:28 +0000)]
Merge "Added a new "api-error-publishfailed" message."

11 years agoDo not flip partial keys in CSSJanus.
Tim Landscheidt [Sat, 22 Sep 2012 23:50:52 +0000 (23:50 +0000)]
Do not flip partial keys in CSSJanus.

Change-Id: I1ee9d16069c4627aa81024eeb642714ef796cec5

11 years ago(bug 43964) Invalid value of "link" parameter in <gallery> no longer produces a fatal...
Alexandre Emsenhuber [Mon, 14 Jan 2013 21:09:26 +0000 (22:09 +0100)]
(bug 43964) Invalid value of "link" parameter in <gallery> no longer produces a fatal error

Also added a test for this just in case someone wants to break this :)

Change-Id: I2782cf1a45b574eb5fd69b1c1be561e7bdaef59e

11 years agoDisabled async "from-stash" upload for now.
Aaron Schulz [Wed, 23 Jan 2013 01:10:11 +0000 (17:10 -0800)]
Disabled async "from-stash" upload for now.

Change-Id: I81076e55264746dcfe49d2c928d30042aba0c684

11 years agoAdded a new "api-error-publishfailed" message.
Aaron Schulz [Wed, 23 Jan 2013 00:50:08 +0000 (16:50 -0800)]
Added a new "api-error-publishfailed" message.

Change-Id: I1bce2a7df68891ad8254821f55bd2c7f9f35c373

11 years agoMerge "Simplify DatabaseBase::tableName()"
jenkins-bot [Tue, 22 Jan 2013 23:51:37 +0000 (23:51 +0000)]
Merge "Simplify DatabaseBase::tableName()"

11 years agoImproved concurrency of copyFileBackend.php with pipelined downloads.
Aaron Schulz [Tue, 22 Jan 2013 21:54:01 +0000 (13:54 -0800)]
Improved concurrency of copyFileBackend.php with pipelined downloads.

Change-Id: I0bde212cbba527d89b0c43f5174a77788cd07b71

11 years agoFixed check for general browser compatibility.
Rob Moen [Tue, 22 Jan 2013 20:08:19 +0000 (12:08 -0800)]
Fixed check for general browser compatibility.

The test below will effectively return false for all versions of IE:
$client.test( {
ltr: {
msie: false
},
rtl: {
msie: false
}
});

Change-Id: I1bff63c0f792222741d63cfb8f03b1e0729410a7

11 years agoLocalisation updates from http://translatewiki.net.
Translation updater bot [Tue, 22 Jan 2013 20:38:18 +0000 (20:38 +0000)]
Localisation updates from translatewiki.net.

Change-Id: I9f87305f1444d681b657a6abff9b6f8ecfffc0fe

11 years agoMerge "Cleanup to ImagePage::openShowImage()"
jenkins-bot [Tue, 22 Jan 2013 20:00:42 +0000 (20:00 +0000)]
Merge "Cleanup to ImagePage::openShowImage()"

11 years agoAddress gender support issues in page enotif subject and intro
bsitu [Tue, 22 Jan 2013 19:37:16 +0000 (11:37 -0800)]
Address gender support issues in page enotif subject and intro

Change-Id: I384fe62172357f41589c4978cdb6f9b69e999c3c

11 years ago(bug 31849) API imageinfo correctly handle redirects
Brad Jorsch [Wed, 26 Dec 2012 15:40:43 +0000 (10:40 -0500)]
(bug 31849) API imageinfo correctly handle redirects

RepoGroup::singleton()->findFiles() returns an associative array mapping
the redirect *target* to the image object; the image object refers back
to the original title queried.

If a redirect and its target are both queried,
RepoGroup::singleton()->findFiles() will return an entry for the target
title only, mapping to an image object that may have getOriginalTitle()
returning the redirect. If this happens, prop=imageinfo will never see
an entry for which getOriginalTitle()->isRedirect() is false and so will
not return any information about the image.

The fix is to ignore getOriginalTitle() entirely. Instead, we just go
through each of our queried titles and see if we got any result back.

Note this automatically handles a "redirects=1" query correctly, since
in that case any local redirect will already have been followed before
we ever got the list of titles to query.

Change-Id: I0b2982901e2dc4491e2933291fd97697b2a622a9

11 years ago(bug 44248) Minor tweak to MediaWiki:Readonlywarning
Federico Leva [Tue, 22 Jan 2013 18:21:03 +0000 (19:21 +0100)]
(bug 44248) Minor tweak to MediaWiki:Readonlywarning

Change-Id: Id0bb7040988ba165c7a30f34137f1e894727de20

11 years agoDesign improvements to sites code
jeroendedauw [Fri, 18 Jan 2013 09:34:14 +0000 (10:34 +0100)]
Design improvements to sites code

Change-Id: I08ffa6a97093abbe85169f664b97498c5f39bf8e

11 years ago(Bug 40860) make purgeRedundantText not fail on pre MW1.5 records
Dévai Tamás [Tue, 15 Jan 2013 17:06:01 +0000 (13:06 -0400)]
(Bug 40860) make purgeRedundantText not fail on pre MW1.5 records

Archive records for deleted pages do not have an ar_text_id,
if they were deleted before big schema overhaul in MW 1.5.
This script was assuming all archive records had an ar_text_id.

Patch by Dévai Tamás.

Change-Id: I4776a8a0f29b8299ec6d27949dc53a96ece81f39

11 years ago[ExternalStore] Various cleanups to ExternalStore class.
Aaron Schulz [Mon, 21 Jan 2013 23:37:23 +0000 (15:37 -0800)]
[ExternalStore] Various cleanups to ExternalStore class.

* Removed redundant $wgExternalStores check
* Fixed broken (though unused) insert() function
* Added more documentation
* Other small cleanups

Change-Id: I0be5d9ebecd58b4f5673a6205f46bb7368d889c8

11 years agoRemove references to non-existent 'execute' right in Title.php
Brian Wolff [Fri, 4 Jan 2013 12:02:10 +0000 (08:02 -0400)]
Remove references to non-existent 'execute' right in Title.php

The permission checks in Title will automatically fail
any check against a special page, except for read, execute
and createaccount. However, execute is not a right. It
is not mentioned in any other MW file (or extension for
that matter). It is neither in the list of core user
rights in User.php, nor does it have a system msg
If someone wants to check if they can
run a special page, they should be doing a 'read'
check.

Note: The check in question was added in bc23aede55e back in 2008

I'm unsure if it is better to just leave it alone, or remove it.
However, its presence could cause some confusion, hence this
commit. Additionally I was unsure if this justified a release
notes entry.

Change-Id: I9cf2b0424b9cb189ac122b8274ec681302f560f7

11 years agoMerge "(bug 41477) Add Language::isSupportedLanguage"
jenkins-bot [Tue, 22 Jan 2013 07:11:51 +0000 (07:11 +0000)]
Merge "(bug 41477) Add Language::isSupportedLanguage"