Trevor Parscal [Mon, 26 Apr 2010 21:02:30 +0000 (21:02 +0000)]
Added $wgLocalStylePath global variable, and solved bug #22858 by using this new variable in the Vector skin for the inclusion of skins/vector/csshover.htc. HTC files are not cross-domain friendly, so in production environments where $wgStylePath is set to point to bits.wikimedia.org, this will throw JavaScript errors on the page. By adding this new global, which is identical to $wgStylePath except that it will not become customized when $wgStylePath is, we can ensure that certain files, if needed, are always loaded from the same domain as the site.
Raimond Spekking [Mon, 26 Apr 2010 19:31:58 +0000 (19:31 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-26 19:15:00 UTC)
Alexandre Emsenhuber [Mon, 26 Apr 2010 19:31:55 +0000 (19:31 +0000)]
Fixed some doxygen warnings and updated doc
Tobias [Mon, 26 Apr 2010 16:35:02 +0000 (16:35 +0000)]
fixing bug 20186: allow filtering SpecialContributions for RevisionDeleted edits. See also bug 20186 comment 22
Rotem Liss [Mon, 26 Apr 2010 16:03:00 +0000 (16:03 +0000)]
Localization update for he.
Jack D. Pond [Mon, 26 Apr 2010 14:44:54 +0000 (14:44 +0000)]
Modification to LocalFile::getHistory for custom repos
Hard coded OldLocalFile::getHistory now used only when oldFileFromRowFactory not declared - for backwards compatibility
Chad Horohoe [Mon, 26 Apr 2010 13:46:04 +0000 (13:46 +0000)]
Kill last vestiges of mediawiki_version. Nobody actually uses it anymore, it just gets silently updated (and only for Postgres at that)
Shinjiman [Mon, 26 Apr 2010 00:10:53 +0000 (00:10 +0000)]
Localisation updates Chinese
making more consistent message as zh-Hant per r65519
Siebrand Mazeland [Sun, 25 Apr 2010 23:11:12 +0000 (23:11 +0000)]
(bug 23313) Move watchlisthidepatrolled above token in watchlist preferences to enhance preference grouping.
Andrew Garrett [Sun, 25 Apr 2010 23:10:53 +0000 (23:10 +0000)]
As well as fixing the broken implementation of sslVerifyHost, correct its documentation and implement a new option, sslVerifyCert, to do what the documentation said that sslVerifyHost did.
Note that CURLOPT_SSL_VERIFYHOST controls *only* the verification of hostname against the hostname on the certificate.
Siebrand Mazeland [Sun, 25 Apr 2010 22:57:12 +0000 (22:57 +0000)]
Follow-up 65339: fix 'pass by reference' warning as reported in bug 23322.
Andrew Garrett [Sun, 25 Apr 2010 22:53:19 +0000 (22:53 +0000)]
HttpFunctions: Fix bug where sslVerifyHost was only added to the CURL options when it would have no effect anyway.
Raimond Spekking [Sun, 25 Apr 2010 19:08:29 +0000 (19:08 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-25 18:40:00 UTC)
Shinjiman [Sun, 25 Apr 2010 09:51:55 +0000 (09:51 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Raimond Spekking [Sat, 24 Apr 2010 20:37:56 +0000 (20:37 +0000)]
Add a comment with the used message keys to make sure the grep find them
Raimond Spekking [Sat, 24 Apr 2010 20:07:13 +0000 (20:07 +0000)]
* Add accesskey 's' and tooltip to 'Save' button at Special:Preferences
Raimond Spekking [Sat, 24 Apr 2010 20:01:43 +0000 (20:01 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-24 19:50:00 UTC)
Sam Reed [Sat, 24 Apr 2010 11:58:52 +0000 (11:58 +0000)]
Append " and errors" to getDescription for ApiParamInfo to signify that information about the errors a module can return is there
Sam Reed [Sat, 24 Apr 2010 11:12:07 +0000 (11:12 +0000)]
Fix hooks.txt to match code, minor followup to r65506
Sam Reed [Sat, 24 Apr 2010 11:05:15 +0000 (11:05 +0000)]
* (bug 23276) Add hook to Special:NewPages to modify query
Patch by Dan Barrett
Mark A. Hershberger [Sat, 24 Apr 2010 06:22:11 +0000 (06:22 +0000)]
* Refactor super-long title function
* Add tests to achieve almost-complete coverage since I want to make sure my changes don't break thinks.
* Still need to write tests for checkPermissionHooks
* Tests could probably be cleaned up a lot.
Mark A. Hershberger [Sat, 24 Apr 2010 01:14:13 +0000 (01:14 +0000)]
typo
Mark A. Hershberger [Sat, 24 Apr 2010 00:23:57 +0000 (00:23 +0000)]
cache the result of getTitleProtection to make testing easier
Raimond Spekking [Fri, 23 Apr 2010 22:05:09 +0000 (22:05 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-23 21:20:00 UTC)
Siebrand Mazeland [Fri, 23 Apr 2010 20:35:25 +0000 (20:35 +0000)]
Tweak comment
Siebrand Mazeland [Fri, 23 Apr 2010 20:31:23 +0000 (20:31 +0000)]
Document parameters in the correct order
Mark A. Hershberger [Fri, 23 Apr 2010 19:36:37 +0000 (19:36 +0000)]
Don't rely on the extract and its side-effects when we can be explicit.
Also, we can do a simple boolean test rather than use is_array.
Mark A. Hershberger [Fri, 23 Apr 2010 18:37:33 +0000 (18:37 +0000)]
Make sure a member var is declared.
Mark A. Hershberger [Fri, 23 Apr 2010 17:29:17 +0000 (17:29 +0000)]
Remove code that looks like it came from Perl as it “works” (doesn't produce an error) but always evaluates to true.
$ php -r '$a = array();var_dump($a > 0);'
bool(true)
Tim Starling [Fri, 23 Apr 2010 16:24:54 +0000 (16:24 +0000)]
More rigorous fix for ImageMagick parameter interpretation (bug 23148 etc.) based on examination of the source code, updating r64932. The source was large and complex and I might have missed some bits, but this is my best guess for now.
Tested bug 23148 and wildcards in filenames (was broken) using a patched convert. With a manual unit test (no convert), tested all branches of the new functions except wfIsWindows() == true.
Rotem Liss [Fri, 23 Apr 2010 14:33:17 +0000 (14:33 +0000)]
Localization update for he.
Raimond Spekking [Thu, 22 Apr 2010 20:21:30 +0000 (20:21 +0000)]
* (bug 23283) Native name for Old English -> Ænglisc
Raimond Spekking [Thu, 22 Apr 2010 19:46:04 +0000 (19:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-22 19:30:00 UTC)
Alexandre Emsenhuber [Thu, 22 Apr 2010 09:36:18 +0000 (09:36 +0000)]
* (bug 23286) Fix for r62890: namespace selector no longer has effect
Aaron Schulz [Thu, 22 Apr 2010 01:16:03 +0000 (01:16 +0000)]
Removed redundant check if diffButtons()
Raimond Spekking [Wed, 21 Apr 2010 19:10:25 +0000 (19:10 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-04-21 18:30:00 UTC)
Platonides [Wed, 21 Apr 2010 17:33:17 +0000 (17:33 +0000)]
(bug 16487) Do not display the fake Anonymous user account used by Postgres on Special:Listusers. It will surely still produce strange results on many more places, though.
Chad Horohoe [Wed, 21 Apr 2010 16:29:29 +0000 (16:29 +0000)]
Remove current MSSQL implementation from trunk. See wikitech-l for discussion.
Trevor Parscal [Wed, 21 Apr 2010 14:19:06 +0000 (14:19 +0000)]
Actually fix bug #20706 - Next time I will read more carefully and test more thouroughly...
Andrew Garrett [Wed, 21 Apr 2010 14:19:04 +0000 (14:19 +0000)]
Eliminate $wgLivePreview toggle for the uselivepreview preference
Andrew Garrett [Wed, 21 Apr 2010 13:53:59 +0000 (13:53 +0000)]
Fix regression in r65384 with document.write() compatibility
Trevor Parscal [Wed, 21 Apr 2010 13:50:30 +0000 (13:50 +0000)]
Moved a style over to shared.css out of Monobook, making the edit summary box a consistent width accross skins.
Chad Horohoe [Wed, 21 Apr 2010 13:49:50 +0000 (13:49 +0000)]
Revert r65382, can't use global functions here.
Andrew Garrett [Wed, 21 Apr 2010 13:46:44 +0000 (13:46 +0000)]
Live Preview: Do a better job of emulating the edit form submission. Fixes Live Preview in LiquidThreads NewMessages pages.
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