lhc/web/wiklou.git
14 years agofixed missing title bug
Aaron Schulz [Mon, 17 Aug 2009 02:46:18 +0000 (02:46 +0000)]
fixed missing title bug

14 years agoreverted r55161 - not needed
Aaron Schulz [Mon, 17 Aug 2009 02:25:02 +0000 (02:25 +0000)]
reverted r55161 - not needed

14 years agoFixed html filecache handling of ?curid urls
Aaron Schulz [Mon, 17 Aug 2009 01:54:31 +0000 (01:54 +0000)]
Fixed html filecache handling of ?curid urls

14 years ago(bug 20265) Special:AncientPages (and UnusedFiles) broken for SQLite.
Chad Horohoe [Mon, 17 Aug 2009 00:59:25 +0000 (00:59 +0000)]
(bug 20265) Special:AncientPages (and UnusedFiles) broken for SQLite.

14 years ago(bug 20274) Strict standards issue in 5.3.
Chad Horohoe [Sun, 16 Aug 2009 20:56:48 +0000 (20:56 +0000)]
(bug 20274) Strict standards issue in 5.3.

14 years agoremoved svn:executable property for files that don't need it
Alexandre Emsenhuber [Sun, 16 Aug 2009 20:29:40 +0000 (20:29 +0000)]
removed svn:executable property for files that don't need it

14 years agoRemove use of FileCache from parserTests.inc (merged into RepoGroup in r55082)
Alex Z [Sun, 16 Aug 2009 19:57:26 +0000 (19:57 +0000)]
Remove use of FileCache from parserTests.inc (merged into RepoGroup in r55082)

14 years agoLocalization update.
Rotem Liss [Sun, 16 Aug 2009 19:45:31 +0000 (19:45 +0000)]
Localization update.

14 years ago* Update nextJobDB.php and cleanupSpam.php to work with wikis using a prefix for...
Alexandre Emsenhuber [Sun, 16 Aug 2009 19:23:34 +0000 (19:23 +0000)]
* Update nextJobDB.php and cleanupSpam.php to work with wikis using a prefix for database tables
* Adding a note that nextJobDB.php doesn't work with PostgreSQL
* Pass the wiki through the --wiki option in cleanupSpam.php to not be Wikimedia-only and quote the sed regex to avoid errors due to spaces

14 years ago* maintenance.txt: the execute() method must be public to match Maintenance's one
Alexandre Emsenhuber [Sun, 16 Aug 2009 18:54:18 +0000 (18:54 +0000)]
* maintenance.txt: the execute() method must be public to match Maintenance's one
* design.txt: whitespaces fix

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-16 14:13 UTC)
Siebrand Mazeland [Sun, 16 Aug 2009 14:26:12 +0000 (14:26 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-16 14:13 UTC)

14 years agoFixes for Shinjiman's Special:Version updates r49995-r50121:
Tim Starling [Sun, 16 Aug 2009 08:31:47 +0000 (08:31 +0000)]
Fixes for Shinjiman's Special:Version updates r49995-r50121:
* Fixed formal parameter bloat in formatCredits() by passing the whole $extension array to the function and interpreting it there instead of in the caller.
* Fixed the overloading of getSvnRevision() with boolean parameters by splitting it into getSvnInfo(), which gets an associative array, and getSvnRevision(), which provides only the old behaviour as used by external callers like ApiQuerySiteinfo.
* A few tweaks and rewrites for other inelegant code

14 years ago(bug 20273) Undefined variable in Special:RandomPage. Fix this output entirely, build...
Chad Horohoe [Sun, 16 Aug 2009 06:23:07 +0000 (06:23 +0000)]
(bug 20273) Undefined variable in Special:RandomPage. Fix this output entirely, build a proper list of the content namespaces on the off chance there's no pages in any of them.

14 years agoFix for CR comments on r51627: fix the log_search table if it was created between...
Tim Starling [Sun, 16 Aug 2009 04:41:00 +0000 (04:41 +0000)]
Fix for CR comments on r51627: fix the log_search table if it was created between r50567 and r51465, with an incorrect index name. There's no significant performance penalty in checking for this in release versions.

14 years ago* fixed missing autoload mvTextInterface.js reference
Michael Dale [Sun, 16 Aug 2009 00:07:04 +0000 (00:07 +0000)]
* fixed missing autoload mvTextInterface.js reference
* removed deprecated ctypetext
* moved simpleForm output to upload api names
* fixed syntax error in libTimedText

14 years ago* msg updates
Michael Dale [Sat, 15 Aug 2009 23:27:54 +0000 (23:27 +0000)]
* msg updates
* firefogg updates for add-media-wizard usage
* more support for simpleUploadFrom usage in add-media-wizard
* some header updates

14 years ago* fixed upload interface to use jsonfm html as plain/text was not working
Michael Dale [Sat, 15 Aug 2009 23:11:28 +0000 (23:11 +0000)]
* fixed upload interface to use jsonfm html as plain/text was not working

14 years ago* removed plain-text output because IE is retarded treats plain-text as html (in...
Michael Dale [Sat, 15 Aug 2009 22:38:01 +0000 (22:38 +0000)]
* removed plain-text output because IE is retarded treats plain-text as html (in fact no mime type I have found lets you send text to IE and have it treat it like text :( ....

14 years agoconfig/index.php:
Leons Petrazickis [Sat, 15 Aug 2009 21:29:58 +0000 (21:29 +0000)]
config/index.php:
* Made installation on IBM DB2 more robust
* Replaced E_ALL with E_ALL | E_STRICT

includes/db/DatabaseIbm_db2.php
* Enabled DB2_CASE_LOWER option for all connections and statements
* Enabled DB2_DEFERRED_PREPARE_ON for all statements -- delays statement preparation until execution to reduce database load
* Enabled DB2_ROWCOUNT_PREFETCH_ON for all statements -- makes db2_num_rows() work correctly
* Cleaned up error handling
* Cleaned up method signatures
* Rewrote insertion to use prepared statements -- required for inserting more than 32k of text
* Insertion will never try to insert a NULL value into a primary key
* Now relying on implicit casting in DB2 9.7 -- no longer sniffing to see if column is integer or string before adding quotes
* Implemented actual prepared statement handling -- required for correct INSERT, UPDATE behaviour
* In install mode, the class will print additional messages to the install bullet scroll
* Added bitwise operations (BITNOT, BITAND, BITOR)

includes/specials/SpecialAncientpages.php
* Added skeleton DB2 syntax to the database-specific switch statement

maintenance/convertLinks.inc
* Made limit clause database-agnostic

maintenance/ibm_db2/README
* Contents replaced with link to http://www.mediawiki.org/wiki/Manual:IBM_DB2

maintenance/ibm_db2/tables.sql
* Revised types to better match the MySQL schema
* All tables names now the same as MySQL -- was using Postgres names before
* Added some additional indices
* Added the change_tag, tag_summary, valid_tag, user_properties, log_search, and l10n_cache tables
* Added several new columns

maintenance/storage/compressOld.inc
* Made limit clause database-agnostic

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-15 21:18 UTC)
Siebrand Mazeland [Sat, 15 Aug 2009 21:29:17 +0000 (21:29 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-15 21:18 UTC)

14 years agoWhen running PHP from the command line the default setting is 0...except when it...
Chad Horohoe [Sat, 15 Aug 2009 20:56:11 +0000 (20:56 +0000)]
When running PHP from the command line the default setting is 0...except when it's not.

14 years ago* updated special:upload page js2 upload interface.
Michael Dale [Sat, 15 Aug 2009 20:46:43 +0000 (20:46 +0000)]
* updated special:upload page js2 upload interface.
** stubs / groundwork for add-media-wizard upload and inject edit interface
** does upload in background iframe
** tested in Firefox and ie6-8
* stubs for iframe api proxy (upload to commons from other wikis)

14 years ago* added content-type plain/text output param for json format
Michael Dale [Sat, 15 Aug 2009 20:24:30 +0000 (20:24 +0000)]
* added content-type plain/text output param for json format
* added content-type "application/json" or 'text/javascript' per callback param

14 years agoSpacing and declare public.
Chad Horohoe [Sat, 15 Aug 2009 19:17:56 +0000 (19:17 +0000)]
Spacing and declare public.

14 years agospacing tweaks
Jack Phoenix [Sat, 15 Aug 2009 14:25:52 +0000 (14:25 +0000)]
spacing tweaks

14 years agoUpdate magic words for 'tt-cyrl' per r55089
Siebrand Mazeland [Sat, 15 Aug 2009 13:59:08 +0000 (13:59 +0000)]
Update magic words for 'tt-cyrl' per r55089

14 years agoFallback for 'tt' to 'tt-cyrl' from 'tt-latn'
Siebrand Mazeland [Sat, 15 Aug 2009 13:48:10 +0000 (13:48 +0000)]
Fallback for 'tt' to 'tt-cyrl' from 'tt-latn'
* taking over tt-latn namespace names as fallback in 'tt-cyrl'
* taking over magic words from 'tt-latn' to 'tt-cyrl' (needs more updating with 'ru' magic words in a next commit)
* taking over date formatting from 'tt-latn'
* update Names.php to show Cyrillic first

14 years agoChanged $wgDBname to wfWikiID() (used for display) to be consistent with other mainte...
Alexandre Emsenhuber [Sat, 15 Aug 2009 12:45:15 +0000 (12:45 +0000)]
Changed $wgDBname to wfWikiID() (used for display) to be consistent with other maintenance scripts, also avoid an E_NOTICE since it wasn't declared as global :)

14 years ago* run Maintenance::finalSetup() after including LocalSettings.php so that $wgDBadminu...
Alexandre Emsenhuber [Sat, 15 Aug 2009 12:24:50 +0000 (12:24 +0000)]
* run Maintenance::finalSetup() after including LocalSettings.php so that $wgDBadminuser and $wgDBadminpassword are available
* fix typo in Maintenance::finalSetup(): $wgDBadminpass -> $wgDBadminpassword

14 years ago* added missing setIndexedTagName for some upload api array results
Michael Dale [Sat, 15 Aug 2009 10:22:20 +0000 (10:22 +0000)]
* added missing setIndexedTagName for some upload api array results
* switched apiFormatJson output from 'application/json' to 'text/javascript'

14 years ago* Per my CR comments on r44560: merged FileCache into RepoGroup and fixed wfFindFile...
Tim Starling [Sat, 15 Aug 2009 09:59:59 +0000 (09:59 +0000)]
* Per my CR comments on r44560: merged FileCache into RepoGroup and fixed wfFindFile() global function bloat. Did not port unused functions such as the batch loading functions.
* Fixed the formal parameter bloat in the file finding functions by making wfFindFile(), RepoGroup::findFile() and FileRepo::findFile() take an associative array of options instead of a rapidly growing collection of formal parameters. Maintained backwards compatibility for the $time parameter, which was the only one used in an extension.
* Took the advice of the todo comment on FileRepo::findFiles() and implemented a calling convention for specifying times (and other options)
* Removed the file object cache from Parser, redundant with the RepoGroup file cache
* Deleted clueless and non-functional LocalRepo::findFiles(). Does not respect redirects, deletion bitfields, or anything else nuanced about FileRepo::findFile(). Does not have the same calling convention as FileRepo::findFiles().

14 years ago* Converted BagOStuff.php from the style of memcached-client.php to the standard...
Tim Starling [Sat, 15 Aug 2009 03:45:19 +0000 (03:45 +0000)]
* Converted BagOStuff.php from the style of memcached-client.php to the standard MediaWiki style, including camel case, using protected visibility instead of initial underscore, abstract functions instead of stubs, stylize.php.
* In SqlBagOStuff, ignore errors due to a read-only database, per my comments on CR r42796. Same for LocalisationCache.
* Merged SqlBagOStuff and MediaWikiBagOStuff, that proved to be an awkward and unnecessary generalisation. Use the standard quoting wrapper functions instead of $db->query().
* Implemented atomic incr() and decr() functions for SqlBagOStuff.
* Made incr() and decr() generally work roughly the same as it does in memcached, respecting negative steps instead of ignoring such operations. This allows decr() to be implemented in terms of incr().
* Per bug 11533, in MessageCache.php, don't retry 20 times on a cache failure, that's really memcached-specific and won't be useful for other cache types. It's not really very useful for memcached either.
* Moved MySQL-specific implementations of wasDeadlock() and wasErrorReissuable() to DatabaseMysql.
* Briefly tested page views with $wgReadOnly=read_only=1, fixed an error from Article::viewUpdates(). A CentralAuth fix will be in a subsequent commit.

14 years agoAdd an id to the cancel link
Andrew Garrett [Fri, 14 Aug 2009 22:10:45 +0000 (22:10 +0000)]
Add an id to the cancel link

14 years agoFix arrow throttling feature in mwsuggest which was broken in two entirely different...
Roan Kattouw [Fri, 14 Aug 2009 21:57:46 +0000 (21:57 +0000)]
Fix arrow throttling feature in mwsuggest which was broken in two entirely different but equally interesting ways.

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-14 21:04 UTC)
Siebrand Mazeland [Fri, 14 Aug 2009 21:12:07 +0000 (21:12 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-14 21:04 UTC)

14 years agoLocalisation updates: Adding Perisna translations for the two newly added magic words...
Huji [Fri, 14 Aug 2009 19:25:24 +0000 (19:25 +0000)]
Localisation updates: Adding Perisna translations for the two newly added magic words (nse, img_crop)

14 years ago* bumped firefogg version check
Michael Dale [Fri, 14 Aug 2009 19:22:24 +0000 (19:22 +0000)]
* bumped firefogg version check

14 years agofixed variable name
Michael Dale [Fri, 14 Aug 2009 18:56:45 +0000 (18:56 +0000)]
fixed variable name

14 years agohttp:get was clearing opts array (fixed)
Michael Dale [Fri, 14 Aug 2009 18:03:15 +0000 (18:03 +0000)]
http:get was clearing opts array (fixed)

14 years ago* added curl option support for get requests
Michael Dale [Fri, 14 Aug 2009 18:01:05 +0000 (18:01 +0000)]
* added curl option support for get requests

14 years agoCustomise display of thread search result titles.
Andrew Garrett [Fri, 14 Aug 2009 16:06:11 +0000 (16:06 +0000)]
Customise display of thread search result titles.
* Show the subject, not the title.
* Link to the post in context, not by itself.

14 years ago(bug 20090) BCP 47 issues
Niklas Laxström [Fri, 14 Aug 2009 15:41:48 +0000 (15:41 +0000)]
(bug 20090) BCP 47 issues

14 years agoGIF metadata extraction fixes:
Andrew Garrett [Fri, 14 Aug 2009 13:18:23 +0000 (13:18 +0000)]
GIF metadata extraction fixes:
* Fast failure when inconsistencies are detected.
* Skip non-GCF, non-application extensions too.
* Fix error where seeking was not being done properly for non-netscape application extensions.

14 years agoUpdate doc for deprecated 'MagicWordMagicWords': refer to $magicWords instead of...
Siebrand Mazeland [Fri, 14 Aug 2009 11:48:40 +0000 (11:48 +0000)]
Update doc for deprecated 'MagicWordMagicWords': refer to $magicWords instead of LanguageGetMagic hook.

14 years agoAdded --group option to show number of jobs per job type
Alexandre Emsenhuber [Fri, 14 Aug 2009 11:15:47 +0000 (11:15 +0000)]
Added --group option to show number of jobs per job type

14 years agoAdd DiscussionThreading info to export-0.4.xsd. TODO: Test against real data to make...
Andrew Garrett [Fri, 14 Aug 2009 10:17:06 +0000 (10:17 +0000)]
Add DiscussionThreading info to export-0.4.xsd. TODO: Test against real data to make sure I did it right :P

14 years agoRecommit r54069 (shinjiman) after general revert r54735: * (bug 20013) Added CSS...
Raimond Spekking [Fri, 14 Aug 2009 08:19:47 +0000 (08:19 +0000)]
Recommit r54069 (shinjiman) after general revert r54735: * (bug 20013) Added CSS class "mw-version-ext-version" is wrapped on the
extension version in Special:Version

14 years agoRecommit r53268 (simetrical) after general revert r54735: Fix bug, werdna not on...
Raimond Spekking [Fri, 14 Aug 2009 08:16:51 +0000 (08:16 +0000)]
Recommit r53268 (simetrical) after general revert r54735: Fix bug, werdna not on Special:Version
Recommit r53485 (siebrand) after general revert r54735: Add major contributors raymond, ialex, siebrand
Recommit r54450 (demon) after general revert r54735: Might as well.

14 years ago* stubs for upload proxy (upload to commons from other wikis edit page & insert your...
Michael Dale [Fri, 14 Aug 2009 08:15:41 +0000 (08:15 +0000)]
* stubs for upload proxy (upload to commons from other wikis edit page & insert your result).
* Only firefogg non-proxied api based uploads supported so far.

14 years agoRecommit r52524 (ialex) after general revert r54735: '' => null when 'descriptionmsg...
Raimond Spekking [Fri, 14 Aug 2009 08:12:23 +0000 (08:12 +0000)]
Recommit r52524 (ialex) after general revert r54735: '' => null when 'descriptionmsg' is not set in $wgExtensionCredits to match $descriptionMsg's default value in SpecialVersion::formatCredits()

14 years agoremoteSearchDriver: fixed closeAll for stand alone usage
Michael Dale [Fri, 14 Aug 2009 04:56:52 +0000 (04:56 +0000)]
remoteSearchDriver: fixed closeAll for stand alone usage

14 years agoAdded trim() call to work around mystery bug where whitespace gets appended to single...
Brion Vibber [Fri, 14 Aug 2009 01:30:56 +0000 (01:30 +0000)]
Added trim() call to work around mystery bug where whitespace gets appended to single or double-quoted string tokens; without it we ended up reading in the extra quote on the end as if it were part of the string.

Examples from reading in extension .i18n files:
-    'quiz_reset' => 'Reset',
+    'quiz_reset' => 'Reset"',

-    'very-special-message' => 'Aren\'t I special?',
+    'very-special-message' => 'Aren\'t I special?"
+ ',

-    'nss-db-error' => 'Error reading from authentication database',
+    'nss-db-error' => 'Error reading from authentication database\'',

14 years agoFixed double-escaping bug in ConfEditor's handling of double-quoted strings.
Brion Vibber [Fri, 14 Aug 2009 00:36:42 +0000 (00:36 +0000)]
Fixed double-escaping bug in ConfEditor's handling of double-quoted strings.
For some reason it was *re-escaping* single-quoted strings; this would lead to corruption in LocalisationUpdate.

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-13 22:12 UTC)
Siebrand Mazeland [Thu, 13 Aug 2009 22:19:34 +0000 (22:19 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-13 22:12 UTC)

14 years agoFollow-up r54968: this close() should be redundant now
Aaron Schulz [Thu, 13 Aug 2009 21:32:31 +0000 (21:32 +0000)]
Follow-up r54968: this close() should be redundant now

14 years agoFollow-up r54966: more sanity checks
Aaron Schulz [Thu, 13 Aug 2009 21:18:37 +0000 (21:18 +0000)]
Follow-up r54966: more sanity checks

14 years agoFixed 'permission denied' cdb fatals (on windows at least)
Aaron Schulz [Thu, 13 Aug 2009 20:55:26 +0000 (20:55 +0000)]
Fixed 'permission denied' cdb fatals (on windows at least)

14 years agoSanity check $this->handle on close()
Aaron Schulz [Thu, 13 Aug 2009 20:42:19 +0000 (20:42 +0000)]
Sanity check $this->handle on close()

14 years agoadded memchached compatibility to background downloads.
Michael Dale [Thu, 13 Aug 2009 20:39:20 +0000 (20:39 +0000)]
added memchached compatibility to background downloads.

14 years ago* "0 languages of N rebuild" when using threads
Niklas Laxström [Thu, 13 Aug 2009 16:42:44 +0000 (16:42 +0000)]
* "0 languages of N rebuild" when using threads
* Documentation improvements

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-13 14:33 UTC)
Siebrand Mazeland [Thu, 13 Aug 2009 14:40:37 +0000 (14:40 +0000)]
Localisation updates for core messages from translatewiki.net (2009-08-13 14:33 UTC)

14 years agofix typo
Raimond Spekking [Thu, 13 Aug 2009 14:28:59 +0000 (14:28 +0000)]
fix typo

14 years agoAdd language codes for the new created wikis (yesterday: ace, ckb, mwl, pnb; July...
Raimond Spekking [Thu, 13 Aug 2009 07:47:59 +0000 (07:47 +0000)]
Add language codes for the new created wikis (yesterday: ace, ckb, mwl, pnb; July: mhr)

14 years agoArgument cleanup
Aaron Schulz [Thu, 13 Aug 2009 01:39:15 +0000 (01:39 +0000)]
Argument cleanup

14 years agoand.... pnb also needs to be defined as RTL
Brion Vibber [Thu, 13 Aug 2009 01:04:42 +0000 (01:04 +0000)]
and.... pnb also needs to be defined as RTL

14 years agoFollowup r54913...throw these on the copyright icons too
Chad Horohoe [Thu, 13 Aug 2009 01:03:48 +0000 (01:03 +0000)]
Followup r54913...throw these on the copyright icons too

14 years ago(bug 20203) "Powered by Mediawiki" now has height/width on image tag
Chad Horohoe [Thu, 13 Aug 2009 00:47:56 +0000 (00:47 +0000)]
(bug 20203) "Powered by Mediawiki" now has height/width on image tag

14 years agoSet up CKB as RTL...
Brion Vibber [Thu, 13 Aug 2009 00:32:41 +0000 (00:32 +0000)]
Set up CKB as RTL...

14 years agoDelete t/maint from MW. Not tests specific to MW, so I've moved them to tools/code...
Chad Horohoe [Thu, 13 Aug 2009 00:12:16 +0000 (00:12 +0000)]
Delete t/maint from MW. Not tests specific to MW, so I've moved them to tools/code-utils

14 years agoImproved image compression!
Trevor Parscal [Thu, 13 Aug 2009 00:01:10 +0000 (00:01 +0000)]
Improved image compression!

14 years agoRemoved extra <div> around Search, fixes bug 17777
Nimish Gautam [Wed, 12 Aug 2009 23:41:04 +0000 (23:41 +0000)]
Removed extra <div> around Search, fixes bug 17777

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-12 22:34 UTC)
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)

14 years ago* removed entries for removed functionnalities
Alexandre Emsenhuber [Wed, 12 Aug 2009 21:39:35 +0000 (21:39 +0000)]
* removed entries for removed functionnalities
* fixed entry per r51736

14 years ago* (bug 20037) fixes script-loader loading of color picker (grouped scripts ~usually...
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"

14 years agofixed layout for adjacent embed clips
Michael Dale [Wed, 12 Aug 2009 18:17:08 +0000 (18:17 +0000)]
fixed layout for adjacent embed clips

14 years agoFixes bug #20193 by adding style rules for the selected class of Vector menus.
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.

14 years agoMake pointlessly private newFromConds public.
Andrew Garrett [Wed, 12 Aug 2009 15:30:38 +0000 (15:30 +0000)]
Make pointlessly private newFromConds public.

14 years agoIn response to a report from Domas that we are seeing HTMLCacheUpdate::invalidate...
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.

14 years agoIn Database::getLag(): Add some more I/O thread states.
Tim Starling [Wed, 12 Aug 2009 03:47:52 +0000 (03:47 +0000)]
In Database::getLag(): Add some more I/O thread states.

14 years agoRevert eval.php changes from r54653, r54312, r54225 (maintenance-work branch merge...
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.

14 years agoPHP5 has been out for years now.
Chad Horohoe [Wed, 12 Aug 2009 00:13:39 +0000 (00:13 +0000)]
PHP5 has been out for years now.

14 years agoAdd an install/update-time test for the PHP+libxml2 horrible XML input corruption...
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

14 years agoRevert r35877, early commit that can only be explained by a complete naivete. Nobody...
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.

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-11 20:36 UTC)
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)

14 years agoRevert r54795: Didn't work as expected and don't have time to fix.
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.

14 years agoWhen the text size is set in the body in EM, it affects all other em measurements...
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.

14 years agoAlways define mwEmbed i18n file. Was not compatible with manual recaching and the...
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.

14 years agoLanguage file updates
Michael Dale [Tue, 11 Aug 2009 18:24:33 +0000 (18:24 +0000)]
Language file updates

14 years agoattempt to fix translatewiki script-loader translate issue.
Michael Dale [Tue, 11 Aug 2009 18:08:12 +0000 (18:08 +0000)]
attempt to fix translatewiki script-loader translate issue.

14 years ago(bug 20052) Watch checkbox on Special:Movepage is checked by default when the old...
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.

14 years ago(bug 20176) Fix login/logout links in skin CologneBlue. Linker::linkKnown should...
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.

14 years agoFixes incorrected sizing of preformatted text blocks (which use a monospaced font).
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).

14 years agoAdd automyn to sr-ec and sr-el
Siebrand Mazeland [Tue, 11 Aug 2009 13:03:42 +0000 (13:03 +0000)]
Add automyn to sr-ec and sr-el

14 years agoSome unused $wgStyleVersions.
Chad Horohoe [Tue, 11 Aug 2009 12:25:07 +0000 (12:25 +0000)]
Some unused $wgStyleVersions.

14 years agoAdded a missing column in schema creation script
Jure Kajzer [Tue, 11 Aug 2009 12:01:04 +0000 (12:01 +0000)]
Added a missing column in schema creation script

14 years agoLocalisation updates for core messages from translatewiki.net (2009-08-11 09:29 UTC)
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)

14 years ago* Do not transform EXIF fields with pure text to avoid results like foo,bar@example,com
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

14 years agoRecommit r54081 after general revert r54735: The description message in $wgExtensionC...
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

14 years ago(bug 20170) Make QuickTemplate::execute() abstract, instead of sending a dorky PHP...
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.

14 years agoAdd Html::input() convenience function
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.