Jure Kajzer [Mon, 30 Nov 2009 18:42:16 +0000 (18:42 +0000)]
* Added 5th parameter to texvc call (can be null and defaults to rgb '1.0 1.0 1.0').
This parameter controls texvc background color. Can be set to output transparent background
* Added $wgTexvcBackgroundColor parameter to DefaultSettings with value 'rgb 1.0 1.0 1.0'
* Changed Math.php to call texvc with new parameter
Raimond Spekking [Sun, 29 Nov 2009 22:53:53 +0000 (22:53 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-29 22:30 UTC)
Philip Tzou [Sun, 29 Nov 2009 18:38:57 +0000 (18:38 +0000)]
follow-up r59544. more comments added.
Aryeh Gregor [Sun, 29 Nov 2009 16:45:17 +0000 (16:45 +0000)]
Allow \pagecolor and \definecolor in texvc
\color was already allowed. This permits a partial (although ugly)
workaround for bug 8 if anyone thinks it's actually worth it. If not,
though, no harm done.
Aaron Schulz [Sun, 29 Nov 2009 16:39:47 +0000 (16:39 +0000)]
Restored r59537 - fixed silly typo
Chad Horohoe [Sun, 29 Nov 2009 16:13:40 +0000 (16:13 +0000)]
Add $wgWikiId to override default wfWikiId() output. Solves bug 21086 (security issue: generateSitemap.php does use wfWikiID in sitemap filenames)
Siebrand Mazeland [Sun, 29 Nov 2009 16:07:00 +0000 (16:07 +0000)]
Use FULLPAGENAMEE instead of {{urlencode:{{FULLPAGENAME}}}} in 'noarticletext' and 'noarticletext-nopermission'
Alexandre Emsenhuber [Sun, 29 Nov 2009 15:10:45 +0000 (15:10 +0000)]
* (bug 21679) "Edit block reasons" link at the bottom of Special:Blockip is now only displayed to the users that have "editinterface" right
Philip Tzou [Sun, 29 Nov 2009 10:53:08 +0000 (10:53 +0000)]
follow-up r59541. Fix the problem reported on [[Special:Code/MediaWiki/59541#c4540]]. Partly patched by Liangent.
Siebrand Mazeland [Sun, 29 Nov 2009 10:49:47 +0000 (10:49 +0000)]
Revert r59537. Breaks page deletion with "PHP Notice: Array to string conversion in /var/www/w/includes/db/Database.php on line 1433" and ""IndexPager::reallyDoQuery (LogPager)". Database returned error "1176: Key 'Array' doesn't exist in table 'logging' (localhost)"."
Philip Tzou [Sun, 29 Nov 2009 06:47:51 +0000 (06:47 +0000)]
follow-up r59522, r59523, r59527, r59529, r59530.
1. Only use Accept-Language when 301 redirection happens. It won't call the parser, but it is the most case we need to ensure it uncacheable.
2. Merge addXVOHeader with addVaryHeader.
Aaron Schulz [Sun, 29 Nov 2009 00:01:21 +0000 (00:01 +0000)]
* Made log_user_type_time index available when needed
* Don't allow type,time index when 2+ types are given
* Make sure $this->types becomes an array in limitType() ('' -> array() case was left out)
* A few code style tweaks
Philip Tzou [Sat, 28 Nov 2009 20:20:38 +0000 (20:20 +0000)]
follow-up r59522, r59529. Just include the current variant.
Philip Tzou [Sat, 28 Nov 2009 20:13:46 +0000 (20:13 +0000)]
follow-up r59522. "string-contains" added.
Philip Tzou [Sat, 28 Nov 2009 20:00:00 +0000 (20:00 +0000)]
follow-up r59522. ONLY add Accept-Language when a valid variant has been found out.
Raimond Spekking [Sat, 28 Nov 2009 19:49:45 +0000 (19:49 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-28 19:00 UTC)
Philip Tzou [Sat, 28 Nov 2009 19:15:55 +0000 (19:15 +0000)]
follow-up r59522, add missing credit.
Philip Tzou [Sat, 28 Nov 2009 19:13:23 +0000 (19:13 +0000)]
bug 21672: Add Accept-Language to Vary and XVO headers to help Squid to determine user's perferred local language which has been eagerly wanted in Chinese Wikipedia.
Shinjiman [Sat, 28 Nov 2009 10:04:08 +0000 (10:04 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Chad Horohoe [Sat, 28 Nov 2009 06:26:39 +0000 (06:26 +0000)]
Rm another file from js2 de-merge
Chad Horohoe [Sat, 28 Nov 2009 03:49:29 +0000 (03:49 +0000)]
Fix header
Raimond Spekking [Fri, 27 Nov 2009 21:53:34 +0000 (21:53 +0000)]
Fix PHP Strict Standards: Declaration of UploadFromUrl::initialize() should be compatible with that of UploadBase::initialize() in /var/www/w/includes/upload/UploadFromUrl.php on line 137
Raimond Spekking [Fri, 27 Nov 2009 19:55:26 +0000 (19:55 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-27 19:00 UTC)
Max Semenik [Fri, 27 Nov 2009 17:51:11 +0000 (17:51 +0000)]
Follow-up to r59484 - sysops -> administrators
Raimond Spekking [Fri, 27 Nov 2009 17:46:35 +0000 (17:46 +0000)]
Fix a Fatal: Call to a member function isLoggedIn() on a non-object in /var/www/w/includes/FileDeleteForm.php on line 115
Philip Tzou [Fri, 27 Nov 2009 17:25:59 +0000 (17:25 +0000)]
Some performance improvements in LanguageConverter.php.
Greg Sabino Mullane [Fri, 27 Nov 2009 15:34:54 +0000 (15:34 +0000)]
Change to newer sequence name
Greg Sabino Mullane [Fri, 27 Nov 2009 15:19:05 +0000 (15:19 +0000)]
Typo.
Jure Kajzer [Fri, 27 Nov 2009 13:44:57 +0000 (13:44 +0000)]
Fixed wrong field definition for filearchive. Fixed delete function to handle encoding checking of array values in condition.
Jure Kajzer [Fri, 27 Nov 2009 11:30:19 +0000 (11:30 +0000)]
Added feature to RELEASE-NOTES and added messages to MessagesSl
Alexandre Emsenhuber [Fri, 27 Nov 2009 11:20:07 +0000 (11:20 +0000)]
Follow-up r59484: add messages to messages.inc and rebuild MessagesEn.php
Jure Kajzer [Fri, 27 Nov 2009 11:12:40 +0000 (11:12 +0000)]
*(bug 20717) Added checkboxes to users with bot and ssop group membership
Tim Starling [Fri, 27 Nov 2009 00:18:59 +0000 (00:18 +0000)]
Don't include the old ExtensionMessages.php when you're building a new one. Otherwise renames break.
Roan Kattouw [Thu, 26 Nov 2009 23:12:43 +0000 (23:12 +0000)]
Delete a bunch of stuff that shouldn't have been readded in r59450
Alexandre Emsenhuber [Thu, 26 Nov 2009 20:19:09 +0000 (20:19 +0000)]
* (bug 21650) Both calls to SkinTemplateTabs hook are now compatible
Roan Kattouw [Thu, 26 Nov 2009 14:24:56 +0000 (14:24 +0000)]
Partial revert of r59446: add js2stopgap.js back in, some extensions (at least UsabilityInitiative and LiquidThreads) depend on it.
Tim Starling [Thu, 26 Nov 2009 12:00:36 +0000 (12:00 +0000)]
Removed JS2 work (has been moved to the js2-work branch). Has been lightly tested, should mostly work. Some of the more complicated associated changes are listed below.
* Reverted HttpFunctions.php to r45549 and renamed wgSyncHTTPTimeout back to wgHTTPTimeout
* Edited out the asynchronous features from UploadFromUrl. Made fetchFile() use the curlCopy() function from new-upload r47811 instead of Http::doDownload(). Wrote my own URL validity check to avoid having to use either of the two buggy precedents.
* Removed UploadFromChunk
* Removed chunk upload and background status from ApiUpload.php
* Reverted r54669, use of addScriptClass()
* Left getHeadScripts() in its current location (OutputPage) instead of moving it back to SkinTemplate, just added wikibits.js to it to replace the removed addCoreScripts2Top()
Daniel Friesen [Thu, 26 Nov 2009 04:11:12 +0000 (04:11 +0000)]
Commit RELEASE-NOTES line for the wgCategories js variable I added some time ago.
Tim Starling [Thu, 26 Nov 2009 03:10:01 +0000 (03:10 +0000)]
Fixes for remoteSearchDriver.js and related. Untested, probably doesn't work. Somewhat less complete than r59278, I haven't done the comments and some bad variable names remain.
* Fixed multiple occurrences of </br> where <br/> was meant
* Made getSelection() into an accessor for this.caret_pos
* Split getTexboxSelection() into three accessors
* Merged init_interface_bindings() with initDialog()
* Split off showUploadForm_internal() from showUploadForm()
* Moved the upload check in showSearchTab() to its own function showCurrentTab()
* Moved the result display section of waitForResults() to a callback
* Removed the instance_name hack
* Fixed unanchored regex /res_/
* Split doMediaEdit() into showImageEditor() and showVideoEditor()
* Fixed unanchored regex /File:|Image:/
* Split updatePreviewText() into accessors getPreviewText() and getEmbedCode()
* Moved the doImportInterface() call from checkPrefixNameImport() to the checkImportResource() caller
* Use consistent spelling for "license"
Promoted anonymous functions to methods:
* getUploadForm_internal
* getResultHtml
Renamed functions:
* getlicenseImgSet -> getLicenseIconHtml
* setDispMode -> setDisplayMode
* getParsedWikiText -> parse
* init_modal -> createDialogContainer
* init_interface_html -> initDialog
* doUploadInteface -> showUploadTab
* getUploadForm -> showUploadForm
* runSearch -> showSearchTab
* checkResultsDone -> waitForResults
* drawOutputResults -> showResults
* loadHQImg -> loadHighQualityImage
* resourceEdit -> showResourceEditor
* cancelClipEditCB -> onCancelClipEdit
* checkRepoLocal -> isProviderLocal
* checkForFile -> findFileInLocalWiki
* checkImportResource -> isFileLocallyAvailable
* checkPrefixNameImport -> isFileAlreadyImported
* doImportInterface -> showImportUI
* doImportAPI -> doApiImport
* previewResource -> showPreview
* getResourceObjet -> getResourceObject
Michael Dale [Wed, 25 Nov 2009 22:16:55 +0000 (22:16 +0000)]
* added k-attribution link in credits
Michael Dale [Wed, 25 Nov 2009 20:15:44 +0000 (20:15 +0000)]
* restored copy-by-url uploads in add-media-wizard per r59320 changes
Alexandre Emsenhuber [Wed, 25 Nov 2009 19:57:48 +0000 (19:57 +0000)]
Set the Title object to the new $wgOut in SpecialPage::capturePath()
Michael Dale [Wed, 25 Nov 2009 19:34:49 +0000 (19:34 +0000)]
* restored basic firefogg upload functionality per r59320 breakage
* show preview of encoding video by default
Raimond Spekking [Wed, 25 Nov 2009 19:29:07 +0000 (19:29 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-25 19:00 UTC)
Michael Dale [Wed, 25 Nov 2009 19:02:37 +0000 (19:02 +0000)]
* restored basic non-firefogg upload functionality per r59320 breakage
Chad Horohoe [Wed, 25 Nov 2009 18:02:03 +0000 (18:02 +0000)]
(bug 21638) Set hashLevels to 2 like commons, just in case
Jure Kajzer [Wed, 25 Nov 2009 13:28:19 +0000 (13:28 +0000)]
removed output-disable in dbms-output fetching procedure
Alexandre Emsenhuber [Tue, 24 Nov 2009 21:25:47 +0000 (21:25 +0000)]
Use 'word-separator' message rather than harcoded space
Michael Dale [Tue, 24 Nov 2009 20:32:54 +0000 (20:32 +0000)]
* some code comment cleanup
Raimond Spekking [Tue, 24 Nov 2009 20:18:09 +0000 (20:18 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-24 19:45 UTC)
Michael Dale [Tue, 24 Nov 2009 20:03:54 +0000 (20:03 +0000)]
* restored msg updates before to r59393 and merged in video stream titles
Michael Dale [Tue, 24 Nov 2009 19:56:10 +0000 (19:56 +0000)]
* moved "binPlayers" into libEmbedVideo (more modular folder layout)
Michael Dale [Tue, 24 Nov 2009 19:49:52 +0000 (19:49 +0000)]
* added remote_insert_description (for adding linkback in html inserts of media)
* added stream names for embed video streams.
* some comment and variable name cleanup
Raimond Spekking [Tue, 24 Nov 2009 17:31:06 +0000 (17:31 +0000)]
Followup r59363: Fix wrong syntax for Html::input. It accept other parameters then Xml::input.
Raimond Spekking [Mon, 23 Nov 2009 19:31:55 +0000 (19:31 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-23 19:00 UTC)
Sam Reed [Mon, 23 Nov 2009 19:16:43 +0000 (19:16 +0000)]
Further followup to r59360
Add spellcheck to html5attribs for blacklisting
Switch from xml to html input
Sam Reed [Mon, 23 Nov 2009 18:52:35 +0000 (18:52 +0000)]
Minor followup for r59360
Should really read the proper source/html validate
http://www.w3.org/TR/html5/editing.html
Replace yes for true
Sam Reed [Mon, 23 Nov 2009 18:38:57 +0000 (18:38 +0000)]
bug 21604 Spellcheck attribute for editsummary
Alexandre Emsenhuber [Mon, 23 Nov 2009 18:20:26 +0000 (18:20 +0000)]
removed trailing whitespaces
Andrew Garrett [Mon, 23 Nov 2009 13:27:34 +0000 (13:27 +0000)]
Enabling change for r59356, allow programmatic control over whether or not the summary field is shown
Sam Reed [Sun, 22 Nov 2009 21:28:15 +0000 (21:28 +0000)]
Fix for r59336 Addition of bug to RELEASE-NOTES
Aryeh Gregor [Sun, 22 Nov 2009 20:08:17 +0000 (20:08 +0000)]
RELEASE-NOTES typo
Pointed out by [[sroracle]] on IRC.
Raimond Spekking [Sun, 22 Nov 2009 19:38:42 +0000 (19:38 +0000)]
* Bug 21596 Change interwiki link for ku
Sam Reed [Sun, 22 Nov 2009 15:14:19 +0000 (15:14 +0000)]
Apply patch from bug 21589 API: Separate summary and initial page text for uploads
Max Semenik [Sun, 22 Nov 2009 11:30:13 +0000 (11:30 +0000)]
Small script to output page text to stdout
Siebrand Mazeland [Sun, 22 Nov 2009 11:16:02 +0000 (11:16 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-22 10:57 UTC)
Siebrand Mazeland [Sun, 22 Nov 2009 00:31:10 +0000 (00:31 +0000)]
Tweak 'mwe-select-other-language'
Siebrand Mazeland [Sat, 21 Nov 2009 23:52:17 +0000 (23:52 +0000)]
Localisation updates for core messages from translatewiki.net
Michael Dale [Sat, 21 Nov 2009 18:45:30 +0000 (18:45 +0000)]
* fixed audio vs video display height in remoteMwEmbed rewrite
* added kskin "credits" page.
* set "kskin" to default skin for remoteMwEmbed rewrite
* setup global config inheritance for mv_embed.js
* finished Tim's renaming of bObj to buttons
* some refactoring, function naming updates, and comment clarity improvements
Sam Reed [Fri, 20 Nov 2009 22:28:37 +0000 (22:28 +0000)]
bug 21583 MagicWord::match function documentation is wrong
+Similar change to matchStart
Raimond Spekking [Fri, 20 Nov 2009 20:09:17 +0000 (20:09 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-20 19:30 UTC)
Alexandre Emsenhuber [Fri, 20 Nov 2009 19:14:24 +0000 (19:14 +0000)]
Fix for r59289 and 59293: finish to rename the class, really sorry for that :(
Alexandre Emsenhuber [Fri, 20 Nov 2009 18:44:43 +0000 (18:44 +0000)]
*STAB STAB STAB* Fix for r59289: forgot to rename the constructor
Alexandre Emsenhuber [Fri, 20 Nov 2009 15:37:28 +0000 (15:37 +0000)]
* (bug 21403) memcached class renamed to MWMemecached to avoid conflict with PHP's memcached extension
* Put MemCachedClientforWiki in memcached-client.php so that maintenance/mctest.php doesn't crash when $wgMainCacheType is not CACHE_MEMCACHED
Based on a patch by Kim Hyun-Joon
Siebrand Mazeland [Fri, 20 Nov 2009 09:17:54 +0000 (09:17 +0000)]
Update mwEmbed.i18n.php
Alexandre Emsenhuber [Fri, 20 Nov 2009 08:00:04 +0000 (08:00 +0000)]
Fix for r59276: move extension to correct location
Tim Starling [Fri, 20 Nov 2009 07:23:08 +0000 (07:23 +0000)]
Rework of libAddMedia. The changes are entirely untested and there may be bugs, but at least the code is nicer to look at now. This commit message is probably incomplete.
In libAddMedia:
* Made many style changes, renamed many variables.
* Wrote a doc comment for most functions
* Renamed messages:
* fogg-check_for_fogg -> fogg-check_for_firefogg
* fogg-for_improved_uplods -> fogg-for_improved_uploads
* fogg-use_latest_fox -> fogg-use_latest_firefox
* mwe-upload-stats-fileprogres -> mwe-upload-stats-fileprogress
* Renamed functions:
* doRemapFormToApi -> remapFormToApi
* doUploadSwitch -> doUpload
* proccessIframeResult -> processIframeResult
* getEditForm -> getForm
* dispProgressOverlay -> displayProgressOverlay
* cancel_button -> getCancelButton
* cancel_action -> onCancel
* doControlHTML -> createControls
* getTargetHtml -> getControlHtml
* doControlBindings -> bindControls
* getOSlink -> getFirefoggInstallUrl
* doPreviewControl -> createPreviewControls
* doRenderPreview -> renderPreview
* selectFogg -> selectSourceFile
* selectFoggActions -> updateSourceFileUI
* saveLocalFogg -> doLocalEncodeAndSave
* doChunkWithFormData -> doChunkUploadWithFormData
* proccessPresetControl -> getPresetControlHtml
* proccessCkControlHTML -> getConfigControlHtml
* selectByUrl -> selectSourceUrl
* Promoted anonymous functions to methods:
* onSubmit
* onAjaxUploadStatusTimer
* onAjaxUploadStatusResponse
* onPreviewClick
In mvBaseUploadInterface:
* Made http_copy_upload lazy-initialised
* Made detectUploadMode() do only what it says, moved the actual upload stage to a callback.
* Refactored doUpload(), splitting out doApiCopyUpload() and doPostUpload()
* Refactored apiUpdateErrorCheck() into isApiSuccess() and showApiError()
In mvFirefogg:
* Made have_firefogg, sourceFileInfo lazy initialised
* Rearranged autoEncoderSettings() to make it the accessor getEncoderSettings()
* Rearranged firefoggCheck() to make it the accessor getFirefogg()
* Split encodeDone into the anonymous doEncode() done callbacks, and also the new function onLocalEncodeDone()
In mvAdvFirefogg:
* Refactored autoEncoderSettings() into getEncoderSetings() and updateSourceFileUI()
Elsewhere:
* Fixed spelling error UploadBase::MIN_LENGHT_PARTNAME
Trevor Parscal [Fri, 20 Nov 2009 02:24:28 +0000 (02:24 +0000)]
Initial check in for the SVGZoom tool.
Alexandre Emsenhuber [Thu, 19 Nov 2009 21:09:35 +0000 (21:09 +0000)]
Fix for r59258: move entry to RELEASE-NOTES
Raimond Spekking [Thu, 19 Nov 2009 20:23:38 +0000 (20:23 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-19 20:00 UTC)
Rotem Liss [Thu, 19 Nov 2009 20:00:21 +0000 (20:00 +0000)]
Localization update for he.
Matěj Grabovský [Thu, 19 Nov 2009 18:59:42 +0000 (18:59 +0000)]
(bug 16884) Fixed feed links in sidebar not complying with URL parameters of the displayed page
Max Semenik [Thu, 19 Nov 2009 18:57:04 +0000 (18:57 +0000)]
Fixed E_DEPRECATED
Max Semenik [Thu, 19 Nov 2009 18:04:55 +0000 (18:04 +0000)]
tab to spaces
Sam Reed [Thu, 19 Nov 2009 17:57:27 +0000 (17:57 +0000)]
bug 19523 prop=info&inprop=watched
Adam Miller [Thu, 19 Nov 2009 17:16:30 +0000 (17:16 +0000)]
a followup, better fix for what r59224 aimed to do: Fixing a spacing issue with RTL langauges and the dropdown menu
Aryeh Gregor [Thu, 19 Nov 2009 01:24:58 +0000 (01:24 +0000)]
Avoid pointless $wgHtml5 checks
Html::rawElement() should strip out any invalid attributes if $wgHtml5
is off. This commit should introduce no functional change. Any future
problems with attributes being added incorrectly should be fixed in
Html.php, not callers.
Follow-up to r57096.
Daniel Friesen [Thu, 19 Nov 2009 00:37:00 +0000 (00:37 +0000)]
Add a wgCategories variable to the js variables so users don't need to do really ugly dom searching to see if a category is in the categorylinks box.
Siebrand Mazeland [Wed, 18 Nov 2009 23:42:38 +0000 (23:42 +0000)]
Fix autonym for rgn
Aaron Schulz [Wed, 18 Nov 2009 23:31:47 +0000 (23:31 +0000)]
bug 21192 Remove second suppression button from pages with single edit ('compare' too)
Adam Miller [Wed, 18 Nov 2009 22:35:49 +0000 (22:35 +0000)]
Fixing a spacing issue with RTL langauges and the dropdown menu
Raimond Spekking [Wed, 18 Nov 2009 21:59:54 +0000 (21:59 +0000)]
Consistency tweaks for "IP address"
Tobias [Wed, 18 Nov 2009 21:06:54 +0000 (21:06 +0000)]
Make adding sidebar elements easier for extensions (e.g. Extension:GroupsSidebar)
Aaron Schulz [Wed, 18 Nov 2009 20:50:00 +0000 (20:50 +0000)]
last tweak for bug 21352 (RevDelete messages)
Raimond Spekking [Wed, 18 Nov 2009 20:27:04 +0000 (20:27 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-18 20:00 UTC)
Max Semenik [Wed, 18 Nov 2009 17:57:32 +0000 (17:57 +0000)]
Checking images for syntax errors can yield funky results:)
Tim Starling [Wed, 18 Nov 2009 06:21:27 +0000 (06:21 +0000)]
Fixed corruption of long UDP debug log messages by using socket_sendto() instead of fsockopen() with fwrite(). Using fwrite() causes the message to be split up into 8KB async send() calls, and whether they end up in the same UDP packet just depends on timing.
Roan Kattouw [Wed, 18 Nov 2009 00:28:19 +0000 (00:28 +0000)]
Revert r58570 (override overspecific CSS on dewiki): can be done by making the offending CSS on dewiki more specific
Alexandre Emsenhuber [Tue, 17 Nov 2009 20:52:04 +0000 (20:52 +0000)]
* removed $this in parameters list since it's a reserved word
* consistency in parameter descriptions
Raimond Spekking [Tue, 17 Nov 2009 20:17:20 +0000 (20:17 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-17 19:30 UTC)