Siebrand Mazeland [Mon, 28 Jan 2013 15:46:03 +0000 (16:46 +0100)]
Localisation updates from translatewiki.net.
Updates for namespaces.
Change-Id: I77bd20a912976178501e97f7eab6eaabfb4bf86a
Siebrand Mazeland [Mon, 28 Jan 2013 14:35:32 +0000 (15:35 +0100)]
Localisation updates from translatewiki.net.
Updates for magic words.
Change-Id: Id095f8a9241e22db583016b7d5af74b3f6c2a6ba
Siebrand Mazeland [Mon, 28 Jan 2013 13:58:47 +0000 (14:58 +0100)]
Use tabs to indent lines
Change-Id: I0afd5b2ebcbdd0ced48a08e1861e3a968e847121
Siebrand Mazeland [Mon, 28 Jan 2013 13:56:30 +0000 (13:56 +0000)]
Merge "Localisation updates from translatewiki.net."
Siebrand Mazeland [Mon, 28 Jan 2013 13:50:35 +0000 (14:50 +0100)]
Localisation updates from translatewiki.net.
Updates for special page aliases.
Change-Id: Id1400249980400e0007eea3c5fb3e511aeb22878
nullspoon [Tue, 7 Aug 2012 22:06:12 +0000 (16:06 -0600)]
Whitelisting publicly readable title with regex
This patch make it possible to whitelist pages which anonymous users may
see. It is similar to $wgWhitelistRead expect it uses regular
expressions, the list of regex are to be added in the new global array
$wgWhitelistReadRegexp.
This would be useful in a semi-public team wiki situation where the
admin would want to hide an entire namespace from everyone except those
in a particular group due to sensitive team specific information.
Added new unit test testUserCan in includes/TitleTest.php to
test this new functionality.
* adds $wgWhitelistReadRegexp to DefaultSettings.php
* updates RELEASE-NOTES-1.21 new features
* updates CREDITS
Signed-off-by: Antoine Musso <hashar@free.fr>
Change-Id: I83f6a614874c3d289ff4bd8d015f1d9c92e500b6
jenkins-bot [Mon, 28 Jan 2013 11:44:08 +0000 (11:44 +0000)]
Merge "rename vars in SkinTemplate::outputPage()"
Antoine Musso [Mon, 28 Jan 2013 11:33:22 +0000 (12:33 +0100)]
raise timeout for CdbTest::testCdb()
CdbTest::testCdb() does some I/O which might timeout form time to time
on the continuous integration server. Mark the test has being in the
medium group, thus raising it from 2 seconds to 10 seconds.
Change-Id: I4a8d7f443ab0ebf47d79f25e1c33832e6e501c51
Amir E. Aharoni [Wed, 25 Jul 2012 09:23:26 +0000 (12:23 +0300)]
rename vars in SkinTemplate::outputPage()
The $tmp, $l names are not very meaningfull. This patch rename some
variables and avoid calling methods by adding some more variables.
Overall this cleanup the code to be more readable.
Change-Id: I4d2018c6cf3f651647bcb9e235b8322943bd5728
Gerrit Code Review [Mon, 28 Jan 2013 11:24:17 +0000 (11:24 +0000)]
Merge "testPngNativetZtxt requires zlib extension"
Antoine Musso [Mon, 14 Jan 2013 21:06:57 +0000 (22:06 +0100)]
test: some Revision tests depends on PHP zlib ext
Use an helper to verify whether 'zlib' is available, else will happilly
skip the test.
Change-Id: I43f8b20a95286b5495799d54b415f6d15894a335
Platonides [Mon, 14 Jan 2013 21:16:50 +0000 (22:16 +0100)]
testPngNativetZtxt requires zlib extension
Change-Id: I27e84548ff792ee3bac9b582ba058a029a786768
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
jenkins-bot [Mon, 28 Jan 2013 10:01:26 +0000 (10:01 +0000)]
Merge "Sprinkle <code> over some strings."
Yuri Astrakhan [Sun, 27 Jan 2013 17:59:24 +0000 (12:59 -0500)]
Spell checked docs/hooks.txt
Change-Id: I8010fed6e138ee5b1803b9c5c0e678da3f2db9ef
Siebrand Mazeland [Sun, 27 Jan 2013 19:02:16 +0000 (20:02 +0100)]
Sprinkle <code> over some strings.
Change-Id: I80e3c5ec5c28fa6e5a0b449d276db5b4e77a4a89
jenkins-bot [Sun, 27 Jan 2013 18:48:22 +0000 (18:48 +0000)]
Merge "fix some spacing"
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
umherirrender [Sat, 26 Jan 2013 18:32:03 +0000 (19:32 +0100)]
fix some spacing
Change-Id: Ie7bb35871cc99237f3a655f7db22ca1f0646df5e
jenkins-bot [Sun, 27 Jan 2013 13:14:56 +0000 (13:14 +0000)]
Merge "fix some spacing"
IAlex [Sun, 27 Jan 2013 11:08:52 +0000 (11:08 +0000)]
Merge "The static declaration must come after the visibility declaration"
ArielGlenn [Sun, 27 Jan 2013 07:11:53 +0000 (07:11 +0000)]
Merge "Let 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
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
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
jenkins-bot [Sat, 26 Jan 2013 21:51:57 +0000 (21:51 +0000)]
Merge "fix some spacing"
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
umherirrender [Sat, 26 Jan 2013 21:11:09 +0000 (22:11 +0100)]
fix some spacing
Change-Id: Id7eda67a43f9040117edd79fdbeb678f1c3a6da2
Translation updater bot [Sat, 26 Jan 2013 20:18:46 +0000 (20:18 +0000)]
Merge "Localisation updates from translatewiki.net."
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
Translation updater bot [Sat, 26 Jan 2013 19:59:55 +0000 (19:59 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I49cf516e3ca1dc982e1e65cf28951c1eb3cb2b97
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
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
jenkins-bot [Sat, 26 Jan 2013 18:39:09 +0000 (18:39 +0000)]
Merge "(bug 17808) (bug 21167) use real links for search suggestions"
umherirrender [Sat, 26 Jan 2013 18:15:35 +0000 (19:15 +0100)]
fix some spacing
Change-Id: I78a97ad87e0bfe724fc851daf6ffeeed81887800
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
jenkins-bot [Sat, 26 Jan 2013 00:00:05 +0000 (00:00 +0000)]
Merge "$wgContLang global unused in addNewUserLogEntry since
b65893755"
Victor Vasiliev [Sun, 20 Jan 2013 00:46:26 +0000 (19:46 -0500)]
(bug 43751) Allow '+' in MySQL database names.
Change-Id: I0196af1989a09d941bfcc8e52c6c9f97ea5abe95
Platonides [Fri, 25 Jan 2013 21:33:12 +0000 (22:33 +0100)]
$wgContLang global unused in addNewUserLogEntry since
b65893755
Change-Id: Ie59aba0b6805484b57bfee917778b7dd97f86754
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
Translation updater bot [Fri, 25 Jan 2013 20:45:13 +0000 (20:45 +0000)]
Merge "Localisation updates from translatewiki.net."
jeroendedauw [Fri, 25 Jan 2013 15:58:24 +0000 (16:58 +0100)]
Added typehint
Change-Id: Ic71419e72f8cf0a12d9ea1be84fd0fcd838337d9
jeroendedauw [Fri, 25 Jan 2013 15:51:00 +0000 (16:51 +0100)]
use strict null check
Change-Id: I23d1b6b90ed46bf4b2b737539435c66b97a9a51d
Translation updater bot [Fri, 25 Jan 2013 20:08:39 +0000 (20:08 +0000)]
Localisation updates from translatewiki.net.
Change-Id: If7185aa1d59b6c4207765127204270ce2bc91217
jeroendedauw [Fri, 25 Jan 2013 15:46:24 +0000 (16:46 +0100)]
Simplified code. Removed not needed if-else
Change-Id: I9660f543deefb5154a03535b668ee68eb3394e75
Aaron Schulz [Fri, 25 Jan 2013 19:50:02 +0000 (11:50 -0800)]
Improved BagOStuff docs.
Change-Id: I01c62de23b73e1bac96aede73cd6995df8ff1221
jenkins-bot [Fri, 25 Jan 2013 19:16:38 +0000 (19:16 +0000)]
Merge "Fixed typo"
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"
jenkins-bot [Fri, 25 Jan 2013 16:59:34 +0000 (16:59 +0000)]
Merge "add profiling points in SiteSQLStore"
jenkins-bot [Fri, 25 Jan 2013 16:57:45 +0000 (16:57 +0000)]
Merge "Added new "byemail" action to the new users log"
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
jeroendedauw [Fri, 25 Jan 2013 15:51:49 +0000 (16:51 +0100)]
Fixed typo
Change-Id: I3669e3bc6af93330173fc27e0c61589d9a24cada
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
aude [Fri, 25 Jan 2013 14:51:23 +0000 (14:51 +0000)]
add profiling points in SiteSQLStore
Change-Id: I1699baba30c4e0fe5db185410f54d19097cc6eb6
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"
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
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"
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."
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
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
Amir E. Aharoni [Mon, 21 Jan 2013 04:44:09 +0000 (06:44 +0200)]
(bug 41478) Implement Language::isWellFormedLanguageTag()
Change-Id: Ief5643e9a7d3883d6d131503087aca15207b0a44
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
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
jenkins-bot [Thu, 24 Jan 2013 23:16:46 +0000 (23:16 +0000)]
Merge "(bug 42030) Include original URL params in variant links"
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"
Translation updater bot [Thu, 24 Jan 2013 20:45:52 +0000 (20:45 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Idc9103d5cb66a0d6538d762652e95b4fd90e9545
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"
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"
daniel [Thu, 24 Jan 2013 14:38:52 +0000 (15:38 +0100)]
Add a method to clear the site list programmatically.
Change-Id: Iecee9c4d52676f95845517a5b5dbcb500ea66cc4
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
jenkins-bot [Thu, 24 Jan 2013 15:48:24 +0000 (15:48 +0000)]
Merge "Further tweaks to pipe trick documentation (follow-up Iaf365e31)"
jenkins-bot [Thu, 24 Jan 2013 15:17:37 +0000 (15:17 +0000)]
Merge "Fix cache key used by SiteSQLStore."
jenkins-bot [Thu, 24 Jan 2013 15:15:49 +0000 (15:15 +0000)]
Merge "Implemented Serializable interface in Site"
jeroendedauw [Wed, 23 Jan 2013 22:23:36 +0000 (23:23 +0100)]
Added missing documentation to SiteStore interface
Change-Id: Ib1a12c52b7569f8f687b31efc008097ff1f62094
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."
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
jeroendedauw [Thu, 24 Jan 2013 13:41:59 +0000 (14:41 +0100)]
Implemented Serializable interface in Site
Change-Id: I1d8394e0aa65e6ba16f1a1c1021bcae93ebb3e41
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
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
jenkins-bot [Wed, 23 Jan 2013 23:19:53 +0000 (23:19 +0000)]
Merge "(bug 44248) Minor tweak to MediaWiki:Readonlywarning"
jenkins-bot [Wed, 23 Jan 2013 23:18:03 +0000 (23:18 +0000)]
Merge "Address gender support issues in page enotif subject and intro"
Translation updater bot [Wed, 23 Jan 2013 21:59:39 +0000 (21:59 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I9b5b9a29a39af3db911934d46e6c975329c240a7
jenkins-bot [Wed, 23 Jan 2013 21:06:00 +0000 (21:06 +0000)]
Merge "[FileBackend] Fixed bug where "false" could be included in getDirectoryList()."
jenkins-bot [Wed, 23 Jan 2013 21:05:45 +0000 (21:05 +0000)]
Merge "Improved some thumb.php error messages."
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
jenkins-bot [Wed, 23 Jan 2013 19:48:22 +0000 (19:48 +0000)]
Merge "Preserve 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
jenkins-bot [Wed, 23 Jan 2013 19:26:19 +0000 (19:26 +0000)]
Merge "(bug 37209) Make TextContentTest and WikitextContentTest work in all cases"
Aaron Schulz [Wed, 23 Jan 2013 19:11:39 +0000 (11:11 -0800)]
Improved some thumb.php error messages.
Change-Id: I5a61e898dd97db67b719a13ca044530c4baecc99
jenkins-bot [Wed, 23 Jan 2013 19:07:29 +0000 (19:07 +0000)]
Merge "Make 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
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
jenkins-bot [Wed, 23 Jan 2013 15:04:15 +0000 (15:04 +0000)]
Merge "Design improvements to sites code"
jenkins-bot [Wed, 23 Jan 2013 08:28:31 +0000 (08:28 +0000)]
Merge "Added a new "api-error-publishfailed" message."
Tim Landscheidt [Sat, 22 Sep 2012 23:50:52 +0000 (23:50 +0000)]
Do not flip partial keys in CSSJanus.
Change-Id: I1ee9d16069c4627aa81024eeb642714ef796cec5
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
Aaron Schulz [Wed, 23 Jan 2013 01:10:11 +0000 (17:10 -0800)]
Disabled async "from-stash" upload for now.
Change-Id: I81076e55264746dcfe49d2c928d30042aba0c684
Aaron Schulz [Wed, 23 Jan 2013 00:50:08 +0000 (16:50 -0800)]
Added a new "api-error-publishfailed" message.
Change-Id: I1bce2a7df68891ad8254821f55bd2c7f9f35c373
jenkins-bot [Tue, 22 Jan 2013 23:51:37 +0000 (23:51 +0000)]
Merge "Simplify DatabaseBase::tableName()"
Aaron Schulz [Tue, 22 Jan 2013 21:54:01 +0000 (13:54 -0800)]
Improved concurrency of copyFileBackend.php with pipelined downloads.
Change-Id: I0bde212cbba527d89b0c43f5174a77788cd07b71