Tim Starling [Fri, 18 Sep 2009 05:23:10 +0000 (05:23 +0000)]
Assorted tweaks.
Tim Starling [Fri, 18 Sep 2009 04:27:28 +0000 (04:27 +0000)]
Was too slow. Trying different approach.
Tim Starling [Fri, 18 Sep 2009 04:26:30 +0000 (04:26 +0000)]
Use STDERR instead of fopen('php://stderr') when possible
Tim Starling [Fri, 18 Sep 2009 03:34:34 +0000 (03:34 +0000)]
Script to produce a merged $wgExtensionMessagesFiles for the case where a wiki farm uses different messages for different wikis.
Aaron Schulz [Fri, 18 Sep 2009 01:06:00 +0000 (01:06 +0000)]
Follow up r56486: revert RELEASE-NOTES (which was incomplete anyway)
Alex Z [Thu, 17 Sep 2009 23:04:54 +0000 (23:04 +0000)]
Fix for r55393, put the padding:0 on the td's rather than the tables
Nimish Gautam [Thu, 17 Sep 2009 22:54:05 +0000 (22:54 +0000)]
increased size of side bar and personal links, fixes bug #20686
Alexandre Emsenhuber [Thu, 17 Sep 2009 21:52:40 +0000 (21:52 +0000)]
Only set "unserialize_callback_func" if we use it, otherwise it can throw warning saying that __autoload() is not defined
Siebrand Mazeland [Thu, 17 Sep 2009 21:28:07 +0000 (21:28 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-17 21:11 UTC)
Aaron Schulz [Thu, 17 Sep 2009 20:20:45 +0000 (20:20 +0000)]
bug 20701: fixed strange breakage from r53173
Philip Tzou [Thu, 17 Sep 2009 19:53:49 +0000 (19:53 +0000)]
Follow up on r56560. Typo.
Philip Tzou [Thu, 17 Sep 2009 19:51:33 +0000 (19:51 +0000)]
Follow up on r55415 and r56458. Use another way to disable variants. Server admins could disable some variants using a global variable.
Roan Kattouw [Thu, 17 Sep 2009 19:39:34 +0000 (19:39 +0000)]
API: Per CR comments on r56091, make the timeout for the API help cache configurable
Michael Dale [Thu, 17 Sep 2009 19:33:31 +0000 (19:33 +0000)]
* minor fix to uploadFromChunks in case its initialized with a real path instead of a virtual path
Bryan Tong Minh [Thu, 17 Sep 2009 19:27:19 +0000 (19:27 +0000)]
Resolving virtual url of temp path for stashed files, unbreaking stashed uploads.
Michael Dale [Thu, 17 Sep 2009 19:13:23 +0000 (19:13 +0000)]
* some clean up and defined append function in other repo types
Shinjiman [Thu, 17 Sep 2009 19:01:49 +0000 (19:01 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Alexandre Emsenhuber [Thu, 17 Sep 2009 18:55:29 +0000 (18:55 +0000)]
* indent debug output produced when both $wgShowDebug and $wgDebugFunctionEntry are enabled for better readability. In this case, unindented comment will be displayed "inline" with a yellow background
* added an id to the debug data list
* allow to use $wgShowDebug with $wgDebugComments set to false
* update HTMLFileCache to use full method name in debug output
Siebrand Mazeland [Thu, 17 Sep 2009 17:55:41 +0000 (17:55 +0000)]
* process messages with escapenoentities instead of escape to allow for example • as pipe-separator
* change string explode to array
* remove hard coded parentheses
* break long lists of parameters
Rotem Liss [Thu, 17 Sep 2009 17:54:59 +0000 (17:54 +0000)]
Localization update.
Brion Vibber [Thu, 17 Sep 2009 17:23:26 +0000 (17:23 +0000)]
Fix for r55592: show the direct-page link/create link on search *above* actual results but *below* "no results" notice.
Alex Z [Thu, 17 Sep 2009 16:21:27 +0000 (16:21 +0000)]
merge most of r56515 back to trunk (changing UserrightsPage::fetchUser to non-static)
Fixing ApiQueryUsers so it should work properly for interwiki users
Michael Dale [Thu, 17 Sep 2009 15:50:07 +0000 (15:50 +0000)]
* removed "== true"
Roan Kattouw [Thu, 17 Sep 2009 15:47:44 +0000 (15:47 +0000)]
Fix r56091: cache URLs with and without ?version separately
Michael Dale [Thu, 17 Sep 2009 15:35:15 +0000 (15:35 +0000)]
* adds $wgEnableJS2system check for $wgUseAJAXCategories (since it uses some js2 calls loadGM)
Michael Dale [Thu, 17 Sep 2009 15:25:55 +0000 (15:25 +0000)]
* ( bug 18264 ) upload-by-url form was still disabled in non-js2 form output
Andrew Garrett [Thu, 17 Sep 2009 15:24:04 +0000 (15:24 +0000)]
Fix bug 20688 (Hidden categories still hidden if there are no non-hidden categories and the showhiddencats option is on). Regression in r55573.
Roan Kattouw [Thu, 17 Sep 2009 14:22:31 +0000 (14:22 +0000)]
Followup to r56174: tooltipAndAccesskey also returns a string
Raimond Spekking [Thu, 17 Sep 2009 14:17:21 +0000 (14:17 +0000)]
Add colon for consistency with other labels
Raimond Spekking [Thu, 17 Sep 2009 14:13:12 +0000 (14:13 +0000)]
Consistency tweak: Use pipe-separator for diff / hist like on RC and WL
BTW: RC and WL shows (diff | hist) but this page (hist | diff). Another consistency candidate?
Raimond Spekking [Thu, 17 Sep 2009 13:13:18 +0000 (13:13 +0000)]
Follow up r56505: Make it consistent with other pipe usages. Thanks to Siebrand :)
Raimond Spekking [Thu, 17 Sep 2009 12:44:55 +0000 (12:44 +0000)]
Do not lower case the message text. This is wrong for some languages, at least for German.
Raimond Spekking [Thu, 17 Sep 2009 12:27:22 +0000 (12:27 +0000)]
Tweak message a bit: Make it more consistent with a | between prev/next
Siebrand Mazeland [Thu, 17 Sep 2009 10:05:48 +0000 (10:05 +0000)]
Add $wgUseAJAXCategories and $wgAJAXCategoriesNamespaces to RELEASE-NOTES. Related to features added in r56032 and r56495
Siebrand Mazeland [Thu, 17 Sep 2009 09:53:37 +0000 (09:53 +0000)]
Localisation updates for namespace names from translatewiki.net. Also fixes bug 20639.
Andrew Garrett [Thu, 17 Sep 2009 09:31:16 +0000 (09:31 +0000)]
In Xml::encodeJsVar, keep backwards compatibility by encoding empty arrays as empty arrays rather than empty objects. Regression in r56032, reported as bug 20671
Siebrand Mazeland [Thu, 17 Sep 2009 08:33:07 +0000 (08:33 +0000)]
Add setting $wgAJAXCategoriesNamespaces to allow configuring namespaces for where the category add/remove widget is used when $wgUseAJAXCategories is set to true. Default behaviour has been left unchanged.
Alex Z [Thu, 17 Sep 2009 04:27:02 +0000 (04:27 +0000)]
Fix logic error from r54153. By negating each individual isAllowed check, the OR statement would return true
(and not allow the action) if the user didn't have both rights rather than checking if he has either one.
Philip Tzou [Thu, 17 Sep 2009 04:16:17 +0000 (04:16 +0000)]
Follow up on r53041. Fix a __NOCC__ failure caused by myself and I'm stupid to report it on #Wikimedia-tech!
Aaron Schulz [Thu, 17 Sep 2009 02:24:38 +0000 (02:24 +0000)]
Actually declare $wgOut ;)
Aaron Schulz [Thu, 17 Sep 2009 02:15:51 +0000 (02:15 +0000)]
partial revert of r55447: breaks url wpName prefilling
Michael Dale [Thu, 17 Sep 2009 01:19:02 +0000 (01:19 +0000)]
* Enhanced OutputPage to support js2 style javascript without scriptloader enabled
** loadGM output
** unique request id based on wikiTitle revision / file time
* Moved jsAutoLoadClasses to setup.php ( made conditional )
Aaron Schulz [Thu, 17 Sep 2009 01:14:00 +0000 (01:14 +0000)]
partial revert on r55573; livePreview() is still used
Alex Z [Thu, 17 Sep 2009 01:03:52 +0000 (01:03 +0000)]
Actually use the filename supplied by the user.
Brion Vibber [Thu, 17 Sep 2009 00:57:10 +0000 (00:57 +0000)]
Revert r53832, r53897, r54145 "(bug 17988) Spaces before [[Category:]] links are no longer ignored" and followup
Causes entire page to go blank under some circumstances.
Andrew Garrett [Thu, 17 Sep 2009 00:56:27 +0000 (00:56 +0000)]
Fix bug where checking another user's blocked status (like for contributions) would cause you to be autoblocked if that user was blocked. Regression in r56325
Andrew Garrett [Thu, 17 Sep 2009 00:32:19 +0000 (00:32 +0000)]
Fix regression in r52174 where parameter was not passed to MediaWiki:sp-contributions-footer
Aaron Schulz [Wed, 16 Sep 2009 23:59:25 +0000 (23:59 +0000)]
$nt may or may not be an object
Shinjiman [Wed, 16 Sep 2009 23:58:18 +0000 (23:58 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Andrew Garrett [Wed, 16 Sep 2009 23:53:31 +0000 (23:53 +0000)]
Fix E_NOTICE in r55415 breaking Zh variants
Andrew Garrett [Wed, 16 Sep 2009 23:50:29 +0000 (23:50 +0000)]
Partial revert of r55415, calling wfMsg in Language object constructor causes unstub loops
Chad Horohoe [Wed, 16 Sep 2009 23:27:18 +0000 (23:27 +0000)]
Add mw :)
Brion Vibber [Wed, 16 Sep 2009 23:17:56 +0000 (23:17 +0000)]
fix for bad entries
Aaron Schulz [Wed, 16 Sep 2009 22:52:15 +0000 (22:52 +0000)]
Default $attribs to an array in expandAttributes()
Chad Horohoe [Wed, 16 Sep 2009 21:53:40 +0000 (21:53 +0000)]
fix headers
Alex Z [Wed, 16 Sep 2009 21:38:45 +0000 (21:38 +0000)]
use fetchUser statically per r56133
Siebrand Mazeland [Wed, 16 Sep 2009 21:35:38 +0000 (21:35 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-16 21:23 UTC)
Brion Vibber [Wed, 16 Sep 2009 21:31:17 +0000 (21:31 +0000)]
Fix for wikibits.js loading when $wgStylePath != "$wgScriptPath/skins"
Alexandre Emsenhuber [Wed, 16 Sep 2009 20:43:14 +0000 (20:43 +0000)]
* (bug 20517) Cancel link from edit page now returns to the old version when editing an old version
Tobias [Wed, 16 Sep 2009 17:17:16 +0000 (17:17 +0000)]
Follow-up on r56284: LogEventsList::showLogExtract gets associative array for additional parameters. Adjusted all calls that use additional parameters. Also improved Special:Blockip, which now uses those new parameters instead of using own functions. Fixed HistoryPage which was broken with r56251.
Bryan Tong Minh [Wed, 16 Sep 2009 15:09:00 +0000 (15:09 +0000)]
Cleanup SpecialUpload::getExistsWarning which referenced some undeclared variables.
There is some more cleanup to be done in SpecialUpload::getExistsWarning and UploadBase::getExistsWarning, but there are currently no errors as far as I'm aware. I will probably break b/c on them though.
Aaron Schulz [Wed, 16 Sep 2009 13:28:01 +0000 (13:28 +0000)]
Set log_page on save
Shinjiman [Wed, 16 Sep 2009 07:10:34 +0000 (07:10 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Alex Z [Wed, 16 Sep 2009 05:29:44 +0000 (05:29 +0000)]
(bug 20655) If $wgHtml5 is false, run attribute values through Sanitizer::encodeAttribute()
Tim Starling [Wed, 16 Sep 2009 03:48:29 +0000 (03:48 +0000)]
Fix for bug 20601: disable debug output. It can be re-enabled by patching.
Michael Dale [Wed, 16 Sep 2009 02:46:58 +0000 (02:46 +0000)]
related to r56402 * removed mv_embed_iframe.php (moving to metavid extension since it contains metavid specific roe url rewriting)
Andrew Garrett [Wed, 16 Sep 2009 00:53:37 +0000 (00:53 +0000)]
LiquidThreads JS/AJAX updates
* Bump interval from 30s to 60s.
* Add an "update" link (text changed, sorry translators :(), which reloads the thread from the server.
* Fix bug in continuation caused by last-minute changes.
* Fix bug where only one reply per thread was being loaded.
* Fix bug where AJAX-loaded threads were loading one level too few.
* Fix bug in interpretation of API parameters.
Siebrand Mazeland [Tue, 15 Sep 2009 22:44:57 +0000 (22:44 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-15 22:15 UTC)
Siebrand Mazeland [Tue, 15 Sep 2009 22:43:47 +0000 (22:43 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-15 22:15 UTC)
Alexandre Emsenhuber [Tue, 15 Sep 2009 21:05:30 +0000 (21:05 +0000)]
whitespaces tweaks
Siebrand Mazeland [Tue, 15 Sep 2009 12:41:15 +0000 (12:41 +0000)]
* fix oversight in r56324 in showMissingArticle() (string -> array)
* break lists of parameters for other uses of LogEventsList::showLogExtract()
Andrew Garrett [Tue, 15 Sep 2009 10:28:01 +0000 (10:28 +0000)]
Make Change Tags index name configurable with a new config variable $wgOldChangeTagsIndex, replacement for live hack at svn.wikimedia.org/viewvc/mediawiki/branches/wmf-deployment/includes/ChangeTags.php?&pathrev=53208&r1=53207&r2=53208
Tim Starling [Tue, 15 Sep 2009 06:21:49 +0000 (06:21 +0000)]
More useful debug output for CGI
Brion Vibber [Tue, 15 Sep 2009 00:24:24 +0000 (00:24 +0000)]
De-Wikimedified lag.php script and merged to trunk. Still not 100% sure what the -r option is supposed to do, but it now runs. :)
Brion Vibber [Mon, 14 Sep 2009 22:32:30 +0000 (22:32 +0000)]
Cleanup live hack from wmf-deployment r53208 a bit: DB selection using load balancer.
Should fix a couple regressions or possible regressions:
* Hack was pulling the main LB's DB_SLAVE connection although we were deliberately opening a new connection. Could have caused problems when we were fetching other things from the local database in the middle of an export.
* We no longer lose the connection timeout override.
However we still have a regression:
* --server option is ignored (but we're now pulling from the 'backup' group, so we at least have some kind of consistency :)
Brion Vibber [Mon, 14 Sep 2009 22:10:10 +0000 (22:10 +0000)]
Merge and clean up memory_limit hacks from wmf-deployment r53208.
Added a memoryLimit() method on Maintenance class which allows scripts to override the memory limit; normally we disable the limit but sometimes you actually want to set one to avoid eating up RAM on the machine if something goes awry.
Brion Vibber [Mon, 14 Sep 2009 21:58:41 +0000 (21:58 +0000)]
Clean up a live hack from wmf-deployment r53208: option to short-circuit math path and file existence checks.
Adds $wgMathCheckFiles setting:
/**
* Normally when generating math images, we double-check that the
* directories we want to write to exist, and that files that have
* been generated still exist when we need to bring them up again.
*
* This lets us give useful error messages in case of permission
* problems, and automatically rebuild images that have been lost.
*
* On a big site with heavy NFS traffic this can be slow and flaky,
* so sometimes we want to short-circuit it by setting this to false.
*/
$wgMathCheckFiles = true;
Brion Vibber [Mon, 14 Sep 2009 21:42:28 +0000 (21:42 +0000)]
Merge live hack from wmf-deployment r53208: skip calculation of display names for groups in permission errors when we're only checking for a yes/no
Siebrand Mazeland [Mon, 14 Sep 2009 21:42:16 +0000 (21:42 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-14 20:56 UTC)
Brion Vibber [Mon, 14 Sep 2009 21:35:14 +0000 (21:35 +0000)]
Apply live hack from wmf-deployment r53208: allows passing alt table name
Brion Vibber [Mon, 14 Sep 2009 21:30:01 +0000 (21:30 +0000)]
Merge live hack from wmf-deployment r53208: profiling for LanguageGetMagic hook call
Brion Vibber [Mon, 14 Sep 2009 21:28:50 +0000 (21:28 +0000)]
Commit live hack from wmf-deployment r53208: skip user cache invalidation if we're in read-only mode; it's likely to fail and cause more confusion than not doing the invalidation.
Brion Vibber [Mon, 14 Sep 2009 21:26:04 +0000 (21:26 +0000)]
Increase limit from 500 to 5000 per live hack committed to wmf-deployment in r53208
Siebrand Mazeland [Mon, 14 Sep 2009 19:56:22 +0000 (19:56 +0000)]
Follow-up to r56324 per IRC comments by Nikerabbit: coding style updated
Rotem Liss [Mon, 14 Sep 2009 19:44:40 +0000 (19:44 +0000)]
Localization update.
Tobias [Mon, 14 Sep 2009 19:34:18 +0000 (19:34 +0000)]
Fixing User::getBlockedStatus which broke r55918. Function now works for all user objects, not just wgUser
Siebrand Mazeland [Mon, 14 Sep 2009 18:58:25 +0000 (18:58 +0000)]
Support GENDER in 'renameuser-renamed-notice', changing LogEventsList::showLogExtract for that:
* param $msgKey from String to Array, where first element is the message key, additional elements are parameters for the key
Comment by Nikerabbit: "... that is cargo train number of parameters :o". I tried not to make it worse.
Benjamin Lees [Mon, 14 Sep 2009 18:40:45 +0000 (18:40 +0000)]
Follow up to r56285: just grant all rights to the installer-created database user.
Siebrand Mazeland [Mon, 14 Sep 2009 18:22:43 +0000 (18:22 +0000)]
Follow-up to r56317: rebuild messages files
Alex Z [Mon, 14 Sep 2009 18:10:13 +0000 (18:10 +0000)]
Replace the user rename log display for non-existent userpages with a hook (followup to r56251).
Update for Renameuser extension to follow.
Also make docs for LogEventsList::showLogExtract() actually useful
Siebrand Mazeland [Mon, 14 Sep 2009 17:32:35 +0000 (17:32 +0000)]
Tweak 'revdelete-offender' -> "Revision author"
Aaron Schulz [Mon, 14 Sep 2009 17:09:13 +0000 (17:09 +0000)]
bug 18472 Suppression log filtered by "offender", as Oversight log can be
Aaron Schulz [Mon, 14 Sep 2009 16:42:11 +0000 (16:42 +0000)]
PG fix for listusers
Aaron Schulz [Mon, 14 Sep 2009 16:38:35 +0000 (16:38 +0000)]
code style tweaks
Roan Kattouw [Mon, 14 Sep 2009 12:57:37 +0000 (12:57 +0000)]
(bug 18180) Special:Export ignores limit, dir, offset parameters. Patch by azliq7
Philip Tzou [Mon, 14 Sep 2009 05:43:56 +0000 (05:43 +0000)]
Update the Chinese conversion tables.
Alex Z [Mon, 14 Sep 2009 02:17:31 +0000 (02:17 +0000)]
Fixes for r56284:
* Parse the message shown in the box
* Fix undefined variable notice
Benjamin Lees [Mon, 14 Sep 2009 01:26:21 +0000 (01:26 +0000)]
(Bug 20634) Give the installer-created database user CREATE TABLE and ALTER TABLE rights so that upgrades will go more smoothly.
Tobias [Sun, 13 Sep 2009 22:21:11 +0000 (22:21 +0000)]
Follow-up on r56251 - merging showLogs and showLogExtract
Siebrand Mazeland [Sun, 13 Sep 2009 20:54:11 +0000 (20:54 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-13 20:30 UTC)