Aryeh Gregor [Fri, 6 Nov 2009 21:03:19 +0000 (21:03 +0000)]
Reduce false positives for PHP in MimeMagic
(bug 16583) This was detecting PHP if any of a few three-byte strings
occurred anywhere in the first 1024 bytes of the file. This is too
paranoid -- it creates a significant number of false positives for
binary files, reportedly on the order of about one every 4096 uploads.
It's hard to see what security advantage this check every conveyed,
because it only looks in the first 1024 bytes anyway. For the purposes
of upload it could surely be removed entirely, but I didn't check all
callers, so maybe some caller wants to guess whether the file is PHP for
some purpose other than banning it. So for now I only removed the
checks for the shortest strings, which were most likely to get hit.
Shinjiman [Fri, 6 Nov 2009 20:49:03 +0000 (20:49 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Raimond Spekking [Fri, 6 Nov 2009 17:53:51 +0000 (17:53 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-06 17:00 UTC)
Jure Kajzer [Fri, 6 Nov 2009 17:14:32 +0000 (17:14 +0000)]
Changed duplication function
Jure Kajzer [Fri, 6 Nov 2009 17:12:18 +0000 (17:12 +0000)]
Started working on parserTests Oracle compatibility, still getting FK violations
Max Semenik [Fri, 6 Nov 2009 17:10:34 +0000 (17:10 +0000)]
Removed extra transactions on table creation introduced in r58631, makes no difference
Ariel Glenn [Fri, 6 Nov 2009 16:49:41 +0000 (16:49 +0000)]
document CacheHeadersAfterSet hook
Chad Horohoe [Fri, 6 Nov 2009 16:38:19 +0000 (16:38 +0000)]
rm unused global
Alexandre Emsenhuber [Fri, 6 Nov 2009 16:27:28 +0000 (16:27 +0000)]
* (bug 21420) Fix for r27043: typo
Bryan Tong Minh [Fri, 6 Nov 2009 16:22:56 +0000 (16:22 +0000)]
Add accessor to LinksUpdate::mImages
Chad Horohoe [Fri, 6 Nov 2009 15:43:47 +0000 (15:43 +0000)]
Followup r58634, also remove RELEASE-NOTES entry
Chad Horohoe [Fri, 6 Nov 2009 15:38:47 +0000 (15:38 +0000)]
Add new global $wgUseInstantCommons for quick && easy enabling of Commons for 3rd party sites using sane defaults
Ariel Glenn [Fri, 6 Nov 2009 15:15:40 +0000 (15:15 +0000)]
no pass-by-ref needed for CacheHeadersAfterSet
Roan Kattouw [Fri, 6 Nov 2009 14:44:04 +0000 (14:44 +0000)]
API: (bug 20967) action=edit allows creation of invalid titles that look like interwiki titles. Patch by Sam Reed
Roan Kattouw [Fri, 6 Nov 2009 14:38:55 +0000 (14:38 +0000)]
API: (bug 20554) Expose average slave lag (avglag) as well as maxlag. Patch by Sam Reed.
Tomasz Finc [Fri, 6 Nov 2009 14:19:54 +0000 (14:19 +0000)]
Wrong dir ... deleting .. om nom nom
Tomasz Finc [Fri, 6 Nov 2009 14:13:31 +0000 (14:13 +0000)]
Adding working proof of concept for quick geo ip redirection
Michael Dale [Fri, 6 Nov 2009 13:11:56 +0000 (13:11 +0000)]
* fix tag height for text tabs
Ariel Glenn [Fri, 6 Nov 2009 10:53:51 +0000 (10:53 +0000)]
Add hook CacheHeadersAfterSet to permit override of cache headers later
Andrew Garrett [Fri, 6 Nov 2009 10:31:09 +0000 (10:31 +0000)]
Remove upload from wgRestrictionTypes, it is added as a special case in getProtectionTypes
Andrew Garrett [Fri, 6 Nov 2009 10:27:44 +0000 (10:27 +0000)]
Enabling changes for r56828: some refactoring and code cleanup of the protection interface, including a new hook, generalisation to more restriction types than edit/move, and some other related changes.
Max Semenik [Fri, 6 Nov 2009 10:17:44 +0000 (10:17 +0000)]
Abstracted some parts of database interaction for parser tests, needs verification on Postgres. SQLite still doesn't work, though fails much later
Michael Dale [Fri, 6 Nov 2009 09:58:03 +0000 (09:58 +0000)]
* more volume skin fixes
Michael Dale [Fri, 6 Nov 2009 09:50:57 +0000 (09:50 +0000)]
* switched skin over to class attribute (ie class="kskin")
Michael Dale [Fri, 6 Nov 2009 09:11:29 +0000 (09:11 +0000)]
* some fixes to the style sheet for volume display
Tim Starling [Thu, 5 Nov 2009 23:34:12 +0000 (23:34 +0000)]
authz test
Michael Dale [Thu, 5 Nov 2009 23:18:12 +0000 (23:18 +0000)]
* removed some debug statements
* added more testLang examples
Tim Starling [Thu, 5 Nov 2009 23:00:27 +0000 (23:00 +0000)]
testing authz
Michael Dale [Thu, 5 Nov 2009 22:22:56 +0000 (22:22 +0000)]
* removed display of preview video for iframe uploads
* fixed token check for iframe uploads
Raimond Spekking [Thu, 5 Nov 2009 20:13:49 +0000 (20:13 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-05 20:00 UTC)
Updates for UsabilityInitiave skipped. Needs changes in translatewiki first.
Jure Kajzer [Thu, 5 Nov 2009 20:04:47 +0000 (20:04 +0000)]
added encoding handlin on delete() and selectRow(), switched manual delete in replace() with a function call
Jure Kajzer [Thu, 5 Nov 2009 18:49:12 +0000 (18:49 +0000)]
removed x-codeBlob functions and modified blob handling acordingly
Max Semenik [Thu, 5 Nov 2009 18:41:45 +0000 (18:41 +0000)]
implicitOrderby() seems to be true for SQLite, removing the override
Alexandre Emsenhuber [Thu, 5 Nov 2009 17:55:01 +0000 (17:55 +0000)]
svn:eol-style native
Aaron Schulz [Thu, 5 Nov 2009 16:30:56 +0000 (16:30 +0000)]
Holding off r58575 for now
Rotem Liss [Thu, 5 Nov 2009 13:25:36 +0000 (13:25 +0000)]
Localization update.
Siebrand Mazeland [Thu, 5 Nov 2009 12:55:13 +0000 (12:55 +0000)]
Small clarification of 'mediawarning': "file" -> "file type" and splitting into two sentences.
Aaron Schulz [Thu, 5 Nov 2009 08:55:18 +0000 (08:55 +0000)]
Make newFromID() inherit correctly (ImagePage/CategoryPage...) by using Late Static Binding
Adam Miller [Thu, 5 Nov 2009 00:50:40 +0000 (00:50 +0000)]
adding a styling rule to ensure vector menu h5s aren't f#ed with by the german prototype wiki.
Shinjiman [Thu, 5 Nov 2009 00:09:01 +0000 (00:09 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Jure Kajzer [Wed, 4 Nov 2009 19:27:22 +0000 (19:27 +0000)]
Fixed replace function behaviour when required ID not specified
Raimond Spekking [Wed, 4 Nov 2009 19:24:19 +0000 (19:24 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-04 19:00 UTC)
Jure Kajzer [Wed, 4 Nov 2009 19:09:11 +0000 (19:09 +0000)]
Fixed some Oracle-specific installer and Strict Standards issues
Alexandre Emsenhuber [Wed, 4 Nov 2009 17:22:31 +0000 (17:22 +0000)]
Fix for r58269: move RELEASE-NOTES entry to correct section as this is not API related ;)
Alexandre Emsenhuber [Wed, 4 Nov 2009 17:18:05 +0000 (17:18 +0000)]
* (bug 21083) API: list=allusers no longer returns current timestamp for users without registration date
Raimond Spekking [Wed, 4 Nov 2009 16:07:42 +0000 (16:07 +0000)]
Follow-up r55613: Fix typo. I guess that 'baddaccess-groups' was a typo because such a message does not exists.
But 'badaccess-groups' has two parameters: $1 a list of groups and $2 the count of them. These parameters are missing.
Max Semenik [Wed, 4 Nov 2009 15:18:30 +0000 (15:18 +0000)]
(bug 18609) Search index was empty for some pages
Bryan Tong Minh [Wed, 4 Nov 2009 12:55:00 +0000 (12:55 +0000)]
* (bug 6579) Fixed protecting images from uploading only
* Added upload by default to $wgRestrictionTypes
Also requires MessagesEn.php accidently committed in r58536
Bryan Tong Minh [Wed, 4 Nov 2009 12:53:09 +0000 (12:53 +0000)]
* Disable autofill for reuploads
* Fix UploadFromStash::initialize parameters
Alexandre Emsenhuber [Wed, 4 Nov 2009 12:04:34 +0000 (12:04 +0000)]
Fix Special:ProtectedTitles' canonical name (Protectedtitles) to avoid notice when $wgDevelopmentWarnings is enabled
Michael Dale [Wed, 4 Nov 2009 11:24:48 +0000 (11:24 +0000)]
* sequencer updates / other small fixes
Michael Dale [Wed, 4 Nov 2009 06:52:28 +0000 (06:52 +0000)]
* set $wgScriptModifiedMsgCheck to off by default
Siebrand Mazeland [Wed, 4 Nov 2009 02:29:34 +0000 (02:29 +0000)]
* winks at Michael Dale and mumbles something about Title Case *
Siebrand Mazeland [Wed, 4 Nov 2009 02:03:33 +0000 (02:03 +0000)]
php mergeJavascriptMsg.php -j
Michael Dale [Wed, 4 Nov 2009 02:03:02 +0000 (02:03 +0000)]
opps followup to 58512
Michael Dale [Wed, 4 Nov 2009 01:58:31 +0000 (01:58 +0000)]
( bug 21374 ) fixed default search repository
Michael Dale [Wed, 4 Nov 2009 01:44:28 +0000 (01:44 +0000)]
* ( bug 21373 ) improved mwEmbed localization support
** switched to uselang param to specificity language
** fixed outputpage and mv_embed url language param handling accordingly
* added msg version check to script-loader (checks the latest version of any msg text and updates the unique request key)
* added associated configuration flag: $wgScriptModifiedMsgCheck
* general msg updates and centralization of mwe-cancel and mwe-ok
Adam Miller [Tue, 3 Nov 2009 23:37:48 +0000 (23:37 +0000)]
Making all headings normal weight for babaco experimental color scheme a
Raimond Spekking [Tue, 3 Nov 2009 19:50:11 +0000 (19:50 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-03 19:00 UTC)
Alexandre Emsenhuber [Tue, 3 Nov 2009 19:19:19 +0000 (19:19 +0000)]
whitespaces change only: consistent spacing in $wgUpdates' definition
Alexandre Emsenhuber [Tue, 3 Nov 2009 17:49:49 +0000 (17:49 +0000)]
* $fname -> __METHOD__
* spaces -> tabs for indentation
Jure Kajzer [Tue, 3 Nov 2009 14:32:34 +0000 (14:32 +0000)]
DatabaseOracle removed makeList overload and added delete overload for CLOB handling in delete parameters.
Roan Kattouw [Tue, 3 Nov 2009 14:00:20 +0000 (14:00 +0000)]
Another fatal in r58419
Rotem Liss [Tue, 3 Nov 2009 12:25:07 +0000 (12:25 +0000)]
Localization update.
Michael Dale [Tue, 3 Nov 2009 06:57:47 +0000 (06:57 +0000)]
* added more broad java detection ( look for both navigator.javaEnabled(); & 'application/x-java-applet' mime )
Siebrand Mazeland [Tue, 3 Nov 2009 06:56:29 +0000 (06:56 +0000)]
Fix parse error from r58419
Michael Dale [Tue, 3 Nov 2009 06:26:20 +0000 (06:26 +0000)]
more language updates
Adam Miller [Tue, 3 Nov 2009 00:35:05 +0000 (00:35 +0000)]
minor changes to experimental vector stylesheets
Raimond Spekking [Mon, 2 Nov 2009 20:10:37 +0000 (20:10 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-02 19:00 UTC)
Raimond Spekking [Mon, 2 Nov 2009 19:06:16 +0000 (19:06 +0000)]
i18n tweak: Use 'colon-separator' instead of hardcoded colon
Raimond Spekking [Mon, 2 Nov 2009 17:12:37 +0000 (17:12 +0000)]
Partly revert r57148. The search&replace was a bit too wide. It catches a message key too. Instead of right keys only.
Needs syncing with WMF because it shows <deletedhistory> on the live site.
Roan Kattouw [Mon, 2 Nov 2009 08:29:26 +0000 (08:29 +0000)]
Redo r58410, r58411 (attempts to to fix r58399) properly: isset vs. !is_null wasn't the problem, it's that the 'tag' parameter wasn't in the parameter list.
Alexandre Emsenhuber [Sun, 1 Nov 2009 21:54:25 +0000 (21:54 +0000)]
Fix for r58410: isset already checks for null, no need to do a double check :)
Siebrand Mazeland [Sun, 1 Nov 2009 21:49:24 +0000 (21:49 +0000)]
Should fix Undefined index: tag in includes/api/ApiQueryRevisions.php on line 152 from r58399.
Raimond Spekking [Sun, 1 Nov 2009 20:55:08 +0000 (20:55 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-03 20:00 UTC)
Tobias [Sun, 1 Nov 2009 20:01:34 +0000 (20:01 +0000)]
Make it possible to link to Special:Ipblocklist/<ip> instead of just Special:Ipblocklist?ip=<ip>
Roan Kattouw [Sun, 1 Nov 2009 19:48:18 +0000 (19:48 +0000)]
Revert accidentally committed stuff in r58399
Chad Horohoe [Sun, 1 Nov 2009 13:58:37 +0000 (13:58 +0000)]
Fix another regression from r57558, bug 21369 - Lowercase logins causes MediaWiki to crash
Roan Kattouw [Sun, 1 Nov 2009 10:42:41 +0000 (10:42 +0000)]
API: (bug 19004) Add support for tags. Patch by Matthew Britton
Philip Tzou [Sun, 1 Nov 2009 09:31:37 +0000 (09:31 +0000)]
Update the Chinese conversion tables. Modify Makefile.py for Unicode 5.2.
Siebrand Mazeland [Sun, 1 Nov 2009 00:13:15 +0000 (00:13 +0000)]
Localisation updates for core messages from translatewiki.net
Aaron Schulz [Sat, 31 Oct 2009 20:51:10 +0000 (20:51 +0000)]
plural tweak for bug 21352
Raimond Spekking [Sat, 31 Oct 2009 20:38:51 +0000 (20:38 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-10-31 20:00 UTC)
Alexandre Emsenhuber [Sat, 31 Oct 2009 19:42:11 +0000 (19:42 +0000)]
Fix for r51559: removed double urlencode()'ing
Michael Dale [Sat, 31 Oct 2009 19:14:55 +0000 (19:14 +0000)]
* some js2 language updates
Raimond Spekking [Sat, 31 Oct 2009 09:35:29 +0000 (09:35 +0000)]
* (bug 20478) Add a note to Special:Block when the IP is already globally blocked
Works for blocks by TorBlock too
ToDo: bug 20188 for blocked usernames by CentralAuth
Max Semenik [Sat, 31 Oct 2009 08:44:08 +0000 (08:44 +0000)]
Either we write 'bytes' in both cases, or in neither
Chad Horohoe [Fri, 30 Oct 2009 21:41:34 +0000 (21:41 +0000)]
(bug 3340) Allow configuring of /16 limit on range blocks
Max Semenik [Fri, 30 Oct 2009 20:54:17 +0000 (20:54 +0000)]
Match lowercase titles in SearchSqlite
Raimond Spekking [Fri, 30 Oct 2009 19:54:12 +0000 (19:54 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-10-30 19:30 UTC)
Rotem Liss [Fri, 30 Oct 2009 17:09:33 +0000 (17:09 +0000)]
Localization update.
Greg Sabino Mullane [Fri, 30 Oct 2009 16:19:39 +0000 (16:19 +0000)]
Fix groupby issue in SpecialActiveusers
Max Semenik [Fri, 30 Oct 2009 15:25:37 +0000 (15:25 +0000)]
Using plain strtolower() here broke non-English search for all databases except MySQL!
Roan Kattouw [Fri, 30 Oct 2009 14:30:51 +0000 (14:30 +0000)]
Remove section edit links in edit conflict form pointing nowhere useful and only confusing people. Apparently this is a regression from r8855 (!) that went unnoticed for nearly 4.5 years. Hereby nominated for the Most Hilarious Bugs of All Time contest
Max Semenik [Fri, 30 Oct 2009 13:31:21 +0000 (13:31 +0000)]
Follow-up to r58322: removed debugging code
Raimond Spekking [Fri, 30 Oct 2009 10:48:51 +0000 (10:48 +0000)]
Remove 2 unused messages: 'noexactmatch' and 'noexactmatch-nocreate'
Rebuild all language files.
Jure Kajzer [Fri, 30 Oct 2009 09:44:37 +0000 (09:44 +0000)]
overloaded makeList in DatabaseOracle to handle CLOBs in WHERE clauses
Aaron Schulz [Fri, 30 Oct 2009 02:23:58 +0000 (02:23 +0000)]
A few cleanups for r58351
Aaron Schulz [Fri, 30 Oct 2009 02:14:22 +0000 (02:14 +0000)]
* bug 21267 change "show/hide" to "show", if user cannot submit Special:Revisiondelete
* Added revDeleteLinkDisabled() function
Chad Horohoe [Fri, 30 Oct 2009 01:51:21 +0000 (01:51 +0000)]
Add new define for localisation cache support