lhc/web/wiklou.git
13 years agojquery.placeholder.js rewritten
Krinkle [Fri, 19 Nov 2010 00:12:43 +0000 (00:12 +0000)]
jquery.placeholder.js rewritten
* Instead of calling placeholder() and passing the placeholder-text to it (which meant having to manage text-messages in javascript as well and calling it for each different one), it is now expected that the placeholder-attribute already exists on the page generated by PHP. placeholder() is then called on all input-elements with that attribute to provide fallback for browsers that don't support it.

13 years agoMoved rightClickEdit
Trevor Parscal [Thu, 18 Nov 2010 22:59:26 +0000 (22:59 +0000)]
Moved rightClickEdit

13 years agoMoved rightClickEdit
Trevor Parscal [Thu, 18 Nov 2010 22:04:46 +0000 (22:04 +0000)]
Moved rightClickEdit

13 years agoFollow-up on r76972, renaming files inside the folder accordingly
Krinkle [Thu, 18 Nov 2010 22:04:22 +0000 (22:04 +0000)]
Follow-up on r76972, renaming files inside the folder accordingly

13 years agoCleaned up the code a bit, and added a return false to prevent other bindings from...
Trevor Parscal [Thu, 18 Nov 2010 22:03:57 +0000 (22:03 +0000)]
Cleaned up the code a bit, and added a return false to prevent other bindings from being fired.

13 years agorenaming mediawiki.specials to mediawiki.special (matches the Special-pagename and...
Krinkle [Thu, 18 Nov 2010 22:02:53 +0000 (22:02 +0000)]
renaming mediawiki.specials to mediawiki.special (matches the Special-pagename and the 'singlular' convention)

13 years agoRenamed mediawiki.views.* to mediawiki.action.* to better relate to the action= URL...
Trevor Parscal [Thu, 18 Nov 2010 21:54:28 +0000 (21:54 +0000)]
Renamed mediawiki.views.* to mediawiki.action.* to better relate to the action= URL param

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 18 Nov 2010 21:11:56 +0000 (21:11 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-18 20:47:00 UTC)

13 years agogetDiffBody() cleanups:
Aaron Schulz [Thu, 18 Nov 2010 20:34:02 +0000 (20:34 +0000)]
getDiffBody() cleanups:
* marked it explicitly public
* cleaned up return types on failure
* broke long lines

13 years agoRelease notes for r68872
Max Semenik [Thu, 18 Nov 2010 19:58:27 +0000 (19:58 +0000)]
Release notes for r68872

13 years ago* simple smoke test for file upload
Markus Glaser [Thu, 18 Nov 2010 16:12:41 +0000 (16:12 +0000)]
* simple smoke test for file upload

13 years ago* Oracle: prefetching column names in ORAResult so i can release statement after...
Jure Kajzer [Thu, 18 Nov 2010 13:17:16 +0000 (13:17 +0000)]
* Oracle: prefetching column names in ORAResult so i can release statement after constructor.
This fixes too many open cursors issue, importing of large sets now works.

13 years agoReverting r76928, causes segfault
Sam Reed [Thu, 18 Nov 2010 02:32:58 +0000 (02:32 +0000)]
Reverting r76928, causes segfault

13 years agoUpdated jquery.tipsy and added it to the Resources manifest.
Trevor Parscal [Thu, 18 Nov 2010 00:27:32 +0000 (00:27 +0000)]
Updated jquery.tipsy and added it to the Resources manifest.

13 years ago(bug 25920) Moved forward ref to a nested ref to really get v6 regex to compile on...
Aaron Schulz [Thu, 18 Nov 2010 00:25:58 +0000 (00:25 +0000)]
(bug 25920) Moved forward ref to a nested ref to really get v6 regex to compile on older PCRE versions

13 years ago* Moved author count check to new Title::countAuthorsBetween() function
Aaron Schulz [Thu, 18 Nov 2010 00:08:37 +0000 (00:08 +0000)]
* Moved author count check to new Title::countAuthorsBetween() function
* Added static DifferenceEngine::intermediateEditsMsg() function
* diff-multi msg use by FlaggedRevs wasn't updated after $2 param was added. Fixed this.
* Minor cleanups to getMultiNotice()

13 years agosome code comments, fix some indentation issues
Antoine Musso [Wed, 17 Nov 2010 21:12:52 +0000 (21:12 +0000)]
some code comments, fix some indentation issues

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 17 Nov 2010 20:30:02 +0000 (20:30 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-17 19:51:00 UTC)

13 years agoFileRepo stuff no longer uses WikiError since ages
Alexandre Emsenhuber [Wed, 17 Nov 2010 18:30:20 +0000 (18:30 +0000)]
FileRepo stuff no longer uses WikiError since ages

13 years agoFix for r76088: if you want the Vector stylesheets you have to use the Vector documen...
Tim Starling [Wed, 17 Nov 2010 11:43:57 +0000 (11:43 +0000)]
Fix for r76088: if you want the Vector stylesheets you have to use the Vector document structure, not a mix of Vector, Monobook and JustPlainBroken.

13 years ago* Reduced some pointless regex capture overhead
Aaron Schulz [Wed, 17 Nov 2010 09:12:18 +0000 (09:12 +0000)]
* Reduced some pointless regex capture overhead
* Made preg_replace calls easier to verify w.r.t. captures
* (bug 25920) Made RE_IPV6_ADD avoid conditions on whether a named group matched anything, which requires PCRE 6.7+ (not bundled with PHP 5.1.0)

13 years agoAdded two key ipv6 tests
Aaron Schulz [Wed, 17 Nov 2010 01:02:55 +0000 (01:02 +0000)]
Added two key ipv6 tests

13 years agoFollow-up on r76326 - Fixing milliseconds zero padding for mw.log
Krinkle [Wed, 17 Nov 2010 00:41:42 +0000 (00:41 +0000)]
Follow-up on r76326 - Fixing milliseconds zero padding for mw.log

13 years agoWhen displaying non-local File pages, add link rel=canonical.
Derk-Jan Hartman [Wed, 17 Nov 2010 00:23:30 +0000 (00:23 +0000)]
When displaying non-local File pages, add link rel=canonical.
Solves bug 25960

13 years agoClearing up this working copy. Adding a couple of braces
Sam Reed [Tue, 16 Nov 2010 23:02:08 +0000 (23:02 +0000)]
Clearing up this working copy. Adding a couple of braces

13 years agoreorganise targets, use variables for common objects, add comments.
Antoine Musso [Tue, 16 Nov 2010 21:20:45 +0000 (21:20 +0000)]
reorganise targets, use variables for common objects, add comments.

13 years agoFixed passing of parameter array to wfMessage()
Max Semenik [Tue, 16 Nov 2010 20:40:20 +0000 (20:40 +0000)]
Fixed passing of parameter array to wfMessage()

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 16 Nov 2010 20:33:22 +0000 (20:33 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-16 20:13:00 UTC)

13 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Tue, 16 Nov 2010 20:14:13 +0000 (20:14 +0000)]
Fixed some doxygen warnings

13 years agoMoved /0 prefix tests to valid...it just means "everything"
Aaron Schulz [Tue, 16 Nov 2010 18:28:25 +0000 (18:28 +0000)]
Moved /0 prefix tests to valid...it just means "everything"

13 years agoAdded --env-checks parameter to install.php that checks for prerequisites instead...
Max Semenik [Tue, 16 Nov 2010 18:13:35 +0000 (18:13 +0000)]
Added --env-checks parameter to install.php that checks for prerequisites instead of installing

13 years agoThe default value of isPermaLink is true, not including it does nothing.
Platonides [Tue, 16 Nov 2010 17:44:08 +0000 (17:44 +0000)]
The default value of isPermaLink is true, not including it does nothing.
http://www.rssboard.org/rss-specification#ltguidgtSubelementOfLtitemgt

13 years agoFollow-up r76805: removed outdated comment, introduced new group "Search"
Max Semenik [Tue, 16 Nov 2010 16:54:48 +0000 (16:54 +0000)]
Follow-up r76805: removed outdated comment, introduced new group "Search"

13 years agoFix stupid get vs. set typo in nextJobDB.php
Roan Kattouw [Tue, 16 Nov 2010 16:48:20 +0000 (16:48 +0000)]
Fix stupid get vs. set typo in nextJobDB.php

13 years agoRevert r76393 and make $wgUpgradeKey like $wgSecretKey. Followup for r76391
Platonides [Tue, 16 Nov 2010 16:16:09 +0000 (16:16 +0000)]
Revert r76393 and make $wgUpgradeKey like $wgSecretKey. Followup for r76391

13 years agoFixed SearchUpdateTest, it doesn't mess with database anymore. More fixes in the...
Max Semenik [Tue, 16 Nov 2010 16:06:46 +0000 (16:06 +0000)]
Fixed SearchUpdateTest, it doesn't mess with database anymore. More fixes in the line of r76617.

13 years agoFix copy+paste error from r76798
Chad Horohoe [Tue, 16 Nov 2010 16:02:48 +0000 (16:02 +0000)]
Fix copy+paste error from r76798

13 years agoEnvironment checks don't need to be public
Chad Horohoe [Tue, 16 Nov 2010 15:50:32 +0000 (15:50 +0000)]
Environment checks don't need to be public

13 years agoLocalization update for he.
Rotem Liss [Tue, 16 Nov 2010 15:38:49 +0000 (15:38 +0000)]
Localization update for he.

13 years agoFollow up r76708
Platonides [Tue, 16 Nov 2010 15:33:29 +0000 (15:33 +0000)]
Follow up r76708
1) IPTest::testValidBlocks
Undefined variable: invalid in phase3/maintenance/tests/phpunit/includes/IPTest.php:174

2) IPTest::testInvalidBlocks
Undefined variable: invalid in phase3/maintenance/tests/phpunit/includes/IPTest.php:197

Note that the 30.242.52.14/0 test does not pass (it is deemed a valid block)

13 years agoTab to space, might as well be consistent
Chad Horohoe [Tue, 16 Nov 2010 15:32:19 +0000 (15:32 +0000)]
Tab to space, might as well be consistent

13 years agoMove preference for PEAR higher up the list, apt and yum repos tend to be out of...
Chad Horohoe [Tue, 16 Nov 2010 15:29:48 +0000 (15:29 +0000)]
Move preference for PEAR higher up the list, apt and yum repos tend to be out of date

13 years agoMore is_a() -> instanceof
Chad Horohoe [Tue, 16 Nov 2010 15:10:46 +0000 (15:10 +0000)]
More is_a() -> instanceof

13 years agoFollowup r76782: is_a() -> instanceof (we dropped PHP 4 support over 3 years ago...
Roan Kattouw [Tue, 16 Nov 2010 14:23:34 +0000 (14:23 +0000)]
Followup r76782: is_a() -> instanceof (we dropped PHP 4 support over 3 years ago), or -> ||

13 years agoVariablise $navigationBar
Sam Reed [Tue, 16 Nov 2010 14:06:21 +0000 (14:06 +0000)]
Variablise $navigationBar

Add a couple of braces

13 years agoFix for r69917: Should be using DB_ADMIN if we were using $wgUseRootUser
Chad Horohoe [Tue, 16 Nov 2010 13:44:51 +0000 (13:44 +0000)]
Fix for r69917: Should be using DB_ADMIN if we were using $wgUseRootUser

13 years ago* Fixed ipv6 range test calls
Aaron Schulz [Tue, 16 Nov 2010 10:51:24 +0000 (10:51 +0000)]
* Fixed ipv6 range test calls
* Made testisIPAddress test results more readable on failure

13 years agoremoved mac-specific temp dir path for debug log
Neil Kandalgaonkar [Tue, 16 Nov 2010 07:11:39 +0000 (07:11 +0000)]
removed mac-specific temp dir path for debug log

13 years agofixed typo
Neil Kandalgaonkar [Tue, 16 Nov 2010 07:09:46 +0000 (07:09 +0000)]
fixed typo

13 years agoFixed bug#25784 (thumbnails of stashed files had wrong description URLs).
Neil Kandalgaonkar [Tue, 16 Nov 2010 06:57:46 +0000 (06:57 +0000)]
Fixed bug#25784 (thumbnails of stashed files had wrong description URLs).

This fixes the more general problem that the imageinfo returned with stashed uploads was inaccurate, since it was relying on
code that only worked with non-stashed files.

So, I had to:
- move the ApiQueryStashImageInfo module into core. Which others had asked for anyway, and was anticipated sometime later.
  - add lines to AutoLoader and ApiQuery to accomodate the new module

- add an ugly if/then to UploadBase -- based on the type of uploaded file, it will use a different API module to simulate a getImageInfo call.
  I left a TODO that this situation wasn't ideal, but the way things are now, imageInfo is constructed by the API modules, when it should probably
  really be the File modules. Then the API can wrap that info into various formats.

- add a few new lines to the tests to check imageinfo information in both regular and stashed upload files

13 years agoremoved URL hackery, now using SpecialPage::getTitleFor(). Followup to r75906
Neil Kandalgaonkar [Tue, 16 Nov 2010 01:15:58 +0000 (01:15 +0000)]
removed URL hackery, now using SpecialPage::getTitleFor(). Followup to r75906

13 years agoFollowups mostly to r75906.
Neil Kandalgaonkar [Tue, 16 Nov 2010 00:24:37 +0000 (00:24 +0000)]
Followups mostly to r75906.

* Improved logic around error messages, and understandability of those messages.

* Removed FIXME on Content-Length header. When we serve the file
this way, it seems to be necessary to explicitly set the Content-Length. I tried
removing it and unsurprisingly it did not appear.

I am unsure what RoanKattouw is referring to when he says PHP can do this.
How can PHP know what the Content-Length is going to be, unless we set this explicitly?

13 years agoupdated comments, error messages. Removing exposure of actual paths in error message...
Neil Kandalgaonkar [Mon, 15 Nov 2010 23:49:16 +0000 (23:49 +0000)]
updated comments, error messages. Removing exposure of actual paths in error message, while convenient for a developer it probably should not be exposed to the public.

13 years agoRemoved weird unused "IPv4toIPv6" function
Aaron Schulz [Mon, 15 Nov 2010 23:20:23 +0000 (23:20 +0000)]
Removed weird unused "IPv4toIPv6" function

13 years ago* added more isValid()/isPrivate() tests
Aaron Schulz [Mon, 15 Nov 2010 21:18:31 +0000 (21:18 +0000)]
* added more isValid()/isPrivate() tests
* added isValidBlock()/isIPv4() tests

13 years agoUse accessor when trying to get a private property.
Antoine Musso [Mon, 15 Nov 2010 21:14:29 +0000 (21:14 +0000)]
Use accessor when trying to get a private property.

I kept hitting my browser cache when verifying my change, this
mean I have committed r76700 without testing it :(

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 15 Nov 2010 21:10:22 +0000 (21:10 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-15 20:53:00 UTC)

13 years agoIf this was needed to use MockSearch, it will also be needed after it has run, so...
Platonides [Mon, 15 Nov 2010 20:40:49 +0000 (20:40 +0000)]
If this was needed to use MockSearch, it will also be needed after it has run, so other tests can get the real db they expect.

13 years agoRm superfuluous tab
Max Semenik [Mon, 15 Nov 2010 20:39:34 +0000 (20:39 +0000)]
Rm superfuluous tab

13 years agotypo: RE_IPV4_BLOCK -> RE_IP_BLOCK
Aaron Schulz [Mon, 15 Nov 2010 20:37:11 +0000 (20:37 +0000)]
typo: RE_IPV4_BLOCK -> RE_IP_BLOCK

13 years agoChange HistoryPage properties scope to private as well as some obvious functions...
Antoine Musso [Mon, 15 Nov 2010 20:13:58 +0000 (20:13 +0000)]
Change HistoryPage properties scope to private as well as some obvious functions scopes.
Add a few comments.

13 years agoStylize. Add a couple braces around if/else statements.
Antoine Musso [Mon, 15 Nov 2010 19:51:47 +0000 (19:51 +0000)]
Stylize. Add a couple braces around if/else statements.

13 years agoGet ride of $counter in functions calls. Follow up r65417.
Antoine Musso [Mon, 15 Nov 2010 19:47:15 +0000 (19:47 +0000)]
Get ride of $counter in functions calls. Follow up r65417.

13 years agoAdd a few bits of parameter documentation
Sam Reed [Mon, 15 Nov 2010 15:49:52 +0000 (15:49 +0000)]
Add a few bits of parameter documentation

13 years ago(bug 25935) Fix comment in cleanupRemovedModules.php
Chad Horohoe [Mon, 15 Nov 2010 12:20:00 +0000 (12:20 +0000)]
(bug 25935) Fix comment in cleanupRemovedModules.php

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 14 Nov 2010 21:10:48 +0000 (21:10 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-14 20:53:00 UTC)

13 years agoGrammar fix
Benjamin Lees [Sun, 14 Nov 2010 21:00:31 +0000 (21:00 +0000)]
Grammar fix

13 years agoFollow-up r76434, r76570,r76668: Pass skin object per CR
Raimond Spekking [Sun, 14 Nov 2010 19:45:55 +0000 (19:45 +0000)]
Follow-up r76434, r76570,r76668: Pass skin object per CR

13 years agoFollow-up r76434, r76570: Add skinname per CR
Raimond Spekking [Sun, 14 Nov 2010 19:28:32 +0000 (19:28 +0000)]
Follow-up r76434, r76570: Add skinname per CR

13 years agoAdd Yuri Astrakhan to CREDITS per request at [http://en.wikipedia.org/w/index.php...
Sam Reed [Sun, 14 Nov 2010 19:00:27 +0000 (19:00 +0000)]
Add Yuri Astrakhan to CREDITS per request at [en.wikipedia.org/w/index.php?title=User_talk:Reedy&action=historysubmit&diff=396740314&oldid=396417142] (he wrote most of the original API stuff)

13 years agoFollow-up r76633: change function signature so that it's easier to track the problem
Alexandre Emsenhuber [Sun, 14 Nov 2010 18:58:28 +0000 (18:58 +0000)]
Follow-up r76633: change function signature so that it's easier to track the problem

13 years agoMinor cleanups
Aaron Schulz [Sat, 13 Nov 2010 23:31:13 +0000 (23:31 +0000)]
Minor cleanups

13 years agoRemove duplicate occurrence of 'u' from $htmlpairsStatic in Sanitizer::removeHTMLtags...
Roan Kattouw [Sat, 13 Nov 2010 22:12:39 +0000 (22:12 +0000)]
Remove duplicate occurrence of 'u' from $htmlpairsStatic in Sanitizer::removeHTMLtags(). Reported by Dan Bolser on IRC

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sat, 13 Nov 2010 20:42:57 +0000 (20:42 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-13 20:25:00 UTC)

13 years agoSeems I forgot to commit this file in r76634
Alexandre Emsenhuber [Sat, 13 Nov 2010 17:35:27 +0000 (17:35 +0000)]
Seems I forgot to commit this file in r76634

13 years ago* (bug 20591) There's now a different message on Special:MovePage when $wgFixDoubleRe...
Alexandre Emsenhuber [Sat, 13 Nov 2010 17:31:04 +0000 (17:31 +0000)]
* (bug 20591) There's now a different message on Special:MovePage when $wgFixDoubleRedirects is set to false.

Based on a patch by The Evil IP address: https://bugzilla.wikimedia.org/attachment.cgi?id=7807

13 years ago* (bug 25908) OutputPage::getHeadLinks() now requires a Skin object as first parameter
Alexandre Emsenhuber [Sat, 13 Nov 2010 17:22:08 +0000 (17:22 +0000)]
* (bug 25908) OutputPage::getHeadLinks() now requires a Skin object as first parameter

13 years agoFix undefined $max when doing --dfn-only
Chad Horohoe [Sat, 13 Nov 2010 16:32:40 +0000 (16:32 +0000)]
Fix undefined $max when doing --dfn-only

13 years agoMention load.php, rm repetition
Max Semenik [Sat, 13 Nov 2010 13:24:21 +0000 (13:24 +0000)]
Mention load.php, rm repetition

13 years agorevert r71054. Although unused, the variable might be used later.
Antoine Musso [Sat, 13 Nov 2010 13:13:12 +0000 (13:13 +0000)]
revert r71054. Although unused, the variable might be used later.

13 years agoFollowup r76612, nfi what a stromg is
Sam Reed [Sat, 13 Nov 2010 12:50:50 +0000 (12:50 +0000)]
Followup r76612, nfi what a stromg is

13 years agoWith PHPUnit 3.5.0, use its autoloader (like r74831).
Antoine Musso [Sat, 13 Nov 2010 12:45:10 +0000 (12:45 +0000)]
With PHPUnit 3.5.0, use its autoloader (like r74831).
Fix 'make test' for me.

13 years agoMinor variable typo
Antoine Musso [Sat, 13 Nov 2010 10:41:38 +0000 (10:41 +0000)]
Minor variable typo

13 years agojustify help memcached console help
Antoine Musso [Sat, 13 Nov 2010 10:33:30 +0000 (10:33 +0000)]
justify help memcached console help

13 years agoTests: removed assignments of null to globals that are usually not null in tearDown...
Max Semenik [Sat, 13 Nov 2010 08:32:40 +0000 (08:32 +0000)]
Tests: removed assignments of null to globals that are usually not null in tearDown() methods. This practice leads to other tests having to play whack-a-mole by initializing random variables they don't need directly just to avoid crashing.

13 years agoFollowup to r76111. Making the result parameter on getThumbUrl optional
Rob Lanphier [Sat, 13 Nov 2010 06:25:12 +0000 (06:25 +0000)]
Followup to r76111.  Making the result parameter on getThumbUrl optional

13 years agoFixup some more documentation
Sam Reed [Sat, 13 Nov 2010 00:47:51 +0000 (00:47 +0000)]
Fixup some more documentation

13 years agoFixed up some doxygen warnings
Sam Reed [Sat, 13 Nov 2010 00:32:54 +0000 (00:32 +0000)]
Fixed up some doxygen warnings

13 years agoclean-up trailing spaces and tabs in js/css resources
Krinkle [Fri, 12 Nov 2010 23:10:58 +0000 (23:10 +0000)]
clean-up trailing spaces and tabs in js/css resources

13 years ago* parseCIDR() should use parseCIDR6() for IPv6 (plus the later is private since r7656...
Aaron Schulz [Fri, 12 Nov 2010 20:08:27 +0000 (20:08 +0000)]
* parseCIDR() should use parseCIDR6() for IPv6 (plus the later is private since r76560...)
* Made parseRange() work for IPv6 "x - y" style ranges
* Added MWException to IPv4toIPv6()

13 years ago* Removed redundant check in toUnsigned6().
Aaron Schulz [Fri, 12 Nov 2010 19:37:37 +0000 (19:37 +0000)]
* Removed redundant check in toUnsigned6().
* MW requires PHP 5.1+, so the -1/false ip2long annoyance is gone. Also, ip2long("255.255.255.255") is -1 so no special case code is needed anymore.
* Removed toSigned() (not used outside IP.php). Due to the above points, ip2long() is totally equilivant.
* Moved some functions and consts around.
* Comment tweaks.

13 years agoFix for r74950: use wfEscapeShellArg()
Max Semenik [Fri, 12 Nov 2010 18:47:33 +0000 (18:47 +0000)]
Fix for r74950: use wfEscapeShellArg()

13 years agoDoxygen fix: @defgroup require group name *and* a title
Alexandre Emsenhuber [Fri, 12 Nov 2010 17:41:40 +0000 (17:41 +0000)]
Doxygen fix: @defgroup require group name *and* a title

13 years agoFixed some doxygen warnings
Alexandre Emsenhuber [Fri, 12 Nov 2010 16:42:46 +0000 (16:42 +0000)]
Fixed some doxygen warnings

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 12 Nov 2010 16:07:55 +0000 (16:07 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-11-12 15:48:00 UTC)

13 years agoFollowup r76566
Sam Reed [Fri, 12 Nov 2010 14:20:10 +0000 (14:20 +0000)]
Followup r76566

HttpFunctions.old.php had the same definition twice

13 years agoFollow-up r76434: Run hook for Modern skin too per suggestion of Jack Phoenix
Raimond Spekking [Fri, 12 Nov 2010 12:16:48 +0000 (12:16 +0000)]
Follow-up r76434: Run hook for Modern skin too per suggestion of Jack Phoenix

13 years agoFix ranges formatting issue when testing for (g,z) in IPv6 address
Antoine Musso [Fri, 12 Nov 2010 12:08:45 +0000 (12:08 +0000)]
Fix ranges formatting issue when testing for (g,z) in IPv6 address
Add / change assertions comments
65535 -> 0xFFFF

Follow up r76560

13 years ago(Bug 25872) Rename HttpRequest class to MWHttpRequest to avoid conflict with php...
Brian Wolff [Fri, 12 Nov 2010 07:32:09 +0000 (07:32 +0000)]
(Bug 25872) Rename HttpRequest class to MWHttpRequest to avoid conflict with php extension.

This also keeps the old HttpRequest class name around, so it should not break backwards compatability.

13 years ago* Changes in IP.php:
Aaron Schulz [Fri, 12 Nov 2010 01:33:46 +0000 (01:33 +0000)]
* Changes in IP.php:
** Fixed hexToOctet()/toOctet() padding (pad left not right)
** Made hexToQuad() left-pad input (e.g. C -> 0000000C)
** Added isPublic6() function (checked as needed by isPublic())
** Rewrote isValidBlock() to not do flaky and roundabout isArray() check. Works for v6 now.
** Removed toArray(), unused outside IP.php and broken for v6
** Removed toOctet() duplication
** Added new private IPv6ToRawHex() function. Used to make toHex() faster.
** Made some functions private
** Reverted r20435, pointless
** Updated credits
* Changes in IPTests:
** Added a bunch of tests (mostly v6)
** Removed weird array test (especially with toArray() gone) after r76514
** Padding *no* longer needed for hexToX functions - assertion flipped
* CheckUser: removed parseRange6() reference (now private)