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
Trevor Parscal [Mon, 13 Jul 2009 20:22:41 +0000 (20:22 +0000)]
Fixed display issue when raising font size really high, tabs would show background color, which is needed for displaying without images.
Andrew Garrett [Mon, 13 Jul 2009 20:16:07 +0000 (20:16 +0000)]
Remove is_khtml condition from prefs.js -- KHTMLFixes.css has been deleted
Rotem Liss [Mon, 13 Jul 2009 18:43:06 +0000 (18:43 +0000)]
Fixing a syntax error in rtl.css.
Tim Starling [Mon, 13 Jul 2009 15:36:41 +0000 (15:36 +0000)]
Fix dodgy uses of wfMsgHtml() and related HTML escaping
Alex Z [Mon, 13 Jul 2009 14:54:38 +0000 (14:54 +0000)]
Followup to r53087 / r53052 - Change dieUsage to setWarning per CodeReview
Roan Kattouw [Mon, 13 Jul 2009 12:40:19 +0000 (12:40 +0000)]
Revert r53147, r53149 and r53163 ("Add API module for QueryPage-based special pages"): this has already been worked on more extensively and cleanly in the querypage-work branch, if you wanna work on this please finalize the implementation there rather than reinventing the wheel.
Bryan Tong Minh [Mon, 13 Jul 2009 10:40:29 +0000 (10:40 +0000)]
* Added ancientpages, deadendpages and disambiguations to ApiQueryQuerypage
* Added information about disabledness and cache to result
Niklas Laxström [Mon, 13 Jul 2009 10:36:44 +0000 (10:36 +0000)]
Didn't mean to commit this, but the lovely svn automatically added it for me
Niklas Laxström [Mon, 13 Jul 2009 10:34:31 +0000 (10:34 +0000)]
Some escaping fixes and related readability changes
Alexandre Emsenhuber [Mon, 13 Jul 2009 09:59:04 +0000 (09:59 +0000)]
RELEASE-NOTES entry for r53159
Alexandre Emsenhuber [Mon, 13 Jul 2009 09:42:37 +0000 (09:42 +0000)]
(bug 19693) escape user link in contribution link
Aryeh Gregor [Mon, 13 Jul 2009 00:03:08 +0000 (00:03 +0000)]
Remove redundant RELEASE-NOTES line
It's already stated that the <a> element has been removed entirely, so
there's no need to say that its name attribute has been removed.
Remember the dot [Sun, 12 Jul 2009 23:32:16 +0000 (23:32 +0000)]
Removed repetition of URIs in the title attributes (tooltips) of external links. Web browsers typically display the target URIs of links in the status bar, making repeating the URIs in tooltips redundant. Some browsers, like Opera, can be configured to display the URIs in tooltips instead of the status bar without the web page having to supply title attributes at all.
As part of this process, I refactored some of Linker.php and removed an unused parameter from getExternalLinkAttributes.
Bryan Tong Minh [Sun, 12 Jul 2009 21:51:47 +0000 (21:51 +0000)]
(bug 14869) Allow access to QueryPage-based special pages via API
Only brokenredirects for now, until I find out which other special pages are suitable.
Bryan Tong Minh [Sun, 12 Jul 2009 21:16:58 +0000 (21:16 +0000)]
Refactored the querying code out of the display code, to allow a future API module for query pages. No user visible changes.
Aryeh Gregor [Sun, 12 Jul 2009 18:52:32 +0000 (18:52 +0000)]
Do not load old CSS fixes for new browsers
It's bad form to load a fix for "version X and later". That means that
if the browser vendor fixes the underlying bug, they'll be served
incorrect markup and break. On the other hand, if you check for just
"version X", then if they fix the bug they'll be fine, but if they
*don't* fix the bug they'll break, which is as it should be. :)
Specifically, I disabled loading RTL fixes for Opera 9.6: my testing
shows that they worsen display, don't improve it. All other fixes were
already not being loaded for browsers later than they should have been.
(Other than the five-year-old KHTML fix I removed outright in r53141,
which was loading for modern-day Safari and Chrome despite the
underlying bug very possibly having been fixed before WebKit even
existed . . .)
While I was at it, I made the variable names a bit saner. I kept the
old weird ones (none are clear on which versions they include) for
backward compatibility in case scripts were relying on them. Except
is_ff2_, which was so atrociously named that I had to put it out of its
misery. For the others, I added new xxx_bugs variables to make it clear
that's all they were tracking.
Aryeh Gregor [Sun, 12 Jul 2009 18:36:31 +0000 (18:36 +0000)]
Re-enable $wgHtml5
The rendering issue that prompted r53137 has been fixed in r53141.
However, everyone should be on the lookout for browsers becoming
slightly more standards-compliant when this is enabled, possibly
breaking some things. Since there are no known issues, it should be
safe to re-enable so it can get further testing. See this page for info
on the effects of different doctypes:
http://hsivonen.iki.fi/doctype/
Aryeh Gregor [Sun, 12 Jul 2009 18:36:18 +0000 (18:36 +0000)]
Remove KHTMLFixes.css
This was added more than five years ago, in r3532. It was being loaded
for WebKit as well as KHTML, and I could notice no difference in either
Chrome or Konqueror whether it was loaded or not. It was responsible
for causing display errors with an HTML 5 doctype in WebKit.
Aryeh Gregor [Sun, 12 Jul 2009 17:55:18 +0000 (17:55 +0000)]
Turn off $wgHtml5 by default
I discovered that the HTML 5 doctype does in fact trigger standards
mode in all major browsers . . . but the old XHTML 1.0 Transitional
doctype we were using did *not*. It triggers "almost standards mode" in
some browsers. The difference is causing some rendering issues that
will have to block deployment for the moment.
See r53034, r53035, r53136.
Aryeh Gregor [Sun, 12 Jul 2009 16:58:33 +0000 (16:58 +0000)]
Fix for r53034: left off \n on doctype
I knew it had to be impossible to change two lines without breaking
something. :)
Bryan Tong Minh [Sun, 12 Jul 2009 12:38:03 +0000 (12:38 +0000)]
(bug 18533) Add readonly reason to readonly exception
Bryan Tong Minh [Sun, 12 Jul 2009 12:10:27 +0000 (12:10 +0000)]
(bug 17809) Add number of users in user groups to meta=siteinfo
Tim Starling [Sun, 12 Jul 2009 05:37:12 +0000 (05:37 +0000)]
Added $wgShowArchiveThumbnails, may be useful for file store backend load reduction.
Roan Kattouw [Sun, 12 Jul 2009 00:31:53 +0000 (00:31 +0000)]
Revert unintended change from r53128
Roan Kattouw [Sun, 12 Jul 2009 00:30:09 +0000 (00:30 +0000)]
Bump $wgStyleVersion for all the Vector-related fixes made in the past week or so.
Alexandre Emsenhuber [Sat, 11 Jul 2009 19:07:55 +0000 (19:07 +0000)]
follow-up r53116: let's just delete the files since the feature was reverted in r41405 but these files were not deleted
Alexandre Emsenhuber [Sat, 11 Jul 2009 18:09:30 +0000 (18:09 +0000)]
renamed NAMESPACE constant to NAMESPACE_RESTRICTION (and PAGE to PAGE_RESTRICTION for consistency) to avoid E_PARSE on PHP 5.3+
Victor Vasiliev [Sat, 11 Jul 2009 13:03:35 +0000 (13:03 +0000)]
Add function-like tag hooks. They are tags, which content is not preprocessed. Those hooks has access to PPFrame and are parsed on preprocessing stage. They might be useful for built-in programming languages.
Robert Stojnić [Sat, 11 Jul 2009 10:28:23 +0000 (10:28 +0000)]
Add search term to search-nonefound since wiktionaries want it.
Shinjiman [Sat, 11 Jul 2009 09:16:52 +0000 (09:16 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Domas Mituzas [Sat, 11 Jul 2009 08:15:37 +0000 (08:15 +0000)]
good catch, $wgServer definitely needs trailing slash added =)
Domas Mituzas [Sat, 11 Jul 2009 08:04:31 +0000 (08:04 +0000)]
Fix Bug#19637 - self-referencing externals will be by default filtered out
Remember the dot [Sat, 11 Jul 2009 05:00:19 +0000 (05:00 +0000)]
Updated RELEASE-NOTES for r52963 and r53033
Remember the dot [Sat, 11 Jul 2009 04:47:12 +0000 (04:47 +0000)]
Updated parser tests for r52726. Also fixed some corner cases and updated the parser test for PMID links.
Alex Z [Fri, 10 Jul 2009 23:46:13 +0000 (23:46 +0000)]
Followup to r53052 - Die if someone tries to use the namespace filter, rather than silently igoring it.
Add a note if its disabled in the param description
Roan Kattouw [Fri, 10 Jul 2009 22:10:02 +0000 (22:10 +0000)]
Fix up r52413: readd missing line per CR comment
Domas Mituzas [Fri, 10 Jul 2009 13:55:48 +0000 (13:55 +0000)]
don't allow querying specific namespace if misermode is enabled
Tim Starling [Fri, 10 Jul 2009 11:54:32 +0000 (11:54 +0000)]
Made wfMsg('') and wfMsg(null) silently return <> as it did before r52503. Thanks to those who supplied backtraces.
Philip Tzou [Fri, 10 Jul 2009 11:45:08 +0000 (11:45 +0000)]
(bug 19620) Allow to convert a string immediately after a new rule added.
Raimond Spekking [Fri, 10 Jul 2009 10:38:43 +0000 (10:38 +0000)]
* (bug 19630) Add linktrail to Turkmen
Aryeh Gregor [Fri, 10 Jul 2009 04:24:31 +0000 (04:24 +0000)]
RELEASE-NOTES for r53034
Aryeh Gregor [Fri, 10 Jul 2009 04:19:51 +0000 (04:19 +0000)]
Experimentally enable HTML 5 doctype
Per wikitech-l discussion. This also removes a <meta> tag that was
completely pointless, but theoretically required by XHTML 1, yet causes
the HTML 5 validator to complain.
Together with a few other recent commits, this should cause at least
Special:BlankPage to validate as HTML 5. Real pages may still have some
invalid markup that should be fixed -- in a large majority of cases,
markup that was poor practice in XHTML as well. (The Wikimedia
copyright icon needs to have border="0" removed for everything to
validate 100% on Wikipedia.)
By Brion's request, this is still behind a config option, and can be
disabled with $wgHtml5 = false;. I expect we'll be able to remove that
option in the near future, once everyone is satisfied that changing two
lines of HTML output that all browsers have demonstrably ignored since
the Paleolithic won't cause all Wikipedia users' computers to undergo a
spontaneous uncontrolled fission reaction or something.
Aryeh Gregor [Fri, 10 Jul 2009 04:19:33 +0000 (04:19 +0000)]
Remove stray name="" from anchors (cf. r52963)
Aryeh Gregor [Fri, 10 Jul 2009 02:13:02 +0000 (02:13 +0000)]
Finish cross-skin unification of <head>
Vector and Modern are now using $wgOut->headElement(), finishing the
work that r52864 started. -80 lines net.
Trevor Parscal [Thu, 9 Jul 2009 21:27:59 +0000 (21:27 +0000)]
Added no-text-transform class for use with extra personal tools which should not be lowercase.
Trevor Parscal [Thu, 9 Jul 2009 17:08:30 +0000 (17:08 +0000)]
Fixed IE bug that caused some rendering problems with floated content because of the assumed width of bodyContent.
Andrew Garrett [Thu, 9 Jul 2009 15:19:05 +0000 (15:19 +0000)]
Release notes updates for r52983
Andrew Garrett [Thu, 9 Jul 2009 15:17:56 +0000 (15:17 +0000)]
* Allow leading-> as syntax for quoting.
Philip Tzou [Thu, 9 Jul 2009 13:44:55 +0000 (13:44 +0000)]
Update the Chinese conversion tables.
Remember the dot [Thu, 9 Jul 2009 03:50:49 +0000 (03:50 +0000)]
Removed redundant anchors from headings as suggested by Aryeh Gregor on wikitech-l. Even IE6 supports jumping to elements by ID using URLs, so there is no need to make this any more complicated than it has to be.
Aryeh Gregor [Thu, 9 Jul 2009 01:04:10 +0000 (01:04 +0000)]
Remove redundant no-op implementations
Followup to r52951.
Aryeh Gregor [Thu, 9 Jul 2009 01:03:57 +0000 (01:03 +0000)]
Adjust error message to be clearer for empty var
Chad Horohoe [Thu, 9 Jul 2009 00:28:01 +0000 (00:28 +0000)]
(bug 19602) PubMed Magic links use outdated URL pattern
Chad Horohoe [Thu, 9 Jul 2009 00:14:43 +0000 (00:14 +0000)]
(bug 19591) Move setBigSelects() to DatabaseMysql
Siebrand Mazeland [Wed, 8 Jul 2009 22:21:16 +0000 (22:21 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-08 22:14 UTC)
Trevor Parscal [Wed, 8 Jul 2009 20:59:59 +0000 (20:59 +0000)]
Moved buildNavigationUrls into SkinTemplate from SkinVector which inherits SkinTemplate - as was originally intended.
Rotem Liss [Wed, 8 Jul 2009 20:04:17 +0000 (20:04 +0000)]
Localization update.
Shinjiman [Wed, 8 Jul 2009 19:57:53 +0000 (19:57 +0000)]
* (bug 17712) fix the hardcoded link on 'newarticletext' for zh message series.
Ævar Arnfjörð Bjarmason [Wed, 8 Jul 2009 19:26:15 +0000 (19:26 +0000)]
Make this error more understandable to someone who runs this script expecting that it has a working getopt implementation
Trevor Parscal [Wed, 8 Jul 2009 19:12:13 +0000 (19:12 +0000)]
Resolves issue in #19185 where, in text only browsers, headings of personal tools were shown even if no personal tools were available. This was also the case with namespaces aparently.
ThomasV [Wed, 8 Jul 2009 18:47:46 +0000 (18:47 +0000)]
documenting EditPage::importFormData
ThomasV [Wed, 8 Jul 2009 18:19:07 +0000 (18:19 +0000)]
adding web request parameter for consistency
Trevor Parscal [Wed, 8 Jul 2009 18:02:17 +0000 (18:02 +0000)]
Resolves bug #19599 using specific rules rather than !important
Roan Kattouw [Wed, 8 Jul 2009 17:59:08 +0000 (17:59 +0000)]
Fix up hook docs for SkinTemplateNavigation
Aaron Schulz [Wed, 8 Jul 2009 17:23:26 +0000 (17:23 +0000)]
typo
Alexandre Emsenhuber [Wed, 8 Jul 2009 17:09:41 +0000 (17:09 +0000)]
fix for r52864: PHP Strict Standards: Declaration of SkinStandard::getHeadScripts() should be compatible with that of Skin::getHeadScripts() in includes/Skin.php on line 141