Trevor Parscal [Wed, 21 Apr 2010 13:46:06 +0000 (13:46 +0000)]
Fixed the font size of pre elements, which was previously too small.
Chad Horohoe [Wed, 21 Apr 2010 13:44:53 +0000 (13:44 +0000)]
Use wfSuppress/RestoreWarnings instead of @
Trevor Parscal [Wed, 21 Apr 2010 13:39:20 +0000 (13:39 +0000)]
Style bump for r65380.
Trevor Parscal [Wed, 21 Apr 2010 13:38:22 +0000 (13:38 +0000)]
Defined a foreground color for text. Solves bug #20737.
Tobias [Wed, 21 Apr 2010 10:53:26 +0000 (10:53 +0000)]
fixing r65339 which broke Upload when file dest was undefined
Raimond Spekking [Wed, 21 Apr 2010 06:45:48 +0000 (06:45 +0000)]
Self revert r65357. Stupid comitter :-(
Raimond Spekking [Wed, 21 Apr 2010 06:40:38 +0000 (06:40 +0000)]
Follow-up r65351: Add a missing comma in message
Raimond Spekking [Wed, 21 Apr 2010 06:37:18 +0000 (06:37 +0000)]
Follow-up r65339: Add new message key to maintenance file
Siebrand Mazeland [Tue, 20 Apr 2010 23:06:59 +0000 (23:06 +0000)]
(bug 22647) Add category details in search results. Contributed by Lejonel.
Siebrand Mazeland [Tue, 20 Apr 2010 22:49:50 +0000 (22:49 +0000)]
(bug 23075) correct MediaTransformError default width in gallery. Contributed by Derk-Jan Hartman.
Submitter's remarks:
This patch changes the minimum size of a MediaTransformError to 120px, which
makes sure it will at least fit galleries. Any smaller and likely it would
become unreadable, so keep the ugly in those cases.
The patch also changes the message from a table to a div, because there is no
real need to use a table here. I have added "display:inline-block" to the css
to make it behave almost exactly as an img or table element would (This might
be important for [[File:image.gif|180px]], where no other framing is provided.)
Tobias [Tue, 20 Apr 2010 20:30:11 +0000 (20:30 +0000)]
When visiting a 'red link' of a deleted file, a deletion and move log excerpt is provided on the Upload form.
Platonides [Tue, 20 Apr 2010 19:04:00 +0000 (19:04 +0000)]
Follow up r65286. If we are going to support <img we should support width and height
attributes, too. Since there's a potential for creating webbugs of 1x1px we might want
to enforce a minimum size for them. But that has always existed when the attacker provides
the image.
The sanitizer isn't treating numeric-like arguments in a special way. That is something
to fix.
Raimond Spekking [Tue, 20 Apr 2010 18:55:30 +0000 (18:55 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-20 18:15:00 UTC)
Raimond Spekking [Tue, 20 Apr 2010 08:14:47 +0000 (08:14 +0000)]
Follow-up r64078: Define $ntl at the beginning to avoid PHP Notice: Undefined variable: ntl in /www/w/includes/Skin.php on line 2238
Seen on translatewiki today
Raimond Spekking [Mon, 19 Apr 2010 20:28:28 +0000 (20:28 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-19 19:55:00 UTC)
Aryeh Gregor [Mon, 19 Apr 2010 18:44:11 +0000 (18:44 +0000)]
Create $wgAllowImageTag to whitelist <img>
I could have reused $wgAllowExternalImages, but that's . . . rather
ugly. It makes some external links mysteriously behave differently, and
of course doesn't allow setting attributes.
Roan Kattouw [Mon, 19 Apr 2010 14:08:38 +0000 (14:08 +0000)]
(bug 23240) Add ID to namespace selector form on Special:Watchlist
Raimond Spekking [Mon, 19 Apr 2010 12:52:03 +0000 (12:52 +0000)]
Follow-up r65049: Fix constant name
Error on translatewiki: PHP Fatal error: Undefined class constant 'FILESIZE_TOO_LARGE' in /www/w/includes/specials/SpecialUpload.php on line 531
Raimond Spekking [Sun, 18 Apr 2010 20:12:03 +0000 (20:12 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-18 19:55:00 UTC)
Rotem Liss [Sun, 18 Apr 2010 12:34:04 +0000 (12:34 +0000)]
Fixing syntax error in messages.inc, and rebuilding en.
Rotem Liss [Sun, 18 Apr 2010 12:32:35 +0000 (12:32 +0000)]
Localization update for he.
Alexandre Emsenhuber [Sun, 18 Apr 2010 11:58:39 +0000 (11:58 +0000)]
Per report on translatewiki: "namespaces to search" user option always displays all fields unchecked
Alexandre Emsenhuber [Sun, 18 Apr 2010 09:53:46 +0000 (09:53 +0000)]
Per siebrand: missing global declaration of $wgTmpDirectory
Brion Vibber [Sun, 18 Apr 2010 00:39:12 +0000 (00:39 +0000)]
Cleanup for bugs in r65104 (iwlinks table), that'll teach me not to commit at 4am after drinking with the wikimedia devs!
Mark A. Hershberger [Sat, 17 Apr 2010 21:50:42 +0000 (21:50 +0000)]
Add msg to messages.inc
Mark A. Hershberger [Sat, 17 Apr 2010 21:44:51 +0000 (21:44 +0000)]
for r65152: fixed web ui for UploadFromUrl
* Add watchlist and ignorewarnings params for job — not used yet
* Add permissions check for isValidRequest
Platonides [Sat, 17 Apr 2010 21:16:06 +0000 (21:16 +0000)]
Stylize.
Platonides [Sat, 17 Apr 2010 21:06:21 +0000 (21:06 +0000)]
Add yet another parameter for Block construction, so this doesn't show runJobs.php blocking anyone when run from the job queue :)
Follow up r65184.
Platonides [Sat, 17 Apr 2010 20:59:05 +0000 (20:59 +0000)]
Follow up r64982. Autoblocks aren't automatically set just by storing ipb_enable_autoblock, we need to look for them.
So do this properly and use Block class to insert the block.
Sam Reed [Sat, 17 Apr 2010 20:58:04 +0000 (20:58 +0000)]
Stylize Api upto date
Raimond Spekking [Sat, 17 Apr 2010 20:47:45 +0000 (20:47 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-17 20:20:00 UTC)
Sam Reed [Sat, 17 Apr 2010 20:03:10 +0000 (20:03 +0000)]
Fix
<siebrand> PHP Warning: Missing argument 4 for UploadFromUrl::initialize(), called in /www/w/includes/upload/UploadFromUrl.php on line 99 and defined in /www/w/includes/upload/UploadFromUrl.php on line 38
Mark A. Hershberger [Sat, 17 Apr 2010 17:09:11 +0000 (17:09 +0000)]
eol ws cleanup
Mark A. Hershberger [Sat, 17 Apr 2010 16:49:20 +0000 (16:49 +0000)]
re: r65152
* Make Job::insert() return true on success
* Change from Status object to array for API result on URL upload.
Mark A. Hershberger [Sat, 17 Apr 2010 16:36:48 +0000 (16:36 +0000)]
re: r65152 fix translatewiki problems
* Recover lost $permErrorsUpload in uploadBase::verifyPermissions
* Use Http::isValidURI() to replace UploadFromUrl::isvalidurl()
Siebrand Mazeland [Sat, 17 Apr 2010 15:44:00 +0000 (15:44 +0000)]
Tweaks for messages added in r65152.
Platonides [Sat, 17 Apr 2010 15:31:58 +0000 (15:31 +0000)]
Bug 23190#c7 Mark tex text as class="tex".
Rotem Liss [Sat, 17 Apr 2010 08:25:25 +0000 (08:25 +0000)]
Localization update for he, updating messages.inc, and rebuilding en.
Mark A. Hershberger [Sat, 17 Apr 2010 02:43:13 +0000 (02:43 +0000)]
* New UploadFromUrlJob class to handle Upload-by-Copy
* Define variable for ApiUserrights.php that wasn't defined before.
* Add convertVerifyErrorToStatus and getVerificationErrorCode to
UploadBase to translate error consts since UploadFromUrl will
need a message to display to end-users.
* refactor mime-checking out of UploadBase::verifyFile into
UploadBase::verifyMimeType
* Make UploadBase::verifyFile always return arrays for errors
* Use HttpFunctions instead of custom curl handler for async downloading
* TODO: Need a way to feed errors back to the requestor
* TODO: Need to add watchlist param handling and warnings checks.
Ilmari Karonen [Sat, 17 Apr 2010 01:37:32 +0000 (01:37 +0000)]
override isMetadataValid() so that we don't regenerate GIF metadata every time
Platonides [Fri, 16 Apr 2010 22:29:11 +0000 (22:29 +0000)]
MediaWiki messages show content on view and edit even if they don't actually exist on db, so show edit instead of create, per thread.gmane.org/gmane.org.wikimedia.mediawiki/33792
Raimond Spekking [Fri, 16 Apr 2010 20:41:14 +0000 (20:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-16 20:20:00 UTC)
Alexandre Emsenhuber [Fri, 16 Apr 2010 15:56:48 +0000 (15:56 +0000)]
* part of bug 23119: removed WikiError stuff for Special:Userrights, also updated CentralAuth extension
* fixed E_NOTICE in Special:GlobalGroupMembership when the user cannot change global permissions
Alexandre Emsenhuber [Fri, 16 Apr 2010 15:20:12 +0000 (15:20 +0000)]
Update comments: file stuff no longer uses WikiError
Sam Reed [Fri, 16 Apr 2010 10:19:50 +0000 (10:19 +0000)]
Fix hooks.txt SpecialSearchNogomatch $title to &$title
* (bug 23206) Add Special::Search hook for detecting successful "Go"
Not implemented completely as per patch, $term removed, seems a bit useless/redundant (and doesn't exist for Nomatch)
Roan Kattouw [Fri, 16 Apr 2010 09:33:27 +0000 (09:33 +0000)]
Change Czech talk namespaces names. Patch by Danny B
OverlordQ [Fri, 16 Apr 2010 02:35:37 +0000 (02:35 +0000)]
Followup to r65104, PG updater/table def
Brion Vibber [Fri, 16 Apr 2010 01:40:05 +0000 (01:40 +0000)]
* (bug 14473) Add iwlinks table to track inline interwiki link usage
Like langlinks, this stores the interwiki prefix (as iwl_prefix) and full page title (as iwl_title), attached to the page doing the liking (as iwl_from -> page_id).
Unlike langlinks, there can be multiple entries stored per interwiki prefix.
Updater to add the table confirmed on MySQL, untested on SQLite but should work.
Someone may still need to add and test a PostgreSQL updater.
Refactored makeWhereFrom2d() out of LinkBatch to Database so it could be re-used for the similar mapping for the interwiki links, which need a string prefix rather than an int namespace key.
Also cleaned it up internally to reuse existing code for building where clauses from arrays. (Tim & Domas -- if the previous more verbose code was there to reduce function call and array processing overhead on very large link lists, feel free to unroll it again if the difference is measurable. Just swap the var names around from the old LinkBatch code and escape the base key value if it's not an integer, it'll be functionally equivalent.)
Conrad Irwin [Thu, 15 Apr 2010 22:43:29 +0000 (22:43 +0000)]
RELEASE-NOTES for r65101
Conrad Irwin [Thu, 15 Apr 2010 22:41:49 +0000 (22:41 +0000)]
Put a 235 byte limit on usernames to allow /thelongskinname.css to work (bug 23080)
Raimond Spekking [Thu, 15 Apr 2010 21:03:42 +0000 (21:03 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-15 20:30:00 UTC)
Siebrand Mazeland [Thu, 15 Apr 2010 18:36:12 +0000 (18:36 +0000)]
Update indentation/formatting and add braces where missing in if() and foreach()
Siebrand Mazeland [Thu, 15 Apr 2010 18:11:24 +0000 (18:11 +0000)]
Remove the 'editwidth' preference and related code.
I was not able to find any scenario that changed editor behavior anymore in monobook, modern, vector, classic or chick skin.
Adam Miller [Thu, 15 Apr 2010 13:26:07 +0000 (13:26 +0000)]
Compliment to r65046 - Removing duplicate css from Vector's css file
Niklas Laxström [Thu, 15 Apr 2010 12:47:05 +0000 (12:47 +0000)]
Remove jobqueue length from the user interface
It causes more confusion than it is worth:
* The figures are essentially random, so it does not help to detect problems
* There shouldn't be any problems with default configuration anyway
* The number is still accessible by other means
Niklas Laxström [Thu, 15 Apr 2010 12:41:19 +0000 (12:41 +0000)]
Some cleanups
Roan Kattouw [Thu, 15 Apr 2010 11:54:16 +0000 (11:54 +0000)]
Special:Random now carries over query string parameters
Bryan Tong Minh [Thu, 15 Apr 2010 10:16:45 +0000 (10:16 +0000)]
Documentation fix for r65049.
Bryan Tong Minh [Thu, 15 Apr 2010 09:28:33 +0000 (09:28 +0000)]
(bug 17941) $wgMaxUploadSize is now honored by all upload sources
Bryan Tong Minh [Thu, 15 Apr 2010 08:46:19 +0000 (08:46 +0000)]
RELEASE-NOTES for r65043.
Bryan Tong Minh [Thu, 15 Apr 2010 08:44:25 +0000 (08:44 +0000)]
Refactored UploadFromUrl to use HttpFunctions.
Errors while fetching the file are now properly handled and also displayed in a reasonable way to the user (bug 22015).
Happy-melon [Wed, 14 Apr 2010 21:42:37 +0000 (21:42 +0000)]
From r64866, more consistent behaviour of hidden field names. May affect r65029.
Platonides [Wed, 14 Apr 2010 21:22:38 +0000 (21:22 +0000)]
Replace the new lines in plain math with spaces.
This avoids interactions with the parser taking those new lines into account for the wikitext.
Fixes bug 22818 and bug 23190.
Raimond Spekking [Wed, 14 Apr 2010 20:03:13 +0000 (20:03 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-14 19:30:00 UTC)
Alexandre Emsenhuber [Wed, 14 Apr 2010 19:27:25 +0000 (19:27 +0000)]
* (bug 21456) "Bad title" error when showing non-local interwiki pages no longer displays incorrect tabs
Bryan Tong Minh [Wed, 14 Apr 2010 16:15:14 +0000 (16:15 +0000)]
Follow-up to r65013: Preserve username when clicking navigation links.
Bryan Tong Minh [Wed, 14 Apr 2010 14:47:50 +0000 (14:47 +0000)]
Follow-up to r65027: Prefix all hidden fields with wp. This was not necessary since HTMLForm.php r64866, which needs reverting or fixing.
Chad Horohoe [Wed, 14 Apr 2010 14:00:53 +0000 (14:00 +0000)]
Fix regression in unwatch links sent out by enotif. {{FULLPAGENAMEE}} happens to be "RunJobs.php," so hack around it by adding another $NAMEDVAR to enotif_body
Bryan Tong Minh [Wed, 14 Apr 2010 13:53:20 +0000 (13:53 +0000)]
(bug 23176) Fixed regression: "upload new version" link should not trigger a file-exists warning
Also fixed a mislabeled form field.
Bryan Tong Minh [Wed, 14 Apr 2010 12:17:39 +0000 (12:17 +0000)]
Followup to r64962: Fixed watchlist parameter in API. User options watchdeletions and watchmoves can now by overridden. Unwatching while editting is now possible.
Roan Kattouw [Wed, 14 Apr 2010 10:04:33 +0000 (10:04 +0000)]
Remove space in <div id="content" > to unbreak certain screenscraping clients. (Yes, their breaking on this is ridiculous.)
Bryan Tong Minh [Wed, 14 Apr 2010 09:03:28 +0000 (09:03 +0000)]
Special:Listfiles now supports a username parameter. This is indexed using the img_user_text_timestamp index.
Mark A. Hershberger [Wed, 14 Apr 2010 04:57:27 +0000 (04:57 +0000)]
* EOL ws clean on ApiBase.php
* Use an actual value for ApiUpload.php
* Commit some code I must've missed for r64852
Raimond Spekking [Tue, 13 Apr 2010 19:19:15 +0000 (19:19 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-13 18:40:00 UTC)
Alexandre Emsenhuber [Tue, 13 Apr 2010 18:06:54 +0000 (18:06 +0000)]
Fixed some doxygen warnings and documented a bit
Alexandre Emsenhuber [Tue, 13 Apr 2010 17:33:22 +0000 (17:33 +0000)]
Documented hooks added in r64903
Siebrand Mazeland [Mon, 12 Apr 2010 21:32:11 +0000 (21:32 +0000)]
Stop using obsolete <big>[1]. Also fixes bug 19858 requesting to remove it in 'mainpagetext'.
[1] http://www.w3.org/TR/html5/obsolete.html
Raimond Spekking [Mon, 12 Apr 2010 21:28:52 +0000 (21:28 +0000)]
Fix encoding
Siebrand Mazeland [Mon, 12 Apr 2010 21:12:34 +0000 (21:12 +0000)]
(bug 23156) Commafy and search normalization update for Belarusian (Taraškievica). Contributed by Jaska Zedlik.
Alexandre Emsenhuber [Mon, 12 Apr 2010 20:38:30 +0000 (20:38 +0000)]
Fix documentation introduced in r64403
Mark A. Hershberger [Mon, 12 Apr 2010 20:15:04 +0000 (20:15 +0000)]
re r64962 clean up the logic for watchlist a little
Raimond Spekking [Mon, 12 Apr 2010 19:48:26 +0000 (19:48 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-12 19:15:00 UTC)
Philip Tzou [Mon, 12 Apr 2010 18:04:29 +0000 (18:04 +0000)]
Update the Chinese conversion tables.
Platonides [Mon, 12 Apr 2010 17:55:44 +0000 (17:55 +0000)]
If an article Special:Foo exists (eg. because of a new alias), cleanupTitles moved it to Foo on namespace -1.
Now it is moved to Broken/Special:Foo. Pages in negative namespaces (broken from past cleanupTitles) are moved back to ns 0.
See bug 23147#c4.
Sam Reed [Mon, 12 Apr 2010 15:56:38 +0000 (15:56 +0000)]
RELEASE-NOTES for bug 23167 r64957 and r94958
Mark A. Hershberger [Mon, 12 Apr 2010 15:44:33 +0000 (15:44 +0000)]
re r64291 and r64852 use ApiBase::setWatch instead of wgUser->*Watch to set watches so that all api watch changes act the same.
Sam Reed [Mon, 12 Apr 2010 10:44:45 +0000 (10:44 +0000)]
Revert r64955
Again partial fix to bug 23167
Bugfix watch on creation (edit and upload), in current form, setting unwatch, or nochange would follow watchcreation, which wasn't requested
Bryan Tong Minh [Mon, 12 Apr 2010 10:40:03 +0000 (10:40 +0000)]
(bug 23167) Check the watch checkbox by default if the watchcreations preference is set
Sam Reed [Mon, 12 Apr 2010 10:23:09 +0000 (10:23 +0000)]
Partial fix to bug 23167
Api doesn't watch new file on upload (and didn't previously). Now watches on creation
Bryan Tong Minh [Sun, 11 Apr 2010 21:01:56 +0000 (21:01 +0000)]
(bug 22970) Made upload.js compatible with FF<3.5.
Platonides [Sun, 11 Apr 2010 20:47:41 +0000 (20:47 +0000)]
Follow up r64936. Even better, provide the bug number and imagemagick doc page.
Raimond Spekking [Sun, 11 Apr 2010 19:24:28 +0000 (19:24 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-11 18:45:00 UTC)
Alexandre Emsenhuber [Sun, 11 Apr 2010 19:10:15 +0000 (19:10 +0000)]
Fix param names mismatch in code/doc from r64852 and r64397
Platonides [Sun, 11 Apr 2010 15:44:28 +0000 (15:44 +0000)]
Define our own posix_isatty if posix extension is not installed.
Removes the extension dependency on non-windows for parserTests.
Currently used on install-utils.inc readconsole(), eval.php and parserTests.inc
Maintenance scripts receive it via commandLine.inc -> Maintenance.php .. doMaintenance.php -> install-utils.inc
Bryan Tong Minh [Sun, 11 Apr 2010 15:38:58 +0000 (15:38 +0000)]
$_SERVER['REQUEST_URI'] is not available using IIS with rewrite rules, so use HTTP_X_ORIGINAL_URL as alternative.
Bryan Tong Minh [Sun, 11 Apr 2010 13:59:01 +0000 (13:59 +0000)]
Follow up r64935: Add whitespace and clarify comment a bit more.
Bryan Tong Minh [Sun, 11 Apr 2010 13:54:22 +0000 (13:54 +0000)]
Follow up r64932: Add comment on why % is escaped
Philip Tzou [Sun, 11 Apr 2010 13:04:58 +0000 (13:04 +0000)]
Follow up r64876. Try to fix pagetitle-view-mainpage.
Roan Kattouw [Sun, 11 Apr 2010 12:38:28 +0000 (12:38 +0000)]
(bug 23148) Escape % in ImageMagick comments. Patch by Derk-Jan Hartman
Rotem Liss [Sun, 11 Apr 2010 12:23:29 +0000 (12:23 +0000)]
Localization update for he, and whitespace fix in en.