lhc/web/wiklou.git
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

12 years agoFollowup r103817, backing out ContextSource changes to SpecialPage and Action
John Du Hart [Wed, 23 Nov 2011 09:53:37 +0000 (09:53 +0000)]
Followup r103817, backing out ContextSource changes to SpecialPage and Action

12 years agotweak hook doc; followup r103762
Brion Vibber [Wed, 23 Nov 2011 00:56:45 +0000 (00:56 +0000)]
tweak hook doc; followup r103762

12 years agoRevert r103770 (bug 24037) -- added full-page size to Special:Contribs which doesn...
Brion Vibber [Wed, 23 Nov 2011 00:48:48 +0000 (00:48 +0000)]
Revert r103770 (bug 24037) -- added full-page size to Special:Contribs which doesn't seem to be what we want here?

12 years agoRevert r103795 -- adds <dws> pseudotag which modifies preprocessor behavior in some...
Brion Vibber [Wed, 23 Nov 2011 00:30:13 +0000 (00:30 +0000)]
Revert r103795 -- adds <dws> pseudotag which modifies preprocessor behavior in some way to eat whitespace

Not sure whether this is something we want, but it should probably be talked over first.

12 years agoRevert r103978, r103979 -- screwed something up, breaks jQuery minification.
Brion Vibber [Wed, 23 Nov 2011 00:22:46 +0000 (00:22 +0000)]
Revert r103978, r103979 -- screwed something up, breaks jQuery minification.

Incremented ResourceLoader::filterCacheVersion rather than decrementing to avoid potential confusion, especially since we already needed the incr.

12 years agoFollowup r103814, fixed a few typos and a stray newline
John Du Hart [Wed, 23 Nov 2011 00:03:42 +0000 (00:03 +0000)]
Followup r103814, fixed a few typos and a stray newline

12 years agoFunctional part of r103978 (d'oh!) plus an update to the ResourceLoader filter cache...
Brion Vibber [Tue, 22 Nov 2011 23:20:50 +0000 (23:20 +0000)]
Functional part of r103978 (d'oh!) plus an update to the ResourceLoader filter cache key, so broken entries stuck in cache will be reloaded.

12 years agoFollowup r103865 and r103915
Brion Vibber [Tue, 22 Nov 2011 23:10:22 +0000 (23:10 +0000)]
Followup r103865 and r103915

r103915 added a parse error for 'more than 2 decimal points' in a number; this is the wrong place to check for that. Should only check whether there's more digits or identifier chars -- identifier chars would be illegal.

Added test cases for the exponent missing fails, tweaked it to be more consistent (only need to check for one e; if we have more we can lump them in with 'not digits' :)

Also cleaned up no-longer-needed suppress/restore warnings around JS parser invocation

12 years ago(bug 29747) eAccelerator shared memory caching has been removed since it is now disab...
Chad Horohoe [Tue, 22 Nov 2011 22:56:00 +0000 (22:56 +0000)]
(bug 29747) eAccelerator shared memory caching has been removed since it is now disabled by default and is buggy. APC, XCache and WinCache are not affected.

As Brion points out in <https://bugzilla.wikimedia.org/show_bug.cgi?id=29747#c7>, the shared memory functions are very buggy. In fact, eAccelerator has disabled the shared memory functions by default for awhile now. I didn't touch APC, XCache or WinCache, but I imagine they suffer from the same problems.

12 years agoFollowup r102785: fix typo in index name. Thanks to Platonides and his special page...
Roan Kattouw [Tue, 22 Nov 2011 20:51:13 +0000 (20:51 +0000)]
Followup r102785: fix typo in index name. Thanks to Platonides and his special page test thingy for noticing this

12 years ago* (bug 32376) XML export tweak to use canonical user namespaces instead of gendered...
Brion Vibber [Tue, 22 Nov 2011 19:33:53 +0000 (19:33 +0000)]
* (bug 32376) XML export tweak to use canonical user namespaces instead of gendered ones for now

The gendered namespaces aren't listed in the <siteinfo> namespaces list, and just adding them as-is may break reader implementations.
Using the canonical form should have little effect on most activity while keeping things working.

Should resolve Lucene search problems (bug 31697) related to the Lucene search indexer not understanding the gendered namespace names.
After fix and reindex, the canonical forms should get returned and automatically transformed back into appropriate gendered forms in the search view.

[per IRC discussion check-up with Ariel about this bug and the patches on bug 30513 which cover related namespacey issues]

12 years agoFinal fixup to r103910 and follow-ups.
Platonides [Tue, 22 Nov 2011 18:56:55 +0000 (18:56 +0000)]
Final fixup to r103910 and follow-ups.
Reverts r103931 test change.

12 years agoAdding passing test case for nested lists using a mix of wiki and html syntax.
Gabriel Wicke [Tue, 22 Nov 2011 18:46:31 +0000 (18:46 +0000)]
Adding passing test case for nested lists using a mix of wiki and html syntax.

12 years agoTwo decimal points may be valid, as 5..toString() == (5.).toString()
Platonides [Tue, 22 Nov 2011 18:42:21 +0000 (18:42 +0000)]
Two decimal points may be valid, as 5..toString() == (5.).toString()
Added some tests

12 years agoAdd test case described by Vitaliy Filippov in bug 6200.
Gabriel Wicke [Tue, 22 Nov 2011 18:14:23 +0000 (18:14 +0000)]
Add test case described by Vitaliy Filippov in bug 6200.

12 years agoFollow-up r103915: We need to increment $end before the strcspn.
Platonides [Tue, 22 Nov 2011 18:10:25 +0000 (18:10 +0000)]
Follow-up r103915: We need to increment $end before the strcspn.
Adjusting the tests, since it is now adding the newline after the number.

12 years agoFollow-up r103915. The @fixme of r103865 was wrong.
Platonides [Tue, 22 Nov 2011 17:48:32 +0000 (17:48 +0000)]
Follow-up r103915. The @fixme of r103865 was wrong.
It is apparently legal to have a decimal point without after it,
eg. var a = 5.
Not for hexadecimal numbers.

12 years agoEven if guesses, they should profile out :)
Platonides [Tue, 22 Nov 2011 17:19:20 +0000 (17:19 +0000)]
Even if guesses, they should profile out :)
(r103327)

12 years agoFew bits of documentation
Sam Reed [Tue, 22 Nov 2011 16:31:33 +0000 (16:31 +0000)]
Few bits of documentation

12 years agoA few more ok -> done
Sam Reed [Tue, 22 Nov 2011 16:30:44 +0000 (16:30 +0000)]
A few more ok -> done

12 years agoPartial revert of r103697 for bug 32508
Sam Reed [Tue, 22 Nov 2011 16:28:55 +0000 (16:28 +0000)]
Partial revert of r103697 for bug 32508

12 years agoFix r103865 fixmes about case where there a parse error should be raised.
Platonides [Tue, 22 Nov 2011 16:21:18 +0000 (16:21 +0000)]
Fix r103865 fixmes about case where there a parse error should be raised.
Also detect as an error 1..0 or 1eeeeee5

12 years agoFollow-up r103865. Accept lowercase hex and remove empty statement.
Platonides [Tue, 22 Nov 2011 16:04:39 +0000 (16:04 +0000)]
Follow-up r103865. Accept lowercase hex and remove empty statement.

12 years agoReverting r103856 since it does not work. <body> is not available at startup.
John Du Hart [Tue, 22 Nov 2011 15:58:28 +0000 (15:58 +0000)]
Reverting r103856 since it does not work. <body> is not available at startup.

12 years ago(bug 32412) TOC links on [[Special:EditWatchlist]] points to the fieldsets
Antoine Musso [Tue, 22 Nov 2011 14:37:10 +0000 (14:37 +0000)]
(bug 32412) TOC links on [[Special:EditWatchlist]] points to the fieldsets

Points the TOC entry to the fieldset element and add an id to those fieldset
using the same id prefix we used in 1.17 ('editwatchlist-')

This is a 1.18 regression.

12 years agoreverts r103894
Antoine Musso [Tue, 22 Nov 2011 14:25:28 +0000 (14:25 +0000)]
reverts r103894

not meant to be sent yet.

12 years ago(bug 32412) TOC links on [[Special:EditWatchlist]] now points to the fieldset
Antoine Musso [Tue, 22 Nov 2011 14:21:09 +0000 (14:21 +0000)]
(bug 32412) TOC links on [[Special:EditWatchlist]] now points to the fieldset

12 years agoImplement a number of namespace related equals functions:
Daniel Friesen [Tue, 22 Nov 2011 13:34:55 +0000 (13:34 +0000)]
Implement a number of namespace related equals functions:
* MWNamespace::equals to test equivalence of two namespaces (forward compatible with any changes we may make like introducing namespace keys like 'USER')
* MWNamespace::subjectEquals to test equivalence of the subject of two namespaces e.g.: MWNamespace::subjectEquals( NS_USER, $ns ); instead of testing for equivalence to both NS_USER and NS_USER_TALK
* Title::inNamespace to use instead of $title->getNamespace() == NS_???
* Title::inNamespaces for use like $title->inNamespaces( NS_USER, NS_PROJECT ) when you only care if it's in one of a number of namespaces (also accepts an array)
* Title::hasSubjectNamespace for use instead of testing for equivalence to both the subject and talk such as NS_USER and NS_USER_TALK.

Include phpunit tests for all this new code, and also add some tests for some existing code.

12 years agorevert r103691 that makes update.php output garbage
Antoine Musso [Tue, 22 Nov 2011 13:28:39 +0000 (13:28 +0000)]
revert r103691 that makes update.php output garbage

reopens bug 32020:
 - Improve messages output by the database updaters
closes  bug 32508:
 - Too many update messages even though nothing much happens

12 years ago* (bug 32548) fix minification bug when numeric literal with exponent was split over...
Brion Vibber [Mon, 21 Nov 2011 23:16:36 +0000 (23:16 +0000)]
* (bug 32548) fix minification bug when numeric literal with exponent was split over lines

This broke the OpenLayers support in the Maps extension, as used for example on TranslateWiki.net.
The original JavaScriptMinifier's tokenizer (r83885) explicitly didn't bother looking for the exponent part because it "didn't matter" to its internal state machine; however since r83891 added a max line length that definitely is not true.

I've split out handling of hex and decimal numerals, and let the decimal numeral handling check for exponents.

PHPUnit test cases were added in r103846.

12 years agoFollowup r95318, move client-(no)js classes to the body tag per discussion in bug...
John Du Hart [Mon, 21 Nov 2011 22:53:24 +0000 (22:53 +0000)]
Followup r95318, move client-(no)js classes to the body tag per discussion in bug 30497

12 years agoAdd PHPUnit tests for the minification failure case in bug 32548.
Brion Vibber [Mon, 21 Nov 2011 22:20:06 +0000 (22:20 +0000)]
Add PHPUnit tests for the minification failure case in bug 32548.

This will trigger 2 test failures, where an exponent in a JS numeric literal gets split over line breaks at the '-' or '+', causing a parse error in the resulting output.
A number with the same string length but without using + or - in the exponent passes through fine, indicating that it's the -/+ that's getting misinterpreted.

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

12 years agoBug 29524 - Rename RequestContext::getLang to getLanguage
John Du Hart [Mon, 21 Nov 2011 16:13:21 +0000 (16:13 +0000)]
Bug 29524 - Rename RequestContext::getLang to getLanguage

I'll be amazed if this doens't break any tests.

12 years agoBug 28981 - handle diffonly param on diffs between deleted revision
John Du Hart [Mon, 21 Nov 2011 15:42:58 +0000 (15:42 +0000)]
Bug 28981 - handle diffonly param on diffs between deleted revision

12 years agoBug 28296 - Installer should honor &uselang= parameter
John Du Hart [Mon, 21 Nov 2011 15:30:20 +0000 (15:30 +0000)]
Bug 28296 - Installer should honor &uselang= parameter

12 years ago* Use local context to get messages
Alexandre Emsenhuber [Mon, 21 Nov 2011 14:27:22 +0000 (14:27 +0000)]
* Use local context to get messages
* Refactored SpecialChangeEmail::error() to get the message name and call OutputPage::wrapWikiMsg() instead of having lot of different ways to handle messages (including parsing the message and then escape it, which is really bad)

12 years agoUse WikiPage instead of Article to call getUsedTemplates()
Alexandre Emsenhuber [Mon, 21 Nov 2011 14:09:13 +0000 (14:09 +0000)]
Use WikiPage instead of Article to call getUsedTemplates()

12 years agoFixes Bug 31865 - Tag <dws> for discarding whitespaces.
Mark A. Hershberger [Mon, 21 Nov 2011 01:45:23 +0000 (01:45 +0000)]
Fixes Bug 31865 - Tag <dws> for discarding whitespaces.
Patch with parser tests from Van de Bugger

12 years agoSpecial:Log title can be an invalid thus trigger a Fatal error
Antoine Musso [Sun, 20 Nov 2011 22:39:26 +0000 (22:39 +0000)]
Special:Log title can be an invalid thus trigger a Fatal error

follow up r103711

12 years agoMove the hidden input with the title inside the <div> (adding a silly one for two...
Platonides [Sun, 20 Nov 2011 21:38:15 +0000 (21:38 +0000)]
Move the hidden input with the title inside the <div> (adding a silly one for two-button search).
Removes dumb XHTML1 conformance warning about <input> (an inline element) not being able to be there
(a place for a block element). (Bug 13381)

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

12 years agoUse local context to get messages
Alexandre Emsenhuber [Sun, 20 Nov 2011 19:15:39 +0000 (19:15 +0000)]
Use local context to get messages

12 years agoUse WikiPage instead of Article to call updateRevisionOn()
Alexandre Emsenhuber [Sun, 20 Nov 2011 18:59:23 +0000 (18:59 +0000)]
Use WikiPage instead of Article to call updateRevisionOn()

12 years agoChange <br clear="all/left" to <br style="clear: in inline html.
Platonides [Sun, 20 Nov 2011 18:57:59 +0000 (18:57 +0000)]
Change <br clear="all/left" to <br style="clear:  in inline html.
(Bug 13381) Improve the XHTML strictness

12 years ago(bug 1672) Add $wgDisableUploadScriptChecks to allow disabling of the HTML/JS detecti...
Roan Kattouw [Sun, 20 Nov 2011 18:57:47 +0000 (18:57 +0000)]
(bug 1672) Add $wgDisableUploadScriptChecks to allow disabling of the HTML/JS detection for uploads. Patch by Emufarmers

12 years ago(bug 24037) Add byte length of revision to Special:Contributions. Patch by Umherirrender
Roan Kattouw [Sun, 20 Nov 2011 18:17:49 +0000 (18:17 +0000)]
(bug 24037) Add byte length of revision to Special:Contributions. Patch by Umherirrender

12 years agoBraces, spaces, documentation
Sam Reed [Sun, 20 Nov 2011 18:02:38 +0000 (18:02 +0000)]
Braces, spaces, documentation

12 years ago* (bug 29635) update.php for Postgres creates sequences, then fails when it to rename...
Sam Reed [Sun, 20 Nov 2011 17:54:47 +0000 (17:54 +0000)]
* (bug 29635) update.php for Postgres creates sequences, then fails when it to rename sequences to those same names

Patch by Luigi Corsaro

12 years ago(bug 310720) Make Http::request() (and, by extension, get() and post() as well) accep...
Roan Kattouw [Sun, 20 Nov 2011 17:45:18 +0000 (17:45 +0000)]
(bug 310720) Make Http::request() (and, by extension, get() and post() as well) accept a 'userAgent' option. Patch by Chad Horohoe

12 years ago* (bug 24765) User tool links edit hook
Sam Reed [Sun, 20 Nov 2011 15:16:54 +0000 (15:16 +0000)]
* (bug 24765) User tool links edit hook

Original patch by "biolizard", updated to not use $this in static, and added relevant documentation

12 years agoQuery already does ORDER BY value, so remove manual order by from r103759
Sam Reed [Sun, 20 Nov 2011 15:01:09 +0000 (15:01 +0000)]
Query already does ORDER BY value, so remove manual order by from r103759

12 years ago* (bug 13577) Optimize query in Special Unusedcategories & Special Mostlinkedcategori...
Sam Reed [Sun, 20 Nov 2011 14:49:07 +0000 (14:49 +0000)]
* (bug 13577) Optimize query in Special Unusedcategories & Special Mostlinkedcategories by using category table

Patch by Nicolas Dumazet, updated in line with changed code

If unbounded it does a filesort. With a limit, it's a fine query

Marking as not expensive

12 years ago(bug 7304) Links on redirect pages no longer cause the redirect page to show up as...
Roan Kattouw [Sun, 20 Nov 2011 14:32:59 +0000 (14:32 +0000)]
(bug 7304) Links on redirect pages no longer cause the redirect page to show up as a redirect to the linked page on Special:Whatlinkshere. Patch by Bawolff, using the redirect table instead of page_is_redirect to identify redirects