lhc/web/wiklou.git
14 years agoAdd Tom Gries per his contribution to enotif. He is credited in UserMailer.php but...
Platonides [Fri, 22 Jan 2010 14:52:40 +0000 (14:52 +0000)]
Add Tom Gries per his contribution to enotif. He is credited in UserMailer.php but didn't appear in CREDITS file.

14 years ago(Bug 22222) Add link to directly unwatch the page on the email notification.
Platonides [Fri, 22 Jan 2010 14:50:34 +0000 (14:50 +0000)]
(Bug 22222) Add link to directly unwatch the page on the email notification.
Patch from Tom Gries.

14 years agoFollow-up r61358: Consistent quote signs
Raimond Spekking [Fri, 22 Jan 2010 12:52:03 +0000 (12:52 +0000)]
Follow-up r61358: Consistent quote signs
Add new messages to maintenance script

14 years agofixed quoting typo in r61358
Jure Kajzer [Fri, 22 Jan 2010 10:55:58 +0000 (10:55 +0000)]
fixed quoting typo in r61358

14 years ago(bug 22225) - misspelt wpEdittoken -> wpEditToken in ApiEditPage
Sam Reed [Fri, 22 Jan 2010 10:48:57 +0000 (10:48 +0000)]
(bug 22225) -  misspelt wpEdittoken -> wpEditToken in ApiEditPage

Patch By Matthew Britton

14 years agoonly once.
Mark A. Hershberger [Fri, 22 Jan 2010 07:55:13 +0000 (07:55 +0000)]
only once.

14 years agoMessages for r61357
Mark A. Hershberger [Fri, 22 Jan 2010 07:52:55 +0000 (07:52 +0000)]
Messages for r61357

14 years agoFollow up 61352, address TimStarling's comments.
Mark A. Hershberger [Fri, 22 Jan 2010 07:50:02 +0000 (07:50 +0000)]
Follow up 61352, address TimStarling's comments.

14 years agofollow up r61352 forgot to add the new global.
Mark A. Hershberger [Fri, 22 Jan 2010 04:55:51 +0000 (04:55 +0000)]
follow up r61352 forgot to add the new global.

14 years agoUploadChunks added from js2 branch. Refactored. Still needs to be
Mark A. Hershberger [Fri, 22 Jan 2010 04:37:23 +0000 (04:37 +0000)]
UploadChunks added from js2 branch.  Refactored.  Still needs to be
tested w/o the UI first.

14 years agows only cleanup
Mark A. Hershberger [Fri, 22 Jan 2010 03:14:52 +0000 (03:14 +0000)]
ws only cleanup

14 years agostylize, message fixups.
Mark A. Hershberger [Fri, 22 Jan 2010 03:01:48 +0000 (03:01 +0000)]
stylize, message fixups.

14 years agofollow up r61078, fixes bug 22224
Mark A. Hershberger [Fri, 22 Jan 2010 02:17:58 +0000 (02:17 +0000)]
follow up r61078, fixes bug 22224
Rewrite of HttpFunctions.php
Stripping async download, simple file writer stuff.

14 years agoAdd disabled <datalist> support to mwsuggest
Aryeh Gregor [Fri, 22 Jan 2010 00:51:57 +0000 (00:51 +0000)]
Add disabled <datalist> support to mwsuggest

<datalist> is an HTML5 element that allows us to provide suggestions to
the browser to display with the proper format with no extra work on our
part.  I got a working implementation, so I'm committing it for the
future, but the only supporting browser (Opera) has a small but fatal
flaw, so it's disabled unconditionally.

I moved around some code to separate out the <div>-specific parts from
the general code, which unfortunately makes this somewhat messy to
review.  (I should probably have done it in two parts.)  There aren't
supposed to be any functional changes in any browser, though, so if you
find any, either fix or revert.

Before enabling this feature, we'd also want to look at UI in shipping
browsers.  WebKit looks like it will implement it more as a combobox, in
which case we wouldn't want to use it for WebKit.  But the code will
still be useful if/when this or any other search-suggest feature becomes
standard.

14 years ago* Fix some doxygen warnings
Alexandre Emsenhuber [Thu, 21 Jan 2010 22:01:38 +0000 (22:01 +0000)]
* Fix some doxygen warnings
* use spaces for identation in the middle of lines instead of tabs

14 years agoRevert broken r61251 use of strong equality
Aryeh Gregor [Thu, 21 Jan 2010 21:34:26 +0000 (21:34 +0000)]
Revert broken r61251 use of strong equality

== and === mean different things.  Do *not* blindly change one to the
other, *only* change them if you know that weak equality checks are
causing a bug -- or at least if you're sure that changing them will not
cause a bug.  r61251 caused subtle bugs in mwsuggest that took me an
unnecessarily long time to track down while I was doing unrelated work.

14 years agoLast 'gl' date tweak, I hope.
Siebrand Mazeland [Thu, 21 Jan 2010 19:46:39 +0000 (19:46 +0000)]
Last 'gl' date tweak, I hope.

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Thu, 21 Jan 2010 18:43:21 +0000 (18:43 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-21 18:30 UTC)

14 years agoReorder mwsuggest.js with entry points on top
Aryeh Gregor [Thu, 21 Jan 2010 16:43:06 +0000 (16:43 +0000)]
Reorder mwsuggest.js with entry points on top

Makes it easier to figure out how the file works.

14 years agoStart 'createaccountmail' with a capital. This is button text used on [[Special:UserL...
Siebrand Mazeland [Thu, 21 Jan 2010 15:55:07 +0000 (15:55 +0000)]
Start 'createaccountmail' with a capital. This is button text used on [[Special:UserLogin/signup]].

14 years agoUpdate 'move-watch' as both source page and target page are added to the watchlist.
Siebrand Mazeland [Thu, 21 Jan 2010 15:38:17 +0000 (15:38 +0000)]
Update 'move-watch' as both source page and target page are added to the watchlist.

14 years agoAdded configuration option for memcached timeout based on comments on r58185
OverlordQ [Thu, 21 Jan 2010 05:49:49 +0000 (05:49 +0000)]
Added configuration option for memcached timeout based on comments on r58185

14 years agoFix up data directory sniffing for sqlite. Touch up description of
Mark A. Hershberger [Thu, 21 Jan 2010 00:00:20 +0000 (00:00 +0000)]
Fix up data directory sniffing for sqlite.  Touch up description of
data dir.  Also, importPost() default values have to match default values in the
HTML form, or they're meaningless.

14 years agoeol whitespace cleanups
Mark A. Hershberger [Wed, 20 Jan 2010 23:51:56 +0000 (23:51 +0000)]
eol whitespace cleanups

14 years ago(bug 21870) Remove Google logo loaded from it servers (privacy concern).
Platonides [Wed, 20 Jan 2010 22:01:37 +0000 (22:01 +0000)]
(bug 21870) Remove Google logo loaded from it servers (privacy concern).
The form is now left as googlesearch message. We should probably remove the duplication and load it with wfMsgWeirdKey.

14 years ago* Fixed some doxygen warnings
Alexandre Emsenhuber [Wed, 20 Jan 2010 21:06:22 +0000 (21:06 +0000)]
* Fixed some doxygen warnings
* Removed trailing spaces

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Wed, 20 Jan 2010 20:36:11 +0000 (20:36 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-20 20:15 UTC)

14 years agoRevert r61291 (upgrade jQuery to 1.4): breaks in interesting ways in combination...
Roan Kattouw [Wed, 20 Jan 2010 19:15:02 +0000 (19:15 +0000)]
Revert r61291 (upgrade jQuery to 1.4): breaks in interesting ways in combination with our plugins

14 years agoFixed as per Tim's comments on r60665:
Jure Kajzer [Wed, 20 Jan 2010 16:19:08 +0000 (16:19 +0000)]
Fixed as per Tim's comments on r60665:
* fieldExists reduced to bool-cast output of fieldInfo
* added negative cache (handled acordingly on fieldInfo usage)
* uppercased parameters on entry. DB data is uppercased by default

14 years agoUpdate js2stopgap.js to jQuery 1.4. Also add the minified and Google Closure-compiled...
Roan Kattouw [Wed, 20 Jan 2010 03:22:25 +0000 (03:22 +0000)]
Update js2stopgap.js to jQuery 1.4. Also add the minified and Google Closure-compiled version of jQuery 1.4 to js2stopgap.min.js (that's what the weird Makefile is for)

14 years agoFixes for r60599:
Tim Starling [Wed, 20 Jan 2010 01:50:16 +0000 (01:50 +0000)]
Fixes for r60599:
* Split $wgFixArchaicUnicode into two separate variables, one for Malayalam and one for Arabic
* Clarified documentation and switched them both on by default
* Removed accidentally added variable LanguageAr::$normalizeArray

14 years agoRemoved somewhat confusing part of nosuchsectiontext
Aaron Schulz [Tue, 19 Jan 2010 22:58:26 +0000 (22:58 +0000)]
Removed somewhat confusing part of nosuchsectiontext

14 years ago* document a bit
Alexandre Emsenhuber [Tue, 19 Jan 2010 22:02:20 +0000 (22:02 +0000)]
* document a bit
* fixed some doxygen warnings

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Tue, 19 Jan 2010 19:04:29 +0000 (19:04 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-19 18:30 UTC)

14 years agoLocalization update for he, and whitespace fix in en.
Rotem Liss [Tue, 19 Jan 2010 18:36:57 +0000 (18:36 +0000)]
Localization update for he, and whitespace fix in en.

14 years agoMove position of $prlevel array stripping, and check isset
Sam Reed [Tue, 19 Jan 2010 17:23:31 +0000 (17:23 +0000)]
Move position of $prlevel array stripping, and check isset

action=query&list=allpages&apfrom=B&apprtype=edit

Gave

Warning: array_diff() [function.array-diff]: Argument #1 is not an array in /home/reedy/mediawiki/trunk/phase3/includes/api/ApiQueryAllpages.php on line 99

14 years agoif available, use iconv because it requires less memory (fixes bug 21809) (follow...
ThomasV [Tue, 19 Jan 2010 17:23:29 +0000 (17:23 +0000)]
if available, use iconv because it requires less memory (fixes bug 21809) (follow up to r55768 and r55843)

14 years agoRevert r61251 as r61252 fixes the extension (so thats presumably "Wrong")
Sam Reed [Tue, 19 Jan 2010 15:32:49 +0000 (15:32 +0000)]
Revert r61251 as r61252 fixes the extension (so thats presumably "Wrong")

14 years agocleanup to mwsuggest.js & fix some things suggested by JSLint
Jack Phoenix [Tue, 19 Jan 2010 15:29:26 +0000 (15:29 +0000)]
cleanup to mwsuggest.js & fix some things suggested by JSLint

14 years agoPass parser by reference on line 3344 for bug 22154 extension broken
Sam Reed [Tue, 19 Jan 2010 15:23:59 +0000 (15:23 +0000)]
Pass parser by reference on line 3344 for bug 22154 extension broken

(line 3351 passes by reference

14 years agoDon't show empty edit box for invalid sections requested by users who cannot edit
Aaron Schulz [Tue, 19 Jan 2010 08:47:48 +0000 (08:47 +0000)]
Don't show empty edit box for invalid sections requested by users who cannot edit

14 years agoIn LanguageConverter:
Tim Starling [Tue, 19 Jan 2010 02:36:33 +0000 (02:36 +0000)]
In LanguageConverter:
* Rewrote convertArray() as an RD parser (with inline tokenizer) as suggested on CR r60986. Fixes unclosed rule issue (with parser test). Fixes O(N^2) timing.
* Removed $this->mMarkup abstraction. Life is complicated enough as it is.
* Replaced a couple of instances of explode() with StringUtils::explode(), limited element count in a couple more.

In ConverterRule:
* Removed mConvTable initialisation from the constructor, unnecessary
* Optimised the "-{xxx}-" tight loop by replacing function calls such as count() and in_array() with language constructs such as isset(). Reduced execution time from 356us to 275us.
* Cached $varsep_pattern for further reduction to 243us.
* A couple more parseFlags() hacks brings it back to 230us.
* Split out $this->mVariantFlags from $this->mFlags. Rearranged flag detection into a foreach/switch to avoid unnecessary isset() calls. 189us.
* Added a special-case optimisation to generateConvTable() for the case where there are no tables defined inline in the article. 116us.
* Fixed bug from r37499: "!R || !N" is always true since they are mutually exclusive, "!R && !N" was intended (with parser test).
* Fixed E_NOTICE from "-{N|foo}-"

14 years agoUpdate js2stopgap.min.js for at least r61137 and r61075
Roan Kattouw [Tue, 19 Jan 2010 00:58:12 +0000 (00:58 +0000)]
Update js2stopgap.min.js for at least r61137 and r61075

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Mon, 18 Jan 2010 22:22:44 +0000 (22:22 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-18 22:00 UTC)

14 years agoFactored MySQL-specific munging out of Language::stripForSearch() to DatabaseMysql...
Max Semenik [Mon, 18 Jan 2010 20:54:43 +0000 (20:54 +0000)]
Factored MySQL-specific munging out of Language::stripForSearch() to DatabaseMysql. This will also allow other backends to provide seamlessly their own munging algorithms in the future.

14 years ago* (bug 21936) When a revision has been patrolled, there's now a link back to the...
Alexandre Emsenhuber [Mon, 18 Jan 2010 19:05:41 +0000 (19:05 +0000)]
* (bug 21936) When a revision has been patrolled, there's now a link back to the article
* Break lines at 80 chars in RELEASE-NOTES

14 years agorv bit accidentally committed in r61180
Max Semenik [Mon, 18 Jan 2010 17:54:37 +0000 (17:54 +0000)]
rv bit accidentally committed in r61180

14 years agoTweak __call failure text again
Chad Horohoe [Mon, 18 Jan 2010 16:18:12 +0000 (16:18 +0000)]
Tweak __call failure text again

14 years agoremoved obsolete search term validation used in validation
Jure Kajzer [Mon, 18 Jan 2010 15:34:26 +0000 (15:34 +0000)]
removed obsolete search term validation used in validation

14 years agoFix stupid r61199, unrelated changes checkin
Chad Horohoe [Mon, 18 Jan 2010 13:02:39 +0000 (13:02 +0000)]
Fix stupid r61199, unrelated changes checkin

14 years agoAdd bug #
Chad Horohoe [Mon, 18 Jan 2010 12:56:44 +0000 (12:56 +0000)]
Add bug #

14 years agoStrip some microdata attributes when invalid
Aryeh Gregor [Mon, 18 Jan 2010 01:30:41 +0000 (01:30 +0000)]
Strip some microdata attributes when invalid

14 years agoStyle fixes to Sanitizer and Parser
Aryeh Gregor [Mon, 18 Jan 2010 01:30:29 +0000 (01:30 +0000)]
Style fixes to Sanitizer and Parser

All parser tests pass, no functional change.

14 years ago* EditPageNoSuchSection hook
Aaron Schulz [Mon, 18 Jan 2010 00:58:22 +0000 (00:58 +0000)]
* EditPageNoSuchSection hook
* Added message to bad section error for reviewed pages
* A few tiny cleanups

14 years agoCode clarity tweak
Aryeh Gregor [Mon, 18 Jan 2010 00:14:47 +0000 (00:14 +0000)]
Code clarity tweak

14 years agoAdd some microdata parser tests
Aryeh Gregor [Mon, 18 Jan 2010 00:08:13 +0000 (00:08 +0000)]
Add some microdata parser tests

14 years agoPer ^demon, follow-up r61173: remove useless "@return nothing"
Alexandre Emsenhuber [Sun, 17 Jan 2010 21:02:03 +0000 (21:02 +0000)]
Per ^demon, follow-up r61173: remove useless "@return nothing"

14 years agoRan stylize.php on DatabaseSqlite
Max Semenik [Sun, 17 Jan 2010 20:47:23 +0000 (20:47 +0000)]
Ran stylize.php on DatabaseSqlite

14 years agoFixed error suppressing suggested in r58559 by Tim. Also fixed some warnings and...
Jure Kajzer [Sun, 17 Jan 2010 20:42:54 +0000 (20:42 +0000)]
Fixed error suppressing suggested in r58559 by Tim. Also fixed some warnings and bugs in Oracle abstraction.

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sun, 17 Jan 2010 19:43:17 +0000 (19:43 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-17 19:30 UTC)

14 years agoFollow-up to r60744: one more const != $var <--> $var != const switch
Max Semenik [Sun, 17 Jan 2010 18:25:44 +0000 (18:25 +0000)]
Follow-up to r60744: one more const != $var <--> $var != const switch

14 years agoFix some doxygen warnings
Alexandre Emsenhuber [Sun, 17 Jan 2010 16:34:22 +0000 (16:34 +0000)]
Fix some doxygen warnings

14 years agoFollow up r59331.
Platonides [Sun, 17 Jan 2010 16:00:36 +0000 (16:00 +0000)]
Follow up r59331.
*Check for false on $rev->getText()
*Use prefixed title on the messages.
*Add --show-private option to bypass revision delete.

14 years agoAvoid r60976 breakage of unexpected line breaks inside maybeHelp
Platonides [Sun, 17 Jan 2010 15:35:14 +0000 (15:35 +0000)]
Avoid r60976 breakage of unexpected line breaks inside maybeHelp

14 years agoUpdated link to docs
Max Semenik [Sun, 17 Jan 2010 13:35:26 +0000 (13:35 +0000)]
Updated link to docs

14 years agoUse getTitle() instead of mTitle
Aryeh Gregor [Sun, 17 Jan 2010 01:47:44 +0000 (01:47 +0000)]
Use getTitle() instead of mTitle

Might prevent fatal errors caused by r61071, as suggested by code review
there.

14 years agoLocalisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sun, 17 Jan 2010 00:48:33 +0000 (00:48 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese

14 years ago(bug 22122) __call() bug check outputs incorrect version.
Chad Horohoe [Sun, 17 Jan 2010 00:18:25 +0000 (00:18 +0000)]
(bug 22122) __call() bug check outputs incorrect version.

14 years agoReadd line mistakenly removed on r61150
Platonides [Sat, 16 Jan 2010 23:34:44 +0000 (23:34 +0000)]
Readd line mistakenly removed on r61150

14 years agoBug 19996 (backend hooks) Finally adding the four hooks.
Platonides [Sat, 16 Jan 2010 23:27:55 +0000 (23:27 +0000)]
Bug 19996 (backend hooks) Finally adding the four hooks.

14 years agoMinor tweaks: reduce use of Title Case, consistent use of "IP address", line breaks...
Siebrand Mazeland [Sat, 16 Jan 2010 17:44:18 +0000 (17:44 +0000)]
Minor tweaks: reduce use of Title Case, consistent use of "IP address", line breaks after sensence for translators.

14 years ago* added inline section edit to wikiEditor ( using js2 / mwEmbed conventions )
Michael Dale [Sat, 16 Jan 2010 17:42:04 +0000 (17:42 +0000)]
* added inline section edit to wikiEditor ( using js2 / mwEmbed conventions )
** added "loaders" to "WikiEditor" and UsabilityInitiative core js
** added >= 1.17 script include calls
* some general mwEmbed loader fixes (around loadDone )
* fixed $j.cookie jquery wrapping
* more jsClassLoader clean up.
* unified wgJSAutoloadLocalClasses var

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Sat, 16 Jan 2010 16:50:25 +0000 (16:50 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-16 16:30 UTC)

14 years agoLocalization update for he.
Rotem Liss [Sat, 16 Jan 2010 15:37:59 +0000 (15:37 +0000)]
Localization update for he.

14 years agoFollowup r61083,r61084: add RELEASE-NOTES entry
Chad Horohoe [Sat, 16 Jan 2010 15:35:46 +0000 (15:35 +0000)]
Followup r61083,r61084: add RELEASE-NOTES entry

14 years agoFix for r60809: wrong argument name
Alexandre Emsenhuber [Sat, 16 Jan 2010 15:02:58 +0000 (15:02 +0000)]
Fix for r60809: wrong argument name

14 years agoMediaWikiBagOStuff -> SqlBagOStuff in comment, both are the same since r55079
Alexandre Emsenhuber [Sat, 16 Jan 2010 14:44:29 +0000 (14:44 +0000)]
MediaWikiBagOStuff -> SqlBagOStuff in comment, both are the same since r55079

14 years ago* (bug 22061) API: add prop=headitems to action=parse
Sam Reed [Sat, 16 Jan 2010 13:07:58 +0000 (13:07 +0000)]
* (bug 22061) API: add prop=headitems to action=parse

Patch contributed by Paul Copperman

14 years agoprovided option for showLogExtract to wrap result. Added log for create protected...
Tobias [Sat, 16 Jan 2010 11:24:23 +0000 (11:24 +0000)]
provided option for showLogExtract to wrap result. Added log for create protected page

14 years agoMade noSuchSectionPage() use mTitle
Aaron Schulz [Sat, 16 Jan 2010 07:18:16 +0000 (07:18 +0000)]
Made noSuchSectionPage() use mTitle

14 years agoTweaked nosuchsection messages
Aaron Schulz [Sat, 16 Jan 2010 03:45:39 +0000 (03:45 +0000)]
Tweaked nosuchsection messages

14 years agoBump style version for r61112
Chad Horohoe [Sat, 16 Jan 2010 00:11:04 +0000 (00:11 +0000)]
Bump style version for r61112

14 years ago(bug 5061) Thumbnail styles in main.css and commonprint.css are too imprecise.
Platonides [Fri, 15 Jan 2010 23:35:50 +0000 (23:35 +0000)]
(bug 5061) Thumbnail styles in main.css and commonprint.css are too imprecise.
Use the more precise thumbcaption thumbimage and thumbinner classes for image divs on skins chick, simple and commonPrint.css

This just replicates the changes of r18303 on monobook.
Patch by Derk-Jan Hartman

14 years agofollow up r61101, fix cut-n-paste error
Mark A. Hershberger [Fri, 15 Jan 2010 19:48:34 +0000 (19:48 +0000)]
follow up r61101, fix cut-n-paste error

14 years agofollow up r60832 and follow up r60763
Mark A. Hershberger [Fri, 15 Jan 2010 19:14:23 +0000 (19:14 +0000)]
follow up r60832 and follow up r60763

* Don't set Parser::$mTitle to random garbage.
* Remove ParserOutput::$displayTitle, make setDisplayTitle() and
  getDisplayTitle() wrappers for their *TitleText() equivalents.
* Remove Parser::$mDo*Convert member variables, move test for
  $mDoubleUnderScores[] directives closer to the action.
* Remove bogus "global $wgContLang".
* Use accessor to get at $mConvRuleTitle
* Fix up showtitle option in parserTests.inc
* TODO: refactor FakeConverter class away

14 years agoLocalisation updates for core and extension messages from translatewiki.net (2010...
Raimond Spekking [Fri, 15 Jan 2010 19:12:09 +0000 (19:12 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-01-15 19:00 UTC)

14 years agoRevert r61078/r61079 for now. Throws a lot of PHP warnings at translatewiki. See...
Raimond Spekking [Fri, 15 Jan 2010 18:57:29 +0000 (18:57 +0000)]
Revert r61078/r61079 for now. Throws a lot of PHP warnings at translatewiki. See CR for details

14 years ago* add ForkController class to Maintenance group
Alexandre Emsenhuber [Fri, 15 Jan 2010 18:12:13 +0000 (18:12 +0000)]
* add ForkController class to Maintenance group
* removed trailing spaces

14 years agoAdd <guid> to RSS to avoid duplicates
Aryeh Gregor [Fri, 15 Jan 2010 18:00:56 +0000 (18:00 +0000)]
Add <guid> to RSS to avoid duplicates

Bug 7346.  Patch by Jools Wills (buzz).

14 years agoTabs to spaces in the middle of the line
Niklas Laxström [Fri, 15 Jan 2010 17:28:40 +0000 (17:28 +0000)]
Tabs to spaces in the middle of the line

14 years ago* use require_once for ProfilerStub.php, GlobalFunctions.php and Hooks.php, these...
Alexandre Emsenhuber [Fri, 15 Jan 2010 16:55:00 +0000 (16:55 +0000)]
* use require_once for ProfilerStub.php, GlobalFunctions.php and Hooks.php, these files might already be loaded when reaching this point
* always use the complete path (with $IP) when loading files with require(_once)
* include AutoLoader before LocalSettings.php as we do in WebStart.php
* don't load DefaultSettings.php, it's already done by LocalSettings.php
* define MW_PHPUNIT_TEST constant
* added a description for the file

14 years agoAnd IE 5.5 too, while we're at it.
Chad Horohoe [Fri, 15 Jan 2010 14:37:19 +0000 (14:37 +0000)]
And IE 5.5 too, while we're at it.

14 years agoKill off IE50Fixes. Adds extra clutter to the head, and market share is down below...
Chad Horohoe [Fri, 15 Jan 2010 14:26:52 +0000 (14:26 +0000)]
Kill off IE50Fixes. Adds extra clutter to the head, and market share is down below 0.03% (is.gd/6jyWo).

14 years agoReference 0.4 XML schema. Lets <redirect /> validate.
Chad Horohoe [Fri, 15 Jan 2010 13:10:54 +0000 (13:10 +0000)]
Reference 0.4 XML schema. Lets <redirect /> validate.

14 years agoFixed fatal error by defineing a blank function in parent class
Jure Kajzer [Fri, 15 Jan 2010 10:12:00 +0000 (10:12 +0000)]
Fixed fatal error by defineing a blank function in parent class

14 years agofollow-up r60811 clean up code, write some tests for the existing uses of HttpFunctio...
Mark A. Hershberger [Fri, 15 Jan 2010 05:56:57 +0000 (05:56 +0000)]
follow-up r60811 clean up code, write some tests for the existing uses of HttpFunctions.  Still need to test background download, proxy tests, etc.

14 years ago* puts jquery computeStyle in try catch ( un-breaks usability / js2 integration )
Michael Dale [Fri, 15 Jan 2010 03:10:01 +0000 (03:10 +0000)]
* puts jquery computeStyle in try catch ( un-breaks usability / js2 integration )

14 years agoCleanup on ancient JS file that's awful anyway
Aryeh Gregor [Fri, 15 Jan 2010 01:33:32 +0000 (01:33 +0000)]
Cleanup on ancient JS file that's awful anyway

Not only hardcoded browser version checks, but hardcoded browser version
checks *for NN4*.  Probably a waste of time, but oh well.

14 years agoPHP 5.3.2 might not be out until February, by which time a number of distros will...
Tim Starling [Fri, 15 Jan 2010 01:29:55 +0000 (01:29 +0000)]
PHP 5.3.2 might not be out until February, by which time a number of distros will probably be using PHP 5.3.1. Replacing the version number check with a direct bug #50394 check, so that distros or other users can backport the one-line fix without having to upgrade to 5.3.2.

14 years agoMerge all skins' output of opening <body> tag
Aryeh Gregor [Fri, 15 Jan 2010 01:16:52 +0000 (01:16 +0000)]
Merge all skins' output of opening <body> tag

This fixes a few minor discrepancies, like Vector outputting dir=""
(redundant to the one on <html>), and non-Monobook-based skins omitting
the capitalize-all-nouns class (!).  This adds Html::openElement() and
refactors Html::rawElement() accordingly, so I checked that all parser
tests still pass.

I wasn't able to figure out if I broke some feature of right-floating
quickbars in the Standard skin, because I wasn't able to figure out what
the feature was in the first place.  Hopefully either it works, or
nobody cares, or someone else will figure out what it was supposed to
do.  (This is the stuff in getBodyOptions() in Standard.php I deleted;
I'm not sure the addition to sticky.js does what I want.)