robin [Thu, 7 Jun 2012 15:25:38 +0000 (17:25 +0200)]
Userlogin: Do not add a language link if it's the currently used language
(Just display the language name without a link)
Change-Id: I604d2905d73faf5b2242fdbf943262ae22e58a2c
Aaron Schulz [Wed, 6 Jun 2012 22:43:50 +0000 (22:43 +0000)]
Merge "Change of Title->exists() to Title->isKnown() for subpage links"
Subramanya Sastry [Wed, 6 Jun 2012 22:16:01 +0000 (17:16 -0500)]
Added nested-list tests for covering additional cases for Parsoid.
Change-Id: Ic0ea44a5d965bfd27b34a790f18ef29f2ac20d6a
Alexandre Emsenhuber [Wed, 6 Jun 2012 20:42:13 +0000 (22:42 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: I7144b26103ef644fbec751ea476760566757cae3
Translation updater bot [Wed, 6 Jun 2012 19:44:32 +0000 (19:44 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I8fd9d79acd796406eec2a6bd2f67c10be03276ab
Demon [Wed, 6 Jun 2012 18:23:46 +0000 (18:23 +0000)]
Merge "(bug 37138) Fix broken Google sitesearch in DatabaseError"
Aaron Schulz [Wed, 6 Jun 2012 17:29:33 +0000 (17:29 +0000)]
Merge "Use local context to get messages and don't use implicit Message object to string conversion."
Catrope [Wed, 6 Jun 2012 17:03:27 +0000 (17:03 +0000)]
Merge "Increased uselessly low $wgBlockCIDRLimit default for IPv6."
Aaron Schulz [Wed, 6 Jun 2012 17:01:14 +0000 (17:01 +0000)]
Merge "(bug 37334) ForeignAPIFile::getDescription() should match parent"
Aaron Schulz [Wed, 6 Jun 2012 17:00:47 +0000 (17:00 +0000)]
Merge "Added missing GPLv2 headers in some places."
Werdna [Wed, 6 Jun 2012 05:30:28 +0000 (05:30 +0000)]
Merge "Adds support to HTMLForm for rendering form fields wrapped in divs or just plain old (mostly) raw form fields."
Aaron Schulz [Wed, 6 Jun 2012 05:06:56 +0000 (22:06 -0700)]
Fixed infinite loop in tests with FSLockManager.
* If PHPUnit converts warnings to exceptions, any I/O warnings can throw
exceptions which leave locksHeld in an inconsistent state, breaking the
__destruct() function. This commits reorders the variable update slightly.
Change-Id: I5deac811e7b4d0bc71f3d4096b8d72711904a444
Chad Horohoe [Wed, 6 Jun 2012 00:29:40 +0000 (20:29 -0400)]
(bug 37334) ForeignAPIFile::getDescription() should match parent
Fix for I1dd54611, which changed File::getDescription() without updating
ForeignAPIFile
Change-Id: I4d4d43c3a07bb1dd1c0001779992024bef962640
Aaron [Wed, 6 Jun 2012 00:01:43 +0000 (17:01 -0700)]
Increased uselessly low $wgBlockCIDRLimit default for IPv6.
Change-Id: I5abc83981912f304c4034a32063ba09bcf6aa1b1
awjrichards [Tue, 5 Jun 2012 22:58:54 +0000 (22:58 +0000)]
Big oops - merged to wrong branch.
Revert "Revert to arbitrarily old point before initial remote branch creation to help clean up"
This reverts commit
ee0d3d330f76b97c451c168dc9b052ee84609b5b
Alexandre Emsenhuber [Tue, 5 Jun 2012 20:13:22 +0000 (22:13 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: Ie60ee0a8137d750a66892ea5b0cc751c74d662f9
Translation updater bot [Tue, 5 Jun 2012 20:15:52 +0000 (20:15 +0000)]
Merge "Localisation updates from translatewiki.net."
Aaron Schulz [Tue, 5 Jun 2012 20:14:24 +0000 (20:14 +0000)]
Merge "Clean up Resources.php"
Translation updater bot [Tue, 5 Jun 2012 19:49:04 +0000 (19:49 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ie62a0a9446de17b171b9c7003ead5291b9bb2cbc
Timo Tijhof [Tue, 5 Jun 2012 17:47:17 +0000 (19:47 +0200)]
(bug 37138) Fix broken Google sitesearch in DatabaseError
Change-Id: I31dc64f83ce8767dcdd84597844b0819840f60e1
Aaron [Tue, 5 Jun 2012 17:10:11 +0000 (10:10 -0700)]
Fixed bit math logic error in
0e765f8405c3ec1b428994d3149599a7132ae07b.
Change-Id: Idfba3971f9c2d47967d1210352d8fb25583834e0
Timo Tijhof [Tue, 5 Jun 2012 14:08:52 +0000 (16:08 +0200)]
Clean up Resources.php
* Trailing whitespace
* Array-usage similar to rest of file
Change-Id: I08908af2541750cb28474d1209d80ea6072b77cf
Krinkle [Tue, 5 Jun 2012 13:58:09 +0000 (13:58 +0000)]
Merge "Reverse the dependency for mediawiki.language.data"
Santhosh Thottingal [Mon, 28 May 2012 11:45:43 +0000 (17:15 +0530)]
Reverse the dependency for mediawiki.language.data
* Previously mediawiki.language.data depended on mediawiki.language,
making any module using langauge data having to explicitly define
it as a dependency. This is not good. We should abstract the data
generation part and for the users of the module.
mediawiki.language should take care of having the required data.
* So, reversing the dependency so that mediawiki.language depends on
mediawiki.language.data. Then a simple dependency declaration with
"mediawiki.language" is enough to have associated data available.
This supersedes change set I810fb0a5
Change-Id: Iede836bb3e2fd700cb7c58caeebe9ec2e0043dfb
Siebrand [Tue, 5 Jun 2012 06:50:08 +0000 (06:50 +0000)]
Merge "Add new message 'showhideselectedlogentries' for revdel of logs."
Liangent [Mon, 4 Jun 2012 07:34:10 +0000 (15:34 +0800)]
Add new message 'showhideselectedlogentries' for revdel of logs.
What we're hiding are not "revisions" here...
Change-Id: I3d3d75dea240ff189fc929e0a24f8e5449a4e0c6
Siebrand [Tue, 5 Jun 2012 01:08:51 +0000 (01:08 +0000)]
Merge "(bug 37180) Removed hard coded parentheses in SpecialVersion.php"
Victor Vasiliev [Mon, 4 Jun 2012 23:30:33 +0000 (01:30 +0200)]
(bug 37330) Fix wrong block being displayed due to autoblock in place.
Autoblocks triggered latest block log entry being displayed, which was
naturally the wrong one, since autoblocks are not put into a block log.
Change-Id: Ic08880c18a778d5294bb934c764a70dbd7800b70
Demon [Mon, 4 Jun 2012 20:47:20 +0000 (20:47 +0000)]
Merge "[FileBackend] Gave doQuickOperations() some wrapper methods just like doOperations()."
Demon [Mon, 4 Jun 2012 20:46:32 +0000 (20:46 +0000)]
Merge "[FileBackend] Purge Swift process cache before container delete for sanity."
Demon [Mon, 4 Jun 2012 20:45:10 +0000 (20:45 +0000)]
Merge "[FileBackend] Worked around Akamai CDN purge limits."
Demon [Mon, 4 Jun 2012 20:43:09 +0000 (20:43 +0000)]
Merge "Fixed destructor in FSLockManager to clear all the locks."
Demon [Mon, 4 Jun 2012 20:41:52 +0000 (20:41 +0000)]
Merge "[FileRepo] Made getDescription() respect *_deleted fields."
Demon [Mon, 4 Jun 2012 20:39:47 +0000 (20:39 +0000)]
Merge "document CASE (0th array element) for $magicWords"
Demon [Mon, 4 Jun 2012 20:36:31 +0000 (20:36 +0000)]
Merge "Made default BagOStuff functions work consistently."
Demon [Mon, 4 Jun 2012 20:35:57 +0000 (20:35 +0000)]
Merge "Changed a call to Title::getEscapedText() which is now deprecated."
Demon [Mon, 4 Jun 2012 20:31:10 +0000 (20:31 +0000)]
Merge "Added missing GPLv2 headers in some places."
Demon [Mon, 4 Jun 2012 20:27:24 +0000 (20:27 +0000)]
Merge "Rename $exclude_patterns to $excludePatterns and $wgDoxyGenerateMan to $doxyGenerateMan."
Demon [Mon, 4 Jun 2012 20:26:28 +0000 (20:26 +0000)]
Merge "Use canonical class name. Include ORMRowTest.php"
Demon [Mon, 4 Jun 2012 20:25:23 +0000 (20:25 +0000)]
Merge "Improve / add two passing link tests"
Demon [Mon, 4 Jun 2012 20:24:19 +0000 (20:24 +0000)]
Merge "Add passing test for padleft and padright as substr"
Translation updater bot [Mon, 4 Jun 2012 20:13:42 +0000 (20:13 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I2fa1ef4bf7e98254343162c4b957e478e029df25
Alexandre Emsenhuber [Mon, 4 Jun 2012 13:36:23 +0000 (15:36 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: If00cc0c63c49e441de56bc7b55d764d4a9a53ae8
Gabriel Wicke [Mon, 4 Jun 2012 11:36:18 +0000 (13:36 +0200)]
Improve / add two passing link tests
* Add a transition *** -> #** to an existing test
* Add a test for interrupted lists
Change-Id: I09b81099a7e8a8b08fefb194670f91648c3e077f
Alexandre Emsenhuber [Mon, 4 Jun 2012 10:53:53 +0000 (12:53 +0200)]
Changed a call to Title::getEscapedText() which is now deprecated.
Change-Id: I3cb6e9b4cf4a70ff3f30662ed12152a6f9d3f170
Gabriel Wicke [Mon, 4 Jun 2012 09:25:57 +0000 (11:25 +0200)]
Add passing test for padleft and padright as substr
This is a popular 'misuse' of the padleft/padright functions, which was not
tested in the main parser tests so far.
Change-Id: Icda02b34101c8c35b13c1e84d9f565867148d8d8
pmolina [Sat, 2 Jun 2012 15:11:19 +0000 (12:11 -0300)]
(bug 37180) Removed hard coded parentheses in SpecialVersion.php
Patch set 4:
* Use params() instead of rawParams() because there is no need for raw.
* Specify processing explicitely.
Change-Id: If5f1c26f221bdb060b5944ef5e3cdb64d76154e3
jeremyb [Mon, 4 Jun 2012 00:31:28 +0000 (00:31 +0000)]
MessagesFa.php: whitespace consistency
Change-Id: I8b8b89f824a8811621471430e2d188a3b1119b30
Aaron Schulz [Sun, 3 Jun 2012 23:45:21 +0000 (23:45 +0000)]
Merge "Replace calls to deprecated Article::doWatch and Article::doUnwatch"
Aaron Schulz [Sun, 3 Jun 2012 23:25:37 +0000 (16:25 -0700)]
Made default BagOStuff functions work consistently.
* Made getMulti() only return keys for items that exists.
* Made add() return false if the item already exist.
* Made replace() return false it the item does not already exist.
Change-Id: Idb9d9843ace0c81f71abfc22b90e30eb33d7579d
Dereckson [Sun, 3 Jun 2012 14:09:11 +0000 (16:09 +0200)]
(bug 37179) Allow undelete revision rows l10n
Patch set 5: Update spacing in changes in SpecialUndelete.php
per convention.
Change-Id: I95756fa53c1f3b2a62fa9b5f6a63475dd5462442
Siebrand [Sun, 3 Jun 2012 22:20:13 +0000 (22:20 +0000)]
Merge "(bug 37151) Updating extensions/README file, using Git and https:// in the URLs"
Aaron Schulz [Sun, 3 Jun 2012 21:08:54 +0000 (21:08 +0000)]
Merge "Revert "Purge Squid variant pages based on page language (not $wgContLang)" per CR comments. I merged this one too quickly."
Aaron Schulz [Sun, 3 Jun 2012 21:07:58 +0000 (21:07 +0000)]
Revert "Purge Squid variant pages based on page language (not $wgContLang)" per CR comments. I merged this one too quickly.
This reverts commit
0f9b9d51443a7c2fa62deba0953ce69b388b7c76
Alexandre Emsenhuber [Sat, 2 Jun 2012 13:09:36 +0000 (15:09 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: Ie95c594fcd686ef30dadc7574d3e5b47236a8638
Translation updater bot [Sun, 3 Jun 2012 19:53:51 +0000 (19:53 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ibaafee4765c9dfdbca06462153f4267e443f0c29
Reedy [Sun, 3 Jun 2012 19:42:46 +0000 (19:42 +0000)]
Merge "Use new xsd schema 0.7 in Export.php"
umherirrender [Sun, 3 Jun 2012 17:53:25 +0000 (19:53 +0200)]
Use new xsd schema 0.7 in Export.php
Change Idb82fe62 added a new xsd, but didn't use it.
Change-Id: I030d245715174daeaf24723ebc156ab36761a035
Aaron Schulz [Sun, 3 Jun 2012 19:03:33 +0000 (19:03 +0000)]
Merge "Purge Squid variant pages based on page language (not $wgContLang)"
umherirrender [Sun, 3 Jun 2012 17:47:01 +0000 (19:47 +0200)]
update <redirect> in export.xsd to match export xml
The xsd defines the <redirect> as string tag, but it is outputted with a
title attribute. To keep b/c with the dumps this patch changed the xsd
and not the export xml.
Change-Id: Iba77e19ce40768018e292a08997473b82bc263f8
Liangent [Sun, 3 Jun 2012 17:39:55 +0000 (01:39 +0800)]
Purge Squid variant pages based on page language (not $wgContLang)
Change-Id: I36a55d0de33dd199513b94741b1833e8e0543b95
Platonides [Thu, 31 May 2012 21:07:24 +0000 (23:07 +0200)]
Inherit DumpTestCase from MediaWikiLangTestCase, since
backup_PageTest expect the ContentLanguage to be English
(backupTextPassTest and backup_LogTest also get the change,
but don't require it)
Change-Id: I8b3482df011bccd9fe520ba07c8b8d70de3b9dbb
pmolina [Sun, 3 Jun 2012 13:58:36 +0000 (10:58 -0300)]
(bug 37151) Updating extensions/README file, using Git and https:// in the URLs
Change-Id: I22c8073ee851d7a0d188c1aa39e6b2463ede00ab
Translation updater bot [Sun, 3 Jun 2012 14:43:26 +0000 (14:43 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I023836a005656b5232661e21e2849f4de5f154f9
Platonides [Sun, 3 Jun 2012 13:41:57 +0000 (15:41 +0200)]
Replace calls to deprecated Article::doWatch and Article::doUnwatch
Change-Id: I7e87b24144cbff01fdf8b40c5e7da783c0c57f24
Platonides [Sun, 3 Jun 2012 13:38:51 +0000 (15:38 +0200)]
Rename $exclude_patterns to $excludePatterns and
$wgDoxyGenerateMan to $doxyGenerateMan.
Change-Id: Id6d7d8202c6bdfd31d2bba5603e0682d35c76ad4
Platonides [Sun, 3 Jun 2012 13:22:31 +0000 (15:22 +0200)]
Use canonical class name. Include ORMRowTest.php
Change-Id: Ia6bc39492056bb3aa3a1a17097b71b70d1344e50
Siebrand [Sun, 3 Jun 2012 12:04:38 +0000 (12:04 +0000)]
Merge "(bug 37182) Removed hard coded parentheses in SpecialStatistics.php"
Siebrand [Sun, 3 Jun 2012 12:02:39 +0000 (12:02 +0000)]
Merge "(bug 37183) Removed hard coded parentheses in SpecialListfiles.php"
pmolina [Sat, 2 Jun 2012 15:06:48 +0000 (12:06 -0300)]
(bug 37182) Removed hard coded parentheses in SpecialStatistics.php
Change-Id: Ie412b21a0426e5aaf9c1cf55aa91ab16fd1c0662
pmolina [Sat, 2 Jun 2012 15:05:06 +0000 (12:05 -0300)]
(bug 37183) Removed hard coded parentheses in SpecialListfiles.php
Change-Id: Id8fceb6075579bd30b701c2531f0d24723fe54f1
Brion VIBBER [Sun, 3 Jun 2012 11:03:20 +0000 (11:03 +0000)]
Merge "Revert "Adding sanity check to Title::isRedirect().""
Brion VIBBER [Sun, 3 Jun 2012 11:00:54 +0000 (11:00 +0000)]
Revert "Adding sanity check to Title::isRedirect()."
This reverts commit
7d12b7b72c2060c58b6bd0759b80d985bb9431be
Siebrand [Sun, 3 Jun 2012 10:35:37 +0000 (10:35 +0000)]
Merge "(bug 37178) Allow pagination link l10n"
Dereckson [Sat, 2 Jun 2012 12:43:00 +0000 (14:43 +0200)]
(bug 37178) Allow pagination link l10n
Change-Id: I1035c1e85246c8f9ce09f35405dfa3a5b6d4ba1c
Aaron Schulz [Sun, 3 Jun 2012 10:14:09 +0000 (10:14 +0000)]
Merge "clean up User::getOptions a bit"
Aaron Schulz [Sun, 3 Jun 2012 10:09:08 +0000 (10:09 +0000)]
Merge "reverse text/sha1 output in export to match xsd"
Aaron Schulz [Sun, 3 Jun 2012 10:06:18 +0000 (10:06 +0000)]
Merge "(bug 22750) <logitem> is at wrong location in export.xsd"
Aaron Schulz [Sun, 3 Jun 2012 09:59:47 +0000 (09:59 +0000)]
Merge "update export-demo.xml"
Aaron Schulz [Sun, 3 Jun 2012 09:57:53 +0000 (09:57 +0000)]
Merge "Fix for Ibe3e88fa (
a12ce17c): Moved WikiPage::getDeletionUpdates() near WikiPage::doDeleteUpdates()."
Aaron Schulz [Sun, 3 Jun 2012 09:56:17 +0000 (09:56 +0000)]
Merge "Set the status code to 500 on exceptions."
Reedy [Sun, 3 Jun 2012 09:10:21 +0000 (09:10 +0000)]
Merge "Localisation updates from translatewiki.net."
jeremyb [Sun, 3 Jun 2012 03:06:04 +0000 (03:06 +0000)]
document CASE (0th array element) for $magicWords
this agrees with the statement at
https://www.mediawiki.org/w/index.php?title=Manual:Magic_words&oldid=543077#Mapping_wiki_text_to_magic_word_ids
Change-Id: I5036d19b57b5b1be13317e1d6e249eaeee0797c8
Aaron Schulz [Sat, 2 Jun 2012 23:29:48 +0000 (23:29 +0000)]
Merge "Fix bug in getXVO() that produced XVO headers with stray semicolons"
Aaron Schulz [Sat, 2 Jun 2012 22:13:31 +0000 (15:13 -0700)]
Fixed destructor in FSLockManager to clear all the locks.
Change-Id: I019d24c19f317eb649b5a0415618b453e1ea171b
Translation updater bot [Sat, 2 Jun 2012 21:44:30 +0000 (21:44 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I2cc19ee3b5121aca21dab7f46d666ed55502fb17
Aaron Schulz [Sat, 2 Jun 2012 17:10:19 +0000 (17:10 +0000)]
Merge "Adding sanity check to the LinksUpdate() constructor."
Aaron Schulz [Sat, 2 Jun 2012 16:58:41 +0000 (16:58 +0000)]
Merge "PHP >= 5.4.0 started taking advantage of $limit optimization of wfDebugBacktrace(), which we weren't treating right."
Alexandre Emsenhuber [Sat, 2 Jun 2012 16:36:48 +0000 (18:36 +0200)]
Select all nedded fields for Title::newFromRow() when fetch a revision from the database.
Otherwise MW will throw an exception with the message "LinkCache doesn't currently know about this title"
when accessing redirect or len items of these Title objects, e.g. in Special:RevisionDelete.
Change-Id: I07978145df78bddac894bdac087c5d62b03759b3
Alexandre Emsenhuber [Sat, 2 Jun 2012 16:32:17 +0000 (18:32 +0200)]
Use local context to get messages and don't use implicit Message object to string conversion.
Fix for I1d391e72 (
3695486) and Idb00a337 (
8a73db8) plus two changes of wfMsgHtml('diff') that were already there.
Change-Id: Ie52e1060058f4d1935c991a7d0e1f651069d4ed5
Aaron Schulz [Sat, 2 Jun 2012 16:17:49 +0000 (16:17 +0000)]
Merge "(bug 37185) Removed hard coded parentheses in RevisionDelete.php"
pmolina [Sat, 2 Jun 2012 14:32:23 +0000 (11:32 -0300)]
(bug 37185) Removed hard coded parentheses in RevisionDelete.php
Change-Id: Idb00a337fa202d653b61ddd28c32aecef3e66419
awjrichards [Sat, 2 Jun 2012 15:43:04 +0000 (08:43 -0700)]
Revert to arbitrarily old point before initial remote branch creation to help clean up
Change-Id: I41a3d1e55d3ea9dffa42451237fe065f9334361d
Catrope [Tue, 5 Jun 2012 22:28:17 +0000 (22:28 +0000)]
Merge "[FileRepo] Fixed file move data-loss race condition."
Aaron Schulz [Tue, 5 Jun 2012 20:51:00 +0000 (20:51 +0000)]
Merge "setSquidMaxage() globally if we can purge it, instead of in actions."
Aaron Schulz [Tue, 5 Jun 2012 20:24:58 +0000 (20:24 +0000)]
Merge "(bug 32643) Prevent action=purge&forcelinkupdate crash"
Liangent [Mon, 4 Jun 2012 06:46:36 +0000 (14:46 +0800)]
setSquidMaxage() globally if we can purge it, instead of in actions.
Change-Id: I404c994616eab0902a9e3650c97028e9bcfb22db
Aaron Schulz [Sun, 3 Jun 2012 08:49:29 +0000 (01:49 -0700)]
[FileRepo] Fixed file move data-loss race condition.
* Update the DB before copying the files over.
This fixes a serious regession from
395c5907ff6191afa263e557ce44164e032e15b6.
Change-Id: Ibeec2cda839adecf28f4b944fa1cdb6e4eff7e3b
pmolina [Sat, 2 Jun 2012 15:02:57 +0000 (12:02 -0300)]
(bug 37184) Removed hard coded parentheses in RevisionList.php
Change-Id: I1d391e7234b48ca870fffbdb48bd2ca03285a050
Brad Jorsch [Sat, 2 Jun 2012 13:41:06 +0000 (15:41 +0200)]
(bug 32643) Prevent action=purge&forcelinkupdate crash
action=purge with forcelinkupdate crashes when the rate limit is
reached, because the module passes an array rather than a string to
setWarning. The appropriate string is in the 'info' key of the array, so
just use that.
Change-Id: Ia0215290197e115e7272f945ab1bc5b81aeec80a