Chad Horohoe [Wed, 9 Jun 2010 11:54:18 +0000 (11:54 +0000)]
Partial revert r67707, included half-baked patch
Chad Horohoe [Wed, 9 Jun 2010 11:44:05 +0000 (11:44 +0000)]
Fixed a bunch of silly instances of [^!=]==\s*(true|false)
Platonides [Wed, 9 Jun 2010 11:28:46 +0000 (11:28 +0000)]
Prefix Vector specific ids (head-base|page-base|head|panel) with mw- per bug 23597.
It may be a good idea to rename further the confusing head (eg. to mw-skin-head).
Lots of mentions of headers, <head>, document.getElementsByTagName('head')... but no real usage of that.
Platonides [Wed, 9 Jun 2010 11:15:52 +0000 (11:15 +0000)]
A parser test for the spaces.
Chad Horohoe [Wed, 9 Jun 2010 10:15:19 +0000 (10:15 +0000)]
Don't use @, use wfSuppress/RestoreWarnings
Tim Starling [Wed, 9 Jun 2010 06:39:22 +0000 (06:39 +0000)]
Fixes for r61911:
* Do not follow redirects by default. This breaks on safe_mode, and may potentially open security vulnerabilities in callers which blacklist domain names. Instead, send followRedirects=true option in the HttpTest caller that needs it.
* Added a check for the cURL security vulnerability CVE-2009-0037, which allowed redirects to file:/// and scp://. Refuse to follow redirects if a vulnerable client library is present.
* Factored out the redirect compatibility test into public function canFollowRedirects() so that callers can provide this information to users.
* In PhpHttpRequest, only follow redirects to HTTP URLs, do not fopen() arbitrary locations. This is not quite as bad as it sounds, since the lack of response headers prevents file:/// content from being returned to the caller.
* Fixed vertical alignment in Http::request(), per style guide.
* 304, 305 and 306 responses are not really redirects and cannot contain a Location header.
Sam Reed [Tue, 8 Jun 2010 20:50:06 +0000 (20:50 +0000)]
Fixup mixture of copy pasta fail, and some oversights from r66891 due to comments by Roan
Platonides [Tue, 8 Jun 2010 20:32:16 +0000 (20:32 +0000)]
Move icons footer into $footerlinks. A couple of ids which weren't used anywhere get slightly renamed.
Platonides [Tue, 8 Jun 2010 20:06:28 +0000 (20:06 +0000)]
Follow up r67663. Stay quiet, T_OPEN_TAG!
Platonides [Tue, 8 Jun 2010 20:01:22 +0000 (20:01 +0000)]
Enable http compression.
Skip "CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set" error.
Siebrand Mazeland [Tue, 8 Jun 2010 19:36:44 +0000 (19:36 +0000)]
Replace Title::makeTitle[Safe]( NS_SPECIAL, 'x' ) with SpecialPage::getTitleFor ( 'x' )
And a few other minor changes.
Jure Kajzer [Tue, 8 Jun 2010 18:14:28 +0000 (18:14 +0000)]
* Fixed parserTests compatibility for Oracle
* Fixed DBPrefix not being set in the old installer
Jack Phoenix [Tue, 8 Jun 2010 17:03:25 +0000 (17:03 +0000)]
Vector:
*trim trailing spaces
*consistent capitalization for getLocalURL (it's defined as "public function getLocalURL" in Title.php, line 818)
*minor spacing tweaks
Jack Phoenix [Tue, 8 Jun 2010 16:55:19 +0000 (16:55 +0000)]
follow-up to r67631: add semicolon back
Platonides [Tue, 8 Jun 2010 16:12:55 +0000 (16:12 +0000)]
Escape for html $wgLocalStylePath.
Killed unused $wgStylePath globals.
Platonides [Tue, 8 Jun 2010 14:52:15 +0000 (14:52 +0000)]
Deprecate MonoBookTemplateToolboxEnd hook.
SkinTemplateToolboxEnd available since 1.13 should be used instead.
Usage among extensions fixed.
Chad Horohoe [Tue, 8 Jun 2010 13:38:46 +0000 (13:38 +0000)]
Followup r66383, need to update generated LocalSettings as well
Sam Reed [Tue, 8 Jun 2010 12:40:11 +0000 (12:40 +0000)]
* (bug 23835) Need "thumbmime" result in "imageinfo" query
Sam Reed [Tue, 8 Jun 2010 12:23:05 +0000 (12:23 +0000)]
RELEASE-NOTES for r67450
Sam Reed [Tue, 8 Jun 2010 12:15:48 +0000 (12:15 +0000)]
* (bug 23834) Invalid "thumbwidth" and "thumbheight" in "imageinfo" query when thumbnailing larger than original image
Minor comment casing tweak in File.php
Tim Starling [Tue, 8 Jun 2010 06:49:06 +0000 (06:49 +0000)]
Line ending fixes for r67320.
Tim Starling [Tue, 8 Jun 2010 05:26:12 +0000 (05:26 +0000)]
(bug 23175) added ta variable for b/c.
Trevor Parscal [Tue, 8 Jun 2010 00:37:48 +0000 (00:37 +0000)]
Style bump for r67576.
Trevor Parscal [Tue, 8 Jun 2010 00:29:58 +0000 (00:29 +0000)]
Fixed CSS bug for Netfront (PS3). Ryan Kaldari Rules! (this was his find).
Markus Glaser [Mon, 7 Jun 2010 22:44:01 +0000 (22:44 +0000)]
ensured backwards compatibility to MW prior 1.15.2. Credits to Chris Key
Aryeh Gregor [Mon, 7 Jun 2010 21:07:13 +0000 (21:07 +0000)]
Update boolean attribute list from HTML5 draft
Raimond Spekking [Mon, 7 Jun 2010 18:59:02 +0000 (18:59 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-07 18:50:00 UTC)
Roan Kattouw [Mon, 7 Jun 2010 18:53:30 +0000 (18:53 +0000)]
API: Add Accept-Language echoer, useful for JS that wants to grab this (not available in JS through conventional means, can't embed it in the page because of Squid caching). Stuck this in meta=userinfo because it doesn't really fit anywhere and userinfo is the only module that's slightly, tangentially related.
Sam Reed [Mon, 7 Jun 2010 18:40:13 +0000 (18:40 +0000)]
Return '' on RevisionDeleter.getLogLinks() if count($paramArray) < 2
Chad Horohoe [Mon, 7 Jun 2010 18:20:30 +0000 (18:20 +0000)]
(bug 23797) Xml::input() now allows '0' for the value parameter
Chad Horohoe [Mon, 7 Jun 2010 16:33:12 +0000 (16:33 +0000)]
Save settings after adding the groups, or the groups don't stick
Roan Kattouw [Mon, 7 Jun 2010 16:19:09 +0000 (16:19 +0000)]
(bug 23570) Fix an instance of a javascript: link in core
Roan Kattouw [Mon, 7 Jun 2010 14:20:10 +0000 (14:20 +0000)]
(bug 23800) Add missing space between "Jump to:" and "navigation, search" in Vector
Meno25 [Mon, 7 Jun 2010 07:22:54 +0000 (07:22 +0000)]
i18n update
Raimond Spekking [Sun, 6 Jun 2010 18:49:24 +0000 (18:49 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-06 18:30:00 UTC)
Shinjiman [Sun, 6 Jun 2010 15:54:03 +0000 (15:54 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Alexandre Emsenhuber [Sun, 6 Jun 2010 14:27:21 +0000 (14:27 +0000)]
Print the whole text instead of having some strange syntax that doesn't work (but compile without errors...)
Chad Horohoe [Sun, 6 Jun 2010 14:03:15 +0000 (14:03 +0000)]
(bug 23021) Mediawiki should not warn if the sesion path is not writable and should not suggest putting it in open_basedir
Alexandre Emsenhuber [Sun, 6 Jun 2010 13:53:33 +0000 (13:53 +0000)]
removed unused global
Alexandre Emsenhuber [Sun, 6 Jun 2010 13:31:44 +0000 (13:31 +0000)]
Missing line break
Sam Reed [Sun, 6 Jun 2010 12:30:46 +0000 (12:30 +0000)]
Fix method comment from r66539
Roan Kattouw [Sun, 6 Jun 2010 10:17:02 +0000 (10:17 +0000)]
API: Add pltitles and tltemplates to prop=links and prop=templates respectively, similar to prop=categories's clcategories
Siebrand Mazeland [Sat, 5 Jun 2010 21:12:06 +0000 (21:12 +0000)]
Localisation updates for core messages from translatewiki.net (2010-06-05 21:01 UTC)
Alexandre Emsenhuber [Sat, 5 Jun 2010 19:15:50 +0000 (19:15 +0000)]
Fixed some doxygen warnings
Alexandre Emsenhuber [Sat, 5 Jun 2010 18:23:26 +0000 (18:23 +0000)]
fix E_STRICT
Alexandre Emsenhuber [Sat, 5 Jun 2010 13:01:33 +0000 (13:01 +0000)]
Fix grammar error from r67360
Tobias [Sat, 5 Jun 2010 11:59:48 +0000 (11:59 +0000)]
follow-up on r67094: fixing presumed cause for php strict standards message and adding to release-notes
Alexandre Emsenhuber [Fri, 4 Jun 2010 20:31:50 +0000 (20:31 +0000)]
* (bug 23787) Corrected $wgDefaultSkin's comment in DefaultSettings.php
Roan Kattouw [Fri, 4 Jun 2010 19:13:16 +0000 (19:13 +0000)]
Add $version parameter for custom style versions to OutputPage::addScriptFile() so we don't have to bump $wgStyleVersion on the cluster every time we deploy UsabilityInitiative changes. The UsabilityInitiative extension has been using this parameter for ages, but it never seems to have existed.
Markus Glaser [Fri, 4 Jun 2010 07:58:45 +0000 (07:58 +0000)]
updated comment (by dan nessett)
Ariel Glenn [Fri, 4 Jun 2010 03:10:34 +0000 (03:10 +0000)]
XML snapshots: check length of revision text from prefetched content against length in db before using, partial fix for bugs 23264, 18694
Ariel Glenn [Fri, 4 Jun 2010 02:24:56 +0000 (02:24 +0000)]
XML snapshots: when retrieving revision text, send the text id back to requester for doublechecking (avoids revision text out of sync errors), partial fix for bugs 23264, 18694
Ariel Glenn [Fri, 4 Jun 2010 01:43:56 +0000 (01:43 +0000)]
restore default behavior for Maintenance::output when no channel specified (channeled behavior may or may not append newline, this breaks code that relies on the output string reaching the reader unaltered), partial fix for bug 23264
Siebrand Mazeland [Thu, 3 Jun 2010 23:12:58 +0000 (23:12 +0000)]
Localisation updates for core messages from translatewiki.net (2010-06-03 22:59 UTC)
Trevor Parscal [Thu, 3 Jun 2010 21:42:15 +0000 (21:42 +0000)]
Revert r66608: This goes against an intentional design decision. To discuss that decision further and submit proposals to change this design please contact Howie Fung <hfung@wikimedia.org> or visit usability.wikimedia.org
Alexandre Emsenhuber [Thu, 3 Jun 2010 21:00:51 +0000 (21:00 +0000)]
Fixed some doxygen warnings
Alexandre Emsenhuber [Thu, 3 Jun 2010 19:28:13 +0000 (19:28 +0000)]
Kill $wgTitle in ImageHistoryList::imageHistoryLine()
Brian Wolff [Thu, 3 Jun 2010 18:07:16 +0000 (18:07 +0000)]
Follow up to 66670 which in turn is a follow up to r66646. prefix the remaining id selectors with div
Doing just some of them caused breakage on IE6, as the selectors in main had
higher speciftivity then those in IE60Fixes. So add div to all of them.
Aryeh Gregor [Thu, 3 Jun 2010 17:31:14 +0000 (17:31 +0000)]
Password not always required on account creation
Bug 23769. It's not required when the account is being created by
e-mail, regardless of $wgMinimalPasswordLength. This commit technically
does nothing, given r67283, but it will keep the bug fixed even in the
future when r67283 can be reverted.
Aryeh Gregor [Thu, 3 Jun 2010 17:18:21 +0000 (17:18 +0000)]
(bug 23769) Disable HTML5 form validation for now
Is implemented in recent WebKit but with no UI, so it's worse than just
giving a server-side error. The only other implementation right now is
Opera and its UI is pretty ugly, so not yet worth the effort to do UA
sniffing. Will backport to 1.16, as a regression fix.
Roan Kattouw [Thu, 3 Jun 2010 09:53:28 +0000 (09:53 +0000)]
Fixed for r58099 per CR:
* Only clicktrack local, domain-relative URLs
* Validate redirect URL in ApiClickTracking with the same condition used in ClickTracking.js (local, domain-relative)
* Remove call to nonexistent function OutputPage::enable()
* Add functionality for disabling API output and use this after setting up the redirect. This fixes the issue where the body of the redirect contained an API response in xmlfm form
at; the body is now empty.
Happy-melon [Thu, 3 Jun 2010 09:43:12 +0000 (09:43 +0000)]
Follow-up to r64903; fix field names broken by r65040.
Alexandre Emsenhuber [Wed, 2 Jun 2010 20:58:12 +0000 (20:58 +0000)]
Fixed some doxygen warnings
Siebrand Mazeland [Wed, 2 Jun 2010 20:32:12 +0000 (20:32 +0000)]
JS to JavaScript
Siebrand Mazeland [Wed, 2 Jun 2010 20:29:20 +0000 (20:29 +0000)]
Tweak r67231: 'usercssyoucanpreview' and 'userjsyoucanpreview' a little further.
Happy-melon [Wed, 2 Jun 2010 19:47:28 +0000 (19:47 +0000)]
Follow-up r67230 - be consistent in use of IDs rather than classes.
Raimond Spekking [Wed, 2 Jun 2010 19:41:14 +0000 (19:41 +0000)]
Transclude message of the 'Show preview' button per {{int:}} into the explaination message to keep text in sync.
Raimond Spekking [Wed, 2 Jun 2010 19:30:55 +0000 (19:30 +0000)]
Bug 23733 - Add IDs to messages used on CSS/JS pages
Alexandre Emsenhuber [Wed, 2 Jun 2010 19:28:44 +0000 (19:28 +0000)]
* Use Html::linkedScript() and Html::inlineScript()
Raimond Spekking [Wed, 2 Jun 2010 19:22:28 +0000 (19:22 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-02 18:50:00 UTC)
Derk-Jan Hartman [Tue, 1 Jun 2010 23:30:17 +0000 (23:30 +0000)]
Use addClickHandler() instead of .onclick = handlerfunction
Derk-Jan Hartman [Tue, 1 Jun 2010 23:18:07 +0000 (23:18 +0000)]
Bug 23755. Prevent tablesort code leaking to global scope.
Alexandre Emsenhuber [Tue, 1 Jun 2010 20:58:01 +0000 (20:58 +0000)]
Fixed some doxygen warnings
Roan Kattouw [Tue, 1 Jun 2010 19:40:35 +0000 (19:40 +0000)]
Fix fatal in r67185
Derk-Jan Hartman [Tue, 1 Jun 2010 19:20:04 +0000 (19:20 +0000)]
Fix bug 23688. Correct the mime type definitions for Microsoft Office 2007 OpenXML files.
Original patch by Markus Krotzsch, adapted by me based on mime information found at:
http://blogs.msdn.com/b/vsofficedeveloper/archive/2008/05/08/office-2007-open-xml-mime-types.aspx
Raimond Spekking [Tue, 1 Jun 2010 19:00:20 +0000 (19:00 +0000)]
Export namespaces for 'ckb' from translatewiki
Raimond Spekking [Tue, 1 Jun 2010 18:33:40 +0000 (18:33 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-06-01 18:25:00 UTC)
Alexandre Emsenhuber [Tue, 1 Jun 2010 16:31:56 +0000 (16:31 +0000)]
svn:eol-style native
Alexandre Emsenhuber [Tue, 1 Jun 2010 16:21:00 +0000 (16:21 +0000)]
Fixed fatal error because of undefined $wgParser variable
Alexandre Emsenhuber [Tue, 1 Jun 2010 15:19:19 +0000 (15:19 +0000)]
* (bug 23740) Article::doRedirect() now use $extraQuery parameter correctly if the $noRedir parameter is set to true
Daniel Kinzler [Tue, 1 Jun 2010 14:28:51 +0000 (14:28 +0000)]
allow parser/extensions to control for how long a ParserOutput gets cached. Introduced updateCacheExpiry(), Cleaned up use of getCacheTime() for marking uncacheable objects.
Raimond Spekking [Mon, 31 May 2010 19:13:41 +0000 (19:13 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-31 18:55:00 UTC)
Rotem Liss [Mon, 31 May 2010 14:47:31 +0000 (14:47 +0000)]
Localization update for he, fixing messages.inc, and rebuilding en.
Raimond Spekking [Sun, 30 May 2010 20:20:20 +0000 (20:20 +0000)]
Follow-up r67094: Tweak message files
Platonides [Sun, 30 May 2010 20:13:06 +0000 (20:13 +0000)]
Remove r44003 workaround. It is no longer needed, we can now use temporary tables again.
Raimond Spekking [Sun, 30 May 2010 20:06:25 +0000 (20:06 +0000)]
Follow-up r67094: Tweak message files
Raimond Spekking [Sun, 30 May 2010 19:51:37 +0000 (19:51 +0000)]
Follow-up r67094: Tweak message files
Raimond Spekking [Sun, 30 May 2010 19:41:13 +0000 (19:41 +0000)]
Localisation updates for core and extension messages from translatewiki.net (2010-05-30 18:55:00 UTC)
Max Semenik [Sun, 30 May 2010 19:17:14 +0000 (19:17 +0000)]
Fixed a few E_DEPRECATED's is ImportXMLReader.php
Platonides [Sun, 30 May 2010 18:59:25 +0000 (18:59 +0000)]
Follow up r66990. Fix parser tests.
Max Semenik [Sun, 30 May 2010 18:56:20 +0000 (18:56 +0000)]
Follow-up to r67099: fix case
Tobias [Sun, 30 May 2010 18:21:49 +0000 (18:21 +0000)]
fixing messages of r67094. thanks to siebrand for these suggestions
OverlordQ [Sun, 30 May 2010 18:13:13 +0000 (18:13 +0000)]
(r67097) Typo in previous commit
OverlordQ [Sun, 30 May 2010 18:11:25 +0000 (18:11 +0000)]
Followup to r67090, update parser tests
Alexandre Emsenhuber [Sun, 30 May 2010 18:09:03 +0000 (18:09 +0000)]
Per jabowery1's comment on IRC: Article::followContent() doesn't exist, changed to Article::followRedirect()
Tobias [Sun, 30 May 2010 18:00:01 +0000 (18:00 +0000)]
New feature RevisionMove (bug 21312). Introducing SpecialRevisionMove.php and revisionmove permission. Experimental, use at own risk (no group has this permission by default, so it should not break anything unless you are foolish enough to experiment with it :))
Max Semenik [Sun, 30 May 2010 17:41:53 +0000 (17:41 +0000)]
Bug 23715: replaced 8-megabyte txt file that crashed many text editors with one str_repeat() call
Aryeh Gregor [Sun, 30 May 2010 17:33:59 +0000 (17:33 +0000)]
Remove most named character references from output
Recommit of r66254 to trunk. This was just
find extensions phase3 -iname '*.php' \! -iname '*.i18n.php' \! -iname 'Messages*.php' \! -iname '*_Messages.php' -exec sed -i 's/ /\ /g;s/—/―/g;s/•/•/g;s/á/á/g;s/´/´/g;s/à/à/g;s/α/α/g;s/ä/ä/g;s/ç/ç/g;s/©/©/g;s/↓/↓/g;s/°/°/g;s/é/é/g;s/ê/ê/g;s/ë/ë/g;s/è/è/g;s/€/€/g;s/↔//g;s/…/…/g;s/í/í/g;s/ì/ì/g;s/←/←/g;s/“/“/g;s/·/·/g;s/−/−/g;s/–/–/g;s/ó/ó/g;s/ô/ô/g;s/œ/œ/g;s/ò/ò/g;s/õ/õ/g;s/ö/ö/g;s/£/£/g;s/′/′/g;s/″/″/g;s/»/»/g;s/→/→/g;s/”/”/g;s/Σ/Σ/g;s/×/×/g;s/ú/ú/g;s/↑/↑/g;s/ü/ü/g;s/¥/¥/g' {} +
followed by reading over every single line of the resulting diff and
fixing a whole bunch of false positives. The reason for this change is
given in <http://lists.wikimedia.org/pipermail/wikitech-l/2010-April/047617.html>.
I cleared it with Tim and Brion on IRC before committing. It might
cause a few problems, but I tried to be careful; please report any
issues.
I skipped all messages files. I plan to make a follow-up commit that
alters wfMsgExt() with 'escapenoentities' to sanitize all the entities.
That way, the only messages that will be problems will be ones that
output raw HTML, and we want to get rid of those anyway.
This should get rid of all named entities everywhere except messages. I
skipped a few things like   that I noticed in manual inspection,
because they weren't well-formed XML anyway.
Also, to everyone who uses non-breaking spaces when they could use a
normal space, or nothing at all, or CSS padding: I still hate you. Die.
Siebrand Mazeland [Sun, 30 May 2010 17:13:07 +0000 (17:13 +0000)]
Update 'revdelete-radio-same'
Siebrand Mazeland [Sun, 30 May 2010 14:48:30 +0000 (14:48 +0000)]
Ran stylize.php, removed trailing whitespace, updated indentation and code formatting.