Aaron Schulz [Sun, 24 Nov 2013 23:49:05 +0000 (15:49 -0800)]
More file backend docs
Change-Id: Ic81e298baa7cb21d0e494e6e2ed749e7f401f2b5
jenkins-bot [Sun, 24 Nov 2013 21:04:18 +0000 (21:04 +0000)]
Merge "Set visibility on class properties of FileRepo"
Translation updater bot [Sun, 24 Nov 2013 20:39:54 +0000 (20:39 +0000)]
Merge "Localisation updates from https://translatewiki.net."
Translation updater bot [Sun, 24 Nov 2013 20:26:31 +0000 (20:26 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Iac7415ec17a0a30026e8c542f5ddd98d67b35d59
jenkins-bot [Sun, 24 Nov 2013 20:22:25 +0000 (20:22 +0000)]
Merge "Update documentation of MediaHandler"
jenkins-bot [Sun, 24 Nov 2013 20:20:51 +0000 (20:20 +0000)]
Merge "SpecialRecentChanges: Use $wgRecentChangesFlags in makeLegend()"
raymond [Sun, 24 Nov 2013 19:44:14 +0000 (20:44 +0100)]
Remove message 'expandtemplates-desc'
Leftover from migration to core
Unused in core because it is the extension description message
Folloup to I7ef63488dc3ad3885bcf99ff52852e1c6981942b
Change-Id: I783582cb3571a3a4b0346b27dbabb5eb46556102
Bartosz Dziewoński [Sun, 24 Nov 2013 17:31:42 +0000 (18:31 +0100)]
SpecialRecentChanges: Use $wgRecentChangesFlags in makeLegend()
Follow-up to Iabf4873f.
Change-Id: I3741723c59575d265353108ebe189f5b0aaaf141
jenkins-bot [Sun, 24 Nov 2013 17:22:45 +0000 (17:22 +0000)]
Merge "Add legend to Special:RecentChanges and Special:Watchlist"
Scimonster [Sun, 24 Nov 2013 09:30:50 +0000 (11:30 +0200)]
Add legend to Special:RecentChanges and Special:Watchlist
Bug: 52005
Change-Id: Iabf4873ff8534ddf39bc8bbef79214fd3138e984
Niklas Laxström [Sun, 24 Nov 2013 10:03:38 +0000 (10:03 +0000)]
Fix variable name in comments
Change-Id: I2fbe47f7843c40b2806ba40b031a6047715db5f3
jenkins-bot [Sun, 24 Nov 2013 09:40:01 +0000 (09:40 +0000)]
Merge "Call parent::setUp() in DiffHistoryBlobTest before marking skipped tests"
Siebrand Mazeland [Sun, 24 Nov 2013 09:28:46 +0000 (10:28 +0100)]
Set visibility on class properties of FileRepo
Change-Id: I31c458a3b36e15c8c0666550c9151223dd3a23a0
jenkins-bot [Sun, 24 Nov 2013 03:20:23 +0000 (03:20 +0000)]
Merge "Remove leading underscore from methods _getResponse*"
Siebrand Mazeland [Sat, 23 Nov 2013 18:31:00 +0000 (19:31 +0100)]
Remove leading underscore from methods _getResponse*
Resolves CodeSniffer warning PSR2.Methods.MethodDeclaration.Underscore
Change-Id: I6cf0fccb47a7e1070999ee510b4d3e0112c41cea
aude [Sun, 24 Nov 2013 00:20:46 +0000 (01:20 +0100)]
Call parent::setUp() in DiffHistoryBlobTest before marking skipped tests
Jenkins skips these tests because xdiff is unavailable. The tests get
marked as skipped, out of order and before the error reporting setup.
Things are left in an inconsistent state when running *all* the tests together,
and interferes with later error handling (including PHPUnit_Framework_Error)
in other tests.
The gate-and-submit and other jobs are split into multiple jobs,
and for some reason does not trigger this issue.
This will probably fix bug 57488.
Bug: 57488
Change-Id: Ie1a213e912b5858b43956fc35cf00226636f2093
jenkins-bot [Sat, 23 Nov 2013 22:18:07 +0000 (22:18 +0000)]
Merge "Add @group medium to ApiUploadTest"
jenkins-bot [Sat, 23 Nov 2013 22:09:49 +0000 (22:09 +0000)]
Merge "Let maintenance class start with a upper case letter"
jenkins-bot [Sat, 23 Nov 2013 22:07:46 +0000 (22:07 +0000)]
Merge changes I6d95c1b3,I780070e0
* changes:
Break long lines in file repo files
Update formatting of file repo classes
umherirrender [Sat, 23 Nov 2013 21:53:29 +0000 (22:53 +0100)]
Let maintenance class start with a upper case letter
the case of a class is not a argument for php, but upper case letters
are recommend.
Change-Id: Ibc9169b238ee3f73021e8f73188c3e5b5f1d36a3
aude [Sat, 23 Nov 2013 21:53:23 +0000 (22:53 +0100)]
Add @group medium to ApiUploadTest
api tests require either @group medium or @group large
Change-Id: Iea65c4856579690de234a2a8c01669b282a265f3
Siebrand Mazeland [Sat, 23 Nov 2013 20:54:48 +0000 (21:54 +0100)]
Break long lines in file repo files
Change-Id: I6d95c1b3e14a947a92127efa681007baaeab89ba
jenkins-bot [Sat, 23 Nov 2013 20:48:50 +0000 (20:48 +0000)]
Merge "Add missing return value"
jenkins-bot [Sat, 23 Nov 2013 20:46:36 +0000 (20:46 +0000)]
Merge "Fix various type and reference issues"
jenkins-bot [Sat, 23 Nov 2013 20:31:35 +0000 (20:31 +0000)]
Merge "Remove 'prefsnologin' message, don't use 'watchnologin' where inappropriate"
jenkins-bot [Sat, 23 Nov 2013 20:25:25 +0000 (20:25 +0000)]
Merge "EnhancedChangesList: Add missing </td></tr>"
Siebrand Mazeland [Sat, 23 Nov 2013 18:55:46 +0000 (19:55 +0100)]
Add missing return value
According to the documentation, the return value should be a Status.
Change-Id: Ib4c9730b50ef95ed1f0659f61554d7f442a017de
jenkins-bot [Sat, 23 Nov 2013 20:13:27 +0000 (20:13 +0000)]
Merge "Add .mw-editsection-like class, behavior same as .mw-editsection"
Platonides [Sat, 23 Nov 2013 20:12:51 +0000 (20:12 +0000)]
Merge "Fix default value of domain select box in templates"
Siebrand Mazeland [Sat, 23 Nov 2013 20:00:11 +0000 (21:00 +0100)]
Update formatting of file repo classes
Change-Id: I780070e07352d84d7cda7628994b28b04e8a1ebf
Siebrand Mazeland [Sat, 23 Nov 2013 18:48:43 +0000 (19:48 +0100)]
Fix various type and reference issues
Change-Id: Iced174d9f94faf80c5fa21e15fa6c81b6d8fa21c
jenkins-bot [Sat, 23 Nov 2013 19:41:33 +0000 (19:41 +0000)]
Merge "Use square brackets instead of curly braces for char of a string"
jenkins-bot [Sat, 23 Nov 2013 19:39:50 +0000 (19:39 +0000)]
Merge "Add missing type hint for $autoSync"
jenkins-bot [Sat, 23 Nov 2013 19:31:40 +0000 (19:31 +0000)]
Merge "Add missing wfProfileOut()s"
Siebrand Mazeland [Sat, 23 Nov 2013 19:30:39 +0000 (20:30 +0100)]
Add missing type hint for $autoSync
Change-Id: I63deed0b2b9b6fc29f67c0b522987df156f685fa
jenkins-bot [Sat, 23 Nov 2013 19:30:07 +0000 (19:30 +0000)]
Merge "Replace usage of deprecated getRootUrl() method"
jenkins-bot [Sat, 23 Nov 2013 19:26:14 +0000 (19:26 +0000)]
Merge "Update documentation of file backend classes"
jenkins-bot [Sat, 23 Nov 2013 19:17:07 +0000 (19:17 +0000)]
Merge "Update formatting of file backend classes"
jenkins-bot [Sat, 23 Nov 2013 19:14:30 +0000 (19:14 +0000)]
Merge "Kill 'newmessageslink' and 'newmessagesdifflink' messages"
Platonides [Sat, 23 Nov 2013 18:41:20 +0000 (19:41 +0100)]
Rename $wgServerSetting to $serverSetting
It's the setting for $wgServer, but let's not confuse humans
and tools by using the convention for globals.
Change-Id: I38c82d363f588648f11d0a0ab3e264e25553493e
Platonides [Sat, 23 Nov 2013 18:32:13 +0000 (19:32 +0100)]
Replace usage of deprecated getRootUrl() method
Follow-up change 85344 (
d94d29a9)
Change-Id: Ia77d445621b426e159f9c120cb55c7e69b193497
Siebrand Mazeland [Sat, 23 Nov 2013 18:23:32 +0000 (19:23 +0100)]
Update documentation of file backend classes
Change-Id: I2113aecc53f1b361d9c276113bc0a9f7076cd21c
umherirrender [Sat, 23 Nov 2013 18:22:03 +0000 (19:22 +0100)]
Use square brackets instead of curly braces for char of a string
The use of curly braces is deprecated in php 4.0, so changing it to
square brackets
Change-Id: I807da8c873bb937ee32df75c27d632075bc84be1
Siebrand Mazeland [Sat, 23 Nov 2013 18:17:19 +0000 (19:17 +0100)]
Update documentation of MediaHandler
Change-Id: I979bc0491aa54e12e1625dcd703242ade26e8262
Platonides [Sat, 23 Nov 2013 18:15:07 +0000 (19:15 +0100)]
Add missing wfProfileOut()s
Change-Id: I072224fdeda25f8fe8a76338e7e767ab4c0619f0
Platonides [Sat, 23 Nov 2013 17:41:59 +0000 (18:41 +0100)]
Use the class name with capital letter
Change-Id: I97577cb085a47d58fd3de96ab77da68ebe482d6a
jenkins-bot [Sat, 23 Nov 2013 17:02:23 +0000 (17:02 +0000)]
Merge "Move ExpandTemplates special into core"
jenkins-bot [Sat, 23 Nov 2013 16:57:44 +0000 (16:57 +0000)]
Merge "The static declaration must come after the visibility declartion"
UltrasonicNXT [Thu, 21 Nov 2013 19:38:34 +0000 (19:38 +0000)]
Move ExpandTemplates special into core
Very little modification to extension, add some docs, and GNU license as
per the other core extensions. Removed $isNewParser, as it won't be needed
with new versions of MW, and changed the name of POST variables used.
I have not moved across any of the messages except
english, according to the bug report, translatewiki will sort this out.
The expandtemplates message section has also been added to messages.inc.
htmlspecialchars should not be performed on anything, as it will cause it
to render like <root>
Added this change into the 1.23 release notes.
Bug: 28264
Change-Id: I7ef63488dc3ad3885bcf99ff52852e1c6981942b
jenkins-bot [Sat, 23 Nov 2013 16:19:44 +0000 (16:19 +0000)]
Merge "Use lowercase key words"
Bartosz Dziewoński [Sat, 23 Nov 2013 15:31:07 +0000 (16:31 +0100)]
Html: Fix a copy-paste error in docs
Change-Id: I262f27574335cf8f4d72a5bb3a28a77ef402c252
umherirrender [Sat, 23 Nov 2013 14:56:42 +0000 (15:56 +0100)]
Use lowercase key words
Change-Id: I57569b7082a0decc8128ecadd8ec5d1a5c327673
umherirrender [Sat, 23 Nov 2013 13:42:32 +0000 (14:42 +0100)]
The static declaration must come after the visibility declartion
Change-Id: I7f4646a5eb3acc7209b243c82a5a496daf82cf8f
jenkins-bot [Sat, 23 Nov 2013 12:41:29 +0000 (12:41 +0000)]
Merge "i18n: add a period after "etc""
Translation updater bot [Sat, 23 Nov 2013 10:46:28 +0000 (10:46 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: Ic27f47711e4bec31f50d0d8714cf5f5f12da4f50
shirayuki [Sat, 23 Nov 2013 10:22:56 +0000 (19:22 +0900)]
i18n: add a period after "etc"
Change-Id: Ibc298d57e53f05dddc4d07380e9da7baa79c3d83
jenkins-bot [Sat, 23 Nov 2013 08:46:30 +0000 (08:46 +0000)]
Merge "mediawiki.Title: Add 'params' parameter to #getUrl"
jenkins-bot [Sat, 23 Nov 2013 08:42:03 +0000 (08:42 +0000)]
Merge "Detect leakage of error_reporting state in tests."
Reedy [Sat, 23 Nov 2013 01:08:44 +0000 (01:08 +0000)]
Make WebRequest::protocol protected as it's used in subclasses in the same file
Change-Id: If894e9122fa56e957c666c887fb33ed60733ac0e
jenkins-bot [Fri, 22 Nov 2013 21:34:25 +0000 (21:34 +0000)]
Merge "Use lower memory limits"
jenkins-bot [Fri, 22 Nov 2013 21:25:17 +0000 (21:25 +0000)]
Merge "Always select ipb_deleted on list=[all]users"
ptarjan [Thu, 21 Nov 2013 23:34:20 +0000 (15:34 -0800)]
Use lower memory limits
HHVM is ~5x more memory efficient than php-src and it shouldn't make us
fail this test
Change-Id: I35a69766c42818c222d36e1cf2a7fabe63a4ece5
Siebrand Mazeland [Fri, 22 Nov 2013 21:17:15 +0000 (22:17 +0100)]
Update formatting of file backend classes
Change-Id: Ie69c324e2f1ea0b8a654adee06ebda494cebd10c
jenkins-bot [Fri, 22 Nov 2013 20:47:14 +0000 (20:47 +0000)]
Merge "Do not call FileBackendGroup::get() statically"
jenkins-bot [Fri, 22 Nov 2013 20:45:37 +0000 (20:45 +0000)]
Merge "Set default for $wgExternalStores to empty array"
jenkins-bot [Fri, 22 Nov 2013 20:29:30 +0000 (20:29 +0000)]
Merge "Update comment in DefaultSettings for bug 17180"
Siebrand Mazeland [Fri, 22 Nov 2013 20:25:15 +0000 (21:25 +0100)]
Do not call FileBackendGroup::get() statically
Change-Id: If63ba967177415d2f0e857dba33a09157c401909
jenkins-bot [Fri, 22 Nov 2013 20:24:47 +0000 (20:24 +0000)]
Merge "Delete fuzz-tester.php"
Emmet Hikory [Thu, 21 Nov 2013 04:56:09 +0000 (13:56 +0900)]
Update comment in DefaultSettings for bug 17180
When a check to disable $wgShowIPinHeader if $wgUseFileCache is
enabled was added to Setup.php (bug 17180), the inline comment
documentation in DefaultSettings.php was not adjusted, and continues
to indicate that users must manually coordinate the values of
$wgShowIPinHeader and $wgUseFileCache. This patch adjusts the comment
to reflect the current automatic coordination.
Bug: 55723
Change-Id: I8078a3847c9ef2f386702bca5b5272028dc41e31
Siebrand Mazeland [Fri, 22 Nov 2013 20:18:59 +0000 (21:18 +0100)]
Set default for $wgExternalStores to empty array
Set default for $wgExternalStores to empty array instead of false.
Having it at false, causes type inconsistency.
Change-Id: I9f9b6bef16bd56b5fe27ef30016006b502a63ade
jenkins-bot [Fri, 22 Nov 2013 20:17:33 +0000 (20:17 +0000)]
Merge "Fix incorrect array type"
Siebrand Mazeland [Fri, 22 Nov 2013 20:11:31 +0000 (21:11 +0100)]
Fix incorrect array type
Change-Id: I92193b46716d78125c8bce0ad9b2b098885b0a37
Chad Horohoe [Fri, 22 Nov 2013 19:59:47 +0000 (11:59 -0800)]
Remove a few stray $wgTitle comments
Change-Id: Idcb9232e641b5f54845408a2a1c1b9fc28f0040b
umherirrender [Fri, 22 Nov 2013 19:30:58 +0000 (20:30 +0100)]
Always select ipb_deleted on list=[all]users
When a user with the hideuser permission is using list=[all]users, a
- Notice: Undefined property: stdClass::$ipb_deleted in
\includes\api\ApiQueryUsers.php on line 172
- Notice: Undefined property: stdClass::$ipb_deleted in
\includes\api\ApiQueryAllUsers.php on line 238
can be raised, because the join on the ipblocks table was not done for
the user.
Change-Id: I25ead34b7905e99c249cb05c9d4940195c8b6263
Chad Horohoe [Tue, 5 Nov 2013 16:11:17 +0000 (08:11 -0800)]
Delete fuzz-tester.php
It is unmaintained, not up to coding standards, and as far as I can tell
not actually used by anyone or anything.
Fuzz testing in and of itself may be useful and if someone is interested
they can write some code that's from this decade.
Change-Id: Iecde41daca95d1655fb8767a1e775cbb732184e9
jenkins-bot [Fri, 22 Nov 2013 18:51:42 +0000 (18:51 +0000)]
Merge "Remove User::getPageRenderingHash, deprecated since 1.17"
jenkins-bot [Fri, 22 Nov 2013 17:47:42 +0000 (17:47 +0000)]
Merge "Honor shortened thumbnail paths in mw.Title.newFromImg()"
Translation updater bot [Fri, 22 Nov 2013 16:56:09 +0000 (16:56 +0000)]
Localisation updates from https://translatewiki.net.
Bug: 57410
Change-Id: Ie0ffd983c4fe64fe48fb6902943b7f4c4667091c
rillke [Fri, 22 Nov 2013 16:15:55 +0000 (17:15 +0100)]
Honor shortened thumbnail paths in mw.Title.newFromImg()
Currently mw.Title.newFromImg() fails when the thumbnail path is
shortened.
Cf.
https://git.wikimedia.org/blob/mediawiki%2Fcore.git/
1e0bd351b760c2b1d9f5c0e058dc1c3bf9a83d2e/includes%2Ffilerepo%2FFileRepo.php#L1623
Change-Id: I7c166cfaefc1c31f9c378edd98c46f61b9c30aa3
MarkAHershberger [Fri, 22 Nov 2013 16:09:07 +0000 (16:09 +0000)]
Merge "Fix login with temporary password with $wgSecureLogin = true"
jenkins-bot [Fri, 22 Nov 2013 16:05:17 +0000 (16:05 +0000)]
Merge "Revert "Suppress section edit links with action=render""
Bartosz Dziewoński [Fri, 22 Nov 2013 15:28:18 +0000 (16:28 +0100)]
Kill 'newmessageslink' and 'newmessagesdifflink' messages
Superseded ages ago by 'newmessageslinkplural' and 'newmessagesdifflinkplural'.
Also updated any docs that still referred to them.
Change-Id: Id4d99270acabbd7d72b877a091a6e3015d616826
jenkins-bot [Fri, 22 Nov 2013 15:17:59 +0000 (15:17 +0000)]
Merge "Change the syntax and non-one count fake values for {{PLURAL: in newmessages*"
Brad Jorsch [Fri, 22 Nov 2013 13:51:11 +0000 (08:51 -0500)]
Revert "Suppress section edit links with action=render"
This reverts commit
2248021997324c8694430a3c010b8b81482be0c3.
That revision caused section edit links to be shown on views of old
revisions. See comments there for suggestions on reimplementing it.
Change-Id: Ie65e3de84b44866e4ab1fc222a365cb3a9180ee1
Alexandre Emsenhuber [Fri, 22 Nov 2013 09:32:18 +0000 (10:32 +0100)]
Fix login with temporary password with $wgSecureLogin = true
The problem is that FauxRequest sets the protocol to http by default,
thus triggering the redirect when executing Special:UserLogin in the
background to log the user in after having reset his password.
DerivativeRequest is now used instead of FauxRequest so that the
protocol is correctly forwarded, and the redirect will not be
triggered.
Bug: 57289
Change-Id: I252351ff7d446283c9d1ab5f79b5cdbce71b76e0
aude [Fri, 22 Nov 2013 08:17:22 +0000 (08:17 +0000)]
Remove User::getPageRenderingHash, deprecated since 1.17
The function is not used in core or in any extension in git,
and the PageRenderingHash hook in User::getPageRenderingHash
is not used in any extension. (note the hook still exists
in ParserOptions).
Change-Id: Ica27ce3828dd6551e21671ff723427d09c2dcadb
Chad Horohoe [Sun, 17 Nov 2013 01:17:14 +0000 (17:17 -0800)]
Remove deprecated EditPage::spamPage()
Has been deprecated since 1.17, no callers anywhere in git that I
could find. One exception: AkismetKlik, which is being fixed in
I8c975f42.
Change-Id: Ie4cf4764e2223f277b8dd09d0ce629c2814e05be
jenkins-bot [Fri, 22 Nov 2013 03:38:17 +0000 (03:38 +0000)]
Merge "Improving CLDR Plural Rule Evaluator documentation."
Dereckson [Fri, 22 Nov 2013 00:42:30 +0000 (01:42 +0100)]
Improving CLDR Plural Rule Evaluator documentation.
Change-Id: Ic6581de7cc69dea7af0bee5596497db509d6b9ba
jenkins-bot [Fri, 22 Nov 2013 00:47:13 +0000 (00:47 +0000)]
Merge "Avoiding implicit transactions when applying"
jenkins-bot [Fri, 22 Nov 2013 00:40:33 +0000 (00:40 +0000)]
Merge "Handle CDB errors more gracefully in cdb.php maintenance script"
jenkins-bot [Fri, 22 Nov 2013 00:38:35 +0000 (00:38 +0000)]
Merge "Made SqlBagOStuff fully avoid transactions when possible"
jenkins-bot [Fri, 22 Nov 2013 00:31:50 +0000 (00:31 +0000)]
Merge "Truncate super long SQL in DB error log lines (useful for blobs)"
Aaron Schulz [Fri, 22 Nov 2013 00:26:24 +0000 (16:26 -0800)]
Made SqlBagOStuff fully avoid transactions when possible
Change-Id: I775d872b522f68462496bbfa685665cc8faf9bf1
Aaron Schulz [Thu, 21 Nov 2013 23:19:43 +0000 (15:19 -0800)]
Truncate super long SQL in DB error log lines (useful for blobs)
Change-Id: Ibb9b9178de80e691406e5c1a7113f0511055d18d
Aaron Schulz [Thu, 21 Nov 2013 23:54:02 +0000 (15:54 -0800)]
Avoiding implicit transactions when applying
* Some callers get the DB and flip DBO_TRX off, which does not
help much if simply connecting to the DB starts a transaction.
Change-Id: I2bc90a1cdeade13ccb546db1183ab08f25156da1
Chad Horohoe [Thu, 21 Nov 2013 23:22:47 +0000 (15:22 -0800)]
Handle CDB errors more gracefully in cdb.php maintenance script
Change-Id: I9be42c909c85cd454fdd10921c8d50d6273252f8
Alex Ivanov [Wed, 20 Nov 2013 20:58:45 +0000 (22:58 +0200)]
Change the syntax and non-one count fake values for {{PLURAL: in newmessages*
Change the newmessageslinkplural and newmessagesdifflinkplural syntax and non-one count fake values to 999.
Bug: 42497
Change-Id: I2a4b739314e524c3e70184766bb047cf54707c63
jenkins-bot [Thu, 21 Nov 2013 21:53:13 +0000 (21:53 +0000)]
Merge "New getHTML() method for QuickTemplate to get the HTML of a template."
Translation updater bot [Thu, 21 Nov 2013 20:44:37 +0000 (20:44 +0000)]
Localisation updates from https://translatewiki.net.
Change-Id: I0d719d7e3a431d48a4bf2ff131c8bc89d735c667