Raimond Spekking [Wed, 18 May 2011 20:12:29 +0000 (20:12 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2011-05-18 20:01:00 UTC)
Robin Pepermans [Wed, 18 May 2011 19:44:01 +0000 (19:44 +0000)]
Per discussion, only apply to .free and .autonumber (so custom link texts are not broken)
Robin Pepermans [Wed, 18 May 2011 19:36:12 +0000 (19:36 +0000)]
Follow-up to r88378 & r88379: move to common/shared.css (appropriate place) and add @noflip
Alexandre Emsenhuber [Wed, 18 May 2011 19:29:50 +0000 (19:29 +0000)]
DB_READ -> DB_SLAVE, the former is obsolete
Krinkle [Wed, 18 May 2011 19:19:35 +0000 (19:19 +0000)]
Applying patch by Ryan Kaldari (bug 28690): Adding border to jQuery UI 'vector' theme dialog
Robin Pepermans [Wed, 18 May 2011 18:10:40 +0000 (18:10 +0000)]
fix r88378: fix CSS id in modern skin
Robin Pepermans [Wed, 18 May 2011 18:03:06 +0000 (18:03 +0000)]
(bug 4330) External URLs should always be treated as LTR, also in RTL text (CSS fix thanks to Amir Aharoni)
Krinkle [Wed, 18 May 2011 17:58:38 +0000 (17:58 +0000)]
QUnit test suite improvements
* [jquery.autoEllipsis.js] Adding check to verify that span exists and is the only and direct child
* [mediawiki.js] Deleting window.awesome after the test is ran. This will make the test suite pass QUnit's "No globals" mode which is useful to detect if a module introduced an (implied) global variable.
Roan Kattouw [Tue, 17 May 2011 22:19:27 +0000 (22:19 +0000)]
Add simple test for jquery.autoEllipsis
Krinkle [Tue, 17 May 2011 22:14:00 +0000 (22:14 +0000)]
Adding release notes for recent bug fixes and functionality added by me during the Berlin Hackathon 2011 (and the days afterwards)
Siebrand Mazeland [Tue, 17 May 2011 22:03:20 +0000 (22:03 +0000)]
Use consistent notation for "@todo FIXME". Should update svn.wikimedia.org/doc/todo.html nicely.
Krinkle [Tue, 17 May 2011 21:54:12 +0000 (21:54 +0000)]
Fixing typo from r55396 + code styl/whitespace
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()
Raimond Spekking [Tue, 17 May 2011 20:25:48 +0000 (20:25 +0000)]
Raimond Spekking [Tue, 17 May 2011 18:41:07 +0000 (18:41 +0000)]
Revert r88046 due to revert of parent revision r88043.
Alexandre Emsenhuber [Tue, 17 May 2011 18:03:50 +0000 (18:03 +0000)]
Removed usage of error suppression operator
Krinkle [Tue, 17 May 2011 17:21:57 +0000 (17:21 +0000)]
Follow up r8832: Adding file extension (module name must match filename)
Krinkle [Tue, 17 May 2011 17:20:24 +0000 (17:20 +0000)]
Passing module to handlePending (bug 28998; Follow-up r88053)
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)
Niklas Laxström [Tue, 17 May 2011 13:29:45 +0000 (13:29 +0000)]
Typo
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.
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.)
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).
Siebrand Mazeland [Tue, 17 May 2011 08:32:10 +0000 (08:32 +0000)]
Suprtfluous whitespace removed.
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.
Chad Horohoe [Tue, 17 May 2011 00:18:00 +0000 (00:18 +0000)]
db -> dbw
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
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.
Chad Horohoe [Mon, 16 May 2011 23:22:51 +0000 (23:22 +0000)]
Followup r88270: add new table to updaters
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.
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
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)
Chad Horohoe [Mon, 16 May 2011 21:14:51 +0000 (21:14 +0000)]
Add exposeGlobals() b/c stuff
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...
*
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)
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)
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
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.
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
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)
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
Jack Phoenix [Mon, 16 May 2011 13:15:15 +0000 (13:15 +0000)]
peace, love and coding style
Jack Phoenix [Mon, 16 May 2011 13:04:57 +0000 (13:04 +0000)]
some coding style tweaks
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
Domas Mituzas [Mon, 16 May 2011 12:45:08 +0000 (12:45 +0000)]
Fix ProfilerSimpleTextBreakage introduced by r86633
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
Niklas Laxström [Mon, 16 May 2011 10:12:14 +0000 (10:12 +0000)]
Followup r88211: make the release notes entry say something useful
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
Niklas Laxström [Mon, 16 May 2011 09:59:23 +0000 (09:59 +0000)]
Follow-up r88190: coding style
Niklas Laxström [Mon, 16 May 2011 09:40:19 +0000 (09:40 +0000)]
Whitespace changes
Niklas Laxström [Mon, 16 May 2011 09:30:55 +0000 (09:30 +0000)]
Follow-up 88165: kis
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.
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)
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
Bryan Tong Minh [Sun, 15 May 2011 14:57:10 +0000 (14:57 +0000)]
Kill the error suppression operator in the Api
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.
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
Bryan Tong Minh [Sun, 15 May 2011 14:46:13 +0000 (14:46 +0000)]
Per CR r75906, reintroduce ApiUpload::transformWarnings()
Chad Horohoe [Sun, 15 May 2011 14:32:49 +0000 (14:32 +0000)]
Add check for evil, EVIL @
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.
Mark A. Hershberger [Sun, 15 May 2011 14:18:35 +0000 (14:18 +0000)]
w/s and typo fix
Alexandre Emsenhuber [Sun, 15 May 2011 14:15:43 +0000 (14:15 +0000)]
Fix directory name, mw-config, not config
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
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.
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.
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.
Sam Reed [Sun, 15 May 2011 13:16:13 +0000 (13:16 +0000)]
* (bug 27593) API: add error message when sha1/sha1base36 is invalid
Platonides [Sun, 15 May 2011 13:12:19 +0000 (13:12 +0000)]
Follow up r87805. Remove unused global.
Bryan Tong Minh [Sun, 15 May 2011 12:51:52 +0000 (12:51 +0000)]
(bug 23464) File: prefixes are now chopped off during uploading.
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?)
Platonides [Sun, 15 May 2011 12:37:50 +0000 (12:37 +0000)]
Move $wgContLang out of the switch
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.
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'.
Platonides [Sun, 15 May 2011 12:34:00 +0000 (12:34 +0000)]
Perform an early exit
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
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
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.
Roan Kattouw [Sun, 15 May 2011 10:57:01 +0000 (10:57 +0000)]
Remove debugging code introduced in r88115
Krinkle [Sun, 15 May 2011 10:47:37 +0000 (10:47 +0000)]
Redo r88144
Bryan Tong Minh [Sun, 15 May 2011 10:43:51 +0000 (10:43 +0000)]
Follow-up r87176 use wfLocalFile instead of wfFindFile
Roan Kattouw [Sun, 15 May 2011 10:42:33 +0000 (10:42 +0000)]
Revert r88144, deleted the wrong file
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
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/
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)
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
Jure Kajzer [Sun, 15 May 2011 09:20:40 +0000 (09:20 +0000)]
* fixed typo
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
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.
Aaron Schulz [Sun, 15 May 2011 06:32:26 +0000 (06:32 +0000)]
Marked some _Newtalk functions protected
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.
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
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.
Siebrand Mazeland [Sat, 14 May 2011 23:11:15 +0000 (23:11 +0000)]
Add Rotem Liss and Platonides to author list.
Platonides [Sat, 14 May 2011 23:08:43 +0000 (23:08 +0000)]
Bump to 1.19
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.
Antoine Musso [Sat, 14 May 2011 22:53:31 +0000 (22:53 +0000)]
Credits to Victor Vasiliev in [[Special:Version]]
Be bold!
Platonides [Sat, 14 May 2011 22:36:19 +0000 (22:36 +0000)]
Revert r88043. It was broken in several ways.
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
Jure Kajzer [Sat, 14 May 2011 22:06:47 +0000 (22:06 +0000)]
* added alternative revison size display if diff size is not selected
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