Siebrand Mazeland [Wed, 12 Aug 2009 22:52:05 +0000 (22:52 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-12 22:34 UTC)
Alexandre Emsenhuber [Wed, 12 Aug 2009 21:39:35 +0000 (21:39 +0000)]
* removed entries for removed functionnalities
* fixed entry per r51736
Michael Dale [Wed, 12 Aug 2009 19:10:49 +0000 (19:10 +0000)]
* (bug 20037) fixes script-loader loading of color picker (grouped scripts ~usually~ need ; at the end of the last expression)
* fixed select transition multiclip select issue
* fixed poster attribute for "embed code"
Michael Dale [Wed, 12 Aug 2009 18:17:08 +0000 (18:17 +0000)]
fixed layout for adjacent embed clips
Trevor Parscal [Wed, 12 Aug 2009 16:53:30 +0000 (16:53 +0000)]
Fixes bug #20193 by adding style rules for the selected class of Vector menus.
Andrew Garrett [Wed, 12 Aug 2009 15:30:38 +0000 (15:30 +0000)]
Make pointlessly private newFromConds public.
Tim Starling [Wed, 12 Aug 2009 05:00:30 +0000 (05:00 +0000)]
In response to a report from Domas that we are seeing HTMLCacheUpdate::invalidate() queries that touch hundreds of thousands of rows and cause significant slave lag:
* Check the number of rows to be updated before actually doing the query, and if it is too large, repartition the job. Due to caching and job queue lag, it is possible that the original partitioning could be pathologically inaccurate.
* Respect $wgRowsPerQuery (regression due to r47317) but increase the default from 10 to 100. It was originally chosen with a low value because I imagined that it would help reduce slave lag, but this is not generally the case since the queries may be in the same transaction.
* Fix lack of initialisation of $jobs in insertJobs() (sloppy but not a bug)
* To avoid queueing up jobs unnecessarily and to reduce the chance of jobs being repartitioned a large number of times as links are incrementally added, make the size threshold for queueing double the job size instead of equal to the job size
* Add a check of title array size to the immediate case, to avoid updating hundreds of thousands of rows when an incorrect size is stored to memcached.
Tim Starling [Wed, 12 Aug 2009 03:47:52 +0000 (03:47 +0000)]
In Database::getLag(): Add some more I/O thread states.
Tim Starling [Wed, 12 Aug 2009 03:44:06 +0000 (03:44 +0000)]
Revert eval.php changes from r54653, r54312, r54225 (maintenance-work branch merge), these changes totally broke eval.php due to the change in scope, from global to function.
Chad Horohoe [Wed, 12 Aug 2009 00:13:39 +0000 (00:13 +0000)]
PHP5 has been out for years now.
Brion Vibber [Tue, 11 Aug 2009 23:23:46 +0000 (23:23 +0000)]
Add an install/update-time test for the PHP+libxml2 horrible XML input corruption bug. Now need to find a known-bad system to confirm the test on :D
Chad Horohoe [Tue, 11 Aug 2009 21:47:55 +0000 (21:47 +0000)]
Revert r35877, early commit that can only be explained by a complete naivete. Nobody ever used this because they weren't idiots.
Siebrand Mazeland [Tue, 11 Aug 2009 20:52:08 +0000 (20:52 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-11 20:36 UTC)
Bryan Tong Minh [Tue, 11 Aug 2009 20:46:28 +0000 (20:46 +0000)]
Revert r54795: Didn't work as expected and don't have time to fix.
Trevor Parscal [Tue, 11 Aug 2009 19:22:35 +0000 (19:22 +0000)]
When the text size is set in the body in EM, it affects all other em measurements, however if it's set in px it is both properly calculated on different screens (as oposed to pt in some cases) and does not distort the em calculations that follow. This is the best cross browser solution I have found so far, and fixes bug #20175.
Niklas Laxström [Tue, 11 Aug 2009 18:26:14 +0000 (18:26 +0000)]
Always define mwEmbed i18n file. Was not compatible with manual recaching and the performance impact should not matter.
Michael Dale [Tue, 11 Aug 2009 18:24:33 +0000 (18:24 +0000)]
Language file updates
Michael Dale [Tue, 11 Aug 2009 18:08:12 +0000 (18:08 +0000)]
attempt to fix translatewiki script-loader translate issue.
Bryan Tong Minh [Tue, 11 Aug 2009 18:03:35 +0000 (18:03 +0000)]
(bug 20052) Watch checkbox on Special:Movepage is checked by default when the old or new page is being watched.
Bryan Tong Minh [Tue, 11 Aug 2009 17:50:03 +0000 (17:50 +0000)]
(bug 20176) Fix login/logout links in skin CologneBlue. Linker::linkKnown should be passed a title, not a string.
Trevor Parscal [Tue, 11 Aug 2009 17:41:22 +0000 (17:41 +0000)]
Fixes incorrected sizing of preformatted text blocks (which use a monospaced font).
Siebrand Mazeland [Tue, 11 Aug 2009 13:03:42 +0000 (13:03 +0000)]
Add automyn to sr-ec and sr-el
Chad Horohoe [Tue, 11 Aug 2009 12:25:07 +0000 (12:25 +0000)]
Some unused $wgStyleVersions.
Jure Kajzer [Tue, 11 Aug 2009 12:01:04 +0000 (12:01 +0000)]
Added a missing column in schema creation script
Siebrand Mazeland [Tue, 11 Aug 2009 09:49:47 +0000 (09:49 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-11 09:29 UTC)
Raimond Spekking [Tue, 11 Aug 2009 08:36:18 +0000 (08:36 +0000)]
* Do not transform EXIF fields with pure text to avoid results like foo,bar@example,com
Raimond Spekking [Tue, 11 Aug 2009 07:08:08 +0000 (07:08 +0000)]
Recommit r54081 after general revert r54735: The description message in $wgExtensionCredits can be an array with parameters now
This functionality is used by the 'Maps' and 'SemanticMaps' extensions
Tim Starling [Tue, 11 Aug 2009 06:02:06 +0000 (06:02 +0000)]
(bug 20170) Make QuickTemplate::execute() abstract, instead of sending a dorky PHP 4-style error message to the user.
Aryeh Gregor [Tue, 11 Aug 2009 01:00:44 +0000 (01:00 +0000)]
Add Html::input() convenience function
Currently only used in SpecialResetpass. Also added some whitespace to
the HTML output of SpecialResetpass, so that it's somewhat readable.
Aryeh Gregor [Tue, 11 Aug 2009 00:15:33 +0000 (00:15 +0000)]
Fix parser test breakage from r54767
Aryeh Gregor [Tue, 11 Aug 2009 00:09:24 +0000 (00:09 +0000)]
For HTML 5, drop type="" attributes for CSS/JS
This time done in a nice, centralized fashion, reducing LOC for callers
even if HTML 5 is disabled. The implementation is a new Html class,
similar to Xml but intended to be HTML-specific from the beginning
instead of half-heartedly attempting to provide generic XML services but
actually with lots of HTML-specific stuff tacked on.
As part of the new Html class, a global config option $wgWellFormedXml
is added. It's set to true by default, but if set to false, the Html
class will drop some things that HTML 5 doesn't require, like
self-closing " />" syntax and attribute quotation marks (sometimes).
Trevor Parscal [Mon, 10 Aug 2009 23:48:41 +0000 (23:48 +0000)]
Moved add topic into the view tabs (this will likely be the behavior until liquid threads is turned on, at which point this tab will be obsolete)
Siebrand Mazeland [Mon, 10 Aug 2009 23:27:21 +0000 (23:27 +0000)]
Localisation updates for core from translatewiki.net
* update special page aliases
Siebrand Mazeland [Mon, 10 Aug 2009 23:23:13 +0000 (23:23 +0000)]
Localisation updates for core from translatewiki.net
* update namespaces. Removed duplicate namespace aliases.
Nimish Gautam [Mon, 10 Aug 2009 23:06:59 +0000 (23:06 +0000)]
created variable $wgExtModifiedFields for existing fields modified by extensions, created corresponding modify_field() function
Siebrand Mazeland [Mon, 10 Aug 2009 22:54:46 +0000 (22:54 +0000)]
Localisation updates for core from translatewiki.net
* update magic words. Contains inconsistency fixes for duplicates.
Bryan Tong Minh [Mon, 10 Aug 2009 21:16:33 +0000 (21:16 +0000)]
Making demon happy (adding public/protected to function definitions) and add some comments along the way.
Alexandre Emsenhuber [Mon, 10 Aug 2009 21:15:46 +0000 (21:15 +0000)]
the result of this function is directly passed to foreach and thus avoid some errors such "Invalid arguments supplied for foreach"
Siebrand Mazeland [Mon, 10 Aug 2009 21:14:51 +0000 (21:14 +0000)]
Update formatting for r54745
Bryan Tong Minh [Mon, 10 Aug 2009 21:02:24 +0000 (21:02 +0000)]
Added crop support for inline images.
Syntax: [[File:foo.jpg|<width>px|<left>x<top>x<width>x<height]]
Siebrand Mazeland [Mon, 10 Aug 2009 20:45:22 +0000 (20:45 +0000)]
Localisation updates for core messages from translatewiki.net
* contains the reverts for r54733 (r54590, r54591, r54628, r54633, r54636, r54714)
Brion Vibber [Mon, 10 Aug 2009 20:44:31 +0000 (20:44 +0000)]
Revert r54638 "Deprecate the $wgExtraRandompageSQL config variable by adding a hook, SpecialRandomBeforeSQL"
If we're going to make a generalizable plug-in point for extensions to supply their own randomization, we shouldn't be exposing it at the point of low-level database operations. The extension should instead be given the chance to pick an item any way it pleases and return a result or set of results to choose from.
Brion Vibber [Mon, 10 Aug 2009 20:36:37 +0000 (20:36 +0000)]
Revert r54644 to syntaxChecker.php "Use parsekit instead. php -l sucks."
ParseKit is an external PECL module which isn't super easy to install. Don't want to rely on something like that for tests we want everyone to be able to run prior to checkin...
Brion Vibber [Mon, 10 Aug 2009 20:15:24 +0000 (20:15 +0000)]
Revert Special:Version to known-good state as of r52060, without the ten billion extra callouts that have been added to clutter things up and trigger errors.
Brion Vibber [Mon, 10 Aug 2009 19:23:21 +0000 (19:23 +0000)]
Reverting r54695 'Remove extraneous type="" for CSS/JS in HTML 5'
This creates massive code duplication, checking a var and either including or not including the type attribute. Instead, this should be consolidated into functions in the Xml class for building <style>, <script>, or <link rel="stylesheet"> elements.
Brion Vibber [Mon, 10 Aug 2009 19:03:33 +0000 (19:03 +0000)]
Pull back r54590, r54591, r54628, r54633, r54636, r54714 "Add after the link for "My Talk" "<number of new messages(edits)>" if there are some"
The number of edits doesn't correspond terribly well with "number of messages". Recommend leaving this for future when we actually have sensible message semantics.
Siebrand Mazeland [Mon, 10 Aug 2009 18:10:08 +0000 (18:10 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-10 17:58 UTC)
Andrew Garrett [Mon, 10 Aug 2009 17:36:57 +0000 (17:36 +0000)]
Rewrite some spaghetti code in Special:Log to fix invalid HTML, now uses proper Xml:: methods
Chad Horohoe [Mon, 10 Aug 2009 17:20:18 +0000 (17:20 +0000)]
doc
Chad Horohoe [Mon, 10 Aug 2009 17:10:32 +0000 (17:10 +0000)]
Delay setting priorities since we don't have namespaces when the constructor is called
Shinjiman [Mon, 10 Aug 2009 17:06:11 +0000 (17:06 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Jan Luca Naumann [Mon, 10 Aug 2009 11:29:33 +0000 (11:29 +0000)]
(r54628 + r54633) Display (...) only if there new messages
Alexandre Emsenhuber [Mon, 10 Aug 2009 11:12:04 +0000 (11:12 +0000)]
Fix E_PARSE from r54708
Andrew Garrett [Mon, 10 Aug 2009 11:04:30 +0000 (11:04 +0000)]
Fix silly bug in r54703 r53546
Victor Vasiliev [Mon, 10 Aug 2009 10:13:24 +0000 (10:13 +0000)]
Update parser tests for r54693
Andrew Garrett [Mon, 10 Aug 2009 09:32:55 +0000 (09:32 +0000)]
Moar error handling for r53546
Philip Tzou [Mon, 10 Aug 2009 08:01:08 +0000 (08:01 +0000)]
Fix a bug of LanguageConverter::findVariantLink(). If the article has already existed, there is no need to check it again, otherwise it may cause a fault.
Philip Tzou [Mon, 10 Aug 2009 06:10:08 +0000 (06:10 +0000)]
Update the Chinese conversion tables.
Aryeh Gregor [Mon, 10 Aug 2009 02:06:19 +0000 (02:06 +0000)]
Remove extraneous type="" for CSS/JS in HTML 5
Removed in a bunch of places, but of course there are zillions left!
This is one of the things that would be a lot easier if we could just
drop support for non-HTML 5 output.
Aryeh Gregor [Mon, 10 Aug 2009 01:42:45 +0000 (01:42 +0000)]
Don't use summary attribute in TOCs
The summary attribute is obsolete in HTML 5. It wasn't serving any
useful purpose anyway, since it duplicated the h2 inside the table. (Of
course, we should really stop using <table> for TOCs altogether!)
Chad Horohoe [Mon, 10 Aug 2009 00:32:37 +0000 (00:32 +0000)]
Fix some misnamed IDs from the AllMessages refactor.
Siebrand Mazeland [Sun, 9 Aug 2009 20:21:31 +0000 (20:21 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-09 20:10 UTC)
Laurence Parry [Sun, 9 Aug 2009 19:11:53 +0000 (19:11 +0000)]
Save 25kb in PNG size reductions (partial fix of bug 19381):
14.8kb in skins\common\images\icons
7.1kb in skin\common\images
1.4kb in skins\common\images\de
0.8kb in skins\common\images\ksh
0.2kb in skins\common\images\be-tarask
0.4kb in skins\vector\images
0.1kb in skins\vector
0.2kb in skins\monobook
Niklas Laxström [Sun, 9 Aug 2009 16:20:14 +0000 (16:20 +0000)]
Support script loader
Shinjiman [Sun, 9 Aug 2009 16:04:48 +0000 (16:04 +0000)]
Fix PHP Fatal error for r54627.
Chad Horohoe [Sun, 9 Aug 2009 15:27:29 +0000 (15:27 +0000)]
patchPath not patchPatch
Chad Horohoe [Sun, 9 Aug 2009 15:22:34 +0000 (15:22 +0000)]
* Use DB_ADMIN for fixSlaveDesync, rebuildtextindex, updateSearchIndex, patchSql
* Duplicate archive() as DatabaseBase::patchPath(), clean up patchSql to use this
Chad Horohoe [Sun, 9 Aug 2009 13:40:43 +0000 (13:40 +0000)]
Make DB_STD the normal DB access level. Some scripts need DB_ADMIN, so return that in them.
Alexandre Emsenhuber [Sun, 9 Aug 2009 13:31:15 +0000 (13:31 +0000)]
findhooks and syntaxChecker don't need DB access :)
Chad Horohoe [Sun, 9 Aug 2009 12:55:56 +0000 (12:55 +0000)]
Make $site and $lang global, just to be safe. Call finalSetup() in loadWikimediaSettings()
Chad Horohoe [Sun, 9 Aug 2009 12:26:11 +0000 (12:26 +0000)]
Move $wgUseNormalUser setting to constructors.
Alexandre Emsenhuber [Sun, 9 Aug 2009 12:17:03 +0000 (12:17 +0000)]
* set $wgUseRootUser in __construct() so that it's available in config files
* added missing global declaration for $slaveIndexes in FixSlaveDesync::execute()
Chad Horohoe [Sat, 8 Aug 2009 23:13:03 +0000 (23:13 +0000)]
Use parsekit instead. php -l sucks.
Chad Horohoe [Sat, 8 Aug 2009 22:33:17 +0000 (22:33 +0000)]
Move a few more of these to subclass Maintenance.
Alexandre Emsenhuber [Sat, 8 Aug 2009 20:47:11 +0000 (20:47 +0000)]
* (bug 20131) PHP Notice: Undfined index: page_latest in includes/ChangesList.php on line 476
Special:Recentchangeslinked now also selects the 'page_latest' field for users having the 'rollback' right, as Special:Recentchanges does
Chad Horohoe [Sat, 8 Aug 2009 20:36:02 +0000 (20:36 +0000)]
Unused global.
Alexandre Emsenhuber [Sat, 8 Aug 2009 19:35:48 +0000 (19:35 +0000)]
Make this script really work :)
* Fatal error: Call to undefined method DatabaseMysql::getTable()
* Fatal error: Cannot use object of type stdClass as array
* return $pendingDBs from nextJobDB::getPendingDbs()
Alex Z [Sat, 8 Aug 2009 19:09:16 +0000 (19:09 +0000)]
Deprecate the $wgExtraRandompageSQL config variable by adding a hook, SpecialRandomBeforeSQL
This allows extensions more flexibility to modify the query,
or replace it entirely by setting their own query and returning false
$wgExtraRandompageSQL still retained for back-compat
Shinjiman [Sat, 8 Aug 2009 18:05:50 +0000 (18:05 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Jan Luca Naumann [Sat, 8 Aug 2009 17:34:12 +0000 (17:34 +0000)]
fixes for r54633: Add wfMsgExt for parsing PLURAL in message "newmessagesdifflink"
Shinjiman [Sat, 8 Aug 2009 16:28:49 +0000 (16:28 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Shinjiman [Sat, 8 Aug 2009 16:12:55 +0000 (16:12 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Jan Luca Naumann [Sat, 8 Aug 2009 16:02:30 +0000 (16:02 +0000)]
(fixes for r54628) Add PLURAL to "last change" message
Niklas Laxström [Sat, 8 Aug 2009 15:15:04 +0000 (15:15 +0000)]
Whitespace changes
Roan Kattouw [Sat, 8 Aug 2009 12:47:09 +0000 (12:47 +0000)]
Make RELEASE-NOTES entry from r54326 more concise
Jan Luca Naumann [Sat, 8 Aug 2009 10:37:34 +0000 (10:37 +0000)]
(fixes for r54590 & bug 20103) Use now only one query and add number to messages "youhavenewmessages" and "mytalk"
Shinjiman [Sat, 8 Aug 2009 10:32:37 +0000 (10:32 +0000)]
* (bug 20127) Fix regression when the executive does not found in the path specified while the SVG renderer is defined. Added detection by the $PATH variable.
Aaron Schulz [Sat, 8 Aug 2009 01:22:15 +0000 (01:22 +0000)]
Take the IPv4 part of mapped addresses rather than broken '.'->':' replace
Siebrand Mazeland [Sat, 8 Aug 2009 00:19:11 +0000 (00:19 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-08 00:08 UTC)
Michael Dale [Fri, 7 Aug 2009 22:59:49 +0000 (22:59 +0000)]
* sequence fixes for adding new media ( was adding new clips with generic playback library instead of type based playback lib clips)
* fixed bug where drag and drop of clips did not work where you re-arranged clips while not displaying the add-media-wizard tab
* fixed display of sequence playhead on clip click
* added deselect of clips on escape
* Other minor code cleanup
Trevor Parscal [Fri, 7 Aug 2009 21:37:03 +0000 (21:37 +0000)]
Fixed IE5 bug that made the simple search input area too large.
Trevor Parscal [Fri, 7 Aug 2009 21:10:41 +0000 (21:10 +0000)]
Removed bullet icons from Vector drop down menus in older versions of IE.
Trevor Parscal [Fri, 7 Aug 2009 21:03:24 +0000 (21:03 +0000)]
Moved some things around to please Apple Dictionary... some more...
Trevor Parscal [Fri, 7 Aug 2009 21:02:47 +0000 (21:02 +0000)]
Changed from using point to em units for font size.
Trevor Parscal [Fri, 7 Aug 2009 20:24:52 +0000 (20:24 +0000)]
Removed a debugging statement! r54599 must use this too!
Trevor Parscal [Fri, 7 Aug 2009 20:24:10 +0000 (20:24 +0000)]
Opera 8 can't get a ref to a form element, so it was just spitting out errors. This checks the form element is valid before trying to use it.
Trevor Parscal [Fri, 7 Aug 2009 17:26:08 +0000 (17:26 +0000)]
Made some changes which don't affect normal users, but content loaded into Apple Dictionary should be somewhat more usable.
Jan Luca Naumann [Fri, 7 Aug 2009 16:45:21 +0000 (16:45 +0000)]
Update RELEASE-NOTES for r54590
Jan Luca Naumann [Fri, 7 Aug 2009 16:39:35 +0000 (16:39 +0000)]
Add after the link for "My Talk" "<number of new messages(edits)>" if there are some
Andrew Garrett [Fri, 7 Aug 2009 16:06:06 +0000 (16:06 +0000)]
Fix bug 19261 by saving the username as the signature if it is submitted empty