Siebrand [Mon, 6 Jan 2014 09:20:29 +0000 (09:20 +0000)]
Revert "L10n: gender aliases for user namespaces in French"
This incorrectly also set gender based namespaces for at least 12 more
locales. That is too high negative impact. Please resubmit without
also impacting languages that fall back to French by adding:
// Remove French aliases
$namespaceGenderAliases = array();
See MessagesLbe.php for example.
This reverts commit
cadbf1fc5fd094bcc5e5e4055ddce4c8dec84020.
Change-Id: I5825f750a58dd196f907ad848c74f82130fd857d
Dereckson [Sat, 4 Jan 2014 20:12:50 +0000 (21:12 +0100)]
L10n: gender aliases for user namespaces in French
NS_USER:
* M: Utilisateur
* F: Utilisatrice
NS_USER_TALK:
* M: Discussion utilisateur
* F: Discussion utilisatrice
Change-Id: I8fa805473a61677f75b04e2708ad087d99bb3c82
Brad Jorsch [Thu, 5 Dec 2013 17:41:24 +0000 (12:41 -0500)]
Improve TestUser group handling
There's no need for TestUser to remove all groups only to add some back
on. We should be able to speed things up (see bug 43762) by only
removing the groups that aren't wanted and only adding the ones that
aren't already possessed.
Change-Id: I50dd9b117a8a21c8a6170520b3bbf98e3030ae47
jenkins-bot [Sat, 4 Jan 2014 13:27:51 +0000 (13:27 +0000)]
Merge "Fix user-friendlyness of block confirmation screen"
m4tx [Mon, 23 Dec 2013 11:37:03 +0000 (12:37 +0100)]
Fix user-friendlyness of block confirmation screen
* "Confirm block" checkbox is now highlighted
* Added "check the box if you're sure" message to the errors at the top
Bug: 58783
Change-Id: I2b496d763a14fe47d7458525cb1e8bb9fa5788f6
jenkins-bot [Sat, 4 Jan 2014 11:19:36 +0000 (11:19 +0000)]
Merge "Various fixes for EnhancedChangesList"
jenkins-bot [Sat, 4 Jan 2014 11:15:05 +0000 (11:15 +0000)]
Merge "Declare visibility for class properties in DatabaseSqlite"
jenkins-bot [Sat, 4 Jan 2014 02:08:51 +0000 (02:08 +0000)]
Merge "Further cleanup to Special:Version"
Matt Walker [Wed, 29 May 2013 02:52:05 +0000 (19:52 -0700)]
Further cleanup to Special:Version
Cleaned up some HTML, added some CSS classes for the version
information, and refactored some of the code.
Also added column headers for the extension descriptions.
Change-Id: I5bbc4d4024620ea57ab1bf778255a487fbc9b378
jenkins-bot [Sat, 4 Jan 2014 00:42:28 +0000 (00:42 +0000)]
Merge "Add licensing for extensions to Special:Version"
jenkins-bot [Sat, 4 Jan 2014 00:12:12 +0000 (00:12 +0000)]
Merge "Don't convert bad curids to the Main Page"
jenkins-bot [Sat, 4 Jan 2014 00:10:29 +0000 (00:10 +0000)]
Merge "Do not reveal RevDeled file title"
Ori.livneh [Fri, 3 Jan 2014 23:56:23 +0000 (23:56 +0000)]
Merge "Revert "Optimize all SVGs""
Ori.livneh [Fri, 3 Jan 2014 23:53:11 +0000 (23:53 +0000)]
Revert "Optimize all SVGs"
On my Mac, calling finfo_file on external-link-ltr-icon.svg gets the correct
MIME-type ("image/svg+xml"), but in production I get "application/xml".
This is probably due to the version of fileinfo or libmagic that is deployed on
the cluster. Reverting for now.
This reverts commit
a9b855eea52ba3b739a9150beb8e69db8afd2143.
Change-Id: Ie4db624ba9f561a467622878d0992847be018b7d
Translation updater bot [Fri, 3 Jan 2014 20:53:21 +0000 (20:53 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Fri, 3 Jan 2014 20:35:25 +0000 (20:35 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I8d9a05eb6ce4136d424c4f2ce7cdc65e8c09b0f6
umherirrender [Fri, 3 Jan 2014 20:35:21 +0000 (21:35 +0100)]
Fix doc for Database::upsert
One @params too much
Change-Id: I8cea6228587574ff90060d46b4430b2348a68973
Matt Walker [Fri, 24 May 2013 11:19:49 +0000 (04:19 -0700)]
Add licensing for extensions to Special:Version
Allow extensions to register a software license and present
this on the Special:Version page. A new $wgExtensionCredits
parameter has been introduced for this purpose: 'license-name'.
This will also automatically pick up the presense of additional
licensing and/or credits files. If ((AUTHORS)|(CREDITS))(\.txt)?
exists in the extension base directory a credits link will be
created. If ((LICENSE)|(COPYING))(\.txt)? exists a license link
will be created.
The API has also been updated to produce VCS information and present
links to the license/credits files.
Bug: 48418
Change-Id: I388f3b630462f1909f30751c987f7af585e98881
umherirrender [Fri, 3 Jan 2014 15:32:33 +0000 (16:32 +0100)]
Call Database::makeInsertOptions from Database::insertSelect
This allows other database types to modify the options.
Bug: 59233
Change-Id: I45a2c7944057f43453423c8edbe5d173b1fc067d
jenkins-bot [Fri, 3 Jan 2014 18:12:02 +0000 (18:12 +0000)]
Merge "Revert "Declare visibility for class properties in MySQLMasterPos""
Brad Jorsch [Tue, 31 Dec 2013 14:24:13 +0000 (09:24 -0500)]
Do not reveal RevDeled file title
When an file is being uploaded, we tell the user if it has been
uploaded and deleted in the past. But we shouldn't reveal the title
under which that was done if the file was suppressed via RevDel.
Note this introduces a breaking API change: clients may now receive a
"deleted-archive" warning with an empty value if the title was
suppressed.
Bug: 59167
Change-Id: I01a3ac2ba0cbac6b28de26a7f1a1d09b6b02097e
jenkins-bot [Fri, 3 Jan 2014 17:32:10 +0000 (17:32 +0000)]
Merge "Leading semicolon line-bolding made visible in printable version"
Anomie [Fri, 3 Jan 2014 17:18:20 +0000 (17:18 +0000)]
Revert "Declare visibility for class properties in MySQLMasterPos"
These members are accessed from DatabaseMysqlBase::masterPosWait and
DatabaseBase::masterPosWait, causing errors if the wiki has slave
databases or has fakeSlaveLag set.
This reverts commit
d0325927d4a7352590e52690aa30ce63fffb6ab8.
Change-Id: I563bde457274dad2f254145426376b275b597e2a
jenkins-bot [Fri, 3 Jan 2014 16:42:53 +0000 (16:42 +0000)]
Merge "Declare visibility for class properties of LBFactoryMulti"
jenkins-bot [Fri, 3 Jan 2014 16:41:12 +0000 (16:41 +0000)]
Merge "Change Title::isExternal to use strict comparsion"
jenkins-bot [Fri, 3 Jan 2014 16:31:02 +0000 (16:31 +0000)]
Merge "Declare visibility for class properties in DatabasePostgres.php"
jenkins-bot [Fri, 3 Jan 2014 16:29:03 +0000 (16:29 +0000)]
Merge "Update documentation for ParserCache::save()"
jenkins-bot [Fri, 3 Jan 2014 16:21:01 +0000 (16:21 +0000)]
Merge "Fix SearchEngineTest when $wgSearchType is set to non-default"
jenkins-bot [Fri, 3 Jan 2014 16:06:47 +0000 (16:06 +0000)]
Merge "Add fastcgi_finish_request where appropriate"
jenkins-bot [Fri, 3 Jan 2014 13:56:09 +0000 (13:56 +0000)]
Merge "Typofix: less bunny hoppers"
Niklas Laxström [Fri, 3 Jan 2014 13:45:06 +0000 (13:45 +0000)]
Typofix: less bunny hoppers
Change-Id: Ie3c067b369d794f1be73019b8e4a18f84461a17a
jenkins-bot [Fri, 3 Jan 2014 13:36:20 +0000 (13:36 +0000)]
Merge "Prevent selection of "Jump to" text"
jenkins-bot [Fri, 3 Jan 2014 12:08:15 +0000 (12:08 +0000)]
Merge "Remove reference to deleted file"
Bartosz Dziewoński [Fri, 3 Jan 2014 12:01:28 +0000 (13:01 +0100)]
Remove reference to deleted file
It didn't even point to the right location…
Follow-up to I70d20bf2.
Change-Id: I7f909873035b9176ba9b7c2bf41b05d9eede3cc4
Santhosh Thottingal [Fri, 3 Jan 2014 10:55:17 +0000 (16:25 +0530)]
CLDR 24 update - release notes
Follow up: I9930b290d004667a3bb09e5c1663ec2c9c27d8a6
Bug: 56931
Change-Id: Ic37276126dd615c2510c17455a5bbf5d8653045d
aude [Fri, 3 Jan 2014 01:23:16 +0000 (02:23 +0100)]
Fix SearchEngineTest when $wgSearchType is set to non-default
$wgSearchType needs to be controlled for at time the pages get created.
This patch sets the $wgSearchType global.
Also, the 'singleton' is removed from SearchEngine::getSearchTypes, which
appears to provide little or no benefit while binding all tests to the
global variable.
SearchEngine::getSearchTypes() gets called in SearchUpdate which is
run on page edits. This means the first page edit in the entire
test suite causes the global variable to be set and subsequent tests
cannot override it.
These changes allow SearchEngineTest to pass, even if one has CirrusSearch
or other such extensions enabled.
Change-Id: I39050da8659dc69db31125f469f494a5fb4b8fca
jenkins-bot [Fri, 3 Jan 2014 09:06:10 +0000 (09:06 +0000)]
Merge "MWMessagePack: improvements to test suite, exception handling, array detection"
Tyler Anthony Romeo [Thu, 21 Nov 2013 23:05:00 +0000 (18:05 -0500)]
Add fastcgi_finish_request where appropriate
When using PHP-FPM to run PHP on a web server, the function
fastcgi_finish_request is provided, which flushes all response
data to the client and closes the connection, allowing PHP
to perform additional work without delaying the client.
This adds fastcgi_finish_request calls in index.php and api.php
where appropriate and if the function exists, so that the connection
is closed once the output is definitely finished.
Change-Id: Ic67a8956545874e94df5198088c0f4aa58ca376e
Ori Livneh [Fri, 3 Jan 2014 05:57:23 +0000 (21:57 -0800)]
MWMessagePack: improvements to test suite, exception handling, array detection
* Throw InvalidArgumentException
* Use data provider in unit tests
* Detect associative arrays without copying
Per Tyler's post-merge review of Id2833c5a9.
Change-Id: Iec6b135238ca5da3002944066843102f0ae8d23d
Santhosh Thottingal [Fri, 3 Jan 2014 08:16:19 +0000 (13:46 +0530)]
Update Russian(ru) plural rules to CLDR 24
Russian (ru) plural rules have a major change. The 'few' form is
merged with the 'other' form. The current forms are 'one', 'many', 'other'.
In MW ru plural rules were overridden using convertPlural methdod
in LanguagesRu.php with 3 forms.
Effectively forms[1] and forms[2] are swapped.
Followup: I9930b290d004667a3bb09e5c1663ec2c9c27d8a6
Bug: 56931
Change-Id: Ia5779e42315d3f41f52dce2bfffaee0a4297d23b
jenkins-bot [Fri, 3 Jan 2014 07:19:18 +0000 (07:19 +0000)]
Merge "Move RunningStat from profiler/ to libs/"
jenkins-bot [Fri, 3 Jan 2014 07:17:36 +0000 (07:17 +0000)]
Merge "Update plural rules to CLDR 24"
Ori Livneh [Fri, 3 Jan 2014 06:05:07 +0000 (22:05 -0800)]
Move RunningStat from profiler/ to libs/
There is nothing about the class that mandates it be used exclusively for
profiling, or exclusively within the context of MediaWiki. The functionality it
provides is generic. So move it to libs/ to make it easier to discover & reuse.
Change-Id: Iac8f2f8e1c3231ebe76318d72cf6225e25a7b891
Santhosh Thottingal [Wed, 1 Jan 2014 09:05:39 +0000 (14:35 +0530)]
Update plural rules to CLDR 24
Updated plurals.xml with new data from CLDR 24.
This data is according to UTS #35 Rev 33.
Update the CLDRPluralRuleParser.js to version 1.1 from upstream
https://github.com/santhoshtr/CLDRPluralRuleParser
Changes to the plural rules:
* Hebrew override removed since CLDR 24 matches with MW plural rules.
* Updated the syntax of overridden rules to TR35 Rev 33 for
Lower Sorbian (dsb), Upper Sorbian (hsb), Belarusian in Taraskievica
orthography (be_tarask), Old Church Slavonic (cu), Bhojpuri (bho),
Samogitian (sgs).
* Removed Manx (gv) override. See I46ab3dadc7fe08c1e60bbd81a1ee841e166e9608.
* Removed the overriden convertPlural method for Serbian from LanguageSr.php,
since CLDR 24 matches with MW rules. Updated and added more tests.
Tests updated for Serbocroatian (sh), too. Old CLDR versions had 4 plural
rules and MW had only 3. In CLDR 24, the form 'many' was removed and it
became identical to the MW. Same for Bosnian (bs) and Croatian (hr).
Also for variants sr-ec and sr-el
* Macedonian (mk) used to count 11 as 'other' form.
CLDR 24 counts it as 'one'.
Not overriding, using CLDR 24 here.
Updated the tests. MW will not override this.
* Armenian (hy) used to count 0 as 'other'.
Now it is 'one' form.
Updated the tests. MW will not override this.
* Latvian (lv) used to count only 0 as 'zero' form, but CLDR 24, any number
satisifying the following formula is counted as zero:
n % 10 = 0 or n % 100 = 11..19 or v = 2 and f % 100 = 11..19
Examples: 0, 10~20, 30, 40, 50, 60, 100.
Updated the tests accordingly. Not overriding it in MW.
Users will see different plural form for the above numbers.
* Removed Ukranian custom plural rule since it match with MW
* Russian (ru) plural rules have a major change.
The 'few' form is merged with the 'other' form.
The current forms are 'one', 'many', 'other'.
In MW ru plural rules were overridden using convertPlural methdod
in LanguagesRu.php with 3 forms.
Effectively forms[1] and forms[2] are swapped.
This will affect the messages, and such messages
must be reviewed and updated. This change is not included in this patch and
wil be done separately.
Russian is the only remaining language class with convertPlural method overridden.
Notable impact on the exising messages:
* For languages ru, uk, be_tarask, sr, For the special case
of two plural forms and first mapped to 1 and rest to the other form, syntax like
{{plural:$1|1=one|other}} should be used.
For further information regarding each of the above language changes, see
1. http://unicode.org/cldr/trac/ticket/3727
2. http://goo.gl/H2HEz
CLDR 24 can handle fractions. Ideally it should start working
in MW without any code changes, but MW language test suite
does not have enough tests to confirm.
Followup:
e571717e06667228ec8d689be067e00bdd06d34d
Bug: 56931
Change-Id: I9930b290d004667a3bb09e5c1663ec2c9c27d8a6
Jackmcbarn [Fri, 3 Jan 2014 02:07:53 +0000 (21:07 -0500)]
Prevent selection of "Jump to" text
When an article's heading and body text are copied together, prevent the
"Jump to" links from being copied.
Bug: 59235
Change-Id: Ibf661e94c748df0c6d65f1dee2815aeb169e7148
Ori Livneh [Fri, 3 Jan 2014 01:07:10 +0000 (17:07 -0800)]
Add class implementing MessagePack serialization
MessagePack is a space-efficient binary data interchange format. I am going to
use it to encode profiling data in ProfilerSimpleUDP. The official PHP
implementation is provided as a C extension, so using it would further
encumber migration to HHVM. This patch adds MWMessagePack, a class implementing
a pack() method for encoding native PHP values as MessagePack byte strings. The
implementation is based on <https://github.com/onlinecity/msgpack-php>, but
revised for clarity and conformity with MediaWiki coding conventions.
Change-Id: Id2833c5a9da659cb13ec1330de9dd57138ada9c8
jenkins-bot [Fri, 3 Jan 2014 00:57:40 +0000 (00:57 +0000)]
Merge "Added per-node sequential ID method and made SquidUpdate use it"
Jackmcbarn [Fri, 3 Jan 2014 00:56:47 +0000 (19:56 -0500)]
Don't convert bad curids to the Main Page
When a curid that doesn't exist is requested, cause the "Bad title" error
to be displayed rather than displaying the Main Page.
Bug: 58885
Change-Id: If54ca35b3799b8cf2f76e7f8a03001caa1fac676
jenkins-bot [Fri, 3 Jan 2014 00:50:30 +0000 (00:50 +0000)]
Merge "Random documentation tweaks"
Aaron Schulz [Tue, 24 Dec 2013 23:22:58 +0000 (15:22 -0800)]
Added per-node sequential ID method and made SquidUpdate use it
* This replaces a live wmf hack
Change-Id: Ie01fd27386d5d7197968b6a8157b7220ba685f7b
jenkins-bot [Fri, 3 Jan 2014 00:01:39 +0000 (00:01 +0000)]
Merge "Declare visibility for class properties in MySQLMasterPos"
jenkins-bot [Thu, 2 Jan 2014 23:31:37 +0000 (23:31 +0000)]
Merge "Change Title::getInterwiki() in conditions to Title::isExternal()"
Siebrand Mazeland [Mon, 30 Dec 2013 17:32:53 +0000 (18:32 +0100)]
Random documentation tweaks
Change-Id: I57c3bde6551c14324cf34e4db003a319d6cebc47
jenkins-bot [Thu, 2 Jan 2014 22:35:26 +0000 (22:35 +0000)]
Merge "Adding a message for api-error-stasherror"
mayankmadan [Thu, 2 Jan 2014 21:31:19 +0000 (03:01 +0530)]
Adding a message for api-error-stasherror
Bug: 54460
Change-Id: I2895fe77d147a9065710912b5c2673ab833dd29f
jenkins-bot [Thu, 2 Jan 2014 22:22:36 +0000 (22:22 +0000)]
Merge "Stop using the unholy trinity in DatabaseError"
Chad Horohoe [Thu, 2 Jan 2014 18:28:02 +0000 (10:28 -0800)]
Stop using the unholy trinity in DatabaseError
RequestContext::getMain() shifts the blame, but at least
it's one less place in core.
Change-Id: I36ffad0ff2703c3326690eef2c07ef66aa532210
Siebrand Mazeland [Tue, 31 Dec 2013 09:51:40 +0000 (10:51 +0100)]
Update RELEASE-NOTES
Follow-up to I02561fb1c1a6. This adds sections for removed classes,
renamed classes, and removed methods.
Change-Id: Ib8358e8bafead9b18588cf8a8b32b230b3f81599
Translation updater bot [Thu, 2 Jan 2014 20:37:24 +0000 (20:37 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Idbf58dc6bad40ceecaea84f944a5558fe62ec775
jenkins-bot [Thu, 2 Jan 2014 20:09:44 +0000 (20:09 +0000)]
Merge "Remove deprecated convertLinkToAllVariants()"
Chad Horohoe [Thu, 2 Jan 2014 19:35:07 +0000 (11:35 -0800)]
Remove deprecated convertLinkToAllVariants()
Deprecated since 1.17, not used anywhere in core or extensions
Change-Id: Id90ee1765899ea331a65ce372744ed465686c84b
jenkins-bot [Thu, 2 Jan 2014 19:54:34 +0000 (19:54 +0000)]
Merge "Avoid interacting with LBFactory singleton in tests"
jenkins-bot [Thu, 2 Jan 2014 19:33:43 +0000 (19:33 +0000)]
Merge "Fix bad usage of empty() function"
Jackmcbarn [Thu, 2 Jan 2014 18:45:44 +0000 (13:45 -0500)]
Allow hiding redirects in Special:ProtectedPages
Add a checkbox to hide redirects in Special:ProtectedPages.
Bug: 19233
Change-Id: If1753eddc834f55c301a6e78e0802ee9d94a24b2
jenkins-bot [Thu, 2 Jan 2014 18:14:16 +0000 (18:14 +0000)]
Merge "Deprecate $wgPasswordSenderName"
jenkins-bot [Thu, 2 Jan 2014 17:55:23 +0000 (17:55 +0000)]
Merge "Return void for LogPager::limitPerformer and limitTitle"
jenkins-bot [Thu, 2 Jan 2014 17:53:39 +0000 (17:53 +0000)]
Merge "Update documentation for SpecialPage and SpecialPageFactory"
jenkins-bot [Thu, 2 Jan 2014 17:48:51 +0000 (17:48 +0000)]
Merge "Add JobQueueDB::selectFields and use it"
jenkins-bot [Thu, 2 Jan 2014 17:37:44 +0000 (17:37 +0000)]
Merge "Declare visibility for class properties of LBFactory and LBFactorySimple"
jenkins-bot [Thu, 2 Jan 2014 17:33:42 +0000 (17:33 +0000)]
Merge "No variable assignment on return statement"
jenkins-bot [Thu, 2 Jan 2014 16:37:39 +0000 (16:37 +0000)]
Merge "jquery.client: Component-wise version comparison in #test with strings"
Reedy [Thu, 2 Jan 2014 16:21:59 +0000 (16:21 +0000)]
void methods don't return anything. Especially when they always throw an exception
Change-Id: I6c959b44b64fdc38e248e0000a6594c12a10b6b4
Siebrand Mazeland [Sun, 29 Dec 2013 19:20:15 +0000 (20:20 +0100)]
Update documentation for SpecialPage and SpecialPageFactory
Change-Id: Id601b24bb664a5f15951f72cca34182b72b42d87
Siebrand Mazeland [Mon, 30 Dec 2013 16:11:52 +0000 (17:11 +0100)]
Update documentation for ParserCache::save()
The second parameter is a WikiPage, not an Article. Rename the variable
to $page to avoid confusion.
Change-Id: I4655aa9d8c7469805362c8ec43559bb5f9be4b06
aude [Sun, 29 Dec 2013 21:00:39 +0000 (22:00 +0100)]
Avoid interacting with LBFactory singleton in tests
Instead test that LBFactory::getLBFactoryClass() does the right thing.
In LBFactory::getLBFactoryClass(), the method now requires a configuration
array as a parameter, and returns the class name as a string.
LBFactory::singleton() now passes in $wgLBFactoryConf into getLBFactoryClass(),
while tests can use test configuration.
Only use of LBFactory::getLBFactoryClass() in core is in LBFactory::singleton().
No extension in gerrit uses getLBFactoryClass() and I can find no use of it
when searching places like Github and Google, so it should be safe to make
such change in LBFactory.
Bug: 59105
Change-Id: I71ae7df16bc5c214b9389125140bca5ce68d274c
Alexandre Emsenhuber [Wed, 1 Jan 2014 16:17:50 +0000 (17:17 +0100)]
Fix bad usage of empty() function
Use a strict comparison to null since this member variable is always defined.
Change-Id: Ida7d7ecb2d65458b7f93daa886b3c2b319ffc07e
umherirrender [Thu, 2 Jan 2014 11:27:31 +0000 (12:27 +0100)]
Change Title::isExternal to use strict comparsion
Change-Id: Ib4e646f98dc6d17a8cb1ca837dcdc9d48f85e2a7
umherirrender [Thu, 2 Jan 2014 10:59:10 +0000 (11:59 +0100)]
Change Title::getInterwiki() in conditions to Title::isExternal()
Change-Id: Icce26e6194ae96f262029554e05b49117d5e112e
umherirrender [Thu, 2 Jan 2014 10:44:23 +0000 (11:44 +0100)]
Add JobQueueDB::selectFields and use it
It is good practice to name the selected fields
Change-Id: Ic12fbdbac6e8f48abbd9f5053a69f9553492cead
Siebrand Mazeland [Fri, 27 Dec 2013 17:02:40 +0000 (18:02 +0100)]
Throw exception for unknown field in SpecialListfiles::formatValue()
Change-Id: I99fedfb28aaf9b09b5d9fee27020601f3c06e8d4
umherirrender [Wed, 1 Jan 2014 18:56:08 +0000 (19:56 +0100)]
No variable assignment on return statement
Split the variable assignment and the return statement in two lines for
better readability.
When there was two return statements in one method the logic was swapped
to have only one return statement.
Change-Id: Id7a01b4a2df96036435f9e1a9be5678dd124b0af
tonythomas01 [Thu, 2 Jan 2014 05:50:57 +0000 (11:20 +0530)]
Leading semicolon line-bolding made visible in printable version
When bolding a line using ";" at the start, the text in &printable=yes shows
the line without bolding, even though text in the printable version does appear
formatted when using ''' for bolding and '' for italics.
Bug: 49752
Change-Id: I84545fe9c9240293818c1f6f938fc3bba7c2aa06
Translation updater bot [Wed, 1 Jan 2014 19:50:22 +0000 (19:50 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I9b0a5f6786c86abea3e0b1ffed52291eb88447e3
Alexandre Emsenhuber [Wed, 1 Jan 2014 15:53:40 +0000 (16:53 +0100)]
Use SpecialPage::getPageTitle() instead of SpecialPage::getTitle()
Follow-up I2a3db995c2 (
869d547).
Change-Id: Ifc6824bb1c28f4c5ac8a374208b25cbd8b3bf755
Siebrand Mazeland [Thu, 19 Dec 2013 12:32:52 +0000 (13:32 +0100)]
Update docs for Revision::getRevisionText()
Change-Id: I9e4218bec9fd69a50e06ba9fcd8bdf8461163a47
Siebrand Mazeland [Thu, 12 Dec 2013 12:37:37 +0000 (13:37 +0100)]
Update comment for wfMsgExt()
Change-Id: Ia705a5a1bcef6d2b5c94a003b44e7d15b58df249
theopolisme [Tue, 31 Dec 2013 06:12:09 +0000 (00:12 -0600)]
Deprecate $wgPasswordSenderName
The sender name for system mailings can now be configured
locally by modifying the system message "emailsender". The
new default sender name is simply "{{SITENAME}}". Added to
release notes.
Also modify UserMailer to strip CR/LF linebreaks from header
values to prevent mail header injection now that the sender
name can be modified.
Bug: 32770
Change-Id: Ibfd28cd181365c8c0b5f3e8ffe8f5de8c89844a3
jenkins-bot [Wed, 1 Jan 2014 13:28:35 +0000 (13:28 +0000)]
Merge "LogEntry: Make newFromRow work with RC object"
Ori Livneh [Tue, 31 Dec 2013 23:33:07 +0000 (15:33 -0800)]
Refactor ProfilerSimple
This patch refactors ProfilerSimple, moving the code that creates a new
profiling entry and the code that updates an existing entry to discrete
methods. This allows subclasses to supply a different implementation. It will
allow me to introduce a profiler class that uses RunningStat (introduced in
Ifedda276d) without breaking existing APIs and without having to duplicate lots
of code.
Change-Id: Ida7d7d0c1e2a98618b51246861e6af8ec3eb6320
jenkins-bot [Tue, 31 Dec 2013 22:41:34 +0000 (22:41 +0000)]
Merge "changed memcached server parsing to allow for local unix domain socket connections"
jenkins-bot [Tue, 31 Dec 2013 22:05:43 +0000 (22:05 +0000)]
Merge "Update Special:ChangePassword to use HTMLForm"
Alexandre Emsenhuber [Thu, 22 Aug 2013 17:37:23 +0000 (19:37 +0200)]
Update Special:ChangePassword to use HTMLForm
Makes the code shorter and easier to read.
Change-Id: I2a3db995c2c560354376fccb48137996dd9432fd
jenkins-bot [Tue, 31 Dec 2013 20:45:31 +0000 (20:45 +0000)]
Merge "action=feedcontributions no longer has one item more than limit"
jenkins-bot [Tue, 31 Dec 2013 19:59:33 +0000 (19:59 +0000)]
Merge "Add RunningStat class, tests"
Ori Livneh [Tue, 31 Dec 2013 06:42:34 +0000 (22:42 -0800)]
Add RunningStat class, tests
RunningStat computes the central tendency, shape, and extrema of a set of
points online, in constant space. It uses a neat one-pass algorithm for
calculating variance, described here:
<en.wikipedia.org/wiki/Algorithms_for_calculating_variance#On-line_algorithm>
This particular implementation adapts a sample C++ implementation by John D.
Cook to PHP. See <http://www.johndcook.com/standard_deviation.html> and
<http://www.johndcook.com/skewness_kurtosis.html>.
RunningStat instances can be combined. The resultant RunningStat has the same
state it would have had if it had been used to accumulate each point. This
property is attractive because it allows separate threads of execution to
process a stream in parallel. More importantly, individual points can be
accumulated in stages, without loss of fidelity, at intermediate points in the
aggregation process. JavaScript profiling samples can be accumulated in the
user's browser and be combined with measurements from other browsers on the
profiling data aggregator. Functions that are called multiple times in the
course of a profiled web request can be accumulated in MediaWiki prior to being
transmitted to the profiling data aggregator.
Usage will be introduced in a dependent commit.
Change-Id: Ifedda276dfe8e0783cb8c4a95626e2aedd4ad368
jenkins-bot [Tue, 31 Dec 2013 19:20:37 +0000 (19:20 +0000)]
Merge "Remove version check for mysql 4.1 from Maintenance scripts"
Joel Natividad [Mon, 30 Dec 2013 20:58:24 +0000 (15:58 -0500)]
changed memcached server parsing to allow for local unix domain socket connections
* This works with local memcached (e.g. unix:///var/run/memcached/memcached.sock:0 )
and noticeably increases memcached mediawiki performance
Change-Id: Ie08c151caa09eb0a4269df88965d71c2367c398b
umherirrender [Tue, 31 Dec 2013 16:44:43 +0000 (17:44 +0100)]
action=feedcontributions no longer has one item more than limit
The extra one is used for navigation on Special:Contributions, but that
is not needed on the rss feed.
Bug: 57874
Change-Id: Id56b0da7e921df9cbdb09e90611d226bf224804d
nullzero [Tue, 31 Dec 2013 06:42:35 +0000 (01:42 -0500)]
LogEntry: Make newFromRow work with RC object
LogEntry::newFromRow is supposed to give a RCDatabaseLogEntry
if the given row is a RC log entry. The previous code only did
this if an array was passed as the $row argument.
This adds a type cast and fixes the function so that the proper
LogEntry subclass is returned no matter what variable type is
passed to the function.
Bug: 52053
Change-Id: I6f64358837b37c54d00a7544e9e8a92c216bbe89
jenkins-bot [Tue, 31 Dec 2013 09:41:08 +0000 (09:41 +0000)]
Merge "Make SpecialWatchlist extend SpecialRecentChanges (temporarily)"