Roan Kattouw [Fri, 17 Jul 2009 17:50:28 +0000 (17:50 +0000)]
Followup to r53408: change lengths of log_action and log_type too. Thanks to OverlordQ for spotting this.
Roan Kattouw [Fri, 17 Jul 2009 17:45:53 +0000 (17:45 +0000)]
(bug 19570) Add log_user_text and log_page to tables.sql; fixes r51997
Rotem Liss [Fri, 17 Jul 2009 16:22:52 +0000 (16:22 +0000)]
Localization update.
Shinjiman [Fri, 17 Jul 2009 14:49:15 +0000 (14:49 +0000)]
* (bug 14611) Add a global variable hook to show the extended software information, also add the user rights for sysops, enable to showing them by default.
patch by OverlordQ
Huji [Fri, 17 Jul 2009 14:22:41 +0000 (14:22 +0000)]
Localisation updates: Adding Persian translation for 'Activeusers' special page.
Alexandre Emsenhuber [Fri, 17 Jul 2009 10:34:03 +0000 (10:34 +0000)]
Fix notice: Use of UploadForm::userCanReUpload is deprecated. [Called from ImagePage::uploadLinksBox in includes/ImagePage.php at line 554]
Andrew Garrett [Fri, 17 Jul 2009 10:07:10 +0000 (10:07 +0000)]
Fix some unsanitized classes
Trevor Parscal [Fri, 17 Jul 2009 00:01:48 +0000 (00:01 +0000)]
Solves double escaping issue for moveThisPage function (used by CologneBlue and Standard skins) - seen when on pages with titles that contain diacritical marks.
Trevor Parscal [Thu, 16 Jul 2009 22:55:27 +0000 (22:55 +0000)]
Prevent wrapping by using instead of spaces in labels on drop down menus. Not ideal, but for cross browser support down to IE5.5, this is what we end up with.
Trevor Parscal [Thu, 16 Jul 2009 19:27:06 +0000 (19:27 +0000)]
Fixed bug that caused the last parameter of the generated users scripts (see Skin:generateUserJs) to become corrupted from a ? being always used to append an additional parameter (which if there are already paramters breaks stuff).
Aryeh Gregor [Thu, 16 Jul 2009 18:18:51 +0000 (18:18 +0000)]
Escape . in regex
This was previously done in r53143, and inadvertently undone in r53282.
Thanks to Splarka for pointing it out, although I doubt it does
anything.
Trevor Parscal [Thu, 16 Jul 2009 18:11:51 +0000 (18:11 +0000)]
Improved simple search apearance in IE5 and IE6.
Tim Starling [Thu, 16 Jul 2009 18:07:23 +0000 (18:07 +0000)]
* Added FSRepo configuration properties thumbUrl and thumbDir, to allow the thumbnails to be stored in a separate location to the source images. Did this by making thumbnails a separate zone instead of a subdirectory of the public zone. Tested normal transform, thumb.php.
* Removed getThumbRel(), doesn't make sense in conjunction with above options. Not used by core or hosted extensions.
Trevor Parscal [Thu, 16 Jul 2009 18:05:27 +0000 (18:05 +0000)]
Improved the apearance, behavior and consistency accross browsers of simple search.
Rotem Liss [Thu, 16 Jul 2009 17:51:21 +0000 (17:51 +0000)]
Localization update.
Alex Z [Thu, 16 Jul 2009 16:49:09 +0000 (16:49 +0000)]
Followup to r53358 - Tweak the function name to be a little clearer as to what it does
Also make it abstract in DatabaseBase so all subclasses have to implement some human readable name
(also make getSoftwareLink abstract for the same reason) Every current Database class already implements both.
Shinjiman [Thu, 16 Jul 2009 16:23:58 +0000 (16:23 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Michael Dale [Thu, 16 Jul 2009 15:28:07 +0000 (15:28 +0000)]
fixed unset partname
Andrew Garrett [Thu, 16 Jul 2009 15:20:13 +0000 (15:20 +0000)]
LiquidThreads updates:
* Overhaul deletion system. Totally remove deletion special page, deletion will now be handled through the standard MediaWiki deletion system. When a thread's "root" is deleted, the thread itself is marked as deleted. When the page is re-undeleted, the thread will be marked as restored.
* Move some class files from Lqt* to simply *.
* Remove HistoryIterator class, pointless.
* Miscellaneous code quality as found.
Includes core changes to pass comment along with ArticleRevisionUndeleted hook.
Alex Z [Thu, 16 Jul 2009 15:18:57 +0000 (15:18 +0000)]
(bug 19590) Database error messages are no longer hardcoded to use "MySQL".
Added a new function DatabaseBase::getDBtype() to get the DB type for messages, updated all subclasses.
Message change needs propagating.
Roan Kattouw [Thu, 16 Jul 2009 08:04:15 +0000 (08:04 +0000)]
Revert r52190 ("Return HTTP 503 on API maxlag error"): announcement prompted many complaints, and the change never went live.
Rotem Liss [Thu, 16 Jul 2009 07:49:26 +0000 (07:49 +0000)]
Localization update for he, and whitespace fixes + matching fileappenderror to the other messages in en.
Aryeh Gregor [Thu, 16 Jul 2009 03:09:23 +0000 (03:09 +0000)]
Whitespace fixes
Remember to pass -w to svn blame! (Or -x -wu, or whatever svn blame
wants.)
Aryeh Gregor [Thu, 16 Jul 2009 02:58:30 +0000 (02:58 +0000)]
Remove is_khtml again
This variable is completely misnamed, since it matches WebKit as well.
It's also almost certainly completely useless, since the probability of
some bug existing in all versions of KHTML/WebKit past, present, and
future is approximately zero. Use capability testing if at all
possible; and if it's not possible, then at least check "browser X
version <= y". *Never* check for just "browser X"! That will always
break if a new, fixed version comes out.
Aryeh Gregor [Thu, 16 Jul 2009 02:58:17 +0000 (02:58 +0000)]
Use capability testing instead of UA sniffing
This should theoretically work fine, but I'm admittedly not *totally*
sure what this is supposed to do, so I haven't actually tested it. The
old behavior was almost certainly wrong, though: is_khtml was returning
true for all WebKit, and non-ancient WebKit definitely supports
overflow-x. Robert Stojnic/rainman should take a look at this to make
sure it's right, or anyone else who knows what this does.
Chad Horohoe [Wed, 15 Jul 2009 23:36:16 +0000 (23:36 +0000)]
(bug 18708) CSS plainlinks class now available to all skins
Michael Dale [Wed, 15 Jul 2009 23:15:51 +0000 (23:15 +0000)]
other part of the r53342 commit
Michael Dale [Wed, 15 Jul 2009 23:11:24 +0000 (23:11 +0000)]
fixed error msg
Michael Dale [Wed, 15 Jul 2009 23:00:33 +0000 (23:00 +0000)]
Some Strict Standards fixes per r53282 c3194
Aryeh Gregor [Wed, 15 Jul 2009 22:55:30 +0000 (22:55 +0000)]
Remove some XML cruft from HTML 5
Chad Horohoe [Wed, 15 Jul 2009 22:51:29 +0000 (22:51 +0000)]
(bug 18821) Delete unused fetchAllRevisions(), which doesn't do what it says anyway.
Chad Horohoe [Wed, 15 Jul 2009 22:48:50 +0000 (22:48 +0000)]
2nd followup to r53286, indentation fixes.
Michael Dale [Wed, 15 Jul 2009 22:41:56 +0000 (22:41 +0000)]
* addressed r53282#c3209 moved conditional inclusion of $wgExtensionMessages in mwScriptLoader.php to Setup.php
* put a @ in front of get_headers() should hopefully avoid errors where allow_url_fopen=0
* combined $wgPhpCliPath into the similar used $wgPhpCli var
* minor js & example file mwEmbed fixes
Roan Kattouw [Wed, 15 Jul 2009 22:32:42 +0000 (22:32 +0000)]
Fix up r53308: fix up another parser test that I'd forgotten about
Roan Kattouw [Wed, 15 Jul 2009 21:14:56 +0000 (21:14 +0000)]
Fix another fatal in r53282
Michael Dale [Wed, 15 Jul 2009 21:13:49 +0000 (21:13 +0000)]
SpecialUpload page fixes related to notes on r53282 (xml function usage)
Roan Kattouw [Wed, 15 Jul 2009 21:10:53 +0000 (21:10 +0000)]
Fix fatal in r53282
Michael Dale [Wed, 15 Jul 2009 20:50:09 +0000 (20:50 +0000)]
restored bc for Http::request per comments on r53282
Michael Dale [Wed, 15 Jul 2009 20:27:55 +0000 (20:27 +0000)]
fixed httpstatus boolean & updated error to use dieUsageMsg
Michael Dale [Wed, 15 Jul 2009 19:54:08 +0000 (19:54 +0000)]
more isset fixes
Alex Z [Wed, 15 Jul 2009 19:41:29 +0000 (19:41 +0000)]
Partial revert of r53320:
isset() will return true even if its set to an empty array or false, so this broke more than it fixed,
putting user contribs/logs links on articles, empty language sidebars, etc.
I believe $pagecss was the only thing causing notices
Jack Phoenix [Wed, 15 Jul 2009 19:18:12 +0000 (19:18 +0000)]
coding style cleanup for upload stuff
Michael Dale [Wed, 15 Jul 2009 18:52:54 +0000 (18:52 +0000)]
updated RELEASE-NOTES configuration vars and removed duplicate $wgPhpCliPath in DefaultSettings.php
Trevor Parscal [Wed, 15 Jul 2009 18:35:12 +0000 (18:35 +0000)]
Improved the consistency of preferences tabs between browsers.
Michael Dale [Wed, 15 Jul 2009 18:15:40 +0000 (18:15 +0000)]
added some isset() calls to avoid Notice: Undefined property errors
Andrew Garrett [Wed, 15 Jul 2009 16:36:04 +0000 (16:36 +0000)]
Force select-or-other type fields to string values, fixing problem where stub threshold was not being properly loaded into preferences window once saved differently to the default
Chad Horohoe [Wed, 15 Jul 2009 11:48:14 +0000 (11:48 +0000)]
Followup to r53286: Fix trailing whitespace.
Roan Kattouw [Wed, 15 Jul 2009 11:29:13 +0000 (11:29 +0000)]
Fix parser tests for r52213.
6 previously failing test(s) now PASSING! :)
* Section headings with TOC [Fixed between 15-Jul-2009 10:33:29, 1.16alpha(r53297) and now]
* Handling of sections up to level 6 and beyond [Fixed between 15-Jul-2009 10:33:29, 1.16alpha(r53297) and now]
* TOC regression (bug 9764) [Fixed between 15-Jul-2009 10:33:29, 1.16alpha(r53297) and now]
* TOC regression (bug 12077) [Fixed between 15-Jul-2009 10:33:29, 1.16alpha(r53297) and now]
* Fuzz testing: Parser14 [Fixed between 15-Jul-2009 10:33:29, 1.16alpha(r53297) and now]
* Out-of-order TOC heading levels [Fixed between 15-Jul-2009 10:33:29, 1.16alpha(r53297) and now]
Shinjiman [Wed, 15 Jul 2009 11:23:26 +0000 (11:23 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Alexandre Emsenhuber [Wed, 15 Jul 2009 10:35:25 +0000 (10:35 +0000)]
fix for r53282: split() -> explode() the former is part of POSIX regex and is deprecated since PHP 5.3
Roan Kattouw [Wed, 15 Jul 2009 10:22:56 +0000 (10:22 +0000)]
Fix encoding issue in r53270
Roan Kattouw [Wed, 15 Jul 2009 10:07:02 +0000 (10:07 +0000)]
(bug 19640) API: Unbreak cmnamespace in miser mode by filtering on the PHP side. This is a dirty, temporary hack that'll have to do until we can do this properly on the database side.
Alexandre Emsenhuber [Wed, 15 Jul 2009 09:49:48 +0000 (09:49 +0000)]
fixed encoding issues from r53285
Roan Kattouw [Wed, 15 Jul 2009 09:48:25 +0000 (09:48 +0000)]
(bug 19729) Fix fatal in Article::showPatrolFooter()
Purodha B Blissenbach [Wed, 15 Jul 2009 09:41:34 +0000 (09:41 +0000)]
Message grammar fixed + detail added.
Roan Kattouw [Wed, 15 Jul 2009 09:40:06 +0000 (09:40 +0000)]
(bug 19728) Use wfDebug() instead of print for debugging in UploadBase.php . Patch by OverlordQ
Alexandre Emsenhuber [Wed, 15 Jul 2009 09:39:38 +0000 (09:39 +0000)]
* remove wfSpecialUpload() since UploadForm now extends SpecialPage
* fix E_STRICT declaration of UploadForm::execute() should be compatible with SpecialPage::execute()
Roan Kattouw [Wed, 15 Jul 2009 09:38:07 +0000 (09:38 +0000)]
(bug 19726) Missing schema updates break file uploads for Postgres. Patch by OverlordQ
Niklas Laxström [Wed, 15 Jul 2009 07:38:17 +0000 (07:38 +0000)]
Only whitespace changes
Jack Phoenix [Wed, 15 Jul 2009 07:05:51 +0000 (07:05 +0000)]
coding style cleanup for new files in js2 folder
Niklas Laxström [Wed, 15 Jul 2009 06:43:42 +0000 (06:43 +0000)]
Couple of issues in r53270: use accessor method and keep the function signature bc
Raimond Spekking [Wed, 15 Jul 2009 06:36:25 +0000 (06:36 +0000)]
Follow-up r53282: Add new message keys to maintenance script
Raimond Spekking [Wed, 15 Jul 2009 06:31:15 +0000 (06:31 +0000)]
Revert part of r53282 due to merge out of sync
Niklas Laxström [Wed, 15 Jul 2009 06:26:49 +0000 (06:26 +0000)]
Add hidden title, would otherwise go to the main page with ugly urls for some reason
Remember the dot [Wed, 15 Jul 2009 05:10:38 +0000 (05:10 +0000)]
Added popular colored watchlist numbers, which make probable deletion vandalism stand out more, to MediaWiki itself for all to enjoy. The idea originated from Mets501 of the English Wikipedia in December 2006, and has since spread to the Japanese, French, Polish, Russian, and Portuguese Wikipedias. Most likely it has been copied to some smaller projects also which I have not checked, but in any case it is a feature worth having by default.
Remember the dot [Wed, 15 Jul 2009 04:18:16 +0000 (04:18 +0000)]
Applied image attribute improvements from r52726 to galleries as well
Chad Horohoe [Wed, 15 Jul 2009 02:03:21 +0000 (02:03 +0000)]
(bug 16497) Paginate Special:AllMessages
Michael Dale [Wed, 15 Jul 2009 01:02:13 +0000 (01:02 +0000)]
some merge fixes per comments on r53282
Jack Phoenix [Wed, 15 Jul 2009 00:55:58 +0000 (00:55 +0000)]
follow-up to r53282:
*coding style tweaks
*added __METHOD__ to some wfDebug calls
*removed php ending tag from mwScriptLoader.php
*some doxygen docs added
Michael Dale [Wed, 15 Jul 2009 00:31:09 +0000 (00:31 +0000)]
fixed some bad merging on DefaultSettings.php
Michael Dale [Tue, 14 Jul 2009 23:52:14 +0000 (23:52 +0000)]
here it is ... the upload-api, script-server, js2 (javascript phase2) branch merge 1st attempt.
Here is a short overview of changes and associated default configuration variables (most everything is off by default) also see ~soon to be updated~: http://www.mediawiki.org/wiki/Media_Projects_Overview
= Upload Improvements =
==Upload API ==
* Based on the early work of Bryan Tong and others it adds the upload option to the api.
* We rewrite Special:Upload page to include use the new refactoring
* Added in token checks in both the SpecialUpload.php page so avoids DOS / xss copy-by-url JavaScript based cross site POST file submissions
== Copy by URL==
$wgAllowCopyUploads = false;
* http class rewrite includes a new http background download see: includes/HttpFunctions.php
* spins off a php process that calls: maintenance/http_session_download.php
* pushes updates to the session and gives the user a progress bar on http copy uploads from other server progress (using js2 upload interface) (if not using the js2 upload interface it does the request in-place but the download is limited to the php ini timeout time)
== Firefogg ==
* Firefogg enables resumable upload by chunks
* progress indicators and conditional invokation (js2 system)
* and of-course client side transcoding.
= Script Server =
$wgEnableScriptLoader = false;
* off by default if $wgEnableScriptLoader is turned on script files are grouped, gziped, cached etc.
for more info see: http://www.mediawiki.org/wiki/Extension:ScriptLoader
* Includes some early skin js include fixes (skin/script system still lots of love)
* Includes a "javascript class autoloader" this is packaged into mwEmbed so that the mwEmbed library can work in stand alone mode (while retaining localization and script serving) (one such application is the make page for firefogg.org : http://www.firefogg.org/make/index.html )
* The file that contains the autojavascript loading classes is: js2/php/jsAutoloadLocalClasses.php
* One can use this auto class loading dependency system with extensions and add-ons but I need to better document that.
= js2 system / mwEmbed=
$wgEnableJS2system = false
* includes initial rewrite towards more jquery based javascript code
* especially for the Special:Upload page.
* Also the edit page include support for the "add-media-wizard"
* includes dependency loader for javascript that optionally takes advantage of the script-loader
* remote embedding of javascript interfaces (like embedding video, or commons media searching)
* $wgDebugJavaScript = false; .. .this variable lets you always get "always fresh javascript". When used with the script-loader it does not minify the script-loader output.
= mwEmbed =
* Will commit a separate patch to oggHandler that conditionally outputs <video tag> to use the new javascript video player.
** mv_embed player includes: play-head, volume control, remote embedding, oggz-chop support across plugins.
* add-media-wizard adds easy inserts of media to pages (with import)
== jQuery==
* we include a base install of jQuery, jQuery ui and some plugins.
* all the javascript classes are in the scriptloader so its easy to load any set of jquery ui components that you may need using the script-server. You get a callback so you can then execute js with dependencies loaded.
== other stuff ==
there is a bit more code in js2 that pertains to sequence editing, timed text display and basic image editing. We include a base import of pixastic-lib & pixastic-editor... will work with the pixastic developer to try and ensure upstream compatibility on our usage of the library for in-browser photo and sequence manipulation.
Chad Horohoe [Tue, 14 Jul 2009 23:14:14 +0000 (23:14 +0000)]
(bug 19513) Minor changes for the new search UI for RTL wikis
Trevor Parscal [Tue, 14 Jul 2009 22:25:47 +0000 (22:25 +0000)]
Made the icon a little better looking.
Trevor Parscal [Tue, 14 Jul 2009 22:14:36 +0000 (22:14 +0000)]
Added a background image to the simple search box and adjusted the sizing and spacing a bit.
Trevor Parscal [Tue, 14 Jul 2009 22:07:33 +0000 (22:07 +0000)]
Adjusted the style of simple search.
Trevor Parscal [Tue, 14 Jul 2009 22:05:11 +0000 (22:05 +0000)]
Added default setting for $wgVectorUseSimpleSearch.
Trevor Parscal [Tue, 14 Jul 2009 21:53:57 +0000 (21:53 +0000)]
Added optional simplified search in header configured using$wgVectorUseSimpleSearch.
Tomasz Finc [Tue, 14 Jul 2009 21:38:43 +0000 (21:38 +0000)]
Marking redirects in XML
Roan Kattouw [Tue, 14 Jul 2009 21:25:33 +0000 (21:25 +0000)]
Add returntoquery= parameter to Special:Userlogin which adds a query string to the "Return to" link. Also using this parameter in the Log in and Log out links on top of the screen, so that people who click Log in from e.g. an edit page will be taken back to the edit page rather than to the page view.
Aryeh Gregor [Tue, 14 Jul 2009 21:02:32 +0000 (21:02 +0000)]
Fix bug, werdna not on Special:Version
Trevor Parscal [Tue, 14 Jul 2009 21:01:11 +0000 (21:01 +0000)]
Improved smoothness of gradient.
Bryan Tong Minh [Tue, 14 Jul 2009 20:48:00 +0000 (20:48 +0000)]
(bug 19090) Added watchlist parameter, deprecated watch and unwatch parameter in action=edit
Bryan Tong Minh [Tue, 14 Jul 2009 20:14:47 +0000 (20:14 +0000)]
(bug 19040) Fix prependtext and appendtext in combination with section parameter in action=edit
Alexandre Emsenhuber [Tue, 14 Jul 2009 18:44:32 +0000 (18:44 +0000)]
missing globals
Trevor Parscal [Tue, 14 Jul 2009 17:44:06 +0000 (17:44 +0000)]
Deafulted to a 0 minimum width on modern FF browsers.
Trevor Parscal [Tue, 14 Jul 2009 17:39:00 +0000 (17:39 +0000)]
More RTL fixes and also another fix to r52944 which broke the inclusion of common/IEFixes.js
Raimond Spekking [Tue, 14 Jul 2009 13:47:58 +0000 (13:47 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-14 12:50 UTC)
Roan Kattouw [Tue, 14 Jul 2009 13:35:07 +0000 (13:35 +0000)]
* Fix typo in Linker.php
* Only call ParserOutput::setTOCHTML() if a TOC was really generated
Roan Kattouw [Tue, 14 Jul 2009 08:44:58 +0000 (08:44 +0000)]
Revert r53147 properly; was supposed to be reverted in r53167, but I wasn't fully awake at the time.
Trevor Parscal [Tue, 14 Jul 2009 07:25:50 +0000 (07:25 +0000)]
More IE fixes for RTL, getting quite close now.
Trevor Parscal [Tue, 14 Jul 2009 04:55:19 +0000 (04:55 +0000)]
Refactor of Vector skin output and RTL strategy. Needs more testing, but it seems to be working very well so far.
Aryeh Gregor [Tue, 14 Jul 2009 00:55:17 +0000 (00:55 +0000)]
Use parentheses for reliability
Follow-up to r53196.
Trevor Parscal [Mon, 13 Jul 2009 22:57:24 +0000 (22:57 +0000)]
Added more instructions to the comments to do with cssjanus.
Trevor Parscal [Mon, 13 Jul 2009 22:48:47 +0000 (22:48 +0000)]
Fixed bug caused in r52944 - where the inclusion of csshover.htc was lost in the move towards $wgOut->headElement(). Also, simplified the LTR/RTL inclusion - bringing the logic into the output page object.
Trevor Parscal [Mon, 13 Jul 2009 22:18:28 +0000 (22:18 +0000)]
Resolved some link coloring issues in the navigation tabs. Regenerated the RTL stylesheet using cssjanus. Made comments more logical for this type of operation.
Trevor Parscal [Mon, 13 Jul 2009 22:14:43 +0000 (22:14 +0000)]
Moved buildNavigationUrls back into Vector to make deployment more sane for now - this action will likely be reversed in the future when head is deployable.
Bryan Tong Minh [Mon, 13 Jul 2009 21:56:24 +0000 (21:56 +0000)]
(bug 19571) Override buildConcat for SQLite.
Bryan Tong Minh [Mon, 13 Jul 2009 21:39:57 +0000 (21:39 +0000)]
Add the 403 fix from r49833 to RawPage as well.
Bryan Tong Minh [Mon, 13 Jul 2009 21:37:49 +0000 (21:37 +0000)]
(bug 19528) Added XSLT parameter to API queries in format=xml
Robin Pepermans [Mon, 13 Jul 2009 20:27:34 +0000 (20:27 +0000)]
fix syntax error