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
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
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"
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
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."
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"
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
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
pmolina [Sat, 2 Jun 2012 15:02:57 +0000 (12:02 -0300)]
(bug 37184) Removed hard coded parentheses in RevisionList.php
Change-Id: I1d391e7234b48ca870fffbdb48bd2ca03285a050
Siebrand Mazeland [Sat, 2 Jun 2012 10:43:43 +0000 (12:43 +0200)]
(bug 37177) Make revision row localisable.
Change-Id: Ie35a8b918151467400683a8474775790d45a5b55
Siebrand [Sat, 2 Jun 2012 09:59:45 +0000 (09:59 +0000)]
Merge "(bug 36819) Make language names lowercase first letter where usual"
umherirrender [Sat, 2 Jun 2012 08:46:37 +0000 (10:46 +0200)]
clean up User::getOptions a bit
* use local vars for often used objects
* move some lines near the code, which depends on it
Change-Id: I7a4d4ba1350cca69a8f1c6d355002ee8fdd8f2bc
Translation updater bot [Fri, 1 Jun 2012 18:58:33 +0000 (18:58 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I8226458b6e9dacbcb4c8548eca31a6750a6c1f17
umherirrender [Fri, 1 Jun 2012 16:10:54 +0000 (18:10 +0200)]
update export-demo.xml
Add tags with examples for the update from version 0.4 to 0.7
Change-Id: I99c32ea29741a989ecd80ea61251c6636799ec25
umherirrender [Fri, 1 Jun 2012 15:57:02 +0000 (17:57 +0200)]
(bug 22750) <logitem> is at wrong location in export.xsd
* fix indent of logitem
* add logtitle/params tags
* change one Image: to File:
Change-Id: I02e631d8c4679c46095320901cdff724533d66f0
Reedy [Fri, 1 Jun 2012 14:29:07 +0000 (14:29 +0000)]
Merge "Added base class for testing ORMRow deriving classes and added a mock implementation in order to test the abstract parent class itself"
Reedy [Fri, 1 Jun 2012 13:58:05 +0000 (13:58 +0000)]
Merge "Adding interfaces for ORM row and table classes so these can be used for type hinting in a way that does not prevent doing stuff such as the decorator pattern. Also made some minor fixes in the docs"
Catrope [Fri, 1 Jun 2012 10:19:53 +0000 (03:19 -0700)]
Fix bug in getXVO() that produced XVO headers with stray semicolons
addVaryHeader() converts $options to an array, so null values (no XVO
options) are converted to empty arrays. This led to headers like:
X-Vary-Options: Foo;string-contains=bar,Baz;,Quux;string-contains=xyz
This fix changes the "Baz;," part to "Baz,"
Change-Id: I2fa0b374f5d4cfa6b894cbd9de8c14354f04ad86
Reedy [Fri, 1 Jun 2012 12:10:33 +0000 (12:10 +0000)]
Merge "(bug 35264) Wrong type used for <ns> in export.xsd"
Reedy [Fri, 1 Jun 2012 09:55:32 +0000 (09:55 +0000)]
Merge "Add BackupDumper to the tests AutoLoader and kill the register globals include vulnerability added in
8ba9856."
Alexandre Emsenhuber [Fri, 1 Jun 2012 09:07:45 +0000 (11:07 +0200)]
Fix for Ibe3e88fa (
a12ce17c): Moved WikiPage::getDeletionUpdates() near WikiPage::doDeleteUpdates().
Please group related methods instead of adding new at the bottom along with deprecated ones. Thanks.
Change-Id: Ie08500de8226e33d5fe4c8a2a95c6a23a550e6d1
Aaron Schulz [Fri, 1 Jun 2012 00:00:47 +0000 (00:00 +0000)]
Merge "The 4th Database::select() parameter is the function name. The ORDER BY should be at $options. This was throwing errors in PHP 5.4 due to the array being converted to a string down at Database.php:862"
Platonides [Thu, 31 May 2012 22:13:36 +0000 (00:13 +0200)]
The 4th Database::select() parameter is the function name.
The ORDER BY should be at $options.
This was throwing errors in PHP 5.4 due to the array being
converted to a string down at Database.php:862
Fixes
50ee1d2
Change-Id: Ifb0fc70144242f25fc916fb8d380ed3e2d334fb9
Platonides [Thu, 31 May 2012 20:19:39 +0000 (22:19 +0200)]
Add BackupDumper to the tests AutoLoader and kill the
register globals include vulnerability added in
8ba9856.
Change-Id: If7fa6d76c91daa44aa53e80ac39be4860a763723
Translation updater bot [Thu, 31 May 2012 19:45:13 +0000 (19:45 +0000)]
Localisation updates from translatewiki.net.
Change-Id: I5dc83c468e542fccded921064326e2e2f2d4135f
umherirrender [Thu, 31 May 2012 19:05:40 +0000 (21:05 +0200)]
reverse text/sha1 output in export to match xsd
Change-Id: I84588e3d9692ee9eb7411b1e391abfc6c9ee89bf
Aaron Schulz [Thu, 31 May 2012 18:48:03 +0000 (18:48 +0000)]
Merge "Show revdel links instead of checkboxes on pages where there is no multiple log entry revdel form."
Mormegil [Thu, 31 May 2012 17:16:41 +0000 (19:16 +0200)]
(bug 35264) Wrong type used for <ns> in export.xsd
Change-Id: I6d5a399d3fde4d70a8814c4f8d107765c8e3da96
Platonides [Thu, 31 May 2012 17:15:33 +0000 (19:15 +0200)]
Set the status code to 500 on exceptions.
Should fix bug 37140, scripts served through
action=raw failing due to being served a html
error page.
As well as such as giving a better behavior
such as for search engines.
This could affect IE users by showing them
smart errors instead of the content, though.
Change-Id: I5d680fe10db6d61d91e898323bd5fb755a07135d
Aaron Schulz [Thu, 31 May 2012 17:10:07 +0000 (17:10 +0000)]
Merge "cleanup EditWatchlist a bit"
Aaron Schulz [Thu, 31 May 2012 17:06:50 +0000 (17:06 +0000)]
Merge "Revision::getTitle produce rev_id IS NULL query"
Platonides [Thu, 31 May 2012 15:29:43 +0000 (17:29 +0200)]
PHP >= 5.4.0 started taking advantage of $limit optimization of wfDebugBacktrace(),
which we weren't treating right.
* $limit in wfDebugBacktrace() is the number of returned frames,
we thus need to take into account the wfDebugBacktrace() frame, which
is sliced from debug_backtrace().
* wfGetCaller() needs to add a level for itself.
* MWDebug::warning() was logging itself as the warning issuer,
which is useless (the call a few lines before was right, though)
MWDebugTest.php changed accordingly.
* Removed double call to wfGetCaller( $callerOffset + 1 )
* Documented the meaning of wfGetCaller() parameter
* Added unit test
Change-Id: Ief50f4c810bad8b03bb2bf9dc6d945d9acb29851
umherirrender [Thu, 31 May 2012 15:23:50 +0000 (17:23 +0200)]
cleanup EditWatchlist a bit
* set fields explict in select statement
* get database connection only, if there is anything to do
* store often used object in local var
Change-Id: I41325ee0fdd935e48e2539668dfa0a46ff04af51
Reedy [Thu, 31 May 2012 13:54:00 +0000 (13:54 +0000)]
Merge "(bug 37194) remove obsoletes *.deps.php"
Tim Starling [Thu, 31 May 2012 12:36:19 +0000 (12:36 +0000)]
Merge "(bug 36839) Use mb_check_encoding() if available."
lupo [Thu, 31 May 2012 12:21:36 +0000 (14:21 +0200)]
(bug 36839) Use mb_check_encoding() if available.
This is not a real fix for the cause of the bug (which is a
pcre.recursion_limit that is far too low), but I do wonder
about the efficiency of using a regexp to test for valid
UTF-8 encoding. After all the regexp has to be compiled first
into a state machine.
Patch set 2: Php unit test for Language.checkTitleEncoding
Patch set 3: benchmark
Patch set 4: add benchmark for non-capturing subgroup in regexp, and
since that's faster than a capturing subgroup, use it in
checkTitleEncoding() in the regexp branch.
Patch set 5: use Tim's suggestion (once-only pattern) in the regexp
branch. Also add to benchmark.
Change-Id: I551f096921d4c9c57cbcb091b80ab5970ca86a9b
Reedy [Thu, 31 May 2012 10:19:36 +0000 (10:19 +0000)]
Merge "Localisation updates from translatewiki.net."
Antoine Musso [Wed, 30 May 2012 19:17:30 +0000 (21:17 +0200)]
missing $dbr instance in JobQueue
This comes from factoring done with commit
fb69ee4. To add quotes based
on the database type, we actually need a Database instance!
Fault introduced by https://gerrit.wikimedia.org/r/9116
Change-Id: I7a4f7fb1a744cd7adb5166e66424b664edb3d9e8
Translation updater bot [Wed, 30 May 2012 19:04:30 +0000 (19:04 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Idd4148e96ec8e655c55bf4a694bf9044deb5164b
Alex Monk [Tue, 15 May 2012 00:45:05 +0000 (01:45 +0100)]
Show revdel links instead of checkboxes on pages where there is no multiple log entry revdel form.
Change-Id: Ie061ee5b77a39c13628bfdb73f09cb3fa97dd090
Antoine Musso [Wed, 30 May 2012 14:51:12 +0000 (16:51 +0200)]
wrong class name: JobQueue -> Job
Commit
fb69ee48 used a wrong class name JobQueue instead of Job
Was https://gerrit.wikimedia.org/r/#/c/9116/
Change-Id: Ibe3e146e021a95376d2c57d0366645d8f5370431
Liangent [Tue, 29 May 2012 06:59:30 +0000 (14:59 +0800)]
Add new message 'brackets' and use it to kill some hardcoded []s.
Change-Id: Idae8d9201d1c291316ab520d204ae8c5cde2d890
Reedy [Tue, 29 May 2012 20:43:36 +0000 (20:43 +0000)]
Merge "Localisation updates from translatewiki.net."
Reedy [Tue, 29 May 2012 20:43:24 +0000 (20:43 +0000)]
Merge "Added missing GPLv2 headers in some places."
Aaron Schulz [Sat, 26 May 2012 03:41:06 +0000 (20:41 -0700)]
Removed dead code since PHP minimum is > 5.2.1.
Change-Id: I565ff44e5e058ce72cd2eaeaec9ea1e441d01010
Aaron Schulz [Tue, 29 May 2012 20:20:58 +0000 (20:20 +0000)]
Merge "Unused variable $wgUser"
Aaron Schulz [Tue, 29 May 2012 20:19:58 +0000 (20:19 +0000)]
Merge "(bug 37072) - prevents infinite job loop"
Translation updater bot [Tue, 29 May 2012 19:17:15 +0000 (19:17 +0000)]
Localisation updates from translatewiki.net.
Change-Id: Ia3e858b72222f17a8bdefcfac3541f97327a6ffc
Hashar [Tue, 29 May 2012 18:59:38 +0000 (18:59 +0000)]
Merge "Change if/else to a ternary operator"
Platonides [Mon, 28 May 2012 17:37:35 +0000 (19:37 +0200)]
Change if/else to a ternary operator
This keep the wfProfileOut() detector happy.
Change-Id: I85ecc33121d94e6a2d2e8ea3d1f5ca47f3db86bc
Hashar [Tue, 29 May 2012 18:43:55 +0000 (18:43 +0000)]
Merge "Minor changes to Ic50d01f5 Accept-Language code."
Platonides [Mon, 28 May 2012 16:23:53 +0000 (18:23 +0200)]
Minor changes to Ic50d01f5 Accept-Language code.
Minor improvments to commit
894c5c1
Change-Id: I8cc63cb1ba2c3aa74ca9e225022d5be75e75ad23
Aaron Schulz [Tue, 29 May 2012 18:08:25 +0000 (18:08 +0000)]
Merge "wfProfileOut() for new return added in c6396 (
c4e407c)"
Platonides [Tue, 29 May 2012 17:54:48 +0000 (19:54 +0200)]
Unused variable $wgUser
Change-Id: Ib00ba04cc372788b791fec3f1358048530ecca9f
Platonides [Tue, 29 May 2012 17:34:43 +0000 (19:34 +0200)]
wfProfileOut() for new return added in c6396 (
c4e407c)
Change-Id: I9fed0ba277fb32df65a772c8c4de123e2867b4c5
Aaron Schulz [Tue, 29 May 2012 17:29:19 +0000 (17:29 +0000)]
Merge "Adding sanity check to Title::isRedirect()."
Alexandre Emsenhuber [Tue, 29 May 2012 17:09:01 +0000 (19:09 +0200)]
Fix user rights check to display the "revert" link on file histories.
* Don't do expensive checks for display (for the consistency of the interface)
* Removed the logged-in check and changed it for 'upload' right (as the user need this right to execute the action)
Change-Id: Ie5752e5292a953cbcf81ab665365c3efbd4eba6a
Aaron Schulz [Sat, 26 May 2012 20:27:38 +0000 (13:27 -0700)]
Handle more ES exceptions when getting text.
Change-Id: I795dce37bcf4a24d5922d2d5166bf27ba9b77607
Max Semenik [Fri, 25 May 2012 15:05:21 +0000 (19:05 +0400)]
`mobile` sub-directories for mobile-related code
Move DeviceDetection.php and DeviceDetectionTest.php
Change-Id: Ia4aaf7ad499dd2021ef9d2ebf7f6d829e8fc4656
daniel [Thu, 24 May 2012 14:48:46 +0000 (16:48 +0200)]
Adding sanity check to the LinksUpdate() constructor.
The check makes sure that the page id is known for the title
passed to the constructor. LinksUpdate needs to know this id in
order to update the various links tables. If the page id is not
known to the title (e.g. because the page doesn't actually exist)
something is wrong, and LinksUpdate can't operate.
Amend: use MWException instead of assert()
Change-Id: I4873211a71099fe3563b52a53532c95b6a2ff30f
daniel [Thu, 24 May 2012 14:42:26 +0000 (16:42 +0200)]
Adding sanity check to Title::isRedirect().
isRedirect() assumes that the LinkCache already contains
information about this title. If that is not the case, it
currently returns false, even though it just doesn't know
whether this link is a redirect.
The new check asserts the assumption that this title
is already known to the link cache.
Amend: use Exception instead of assert()
Change-Id: Id3ad2d4e140b270b1f5ca1f7af9b3320cffff5a2
Platonides [Mon, 28 May 2012 16:39:57 +0000 (18:39 +0200)]
tests covering WebRequest->getAcceptLang()
Change-Id: I981574e854bc43aba2bd5def7cb6b1b665c5b6ca
Hoo man [Sun, 27 May 2012 12:37:19 +0000 (14:37 +0200)]
Fixed the API doc. for aurights (list=allusers)
Listings with aurights can't show users with rights which are
granted by implicit or auto-promoted groups like *, user, or autoconfirmed.
This is my first commit, btw.
Change-Id: I083eb977393729961317d0f3cf9f7cfaa50fde51
Antoine Musso [Tue, 29 May 2012 12:05:03 +0000 (14:05 +0200)]
(bug 37194) remove obsoletes *.deps.php
PHP had a nasty bug related to late/early binding and referenced at
https://bugs.php.net/bug.php?id=56776 . The workaround was to add some
.deps.php files to make sure code is loaded early.
Upstream PHP issue #56778 was fixed in PHP 5.1.
See also:
http://lists.wikimedia.org/pipermail/wikitech-l/2006-January/021311.html
Change-Id: I4c85f65c6b5f3df3218bb107881547d44f0cf107
Antoine Musso [Mon, 28 May 2012 08:20:19 +0000 (10:20 +0200)]
(bug 37072) - prevents infinite job loop
nextJob.php does not honor jobs types being excluded from the default
job queue by using $wgJobTypesExcludedFromDefaultQueue. Since those jobs
can never get processed, nextJob.php will always return a database which
might produce a nasty infinite loop while trying to process the whole
queue.
Job::pop did take in account wgJobTypesExcludedFromDefaultQueue to
filter the jobs out. So this patch factor out the code in a new method
and uses it for nextJob.php.
Change-Id: I15197ffcca00f229c9004e2abd87e009bc40f384
Alexandre Emsenhuber [Fri, 25 May 2012 06:24:55 +0000 (08:24 +0200)]
Added missing GPLv2 headers in some places.
Also made file/class documentation more consistent.
Change-Id: Ia1a7230adc92079b505362317d2e03b36130cc8b
Liangent [Tue, 29 May 2012 08:03:59 +0000 (16:03 +0800)]
(bug 37186) Remove hard coded parentheses in ImagePage.php
Change-Id: Ib516e501953f37a69707a5de3e2ed96004760caa