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)
Tobias [Sun, 13 Sep 2009 20:23:17 +0000 (20:23 +0000)]
Follow-up on r56230 - toc class was lost de.wikipedia.org/w/index.php?title=Benutzer_Diskussion%3AChurch_of_emacs&diff=
64479082&oldid=
64442028
Siebrand Mazeland [Sun, 13 Sep 2009 17:12:32 +0000 (17:12 +0000)]
IP -> IP address
Aaron Schulz [Sun, 13 Sep 2009 16:50:35 +0000 (16:50 +0000)]
For wikis with $wgMiserMode off, update activeuser count daily rather than per page view. Those with $wgMiserMode on still use $wgSpecialPageCacheUpdates.
Aaron Schulz [Sun, 13 Sep 2009 16:02:34 +0000 (16:02 +0000)]
Removed redundant show/hide clutter
Niklas Laxström [Sun, 13 Sep 2009 15:28:35 +0000 (15:28 +0000)]
Minor style
Chad Horohoe [Sun, 13 Sep 2009 14:13:36 +0000 (14:13 +0000)]
(bug 20624) Installation allows to select "language" qqq for the Wiki
Chad Horohoe [Sun, 13 Sep 2009 13:57:35 +0000 (13:57 +0000)]
Nuke the last vestiges of tlh.
Siebrand Mazeland [Sun, 13 Sep 2009 07:13:04 +0000 (07:13 +0000)]
Localisation updates for special page aliases for core from translatewiki.net
Siebrand Mazeland [Sun, 13 Sep 2009 07:06:56 +0000 (07:06 +0000)]
Localisation updates for magic words for core from translatewiki.net
Tobias [Sun, 13 Sep 2009 02:07:21 +0000 (02:07 +0000)]
Creating new function wgOutput->showLogs and including new information on viewing non-existant user pages. In detail:
Instead of copy&pasting the code in different files, there is now one function for showing logs.
This function is currently used for:
* Article and EditPage: Show deletion / move log
* Article: Show rename log on user(talk)pages (NEW in this revision)
* SpecialContributions: Show block log for blocked users
(Note: I removed the condition "log_action != 'revision'". AFAIK it isn't needed, log lists are checked for permission somewhere)
Additionally, on user (talk) pages a note is displayed, if the user does not exist.
Aaron Schulz [Sat, 12 Sep 2009 22:02:51 +0000 (22:02 +0000)]
Add getVisibility function (which fixes revisiondelete fatal)
Happy-melon [Sat, 12 Sep 2009 21:41:09 +0000 (21:41 +0000)]
Fix fatal left over from preferences rewrite, that no one noticed because this particular function isn't used *anywhere* in core... :D
Siebrand Mazeland [Sat, 12 Sep 2009 21:27:42 +0000 (21:27 +0000)]
Localisation updates for core messages from translatewiki.net
Siebrand Mazeland [Sat, 12 Sep 2009 21:17:45 +0000 (21:17 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-12 21:01 UTC)
Rotem Liss [Sat, 12 Sep 2009 21:04:25 +0000 (21:04 +0000)]
Localization update.
Aaron Schulz [Sat, 12 Sep 2009 18:18:16 +0000 (18:18 +0000)]
Expand revdelete dropdown/reasons
Aaron Schulz [Sat, 12 Sep 2009 17:56:19 +0000 (17:56 +0000)]
* Removed duplicate revdelete links
* Moved revdelete link up
* Code style tweak
Aaron Schulz [Sat, 12 Sep 2009 17:46:51 +0000 (17:46 +0000)]
bug 20470 Edits with user/IP suppression are now marked
Rotem Liss [Sat, 12 Sep 2009 17:11:26 +0000 (17:11 +0000)]
Re-add the RTL lists workaround for Firefox bug to monobook/rtl.css, as common_rtl.css does not seem to be used in Monobook.
Tobias [Sat, 12 Sep 2009 17:06:11 +0000 (17:06 +0000)]
Adjust the time according to the user configuration on Special:Revisiondelete
Tobias [Sat, 12 Sep 2009 13:44:23 +0000 (13:44 +0000)]
Don't include TOC in the printable version if it is hidden (bug 482). Original patch by Shane King (r6350) was lost in r7073.
Alexandre Emsenhuber [Sat, 12 Sep 2009 10:19:56 +0000 (10:19 +0000)]
Use wfEscapeShellArg() so that the script works correctly when paths contain whitespaces
Shinjiman [Sat, 12 Sep 2009 09:34:14 +0000 (09:34 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Raimond Spekking [Sat, 12 Sep 2009 08:25:54 +0000 (08:25 +0000)]
Follow-up r56215: Replace hardcoded text with a new message.
Replace "images" with the generic "files"
Wrap message into a div with class=error
Add it to RELEASE-NOTES
Brion Vibber [Sat, 12 Sep 2009 00:05:04 +0000 (00:05 +0000)]
cleanup r56216 deleteSelfExternals a little - fix short PHP tag, use escaping for good measure (though in most cases we'll be clean)
Brion Vibber [Sat, 12 Sep 2009 00:02:57 +0000 (00:02 +0000)]
Merge deleteSelfExternals.php handy pruning script from wmf-deployment r53856
Brion Vibber [Fri, 11 Sep 2009 23:36:28 +0000 (23:36 +0000)]
Forward-port image manipulation disabling hack from wmf-deployment r53386.
Turning on $wgUploadMaintenance will disable deletion and undeletion of images; useful when performing maintenance on file servers to ensure that nobody's messing with your data while you work.
Note that $wgEnableUploads really should be disabled too or it'll be a bit silly. ;)
Could use localization and other polishing.
Jack D. Pond [Fri, 11 Sep 2009 23:21:25 +0000 (23:21 +0000)]
Accidently put into phase3/extensions instead of extensions. Idiot operator error
Brion Vibber [Fri, 11 Sep 2009 23:18:28 +0000 (23:18 +0000)]
Forward-port r53264 from wmf-deployment branch: "Adjust paths in the Wikimedia-specific command-line config hacks. Separating out most of the custom config files..."
Jack D. Pond [Fri, 11 Sep 2009 22:50:34 +0000 (22:50 +0000)]
Added string functions (replace_e,pad_e,pos_e,rpos_e,and explode_e) that allow the use of c-type escaped characters ("\n","\t", etc.) in relevant existing string functions.
Siebrand Mazeland [Fri, 11 Sep 2009 22:49:20 +0000 (22:49 +0000)]
Localisation updates for core messages from translatewiki.net (2009-09-10 22:35 UTC)
Roan Kattouw [Fri, 11 Sep 2009 21:03:54 +0000 (21:03 +0000)]
Make os_disableSuggestionsOn() work also when called before mwsuggest.js has even done its initialization
Michael Dale [Fri, 11 Sep 2009 18:07:36 +0000 (18:07 +0000)]
* minor config update to have the amw ~only~ target commons by default.
Michael Dale [Fri, 11 Sep 2009 18:00:09 +0000 (18:00 +0000)]
* initial configuration via jQuery.extend in mv_embed
* re-added example_folder (removed all non-commons external javascript and images calls)
** (The only external js is the commons api query)
** Theme based javascript include request changed to link to external site to install bookmarklet
** Timed text example removed (did jsonp call to get text)
*** Will re-add local file based timed text example shortly.
Rotem Liss [Fri, 11 Sep 2009 17:27:36 +0000 (17:27 +0000)]
Localization update.
Alexandre Emsenhuber [Fri, 11 Sep 2009 17:17:55 +0000 (17:17 +0000)]
Fix for r55535, per Brion's comment: convert x-coded strings in the target input and escape it before pre-filling the box
Alexandre Emsenhuber [Fri, 11 Sep 2009 16:06:34 +0000 (16:06 +0000)]
break lines at 80 chars
Alexandre Emsenhuber [Fri, 11 Sep 2009 15:53:48 +0000 (15:53 +0000)]
* (bug 20556) Stub threshold's "other" <input> in Special:Preferences now has a correct type="text" parameter
* also fix a bug in the detection if the "other" value is passed in the predefined options, remember: 0 == 'other' returns true (thank you, PHP, really)
Alexandre Emsenhuber [Fri, 11 Sep 2009 10:59:15 +0000 (10:59 +0000)]
Fixes for r56068 and r55984:
* missing "!" for the check $wgEnableTooltipsAndAccesskeys
* Linker::tooltip() return a string, no an array
* spacing fixes
Siebrand Mazeland [Fri, 11 Sep 2009 06:31:22 +0000 (06:31 +0000)]
Rebuild all messages files. Follow-up to r56164 (revert r55459, 55467, 55469, 55518)
Huji [Fri, 11 Sep 2009 06:13:54 +0000 (06:13 +0000)]
Localisation updates: Purging ignored Persian messages. Wondering why they're still there.