Commit graph

52131 commits

Author SHA1 Message Date
jenkins-bot
de908e1bae Merge "Add missing type hint for $autoSync" 2013-11-23 19:39:50 +00:00
jenkins-bot
3f04c7ad1b Merge "Add missing wfProfileOut()s" 2013-11-23 19:31:40 +00:00
Siebrand Mazeland
4b985bd667 Add missing type hint for $autoSync
Change-Id: I63deed0b2b9b6fc29f67c0b522987df156f685fa
2013-11-23 20:30:39 +01:00
jenkins-bot
a4bdabee64 Merge "Replace usage of deprecated getRootUrl() method" 2013-11-23 19:30:07 +00:00
jenkins-bot
e3804f52ce Merge "Update documentation of file backend classes" 2013-11-23 19:26:14 +00:00
jenkins-bot
05506ae70d Merge "Update formatting of file backend classes" 2013-11-23 19:17:07 +00:00
jenkins-bot
bb48a4618e Merge "Kill 'newmessageslink' and 'newmessagesdifflink' messages" 2013-11-23 19:14:30 +00:00
Platonides
0e75eebf02 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
2013-11-23 19:41:20 +01:00
Platonides
d5fc1d58e3 Replace usage of deprecated getRootUrl() method
Follow-up change 85344 (d94d29a9)

Change-Id: Ia77d445621b426e159f9c120cb55c7e69b193497
2013-11-23 19:34:44 +01:00
Siebrand Mazeland
34a4bcbd48 Update documentation of file backend classes
Change-Id: I2113aecc53f1b361d9c276113bc0a9f7076cd21c
2013-11-23 19:24:43 +01:00
Platonides
73fd2d2497 Add missing wfProfileOut()s
Change-Id: I072224fdeda25f8fe8a76338e7e767ab4c0619f0
2013-11-23 19:15:07 +01:00
Platonides
bd34f36dfc Use the class name with capital letter
Change-Id: I97577cb085a47d58fd3de96ab77da68ebe482d6a
2013-11-23 18:02:40 +00:00
jenkins-bot
c29c48b3fc Merge "Move ExpandTemplates special into core" 2013-11-23 17:02:23 +00:00
jenkins-bot
957d06e577 Merge "The static declaration must come after the visibility declartion" 2013-11-23 16:57:44 +00:00
UltrasonicNXT
b2a84fbe87 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
2013-11-23 16:52:49 +00:00
jenkins-bot
57b3044062 Merge "Use lowercase key words" 2013-11-23 16:19:44 +00:00
Bartosz Dziewoński
489a33c6d3 Html: Fix a copy-paste error in docs
Change-Id: I262f27574335cf8f4d72a5bb3a28a77ef402c252
2013-11-23 16:02:12 +00:00
umherirrender
db24b10ca8 Use lowercase key words
Change-Id: I57569b7082a0decc8128ecadd8ec5d1a5c327673
2013-11-23 15:56:42 +01:00
umherirrender
2b980a226f The static declaration must come after the visibility declartion
Change-Id: I7f4646a5eb3acc7209b243c82a5a496daf82cf8f
2013-11-23 14:42:32 +01:00
jenkins-bot
164876e005 Merge "i18n: add a period after "etc"" 2013-11-23 12:41:29 +00:00
Translation updater bot
85ca75742d Localisation updates from https://translatewiki.net.
Change-Id: Ic27f47711e4bec31f50d0d8714cf5f5f12da4f50
2013-11-23 10:46:28 +00:00
shirayuki
fd86b0b50d i18n: add a period after "etc"
Change-Id: Ibc298d57e53f05dddc4d07380e9da7baa79c3d83
2013-11-23 19:22:56 +09:00
jenkins-bot
c528d00cec Merge "mediawiki.Title: Add 'params' parameter to #getUrl" 2013-11-23 08:46:30 +00:00
jenkins-bot
d459c2afb3 Merge "Detect leakage of error_reporting state in tests." 2013-11-23 08:42:03 +00:00
Reedy
b38473c328 Make WebRequest::protocol protected as it's used in subclasses in the same file
Change-Id: If894e9122fa56e957c666c887fb33ed60733ac0e
2013-11-23 01:08:44 +00:00
jenkins-bot
7732ebea90 Merge "Use lower memory limits" 2013-11-22 21:34:25 +00:00
jenkins-bot
54f189ae9e Merge "Always select ipb_deleted on list=[all]users" 2013-11-22 21:25:17 +00:00
ptarjan
40f6571312 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
2013-11-23 02:53:55 +05:30
Siebrand Mazeland
a5c35215e2 Update formatting of file backend classes
Change-Id: Ie69c324e2f1ea0b8a654adee06ebda494cebd10c
2013-11-22 22:17:15 +01:00
jenkins-bot
8e32a04a1a Merge "Do not call FileBackendGroup::get() statically" 2013-11-22 20:47:14 +00:00
jenkins-bot
bd1da53309 Merge "Set default for $wgExternalStores to empty array" 2013-11-22 20:45:37 +00:00
jenkins-bot
e327484fc3 Merge "Update comment in DefaultSettings for bug 17180" 2013-11-22 20:29:30 +00:00
Siebrand Mazeland
bc02ae439b Do not call FileBackendGroup::get() statically
Change-Id: If63ba967177415d2f0e857dba33a09157c401909
2013-11-22 21:27:04 +01:00
jenkins-bot
446f2033fe Merge "Delete fuzz-tester.php" 2013-11-22 20:24:47 +00:00
Emmet Hikory
fea7f88245 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
2013-11-22 20:21:51 +00:00
Siebrand Mazeland
634ef7d014 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
2013-11-22 21:18:59 +01:00
jenkins-bot
be72acc19f Merge "Fix incorrect array type" 2013-11-22 20:17:33 +00:00
Siebrand Mazeland
7f5c64a0ee Fix incorrect array type
Change-Id: I92193b46716d78125c8bce0ad9b2b098885b0a37
2013-11-22 21:11:31 +01:00
Chad Horohoe
746f807ed2 Remove a few stray $wgTitle comments
Change-Id: Idcb9232e641b5f54845408a2a1c1b9fc28f0040b
2013-11-22 11:59:57 -08:00
umherirrender
0ad48b2ccc 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
2013-11-22 20:30:58 +01:00
Chad Horohoe
88c0ed2ea8 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
2013-11-22 19:12:29 +00:00
jenkins-bot
4dd673b517 Merge "Remove User::getPageRenderingHash, deprecated since 1.17" 2013-11-22 18:51:42 +00:00
jenkins-bot
5dcc476199 Merge "Honor shortened thumbnail paths in mw.Title.newFromImg()" 2013-11-22 17:47:42 +00:00
Translation updater bot
4e36ca130c Localisation updates from https://translatewiki.net.
Bug: 57410
Change-Id: Ie0ffd983c4fe64fe48fb6902943b7f4c4667091c
2013-11-22 16:56:45 +00:00
rillke
e2f7c8283b 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
2013-11-22 17:15:55 +01:00
MarkAHershberger
de54bc91e3 Merge "Fix login with temporary password with $wgSecureLogin = true" 2013-11-22 16:09:07 +00:00
jenkins-bot
82dc3f7e37 Merge "Revert "Suppress section edit links with action=render"" 2013-11-22 16:05:17 +00:00
Bartosz Dziewoński
8c85bb762b Kill 'newmessageslink' and 'newmessagesdifflink' messages
Superseded ages ago by 'newmessageslinkplural' and 'newmessagesdifflinkplural'.

Also updated any docs that still referred to them.

Change-Id: Id4d99270acabbd7d72b877a091a6e3015d616826
2013-11-22 16:28:18 +01:00
jenkins-bot
458f11698c Merge "Change the syntax and non-one count fake values for {{PLURAL: in newmessages*" 2013-11-22 15:17:59 +00:00
Brad Jorsch
a04b5d5dcb Revert "Suppress section edit links with action=render"
This reverts commit 2248021997.

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
2013-11-22 09:56:20 -05:00