lhc/web/wiklou.git
13 years agoFollow up r87630. The file cache is now checked at reportHTML() which overrides the...
Platonides [Tue, 17 May 2011 21:21:21 +0000 (21:21 +0000)]
Follow up r87630. The file cache is now checked at reportHTML() which overrides the default implementation of MWException::reportHTML()

13 years ago(no commit message)
Raimond Spekking [Tue, 17 May 2011 20:25:48 +0000 (20:25 +0000)]

13 years agoRevert r88046 due to revert of parent revision r88043.
Raimond Spekking [Tue, 17 May 2011 18:41:07 +0000 (18:41 +0000)]
Revert r88046 due to revert of parent revision r88043.

13 years agoRemoved usage of error suppression operator
Alexandre Emsenhuber [Tue, 17 May 2011 18:03:50 +0000 (18:03 +0000)]
Removed usage of error suppression operator

13 years agoFollow up r8832: Adding file extension (module name must match filename)
Krinkle [Tue, 17 May 2011 17:21:57 +0000 (17:21 +0000)]
Follow up r8832: Adding file extension (module name must match filename)

13 years agoPassing module to handlePending (bug 28998; Follow-up r88053)
Krinkle [Tue, 17 May 2011 17:20:24 +0000 (17:20 +0000)]
Passing module to handlePending (bug 28998; Follow-up r88053)

13 years ago* Moving jQuery extend into its own module (jquery.mwPrototypes) (bug 27149; Introduc...
Krinkle [Tue, 17 May 2011 17:19:12 +0000 (17:19 +0000)]
* Moving jQuery extend into its own module (jquery.mwPrototypes) (bug 27149; Introduced in r)

13 years agoTypo
Niklas Laxström [Tue, 17 May 2011 13:29:45 +0000 (13:29 +0000)]
Typo

13 years agoFollow up r88270 — remove commas from table creation that break a
Mark A. Hershberger [Tue, 17 May 2011 11:56:53 +0000 (11:56 +0000)]
Follow up r88270 — remove commas from table creation that break a
sqlite install.

13 years ago* (bug 29022) Link to disable email notifications should be in the email notification
Brion Vibber [Tue, 17 May 2011 11:41:49 +0000 (11:41 +0000)]
* (bug 29022) Link to disable email notifications should be in the email notification

Adds a line linking to Special:Preferences to enotif_body message that formats watchlist-based email notifications.
This allows the receiving user to immediately go adjust their settings if they decide they don't want them.

Only changed the English message; needs to be duplicated in localizations.

(Long-term, this message should be broken up so the header lines can be handled independently.)

13 years agoMake @deprecated documentation more consistent (see: http://svn.wikimedia.org/doc...
Siebrand Mazeland [Tue, 17 May 2011 08:46:29 +0000 (08:46 +0000)]
Make @deprecated documentation more consistent (see: svn.wikimedia.org/doc/deprecated.html).

13 years agoSuprtfluous whitespace removed.
Siebrand Mazeland [Tue, 17 May 2011 08:32:10 +0000 (08:32 +0000)]
Suprtfluous whitespace removed.

13 years ago* remove unneeded behavior change for action=info in NS_MEDIAWIKI.
Siebrand Mazeland [Tue, 17 May 2011 08:17:44 +0000 (08:17 +0000)]
* remove unneeded behavior change for action=info in NS_MEDIAWIKI.
* remove superfluous whitespace and update FIXME notation.

13 years agodb -> dbw
Chad Horohoe [Tue, 17 May 2011 00:18:00 +0000 (00:18 +0000)]
db -> dbw

13 years agoMore config stuff: method for applying settings, getting defaults, doc fixes, etc
Chad Horohoe [Tue, 17 May 2011 00:04:49 +0000 (00:04 +0000)]
More config stuff: method for applying settings, getting defaults, doc fixes, etc

13 years ago(bug 28992) Revision numbers in the patrol log are transformed in the user language.
Siebrand Mazeland [Mon, 16 May 2011 23:36:39 +0000 (23:36 +0000)]
(bug 28992) Revision numbers in the patrol log are transformed in the user language.

13 years agoFollowup r88270: add new table to updaters
Chad Horohoe [Mon, 16 May 2011 23:22:51 +0000 (23:22 +0000)]
Followup r88270: add new table to updaters

13 years ago(bug 29011) Remove hard coded text from Special:LockDb.
Siebrand Mazeland [Mon, 16 May 2011 23:21:32 +0000 (23:21 +0000)]
(bug 29011) Remove hard coded text from Special:LockDb.

Who locked the database and when will be displayed in the content language, as reason, locker and timestamp are saved in $wgReadOnlyFile.

13 years agoUpdate deprecated shortcuts to current values as of 2011-version of QUnit
Krinkle [Mon, 16 May 2011 22:54:54 +0000 (22:54 +0000)]
Update deprecated shortcuts to current values as of 2011-version of QUnit
* equals -> equal
* same -> deepEqual

13 years agomw.util.getActionFrom incorrectly returns null
Krinkle [Mon, 16 May 2011 22:51:29 +0000 (22:51 +0000)]
mw.util.getActionFrom incorrectly returns null
* Return 'view' for urls like:
 - /w/index.php?title=Foobar
* Anything else, fallback to 'view' (just like PHP does)
* JSHint
 - ['view'] is better written in dot notation.
 - 'action' was already defined on line 235.
 - 'actionRe' is defined multiple times (loop).
 - Use '===' to compare with '0'.
 - 'title' is already defined.
 >> The code check passed 100%!
* Adding QUnit test for getActionFrom and getTitleFrom

(Follow-up r87964)

13 years agoAdd exposeGlobals() b/c stuff
Chad Horohoe [Mon, 16 May 2011 21:14:51 +0000 (21:14 +0000)]
Add exposeGlobals() b/c stuff

13 years agoInitial commit of configuration management backend proposal. Feedback desired before...
Chad Horohoe [Mon, 16 May 2011 21:04:55 +0000 (21:04 +0000)]
Initial commit of configuration management backend proposal. Feedback desired before I go much further.
* Common use case is Conf::get( 'myVar' );
* Support for default install (new `config` table) added, should be trivial to add backends for CDB, Memcache, etc...
*

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Mon, 16 May 2011 20:57:27 +0000 (20:57 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-16 20:37:00 UTC)

13 years ago* Changed load order in QUnit to mirror the order in MediaWiki itself.
Krinkle [Mon, 16 May 2011 18:18:28 +0000 (18:18 +0000)]
* Changed load order in QUnit to mirror the order in MediaWiki itself.
* Added testswarm.inject.js to SVN (Follow-up r87899)

13 years agoSplit mw.user from mediawiki.js into its own module
Krinkle [Mon, 16 May 2011 17:58:54 +0000 (17:58 +0000)]
Split mw.user from mediawiki.js into its own module
* Split mw.user from mediawiki.js into its own module
* Except for "new Map()" to "new mw.Map()", no code was changed.
* Merged addModules call in OutputPage->addDefaultModules for "mediawiki.action.view.tablesorting" into existing call to addModules (no need for two calls, addModules takes an array)
* This also makes the mw.loader.load call at the bottom of mediawiki.js redundant (now in dependancies for mediawiki.user in Resources.php)
* Added QUnit test suite for mw.user

13 years agoRemove verboseness (image and infobox) in Special:Contributions for diff size display...
Siebrand Mazeland [Mon, 16 May 2011 17:51:44 +0000 (17:51 +0000)]
Remove verboseness (image and infobox) in Special:Contributions for diff size display as added in r88111.

13 years agoOnly increment the page count if the page has been created; also simplified a bit...
Alexandre Emsenhuber [Mon, 16 May 2011 17:41:58 +0000 (17:41 +0000)]
Only increment the page count if the page has been created; also simplified a bit the code

13 years agoRemoved configuration storage in the MediaWiki class:
Alexandre Emsenhuber [Mon, 16 May 2011 16:46:30 +0000 (16:46 +0000)]
Removed configuration storage in the MediaWiki class:
* It serves no purpose, since to be useful we would need to propagate it to all to all objects called by the MediaWiki class
* It is in the wrong place; the MediaWiki class is an helper class for the index.php script, not the base class for the software (and the class could maybe even be renamed)

13 years agothree new hooks in SpecialUndelete.php from Wikia codebase so that extensions, such...
Jack Phoenix [Mon, 16 May 2011 13:30:32 +0000 (13:30 +0000)]
three new hooks in SpecialUndelete.php from Wikia codebase so that extensions, such as the Video extension, can use their custom PageArchive class

13 years agopeace, love and coding style
Jack Phoenix [Mon, 16 May 2011 13:15:15 +0000 (13:15 +0000)]
peace, love and coding style

13 years agosome coding style tweaks
Jack Phoenix [Mon, 16 May 2011 13:04:57 +0000 (13:04 +0000)]
some coding style tweaks

13 years agounbreak ProfilerSimpleTrace, some Profile refactoring made it not worky :( Also,...
Domas Mituzas [Mon, 16 May 2011 12:50:02 +0000 (12:50 +0000)]
unbreak ProfilerSimpleTrace, some Profile refactoring made it not worky :( Also, add it to AutoLoader

13 years agoFix ProfilerSimpleTextBreakage introduced by r86633
Domas Mituzas [Mon, 16 May 2011 12:45:08 +0000 (12:45 +0000)]
Fix ProfilerSimpleTextBreakage introduced by r86633

13 years agofurther update to skin due to module update, also some margin/padding tweaks to accou...
Ryan Kaldari [Mon, 16 May 2011 12:18:54 +0000 (12:18 +0000)]
further update to skin due to module update, also some margin/padding tweaks to account for formatting differences unique to our skin

13 years agoFollowup r88211: make the release notes entry say something useful
Niklas Laxström [Mon, 16 May 2011 10:12:14 +0000 (10:12 +0000)]
Followup r88211: make the release notes entry say something useful

13 years agoupdating our jquery ui button skin to match changes in jquery.ui.button functionality...
Ryan Kaldari [Mon, 16 May 2011 10:11:58 +0000 (10:11 +0000)]
updating our jquery ui button skin to match changes in jquery.ui.button functionality, per current version in trunk

13 years agoFollow-up r88190: coding style
Niklas Laxström [Mon, 16 May 2011 09:59:23 +0000 (09:59 +0000)]
Follow-up r88190: coding style

13 years agoWhitespace changes
Niklas Laxström [Mon, 16 May 2011 09:40:19 +0000 (09:40 +0000)]
Whitespace changes

13 years agoFollow-up 88165: kis
Niklas Laxström [Mon, 16 May 2011 09:30:55 +0000 (09:30 +0000)]
Follow-up 88165: kis

13 years ago(bug 28174) Message amended so as to not explicitly refer to LTR/RTL screen layout.
Purodha B Blissenbach [Mon, 16 May 2011 01:33:12 +0000 (01:33 +0000)]
(bug 28174) Message amended so as to not explicitly refer to LTR/RTL screen layout.

13 years agoLocalisation updates for core and extension messages from translatewiki.net (2011...
Raimond Spekking [Sun, 15 May 2011 20:44:40 +0000 (20:44 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-15 19:54:00 UTC)

13 years ago(bug 26742) Add @noflip to RTL-specific rules in jquery.ui.datepicker.css
Roan Kattouw [Sun, 15 May 2011 16:19:39 +0000 (16:19 +0000)]
(bug 26742) Add @noflip to RTL-specific rules in jquery.ui.datepicker.css

13 years agoKill the error suppression operator in the Api
Bryan Tong Minh [Sun, 15 May 2011 14:57:10 +0000 (14:57 +0000)]
Kill the error suppression operator in the Api

13 years agoBug 28715 - Display what the server default timezone is in the timezone selection...
Rob Lanphier [Sun, 15 May 2011 14:51:01 +0000 (14:51 +0000)]
Bug 28715 - Display what the server default timezone is in the timezone selection preference.

13 years agoRemoved usage of error suppression operator in Special:LockDB and Special:UnlockDB
Alexandre Emsenhuber [Sun, 15 May 2011 14:48:15 +0000 (14:48 +0000)]
Removed usage of error suppression operator in Special:LockDB and Special:UnlockDB

13 years agoPer CR r75906, reintroduce ApiUpload::transformWarnings()
Bryan Tong Minh [Sun, 15 May 2011 14:46:13 +0000 (14:46 +0000)]
Per CR r75906, reintroduce ApiUpload::transformWarnings()

13 years agoAdd check for evil, EVIL @
Chad Horohoe [Sun, 15 May 2011 14:32:49 +0000 (14:32 +0000)]
Add check for evil, EVIL @

13 years agoFix Bug #28995: “public interface for getting state of a module” from
Mark A. Hershberger [Sun, 15 May 2011 14:26:24 +0000 (14:26 +0000)]
Fix Bug #28995: “public interface for getting state of a module” from
    Bergi

    Sometimes userscripts need to know about the registrated modules,
    mostly about their state.
    …
    My patch also resolves inconsistencies in the naming conventions
    of getters and setters; I think there should be a clear
    difference.

13 years agow/s and typo fix
Mark A. Hershberger [Sun, 15 May 2011 14:18:35 +0000 (14:18 +0000)]
w/s and typo fix

13 years agoFix directory name, mw-config, not config
Alexandre Emsenhuber [Sun, 15 May 2011 14:15:43 +0000 (14:15 +0000)]
Fix directory name, mw-config, not config

13 years agoChanging !isset to is_null (thanks Roan!) and fixing some coding style stuff
Rob Lanphier [Sun, 15 May 2011 13:56:12 +0000 (13:56 +0000)]
Changing !isset to is_null (thanks Roan!) and fixing some coding style stuff
Followup to r88178

13 years agoSetting $wgLocalTZoffset based on $wgLocaltimezone, using code that used to
Rob Lanphier [Sun, 15 May 2011 13:42:10 +0000 (13:42 +0000)]
Setting $wgLocalTZoffset based on $wgLocaltimezone, using code that used to
be in a comment in DefaultSettings.  Pair programmed with hashar.

13 years agoFix for HipHop breakage in r87748 etc. Please do not use require_once(dirname(__FILE_...
Tim Starling [Sun, 15 May 2011 13:36:59 +0000 (13:36 +0000)]
Fix for HipHop breakage in r87748 etc. Please do not use require_once(dirname(__FILE__)...) to fetch class, function or define() dependencies anymore. You do not need to have HipHop to know that doing so will break it.

13 years agoRevert r87635, r87637, r87639, r87643 (MW_MIN_PHP_VERSION etc.): breaks HipHop support.
Tim Starling [Sun, 15 May 2011 13:21:16 +0000 (13:21 +0000)]
Revert r87635, r87637, r87639, r87643 (MW_MIN_PHP_VERSION etc.): breaks HipHop support.

13 years ago* (bug 27593) API: add error message when sha1/sha1base36 is invalid
Sam Reed [Sun, 15 May 2011 13:16:13 +0000 (13:16 +0000)]
* (bug 27593) API: add error message when sha1/sha1base36 is invalid

13 years agoFollow up r87805. Remove unused global.
Platonides [Sun, 15 May 2011 13:12:19 +0000 (13:12 +0000)]
Follow up r87805. Remove unused global.

13 years ago(bug 23464) File: prefixes are now chopped off during uploading.
Bryan Tong Minh [Sun, 15 May 2011 12:51:52 +0000 (12:51 +0000)]
(bug 23464) File: prefixes are now chopped off during uploading.

13 years agoProfile brace substitution per title to help detect the "bad templates". (Make this...
Platonides [Sun, 15 May 2011 12:40:32 +0000 (12:40 +0000)]
Profile brace substitution per title to help detect the "bad templates". (Make this configurable?)

13 years agoMove $wgContLang out of the switch
Platonides [Sun, 15 May 2011 12:37:50 +0000 (12:37 +0000)]
Move $wgContLang out of the switch

13 years agoFollow up r88053. This was trying to throw the return value of a function called...
Platonides [Sun, 15 May 2011 12:36:21 +0000 (12:36 +0000)]
Follow up r88053. This was trying to throw the return value of a function called MWException.

13 years ago(bug 1780) Uploading files with non-ascii characters are now forbidden on Windows...
Bryan Tong Minh [Sun, 15 May 2011 12:35:50 +0000 (12:35 +0000)]
(bug 1780) Uploading files with non-ascii characters are now forbidden on Windows. PHP on Windows does not reliably support non-ascii characters to forbid them all. Theoretically we could detect the filesystem locale and iconv the filename, but that is just too much hassle. Added message 'windows-nonascii-filename'.

13 years agoPerform an early exit
Platonides [Sun, 15 May 2011 12:34:00 +0000 (12:34 +0000)]
Perform an early exit

13 years agoHipHop build fixes:
Tim Starling [Sun, 15 May 2011 12:25:36 +0000 (12:25 +0000)]
HipHop build fixes:
* Generate the file list from the autoloader so that it won't break so often
* Removed spyc.php from AutoLoader.php, was deleted in r86302

13 years agoIn tests, remove references to wgInputEncoding and wgOutputEncoding
Antoine Musso [Sun, 15 May 2011 12:09:59 +0000 (12:09 +0000)]
In tests, remove references to wgInputEncoding and wgOutputEncoding

Those globals are no more used as of r87589

13 years agoinitialize Profiler instance singleton with ProfilerStub if 'bogus' is detected,...
Domas Mituzas [Sun, 15 May 2011 11:16:59 +0000 (11:16 +0000)]
initialize Profiler instance singleton with ProfilerStub if 'bogus' is detected, rather than failing. CBA to debug. Reviewed by Tim eating his lunch.

13 years agoRemove debugging code introduced in r88115
Roan Kattouw [Sun, 15 May 2011 10:57:01 +0000 (10:57 +0000)]
Remove debugging code introduced in r88115

13 years agoRedo r88144
Krinkle [Sun, 15 May 2011 10:47:37 +0000 (10:47 +0000)]
Redo r88144

13 years agoFollow-up r87176 use wfLocalFile instead of wfFindFile
Bryan Tong Minh [Sun, 15 May 2011 10:43:51 +0000 (10:43 +0000)]
Follow-up r87176 use wfLocalFile instead of wfFindFile

13 years agoRevert r88144, deleted the wrong file
Roan Kattouw [Sun, 15 May 2011 10:42:33 +0000 (10:42 +0000)]
Revert r88144, deleted the wrong file

13 years agoFollow-up r87176: Make importDump.php import files
Bryan Tong Minh [Sun, 15 May 2011 10:39:15 +0000 (10:39 +0000)]
Follow-up r87176: Make importDump.php import files
* Fixes for Import.php: Check sha1 of the file; only delete source files if they are temporary
* importDump.php now imports embedded files if --uploads is set; if they are not present it will try to get them from --image-base-path

13 years agoGoodbye mediawiki.util.test. In no particular order:
Krinkle [Sun, 15 May 2011 10:34:28 +0000 (10:34 +0000)]
Goodbye mediawiki.util.test. In no particular order:
* Uses ugly eval()
* Initially meant to cross-browser test mediawiki.util.test, (re|ab|)used for random other tests
* Uses ugly html-element innerText comparison to validate tests
* Loaded for all debug=true requests
* Not automatable, not distributeable, not pushable, not compatible with TestSwarm.
* I wrote it on a late sunday night because we needed it.
* QUnit is the opposite of this.

To run the test suite: visit /w/resources/test/

13 years ago(bug 27073) Lazy init the style marker and insert if not available (ie. when using...
Krinkle [Sun, 15 May 2011 10:33:07 +0000 (10:33 +0000)]
(bug 27073) Lazy init the style marker and insert if not available (ie. when using resourceloader js on a non-mediawiki domain); fixing typo (r88074 CR)

13 years agoAdd 'hash' => array( 'class' => 'HashBagOStuff' ) to $wgObjectCaches; greatly speeds...
Bryan Tong Minh [Sun, 15 May 2011 09:54:31 +0000 (09:54 +0000)]
Add 'hash' => array( 'class' => 'HashBagOStuff' ) to $wgObjectCaches; greatly speeds up importDump.php

13 years ago* fixed typo
Jure Kajzer [Sun, 15 May 2011 09:20:40 +0000 (09:20 +0000)]
* fixed typo

13 years agoFixes regression in r88125 - if batch is empty we should bail early
Trevor Parscal [Sun, 15 May 2011 09:10:04 +0000 (09:10 +0000)]
Fixes regression in r88125 - if batch is empty we should bail early

13 years agoFixed a bug in transformation where previous language could leak into later transform...
Niklas Laxström [Sun, 15 May 2011 07:16:25 +0000 (07:16 +0000)]
Fixed a bug in transformation where previous language could leak into later transformations in UI language. Not sure what do with userlang.

13 years agoMarked some _Newtalk functions protected
Aaron Schulz [Sun, 15 May 2011 06:32:26 +0000 (06:32 +0000)]
Marked some _Newtalk functions protected

13 years agoKill diff.js with fire. It only applies to versions of Gecko that were released befor...
Roan Kattouw [Sat, 14 May 2011 23:49:29 +0000 (23:49 +0000)]
Kill diff.js with fire. It only applies to versions of Gecko that were released before Nov 2002, which is waaaay beyond what we support, or what anyone could conceivably be using in this day and age.

13 years ago(bug 28940) When making a thumb of an SVG, and only specifying the height
Brian Wolff [Sat, 14 May 2011 23:48:59 +0000 (23:48 +0000)]
(bug 28940) When making a thumb of an SVG, and only specifying the height
make the width be the max SVG size, not the natrual width of the SVG.

Some of the linker code here should perhaps be moved. See comments on bug 28940

13 years agoRemoved the go() call, and the suspended until go() is called behavior.
Trevor Parscal [Sat, 14 May 2011 23:12:16 +0000 (23:12 +0000)]
Removed the go() call, and the suspended until go() is called behavior.

13 years agoAdd Rotem Liss and Platonides to author list.
Siebrand Mazeland [Sat, 14 May 2011 23:11:15 +0000 (23:11 +0000)]
Add Rotem Liss and Platonides to author list.

13 years agoBump to 1.19
Platonides [Sat, 14 May 2011 23:08:43 +0000 (23:08 +0000)]
Bump to 1.19

13 years ago(bug 28287) The "your changes" box for edit conflicts is now read-only. Patch by...
Benjamin Lees [Sat, 14 May 2011 22:57:55 +0000 (22:57 +0000)]
(bug 28287) The "your changes" box for edit conflicts is now read-only.  Patch by MZMcBride.

13 years agoCredits to Victor Vasiliev in [[Special:Version]]
Antoine Musso [Sat, 14 May 2011 22:53:31 +0000 (22:53 +0000)]
Credits to Victor Vasiliev in [[Special:Version]]

Be bold!

13 years agoRevert r88043. It was broken in several ways.
Platonides [Sat, 14 May 2011 22:36:19 +0000 (22:36 +0000)]
Revert r88043. It was broken in several ways.

13 years agoFix Bug 28979 — “remove some CSS for abbr and acronym tags”
Mark A. Hershberger [Sat, 14 May 2011 22:10:10 +0000 (22:10 +0000)]
Fix Bug 28979 — “remove some CSS for abbr and acronym tags”

    The <abbr> and <acronym> tags were whitelisted with bug 671, but
    there are some CSS rules for them since long, long times. They can
    be found in the first versions of chick, monobook and are carried
    on to vector skin.

    Often these tags are used in links, e.g. [[Normalnull|<abbr
    title="meter above see level">NN</abbr>]]. But in here the
    color:black; makes the text unrecognizable as a hyperlink
    (together with the senseful cursor:help; rule).

    When these rules where meant to override some crazy
    browserdependent default settings, they should be be changed to
    "inherit".

from Bergi

13 years ago* added alternative revison size display if diff size is not selected
Jure Kajzer [Sat, 14 May 2011 22:06:47 +0000 (22:06 +0000)]
* added alternative revison size display if diff size is not selected

13 years ago(bug 28978) jquery.autoEllipsis cache doesn't take position into account, leads to...
Roan Kattouw [Sat, 14 May 2011 17:56:01 +0000 (17:56 +0000)]
(bug 28978) jquery.autoEllipsis cache doesn't take position into account, leads to cache pollution

13 years agoRewrote the article counting code and related:
Alexandre Emsenhuber [Sat, 14 May 2011 17:11:32 +0000 (17:11 +0000)]
Rewrote the article counting code and related:
* (bug 26033, bug 24754) Added $wgArticleCountMethod to have a more flexible way to define which method to use to define if a page is an article or not and deprecated $wgUseCommaCount. There is now a new 'any' method to count any article that is in a content namespace and not a redirect.
* (bug 11868) If using links to count articles, Article::isCountable() will now use the ParserOutput to check if there's a link instead of checking for the "[[" string. Changed Article::isCountable() to take a stdObject or false for the first parameters. If false is passed, the result will be based on the current article's state (i.e. database). The only call outside of the Article class is in DeleteAction (including extensions).
* Removed this horror of Article::$mGoodAdjustment and Article::$mTotalAdjustment, replaced by the new $created parameter on Article::editUpdates(); simplified Article::createUpdates()
* Updated Import.php to take advantage of the new parameter and make a single call to Article::editUpdates()

13 years ago* added an option to toggle the display of diff size with a warning message.
Jure Kajzer [Sat, 14 May 2011 17:05:25 +0000 (17:05 +0000)]
* added an option to toggle the display of diff size with a warning message.
* in misermode this option is disabled

13 years agoFollow-up r87589: let's simplify this a bit :P
Alexandre Emsenhuber [Sat, 14 May 2011 17:02:37 +0000 (17:02 +0000)]
Follow-up r87589: let's simplify this a bit :P

13 years agodiscussion with hashar
Jure Kajzer [Sat, 14 May 2011 16:54:22 +0000 (16:54 +0000)]
discussion with hashar
* moved getInfoBox into Xml.php as infoBox static method
* moved config-infobox* css classes from config to mw-infobox* in shared
* left getInfoBox as a wrapper in the installer

13 years agoBasic HTML file to test our CSS box
Antoine Musso [Sat, 14 May 2011 16:46:16 +0000 (16:46 +0000)]
Basic HTML file to test our CSS box

13 years agoorange should be prefered to yellow
Antoine Musso [Sat, 14 May 2011 16:09:56 +0000 (16:09 +0000)]
orange should be prefered to yellow

This is a recommandation by Jorm following a live conversation with him.
See also: http://www.mediawiki.org/wiki/Style_guide

Follow up r88098

13 years agoRemove special case for IE on Mac. No longer supported. Also fixes bug 28937: The...
Siebrand Mazeland [Sat, 14 May 2011 16:01:15 +0000 (16:01 +0000)]
Remove special case for IE on Mac. No longer supported. Also fixes bug 28937: The /* Empty */ comment inserted by RawPage::getArticleText should be localizable.

13 years agoadd a shared CSS class for warnings
Antoine Musso [Sat, 14 May 2011 15:39:37 +0000 (15:39 +0000)]
add a shared CSS class for warnings

We already have one for success and error

13 years agoVector.php: coding style
Jack Phoenix [Sat, 14 May 2011 15:14:03 +0000 (15:14 +0000)]
Vector.php: coding style

13 years agoFix line removedfor no explicit reason from r85771
Sam Reed [Sat, 14 May 2011 14:44:37 +0000 (14:44 +0000)]
Fix line removedfor no explicit reason from r85771

13 years ago(bug 18803) JPEG2000 images can no longer be uploaded as JPEG image. Done by adding...
Bryan Tong Minh [Sat, 14 May 2011 14:41:31 +0000 (14:41 +0000)]
(bug 18803) JPEG2000 images can no longer be uploaded as JPEG image. Done by adding the relevant mime info to mime.types and mime.info

13 years agoFix broken --sysop flag in r87480: it was triggering the bureaucrat right instead...
Roan Kattouw [Sat, 14 May 2011 14:20:18 +0000 (14:20 +0000)]
Fix broken --sysop flag in r87480: it was triggering the bureaucrat right instead, and createAndPromote.php couldn't be used to create sysops at all