lhc/web/wiklou.git
12 years agonicely align array key / values
Antoine Musso [Tue, 29 Nov 2011 11:34:05 +0000 (11:34 +0000)]
nicely align array key / values

12 years agoabstract out section sanity check
Antoine Musso [Tue, 29 Nov 2011 11:27:29 +0000 (11:27 +0000)]
abstract out section sanity check

$section is now a private propery.
The new function avoid code duplication.

12 years agonice debug msg for Title::getRestrictionTypes
Antoine Musso [Tue, 29 Nov 2011 10:52:26 +0000 (10:52 +0000)]
nice debug msg for Title::getRestrictionTypes

12 years agorestore parser tests names
Antoine Musso [Tue, 29 Nov 2011 10:22:09 +0000 (10:22 +0000)]
restore parser tests names

r100932 disabled two 'Bad images' tests but did so by also erasing the
test name. Hence we could no more tests them even with --run-disabled.

Test plan:
==========

$ php parserTests.php --run-disabled --filter 'Bad images'
--> output two tests failing as expected

$ php parserTests.php --filter 'Bad images'
--> output no tests found

$ php parserTests.php --quiet
--> ALL PASSED :-)

12 years agoBit more documentation
Sam Reed [Tue, 29 Nov 2011 00:09:04 +0000 (00:09 +0000)]
Bit more documentation

(test commit also)

12 years ago* (bug 32276) Skins were generating output using the internal page title which would...
Sam Reed [Mon, 28 Nov 2011 23:18:55 +0000 (23:18 +0000)]
* (bug 32276) Skins were generating output using the internal page title which would allow anonymous users to determine wheter a page exists, potentially leaking private data. In fact, the curid and oldid request parameters would
  allow page titles to be enumerated even when they are not guessable.
* (bug 32616) action=ajax requests were dispatched to the relevant internal functions without any read permission checks being done. This could lead to data leakage on private wikis.

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Mon, 28 Nov 2011 21:01:31 +0000 (21:01 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years ago* (bug 27721) Make JavaScript variables wgSeparatorTransformTable and wgDigitTransfor...
Robin Pepermans [Mon, 28 Nov 2011 20:53:26 +0000 (20:53 +0000)]
* (bug 27721) Make JavaScript variables wgSeparatorTransformTable and wgDigitTransformTable depend on page content language so the sort script sorts correctly more often. It will e.g. sort according to the user language on special pages, where localised numbers are usually used.
* New JavaScript variable wgPageContentLanguage (independent from the bug, but I assume this var can be useful)

12 years ago* (bug 32688) Paraminfo for parameter "generator" of the query module shows too many...
Sam Reed [Mon, 28 Nov 2011 20:35:32 +0000 (20:35 +0000)]
* (bug 32688) Paraminfo for parameter "generator" of the query module shows too many types

Pass prop and list through the generator filtering in the constructor

12 years agoFollowup r104445, swap the xmlnamespace url back to http://
Sam Reed [Mon, 28 Nov 2011 20:04:40 +0000 (20:04 +0000)]
Followup r104445, swap the xmlnamespace url back to 

12 years agoRevert r104274, r104284, r104285 -- breaks special pages on non-english
Brion Vibber [Mon, 28 Nov 2011 19:55:49 +0000 (19:55 +0000)]
Revert r104274, r104284, r104285 -- breaks special pages on non-english

12 years ago* (bug 32659) Code cleanup: normalize order of params to implode() in Language::...
Brion Vibber [Mon, 28 Nov 2011 19:30:34 +0000 (19:30 +0000)]
* (bug 32659) Code cleanup: normalize order of params to implode() in Language:: functions

Patch by Daniel Werner, https://bugzilla.wikimedia.org/attachment.cgi?id=9555&action=diff

For "historical reasons" implode() accepts parameters as ($list, $sep) as well as the usual ($sep, $list) but it's better to use the standard to be clear.

12 years agoFollowup r104441
Sam Reed [Mon, 28 Nov 2011 19:17:06 +0000 (19:17 +0000)]
Followup r104441

Fix capitalisation mismatch

12 years agoURL-ify index.php urls
Sam Reed [Mon, 28 Nov 2011 19:02:59 +0000 (19:02 +0000)]
URL-ify index.php urls

12 years agoOh noes, moar http:// -> https://
Sam Reed [Mon, 28 Nov 2011 15:43:11 +0000 (15:43 +0000)]
Oh noes, moar http:// -> https://

12 years agoAdded "ApiGetDescription" hook
Sam Reed [Mon, 28 Nov 2011 15:33:28 +0000 (15:33 +0000)]
Added "ApiGetDescription" hook

12 years agoBump MySQL version to 5.0.2 after r104047
Sam Reed [Mon, 28 Nov 2011 15:19:20 +0000 (15:19 +0000)]
Bump MySQL version to 5.0.2 after r104047

Documentation

12 years agouse meaningful test in a parser test
Antoine Musso [Mon, 28 Nov 2011 15:19:09 +0000 (15:19 +0000)]
use meaningful test in a parser test

Readin the text case, I though 'pre' was some kind of magic keyword to render
a preformatted text. It happens it is just a text. Replacing it with something
that will not confuse me or others.

follow up r103933

12 years agoHttps for all!
Sam Reed [Mon, 28 Nov 2011 15:17:46 +0000 (15:17 +0000)]
Https for all!

(omg, this hadn't been reported)

12 years agoFix r104410: Added default value for $options to purgeThumbnails(), not sure how...
Aaron Schulz [Mon, 28 Nov 2011 09:03:39 +0000 (09:03 +0000)]
Fix r104410: Added default value for $options to purgeThumbnails(), not sure how this was lost in the patch

12 years agoFU r104410: don't even bother calling filterThumbnailPurgeList() if 'forRefresh'...
Aaron Schulz [Mon, 28 Nov 2011 08:57:46 +0000 (08:57 +0000)]
FU r104410: don't even bother calling filterThumbnailPurgeList() if 'forRefresh' isn't set to be safe

12 years agoRestored r98710 but with a 'forRefresh' option (not used yet)
Aaron Schulz [Mon, 28 Nov 2011 08:53:03 +0000 (08:53 +0000)]
Restored r98710 but with a 'forRefresh' option (not used yet)

12 years agousing real identity for hashar
Antoine Musso [Mon, 28 Nov 2011 06:52:34 +0000 (06:52 +0000)]
using real identity for hashar

Most other occurrences where changed by r100588 already.
Thanks to "Reach Out to the Truth" for spotting this one.

12 years agoFix for r101677: remove the extra parameters from the other getImageArea() callers.
Tim Starling [Mon, 28 Nov 2011 04:40:31 +0000 (04:40 +0000)]
Fix for r101677: remove the extra parameters from the other getImageArea() callers.

12 years agoFix for r99911: don't use getImageArea() to determine the area for comparison against...
Tim Starling [Mon, 28 Nov 2011 04:37:15 +0000 (04:37 +0000)]
Fix for r99911: don't use getImageArea() to determine the area for comparison against $wgMaxImageArea, this breaks the $wgMaxAnimatedGifArea feature completely.

12 years agoFollowup r104353, updating Special:ProtectedTitles
John Du Hart [Mon, 28 Nov 2011 00:31:05 +0000 (00:31 +0000)]
Followup r104353, updating Special:ProtectedTitles
Adds HTML form fields for namespaces and restriction levels
Adds getVal() to HTMLForm

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sun, 27 Nov 2011 20:45:01 +0000 (20:45 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoRegister new message key from r104325
Raimond Spekking [Sun, 27 Nov 2011 20:35:04 +0000 (20:35 +0000)]
Register new message key from r104325

12 years agoFollowup r104353, updating Special:Categories
John Du Hart [Sun, 27 Nov 2011 19:17:07 +0000 (19:17 +0000)]
Followup r104353, updating Special:Categories

12 years agoAdding $gallery field to NewFilesPager
John Du Hart [Sun, 27 Nov 2011 19:05:01 +0000 (19:05 +0000)]
Adding $gallery field to NewFilesPager

12 years agoFollowup r104353, updating Special:NewFiles
John Du Hart [Sun, 27 Nov 2011 19:03:56 +0000 (19:03 +0000)]
Followup r104353, updating Special:NewFiles

12 years agoFollowup r104353, fixing a regression in the BlockList
John Du Hart [Sun, 27 Nov 2011 18:28:13 +0000 (18:28 +0000)]
Followup r104353, fixing a regression in the BlockList

12 years agoThis is the rework I was talking about in r104318 for 1.19. Instead of having Pager...
John Du Hart [Sun, 27 Nov 2011 18:23:50 +0000 (18:23 +0000)]
This is the rework I was talking about in r104318 for 1.19. Instead of having Pager subclasses build HTML forms by hand build HTMLForm into the Pager class. Much less painful, no?

This is simply a first pass, there's many more classes to convert.

12 years agoFollowup r104318, sort the options in the limit dropdown
John Du Hart [Sun, 27 Nov 2011 17:31:14 +0000 (17:31 +0000)]
Followup r104318, sort the options in the limit dropdown

12 years agoBug 32673: Keep the username in the input field if not existing
Platonides [Sun, 27 Nov 2011 16:28:54 +0000 (16:28 +0000)]
Bug 32673: Keep the username in the input field if not existing
We could also add on LogEventsList.php line 870
$this->performer = $name;
but that method is also used to build the query, which we don't want to affect.

12 years agoMake Skin::formatDebugHTML()'s formatting work when memory usage is greather that 10M
Alexandre Emsenhuber [Sun, 27 Nov 2011 16:20:13 +0000 (16:20 +0000)]
Make Skin::formatDebugHTML()'s formatting work when memory usage is greather that 10M

12 years agoTest to ensure that after adding a category to a template, the articles get moved...
Platonides [Sun, 27 Nov 2011 16:12:20 +0000 (16:12 +0000)]
Test to ensure that after adding a category to a template, the articles get moved into that category.

Articles containing [[es:Plantilla:Ficha_de_pelĂ­cula]] showed the categories at the bottom, but were
not in categorylinks (solved by a doing a null edit to the template and waiting for the job queue, but
how did that situation happen to begin with?).

12 years agoUse protocol-relative URL for link to MediaWiki.org (as with the footer logo on each...
Robin Pepermans [Sun, 27 Nov 2011 15:38:05 +0000 (15:38 +0000)]
Use protocol-relative URL for link to MediaWiki.org (as with the footer logo on each page)

12 years ago* Use WikiPage instead of Article in Skin and SkinTemplate
Alexandre Emsenhuber [Sun, 27 Nov 2011 09:39:24 +0000 (09:39 +0000)]
* Use WikiPage instead of Article in Skin and SkinTemplate
* Added $context parameter to Action::factory() to allow callers passing a WikiPage object in addition to Article (otherwise this would throw a fatal error in getContext() since WikiPage::getContext() does not exist)

12 years agoConsistency tweak for r104325
Raimond Spekking [Sun, 27 Nov 2011 09:30:20 +0000 (09:30 +0000)]
Consistency tweak for r104325

12 years agoadded action message
Jeroen De Dauw [Sat, 26 Nov 2011 23:48:57 +0000 (23:48 +0000)]
added action message

12 years agodocs++
Jeroen De Dauw [Sat, 26 Nov 2011 23:23:59 +0000 (23:23 +0000)]
docs++

12 years agoabout time I added myself :)
Jeroen De Dauw [Sat, 26 Nov 2011 23:23:11 +0000 (23:23 +0000)]
about time I added myself :)

12 years agoFollowup r104318, add the new class to the Autoloader
John Du Hart [Sat, 26 Nov 2011 23:05:47 +0000 (23:05 +0000)]
Followup r104318, add the new class to the Autoloader

12 years agoFollowup r103984, take the default for the language dropdown from the URL
John Du Hart [Sat, 26 Nov 2011 22:50:05 +0000 (22:50 +0000)]
Followup r103984, take the default for the language dropdown from the URL

12 years agoUpdating my name position in the CREDITS.
John Du Hart [Sat, 26 Nov 2011 22:19:44 +0000 (22:19 +0000)]
Updating my name position in the CREDITS.

Not to trying be pretentious or anything just, ya know.

12 years agoBug 32603 - limit option is missing on Special:BlockList
John Du Hart [Sat, 26 Nov 2011 22:15:36 +0000 (22:15 +0000)]
Bug 32603 - limit option is missing on Special:BlockList

Okay so essentially this is a workaround for a 1.18 release blocker, and is not a real solution. The real solution is to rework the Pager class to work with HTMLForm and then move the form for BlockList into the BlockListPager. I'll have that done before 1.19.

12 years agoAdded parser test about brackets and for bug 21261
Platonides [Sat, 26 Nov 2011 21:47:37 +0000 (21:47 +0000)]
Added parser test about brackets and for bug 21261

12 years agoFollow-up r104312, tab to space
Bryan Tong Minh [Sat, 26 Nov 2011 21:46:51 +0000 (21:46 +0000)]
Follow-up r104312, tab to space

12 years ago(bug 32630) Add image/vnd.adobe.photoshop as alias for image/x-photoshop
Bryan Tong Minh [Sat, 26 Nov 2011 21:45:08 +0000 (21:45 +0000)]
(bug 32630) Add image/vnd.adobe.photoshop as alias for image/x-photoshop

12 years agoQqq for r99224
Bryan Tong Minh [Sat, 26 Nov 2011 21:41:27 +0000 (21:41 +0000)]
Qqq for r99224

12 years agoFollow-up r92364: Update hooks documentation
Bryan Tong Minh [Sat, 26 Nov 2011 21:31:22 +0000 (21:31 +0000)]
Follow-up r92364: Update hooks documentation

12 years agoBug 32666 - Special:ActiveUsers should use given subpage as username and prefill...
John Du Hart [Sat, 26 Nov 2011 20:58:15 +0000 (20:58 +0000)]
Bug 32666 - Special:ActiveUsers should use given subpage as username and prefill the input field

12 years agoBug 32665 - Special:BlockList/username is using given username, but does not show...
John Du Hart [Sat, 26 Nov 2011 20:40:59 +0000 (20:40 +0000)]
Bug 32665 - Special:BlockList/username is using given username, but does not show the username in the input field

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Sat, 26 Nov 2011 20:30:25 +0000 (20:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years agoMore protocol relative links, reported by OsamaK@translatewiki.net (openid.net suppor...
Raimond Spekking [Sat, 26 Nov 2011 18:05:51 +0000 (18:05 +0000)]
More protocol relative links, reported by OsamaK@translatewiki.net (openid.net supports HTTPS)
https://translatewiki.net/wiki/Thread:Support/About_MediaWiki:Openidlogininstructions/ar

12 years agoFollowup r104274; Add '$key' to the $data array as well.
Daniel Friesen [Sat, 26 Nov 2011 17:43:45 +0000 (17:43 +0000)]
Followup r104274; Add '$key' to the $data array as well.

12 years agoImplement path routing code.
Daniel Friesen [Sat, 26 Nov 2011 16:29:25 +0000 (16:29 +0000)]
Implement path routing code.
- Makes extending paths with extensions simpler.
- Should fix bug 32621 by parsing paths based on pattern weight rather than pattern order.

12 years agoFixes for LanguageConverter::parseCachedTable() (seems really broken for subpages...
Alexandre Emsenhuber [Sat, 26 Nov 2011 15:12:23 +0000 (15:12 +0000)]
Fixes for LanguageConverter::parseCachedTable() (seems really broken for subpages at the moment):
* Use Revsion::newFromTitle() to get the text instead of Article, avoids interference with "oldid" URL parameter. Also Article::getContents() (with final "s") does not exist and would throw a fatal error.
* Check if $subpage is empty before using the message cache instead of '/' in $code
* Early return if the page contains no text

12 years agoAdd colon to message, see https://translatewiki.net/wiki/Thread:Support/Missing_colon...
Purodha B Blissenbach [Sat, 26 Nov 2011 09:03:20 +0000 (09:03 +0000)]
Add colon to message, see https://translatewiki.net/wiki/Thread:Support/Missing_colon_at_MediaWiki:Config-db-schema

12 years agoFollowup r102624
Sam Reed [Sat, 26 Nov 2011 00:32:30 +0000 (00:32 +0000)]
Followup r102624

Change $wgRealNameInInterface default to false

<mumble>change</mumble>

12 years agoLocalisation updates for core and extension messages from translatewiki.net
Raimond Spekking [Fri, 25 Nov 2011 17:03:37 +0000 (17:03 +0000)]
Localisation updates for core and extension messages from translatewiki.net

12 years ago&nbsp; -> &#160;
Antoine Musso [Fri, 25 Nov 2011 12:22:47 +0000 (12:22 +0000)]
&nbsp; -> &#160;

follow r103708

12 years agoFU r103738: redid the method of getting the source file name for thumbnails altogethe...
Aaron Schulz [Fri, 25 Nov 2011 02:21:46 +0000 (02:21 +0000)]
FU r103738: redid the method of getting the source file name for thumbnails altogether, using suggestion per CR.

12 years agoImprove comment from r104047
Sam Reed [Fri, 25 Nov 2011 00:16:34 +0000 (00:16 +0000)]
Improve comment from r104047

Also bump MySQL min requirements to 5.0.2 to save an extra conditional

>= 5.0.2 has been around ages..

12 years ago"else if" to "elseif"
Sam Reed [Fri, 25 Nov 2011 00:15:27 +0000 (00:15 +0000)]
"else if" to "elseif"

12 years agoLocalisation updates for ToolserverI18N from translatewiki.net
Raimond Spekking [Thu, 24 Nov 2011 20:50:30 +0000 (20:50 +0000)]
Localisation updates for ToolserverI18N from translatewiki.net

12 years agoAdded Database::getServerUptime() function to return seconds of uptime
Aaron Schulz [Thu, 24 Nov 2011 19:55:38 +0000 (19:55 +0000)]
Added Database::getServerUptime() function to return seconds of uptime

12 years agoFollowup r104033, explicitly define the array
Sam Reed [Thu, 24 Nov 2011 16:28:19 +0000 (16:28 +0000)]
Followup r104033, explicitly define the array

12 years agoFollow-up r99389: Lower diacritics are invisible in titles in Indic languages Assames...
Siebrand Mazeland [Thu, 24 Nov 2011 12:18:52 +0000 (12:18 +0000)]
Follow-up r99389: Lower diacritics are invisible in titles in Indic languages Assamese, Bengali and Odiya.
Add bug numbers and issue description to release notes.

12 years agoUpdate img_auth.php and WebRequest code to handle non index.php scripts like img_auth...
Daniel Friesen [Thu, 24 Nov 2011 09:55:33 +0000 (09:55 +0000)]
Update img_auth.php and WebRequest code to handle non index.php scripts like img_auth.php better.
Also update img_auth.php so it's abuse of $wg variables is done in a way that doesn't let "/*" action paths clobber it's handling.
This should theoretically fix bug 32486.

12 years agoFix documentation for $wgUploadPath in DefaultSettings.php, it's $wgScriptPath/images...
Daniel Friesen [Thu, 24 Nov 2011 09:52:46 +0000 (09:52 +0000)]
Fix documentation for $wgUploadPath in DefaultSettings.php, it's $wgScriptPath/images not $IP/images for the url path.

12 years agoUpdate maintenance/dev/'s router, add handling for things like /wiki/File:Foo.png...
Daniel Friesen [Thu, 24 Nov 2011 09:50:22 +0000 (09:50 +0000)]
Update maintenance/dev/'s router, add handling for things like /wiki/File:Foo.png which end up with a SCRIPT_NAME but not SCRIPT_FILENAME.

12 years agofix comment prefixed by '+' introduced in r103679
Antoine Musso [Thu, 24 Nov 2011 09:46:10 +0000 (09:46 +0000)]
fix comment prefixed by '+' introduced in r103679

12 years agorevert r102636
Antoine Musso [Thu, 24 Nov 2011 09:41:54 +0000 (09:41 +0000)]
revert r102636

This move back the maintenance finalSetup code above core Setup.
If we really need to do any setup after core Setup has run, we should use
a new method in the Maintenance class. For example afterCoreSetup()

12 years agoModify maintenance/dev/ router code to fix the bug where post data gets discarded...
Daniel Friesen [Thu, 24 Nov 2011 08:41:57 +0000 (08:41 +0000)]
Modify maintenance/dev/ router code to fix the bug where post data gets discarded and you can't login inside the dev environment.

12 years agoFollowup r103945: fix regression in XML export namespace formatting for namespaces...
Brion Vibber [Thu, 24 Nov 2011 01:26:52 +0000 (01:26 +0000)]
Followup r103945: fix regression in XML export namespace formatting for namespaces with spaces in them (eg 'User talk')

The changes in r103945 for bug 32376, bug 31697 accidentally let underscore-forms through for the namespace portion, when we're supposed to have the space form. Causes problems with search indexing.

12 years agoAdded wasLockTimeout() DB function. All our DBMS can implement this accept for PG.
Aaron Schulz [Wed, 23 Nov 2011 23:45:46 +0000 (23:45 +0000)]
Added wasLockTimeout() DB function. All our DBMS can implement this accept for PG.

12 years agoReverted 'lockTimeout' option from r104069: table_lock_wait_timeout is GLOBAL and...
Aaron Schulz [Wed, 23 Nov 2011 21:03:57 +0000 (21:03 +0000)]
Reverted 'lockTimeout' option from r104069: table_lock_wait_timeout is GLOBAL and the other one requires an innoDB plugin...so that was useless.

12 years agoadd usage for --no-extensions
Antoine Musso [Wed, 23 Nov 2011 21:02:59 +0000 (21:02 +0000)]
add usage for --no-extensions

12 years agoFollowup r100722, show the full size of the page in the tooltip
John Du Hart [Wed, 23 Nov 2011 21:01:03 +0000 (21:01 +0000)]
Followup r100722, show the full size of the page in the tooltip

12 years agoFix hook copy paste fail
Sam Reed [Wed, 23 Nov 2011 20:37:13 +0000 (20:37 +0000)]
Fix hook copy paste fail

Move rest of captcha params out of api/ApiEditPage.php

12 years agoFactored setTimeout() into setSessionOptions() and deprecated the former. In the...
Aaron Schulz [Wed, 23 Nov 2011 19:25:59 +0000 (19:25 +0000)]
Factored setTimeout() into setSessionOptions() and deprecated the former. In the future we can batch the queries perhaps. Also added a lock wait timeout option.

12 years ago* (bug 32609) API: Move captchaid/captchaword of action=edit from core to Captcha...
Sam Reed [Wed, 23 Nov 2011 19:09:57 +0000 (19:09 +0000)]
* (bug 32609) API: Move captchaid/captchaword of action=edit from core to Captcha extension(s)

Left setting of wpCaptchaId and wpCaptchaWord in core. Can't think of a sane way to check and set them via an extension (subclass and override, or a hook). Annoyingly APIEditBeforeSave doesn't pass the params array

12 years agoFollow-up r104051: Rebuild message files.
Siebrand Mazeland [Wed, 23 Nov 2011 18:46:12 +0000 (18:46 +0000)]
Follow-up r104051: Rebuild message files.

12 years agoFollow-up r104051: fix tests
Max Semenik [Wed, 23 Nov 2011 17:27:08 +0000 (17:27 +0000)]
Follow-up r104051: fix tests

12 years ago(bug 29475) Remove "trackback" feature entirely from core. This has been disabled...
Chad Horohoe [Wed, 23 Nov 2011 17:14:03 +0000 (17:14 +0000)]
(bug 29475) Remove "trackback" feature entirely from core. This has been disabled-by-default since its inception and nobody uses it.

If someone really really wants this, they can write an extension.

Language files need rebuilding, but I took care of En and messages.inc.

12 years agoKill mysql4 specific code from DatabaseMysql
Sam Reed [Wed, 23 Nov 2011 16:27:48 +0000 (16:27 +0000)]
Kill mysql4 specific code from DatabaseMysql

Set minimum version of mysql in MysqlInstaller

12 years agoKill some more mysql 4 related things from the installer
Sam Reed [Wed, 23 Nov 2011 16:21:57 +0000 (16:21 +0000)]
Kill some more mysql 4 related things from the installer

* (bug 32217) Drop MySQL 4 support

12 years agoKill $wgDBmysql4 from DefaultSettings.php, not used in phase3 or any extensions in...
Sam Reed [Wed, 23 Nov 2011 16:14:43 +0000 (16:14 +0000)]
Kill $wgDBmysql4 from DefaultSettings.php, not used in phase3 or any extensions in our SVN

Part of:
* (bug 32217) Drop MySQL 4 support

12 years agoTrim trailing whitespace
Sam Reed [Wed, 23 Nov 2011 16:11:07 +0000 (16:11 +0000)]
Trim trailing whitespace

12 years agoFull stops at end of lines
Sam Reed [Wed, 23 Nov 2011 16:10:34 +0000 (16:10 +0000)]
Full stops at end of lines

Update comment about history (will have 1.18 in it by the 1.19 release)

12 years agoUser: document 2 returns
Antoine Musso [Wed, 23 Nov 2011 15:53:03 +0000 (15:53 +0000)]
User: document 2 returns

12 years agoMake installer error out if php was compiled without ctype support.
Brian Wolff [Wed, 23 Nov 2011 14:33:33 +0000 (14:33 +0000)]
Make installer error out if php was compiled without ctype support.

This is probably very few people, because you have to actively disable ctype support in order for it not to be compilied in to php. However, there was thread in support desk recently about this ( http://www.mediawiki.org/wiki/Thread:Project:Support_desk/Blank_page_after_install )

(I suppose we could implement work around functions in the case ctype was missing, but doesn't really seem worth it given that its enabled by default, so almost no one will be missing it)

12 years agoFix typo in trunk as in branch (r103778)
Robin Pepermans [Wed, 23 Nov 2011 14:06:10 +0000 (14:06 +0000)]
Fix typo in trunk as in branch (r103778)

12 years agoFollowup r102951: per CR, remove duplicated empty string from API extlinks modules...
Roan Kattouw [Wed, 23 Nov 2011 13:41:39 +0000 (13:41 +0000)]
Followup r102951: per CR, remove duplicated empty string from API extlinks modules' protocol params, and remove // from the list of protocols on Special:LinkSearch

12 years ago(bug 29569) Avoid fatal errors in OutputPage when nonexistent module names are passed in
Roan Kattouw [Wed, 23 Nov 2011 13:27:50 +0000 (13:27 +0000)]
(bug 29569) Avoid fatal errors in OutputPage when nonexistent module names are passed in

12 years agoFollowup r101507: don't automatically use APC for the localization cache if it is...
Roan Kattouw [Wed, 23 Nov 2011 13:12:22 +0000 (13:12 +0000)]
Followup r101507: don't automatically use APC for the localization cache if it is available. I've expressed reservations in my CR comments (issues abound wherever maintenance scripts, server farms or manualRecache are involved), but the real reason is that three people (Siebrand on CR, Antoine/hashar in person and Rusty Burchfield on bug 32602) have reported problems with the APC LC, and had to set $wgLocalisationCacheConf['store'] = 'files'; explicitly to get LC to work again.

12 years agoFollowup r103817, updating setLang usages
John Du Hart [Wed, 23 Nov 2011 10:28:21 +0000 (10:28 +0000)]
Followup r103817, updating setLang usages

12 years agoFix typo in r103751
Roan Kattouw [Wed, 23 Nov 2011 10:25:07 +0000 (10:25 +0000)]
Fix typo in r103751