Chad Horohoe [Fri, 4 Dec 2009 15:49:06 +0000 (15:49 +0000)]
Followup r59731: Make it opt-out instead of opt-in
Philip Tzou [Fri, 4 Dec 2009 15:47:25 +0000 (15:47 +0000)]
follow-up r59522 and r59541. To make the condition when we'll use Accept-Language in Vary and XVO more clear.
Chad Horohoe [Fri, 4 Dec 2009 15:45:02 +0000 (15:45 +0000)]
Use spaces so these line up nicely for everybody
Chad Horohoe [Fri, 4 Dec 2009 14:57:21 +0000 (14:57 +0000)]
Change deleteSelfExternals to use Maintenance.php
Chad Horohoe [Fri, 4 Dec 2009 14:38:43 +0000 (14:38 +0000)]
Put an option on checking for non-syntax errors
Chad Horohoe [Fri, 4 Dec 2009 13:15:11 +0000 (13:15 +0000)]
(bug 15853) Feeds for non-existing pages returned a feed of all pages where rev_page = 0. In theory of course this should never happen, but it does. Conveniently this started returning a nice "page does not exist" error in the feed. Patch by Mormegil.
Alexandre Emsenhuber [Fri, 4 Dec 2009 11:48:49 +0000 (11:48 +0000)]
Fix Special:ProtectedPages' canonical name (Protectedpages) to avoid notice when $wgDevelopmentWarnings is enabled
Alexandre Emsenhuber [Fri, 4 Dec 2009 11:33:50 +0000 (11:33 +0000)]
* (bug 21523) File that can have multiple pages (djvu, pdf, ...) no longer have the page selector when they have only one page
Siebrand Mazeland [Fri, 4 Dec 2009 09:34:30 +0000 (09:34 +0000)]
Add separate message for special page title, as 'blockip' is also used in the tools portlet on user pages.
Tim Starling [Fri, 4 Dec 2009 03:01:42 +0000 (03:01 +0000)]
Update patch-job.sql for r57610 and documentation updates.
Tim Starling [Fri, 4 Dec 2009 01:55:05 +0000 (01:55 +0000)]
Fix bug in BacklinkCache: the lack of an ORDER BY clause in getLinks(), combined with the lack of sensible indexes on the categorylinks table, was causing partition() to return starts and ends scaterred randomly across the result set. For large jobs, many partitions end up being large, causing HTMLCacheUpdate::doPartialUpdate() to repartition, thus requeueing jobs in an infinite recursive loop.
The BacklinkCache bug was there since r47317, but was relatively harmless until r54841 introduced the infinite loop issue.
Trevor Parscal [Thu, 3 Dec 2009 22:51:42 +0000 (22:51 +0000)]
Fixes issue that was caused by tweaks in r59224 and r59254 which made the actions drop down become 1px wider on mouseover.
Alexandre Emsenhuber [Thu, 3 Dec 2009 21:47:52 +0000 (21:47 +0000)]
Don't exit with status 0 after an exception, for the benefit of other scripts depending on it
Max Semenik [Thu, 3 Dec 2009 20:18:28 +0000 (20:18 +0000)]
Fixed warning introduced in r59702
Raimond Spekking [Thu, 3 Dec 2009 19:39:42 +0000 (19:39 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-03 19:00 UTC)
Jure Kajzer [Thu, 3 Dec 2009 16:09:22 +0000 (16:09 +0000)]
(bug 20159) thumbs rerendring if older that
Daniel Friesen [Thu, 3 Dec 2009 10:29:34 +0000 (10:29 +0000)]
Expand a few comments. One as per Nikerabbit's comment on r59695.
Roan Kattouw [Thu, 3 Dec 2009 10:22:15 +0000 (10:22 +0000)]
Revert js2stopgap to its good state before r58959 tried to prettify it and r58997, r59666 and r59671 fixed the resulting breakage.
Daniel Friesen [Thu, 3 Dec 2009 08:22:56 +0000 (08:22 +0000)]
Missing $wgRequest in showSummaryInput
Daniel Friesen [Thu, 3 Dec 2009 08:15:55 +0000 (08:15 +0000)]
Fix notices
Tim Starling [Thu, 3 Dec 2009 05:38:32 +0000 (05:38 +0000)]
Merged r56967 from wmf-deployment: for performance, don't consider pages with very few links for Special:Mostlinked.
Implemented a page count threshold as Domas suggested in his commit message. A fractional power seems to make sense for scaling from page count to links-per-page, since it has the right kind of limits, so I used a square root bounded between 1 and 100.
OverlordQ [Thu, 3 Dec 2009 02:37:49 +0000 (02:37 +0000)]
(bug 20150): Change query to explicity select distinct rows instead of doing it using a group by, RevDelete works on PG now
Adam Miller [Wed, 2 Dec 2009 21:43:52 +0000 (21:43 +0000)]
Follow change to r59680. Adding a better regex
Adam Miller [Wed, 2 Dec 2009 21:22:03 +0000 (21:22 +0000)]
Adding some code to the ajax watch/unwatch to alter tooltips on ajax update. Bug #21538
Rotem Liss [Wed, 2 Dec 2009 20:49:52 +0000 (20:49 +0000)]
Localization update.
Raimond Spekking [Wed, 2 Dec 2009 20:39:49 +0000 (20:39 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-02 20:00 UTC)
Daniel Friesen [Wed, 2 Dec 2009 18:51:19 +0000 (18:51 +0000)]
Fixes for fixme comments on my r59655
Roan Kattouw [Wed, 2 Dec 2009 18:44:03 +0000 (18:44 +0000)]
Fix more abuses of spacing in regexes in jQuery
Alexandre Emsenhuber [Wed, 2 Dec 2009 16:37:38 +0000 (16:37 +0000)]
Fix E_STRICT: UploadFromUrl::initialize() should have the same signature as UploadBase::initialize()
Roan Kattouw [Wed, 2 Dec 2009 16:29:40 +0000 (16:29 +0000)]
Revert unintended change in r59666
Roan Kattouw [Wed, 2 Dec 2009 16:28:29 +0000 (16:28 +0000)]
Fix jQuery bug filed upstream as dev.jquery.com/ticket/5583 . Also fixes bug 21709 (dialogs freeze in raw/combined mode but not in minified mode). The fact that this worked in minified mode is due to a bug in JSmin, contacted the author about that.
Jure Kajzer [Wed, 2 Dec 2009 13:37:24 +0000 (13:37 +0000)]
(bug 18762) both redirects and links fixed if redirects-only switch not present
Roan Kattouw [Wed, 2 Dec 2009 12:28:27 +0000 (12:28 +0000)]
API: Minor cleanup for r59258, general whitespace cleanup
Roan Kattouw [Wed, 2 Dec 2009 12:17:27 +0000 (12:17 +0000)]
API: Fix for r58551: WDDX formatter barfs on null
Daniel Friesen [Wed, 2 Dec 2009 07:22:29 +0000 (07:22 +0000)]
EditPage refactor and improvements.
- EditPage::showEditForm broken up into task specific methods
- Subclasses can indicate they can't support section mode
- Standard inputs should all be now in methods they can be grabbed from by subclasses that want to re-arange things
- Many more places to override and hook into to change behavior
- showTextbox1 parameters changed from $classes to $customAttribs and $textoverride
- showContentForm and importContentFormData added; New workflow to override the wpTextbox1 behavior to use an alternate edit form ui or handle wpTextbox1 content in an alternate way.
- getActionURL added for EditPage subclasses used in places where $this->action isn't enough (ie: EditPage on special pages)
Html::textarea added
Sam Reed [Wed, 2 Dec 2009 00:25:23 +0000 (00:25 +0000)]
RELEASE-NOTES for r59647
Sam Reed [Wed, 2 Dec 2009 00:23:05 +0000 (00:23 +0000)]
bug 21740 Attempting to protect a page that doesn't exist (salting) returns "unknown error"
Message usage was plural, definition was singular
Alexandre Emsenhuber [Tue, 1 Dec 2009 21:01:58 +0000 (21:01 +0000)]
Follow-up r59638: add patch contributor to CREDITS file
Alexandre Emsenhuber [Tue, 1 Dec 2009 20:56:43 +0000 (20:56 +0000)]
* (bug 21574) Redirects can now have "303 See Other" HTTP status
Based on a patch by denny vrandecic - http://bug-attachment.wikimedia.org/attachment.cgi?id=6805
Raimond Spekking [Tue, 1 Dec 2009 20:46:26 +0000 (20:46 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-12-01 20:00 UTC)
Tim Starling [Tue, 1 Dec 2009 01:55:04 +0000 (01:55 +0000)]
Reverted r58646 as per my comments on bug 20554.
Nimish Gautam [Mon, 30 Nov 2009 21:01:24 +0000 (21:01 +0000)]
updated style version as per r59604
Nimish Gautam [Mon, 30 Nov 2009 20:43:23 +0000 (20:43 +0000)]
click tracking for old toolbar
Raimond Spekking [Mon, 30 Nov 2009 20:32:43 +0000 (20:32 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2009-11-30 20:00 UTC)
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