Greg Sabino Mullane [Mon, 20 Jul 2009 02:20:15 +0000 (02:20 +0000)]
Add standardSelectDistinct() function to help fork queries based on whether the order by items must appear in the select distinct list. See bug 18078.
Chad Horohoe [Mon, 20 Jul 2009 02:18:12 +0000 (02:18 +0000)]
Followup to r52477. Call unlock/lock in correct order :)
Purodha B Blissenbach [Mon, 20 Jul 2009 02:14:54 +0000 (02:14 +0000)]
Allow date/time separation in the data following MediaWiki:prefs-registration
Brion Vibber [Mon, 20 Jul 2009 02:07:56 +0000 (02:07 +0000)]
* (bug 14080) Short notation links to subpages didn't work in edit summaries
Moved Parser::maybeDoSubpage guts to Linker to call from both locations.
Added some parser test cases.
Note that this might not behave exactly like the main parser in cases where the link text would get altered, but the links are functional. Yay!
Aaron Schulz [Mon, 20 Jul 2009 02:04:54 +0000 (02:04 +0000)]
Extra quotes are breaking wfShellExecute() for me...need to look into this more to see what changed (PHP or cmd?)
Greg Sabino Mullane [Mon, 20 Jul 2009 01:56:04 +0000 (01:56 +0000)]
Note fixing of 19445.
Greg Sabino Mullane [Mon, 20 Jul 2009 01:54:36 +0000 (01:54 +0000)]
Full support for modified oldimage FK constraint to do ON UPDATE CASCASE as well as ON DELETE CASCADE. Thanks to Robert Fleming for reporting and supplying a patch in bug #19445.
Greg Sabino Mullane [Mon, 20 Jul 2009 01:42:24 +0000 (01:42 +0000)]
For oldimage table, do ON UPDATE CASCADE. Per bug #19445.
Note: still needs adjustments to updaters.inc
Brion Vibber [Mon, 20 Jul 2009 01:40:47 +0000 (01:40 +0000)]
Finally add a damn string->array parser for parser test case options, so it's easier to add more.
Aryeh Gregor [Mon, 20 Jul 2009 00:52:14 +0000 (00:52 +0000)]
Fix fatal from r53504
Apparently a) var $foo = $bar = 'baz' doesn't work in PHP, and b) I
should try viewing pages with action=purge to make sure there aren't
actually any fatals.
Purodha B Blissenbach [Mon, 20 Jul 2009 00:44:39 +0000 (00:44 +0000)]
add GENDER support to revision-info
Aaron Schulz [Mon, 20 Jul 2009 00:42:50 +0000 (00:42 +0000)]
reverted r53502: FATAL from untested code
Aryeh Gregor [Mon, 20 Jul 2009 00:33:23 +0000 (00:33 +0000)]
Use member variable defaults for SkinTemplate
Brion Vibber [Mon, 20 Jul 2009 00:20:33 +0000 (00:20 +0000)]
Add support for running test cases on the Linker::formatComment() mini-parser, so we can protect against behavior regressions there.
Aryeh Gregor [Sun, 19 Jul 2009 22:02:00 +0000 (22:02 +0000)]
Add experimental new auth framework, ExternalAuth
This should not affect any existing behavior. (Except that it reorders
some error conditions in attemptAutoCreate(), but probably no one cares
about that.) It adds a new database table, but it will be unused unless
you enable external authentication.
An outline of the rationale for this system, and the design planning, is
at <http://www.mediawiki.org/wiki/ExternalAuth>. Essentially,
AuthPlugin puts too much of a burden on plugin authors, requiring them
to write a lot of policy logic instead of just handling the actual
interface to the external user database. This system uses a standard
framework to decide policy questions, and auth plugins only need to
provide some low-level, clearly-specified data.
There are lots of features still missing, marked in the code, but basic
functionality is present. The commit includes initial support for one
type of external authentication, the forum software vBulletin (which I
happen to know well, and want to integrate with my MediaWiki).
I'm encouraging the inclusion of ExternalAuth plugins in core because in
this framework, the amount of code required to add an additional backend
is quite small -- well under 100 lines in this case. I'd hope to see a
lot more of these, and it seems unreasonable to make an armada of tiny
extensions instead of letting them live happily in their own directory
out of everyone's way.
Brion Vibber [Sun, 19 Jul 2009 21:25:47 +0000 (21:25 +0000)]
* (bug 17139) ts_resortTable inconsistent trimming makes date sorting fragile
Added a trim on the sort key preprocessing as well as the picking of the preprocessor
Siebrand Mazeland [Sun, 19 Jul 2009 21:17:00 +0000 (21:17 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-19 21:09 UTC)
Brion Vibber [Sun, 19 Jul 2009 20:21:28 +0000 (20:21 +0000)]
* (bug 18751) Fix for buggage in profiling setup for some extensions on PHP 5.1
Patch by GreenReaper: http://bug-attachment.wikimedia.org/attachment.cgi?id=6246
Alex Z [Sun, 19 Jul 2009 20:03:13 +0000 (20:03 +0000)]
(bug 19564) Update docs/hooks.txt
Brion Vibber [Sun, 19 Jul 2009 19:59:12 +0000 (19:59 +0000)]
* (bug 19287) Workaround for lag on history page in Firefox 3.5
Added id attributes to diff radios and show/hide check boxes; this is to work around a bug in Firefox 3.5 where form session saving hangs for a while after each change when a page contains hundreds of anonymous radio and checkboxes.
Alexandre Emsenhuber [Sun, 19 Jul 2009 19:48:08 +0000 (19:48 +0000)]
add includes/upload/ to findhooks.php's path list
Rotem Liss [Sun, 19 Jul 2009 19:44:59 +0000 (19:44 +0000)]
Localization update.
Brion Vibber [Sun, 19 Jul 2009 19:41:56 +0000 (19:41 +0000)]
* (bug 19355) Added .xhtml, .xht to upload file extension blacklist
Alexandre Emsenhuber [Sun, 19 Jul 2009 19:37:08 +0000 (19:37 +0000)]
fix for r53483, use tabs for identations, not spaces :)
Siebrand Mazeland [Sun, 19 Jul 2009 17:43:13 +0000 (17:43 +0000)]
Add major contributors raymond, ialex, siebrand
Brion Vibber [Sun, 19 Jul 2009 17:24:48 +0000 (17:24 +0000)]
* (bug 19827) Special:SpecialPages title is "Upload file
Restructured SpecialUpload class was performing output in constructor; this messed up other pages using the object in the background, as Special:Specialpages
Brion Vibber [Sun, 19 Jul 2009 17:07:03 +0000 (17:07 +0000)]
* (bug 19761) Removed autogenerated <meta keywords> tag with link data.
Keyword set was not useful, and is ignored by modern search engines anway.
Brion Vibber [Sun, 19 Jul 2009 16:49:58 +0000 (16:49 +0000)]
* (bug 19784) date option "ISO 8601" produced illegal id
Now running auto-generated id/names for radio group items through Sanitizer::escapeId().
For good measure, also manually checking the input 'name' and 'id' field values for base fields against validation and throwing an exception if we ain't got em.
Siebrand Mazeland [Sun, 19 Jul 2009 14:47:03 +0000 (14:47 +0000)]
Use localised parentheses and $wgLang->pipeList() instead of hardcoded parentheses and pipe characters.
Siebrand Mazeland [Sun, 19 Jul 2009 14:36:32 +0000 (14:36 +0000)]
Use $wgLang->pipeList() instead of separating with "/"
Alexandre Emsenhuber [Sun, 19 Jul 2009 12:27:48 +0000 (12:27 +0000)]
svn:eol-style native
Aryeh Gregor [Sun, 19 Jul 2009 06:08:09 +0000 (06:08 +0000)]
Allow wikitext to be used in nologin, etc.
These are the primary messages on Special:UserLogin, so it's reasonable
to permit formatting.
Aaron Schulz [Sun, 19 Jul 2009 00:33:30 +0000 (00:33 +0000)]
bug 18725 add revision suppression UI on deleted revision page
Alex Z [Sat, 18 Jul 2009 22:49:31 +0000 (22:49 +0000)]
(bug 19814) - Interwiki links from file links - [[File:Foo.jpg|link=de:Test]] - are no longer recorded in the pagelinks table
Also update Parser::makeImage() docs for the link option
Alexandre Emsenhuber [Sat, 18 Jul 2009 21:25:11 +0000 (21:25 +0000)]
RELEASE-NOTES entry for r53457 (oops)
Alexandre Emsenhuber [Sat, 18 Jul 2009 21:23:18 +0000 (21:23 +0000)]
(bug 19759) successbox on Special:Preferences now correctly aligned on standard, nostalgia and cologneblue skins
X! [Sat, 18 Jul 2009 18:06:30 +0000 (18:06 +0000)]
If config/ directory is not executable, the command to make it executable now asks the user to cd to the correct directory
Michael Dale [Sat, 18 Jul 2009 15:11:41 +0000 (15:11 +0000)]
Destination Check fixes
Raimond Spekking [Sat, 18 Jul 2009 14:59:17 +0000 (14:59 +0000)]
Follow-up r53286: No need to create a label without following input element.
Raimond Spekking [Sat, 18 Jul 2009 14:36:42 +0000 (14:36 +0000)]
Follow-up r53286: More fixes for invalid HTML
Alexandre Emsenhuber [Sat, 18 Jul 2009 14:24:24 +0000 (14:24 +0000)]
fixes for r53282:
* readded Skin::getHeadScript() comment
* removed pass-by-ref for $out, not needed
* removed "implode ( "\n\t", $r )", since $r is no more used
* updated SkinStandard::getHeadScript() to have the same parameters
Chad Horohoe [Sat, 18 Jul 2009 14:07:28 +0000 (14:07 +0000)]
Accept the subpage value (ie: Special:Allmessages/fr) also
Raimond Spekking [Sat, 18 Jul 2009 13:50:14 +0000 (13:50 +0000)]
Follow-up r53286: Fix some issues:
* Fix invalid HTML
* Show language code in list too (for consistency with Special:Preferences)
* Change CSS class/ID names to stick with our code standards (mw-...)
* Use more proper XML functions
* Add some messages for the input form instead of reusing messages from other forms to make i18n easier
Niklas Laxström [Sat, 18 Jul 2009 10:39:03 +0000 (10:39 +0000)]
Avoid E_NOTICE on empty strings
Shinjiman [Sat, 18 Jul 2009 08:07:40 +0000 (08:07 +0000)]
Localisation updates Cantonese, Chinese and Literary Chinese
Niklas Laxström [Sat, 18 Jul 2009 07:47:22 +0000 (07:47 +0000)]
* Whitespace
* Post to $wgScript.. we do not need crawlers here
* E_NOTICE with unchecked use of explode results
Niklas Laxström [Sat, 18 Jul 2009 07:44:57 +0000 (07:44 +0000)]
Whitespace
Aaron Schulz [Sat, 18 Jul 2009 02:51:41 +0000 (02:51 +0000)]
Enable show/hide link on diff to cur (consistency)
Siebrand Mazeland [Fri, 17 Jul 2009 23:02:23 +0000 (23:02 +0000)]
Localisation updates for core messages from translatewiki.net (2009-07-17 22:50 UTC)
Trevor Parscal [Fri, 17 Jul 2009 22:49:27 +0000 (22:49 +0000)]
Fixes bug 19506 by searching through a few more containers for links which need updateTooltipAccessKeys to be run on them.
Trevor Parscal [Fri, 17 Jul 2009 22:31:53 +0000 (22:31 +0000)]
Reduced superfluous (and bug causing) specificity in most ID based rules.
Aryeh Gregor [Fri, 17 Jul 2009 22:30:27 +0000 (22:30 +0000)]
Update messages.inc for r53423
Siebrand Mazeland [Fri, 17 Jul 2009 22:26:39 +0000 (22:26 +0000)]
Syntax error
Aryeh Gregor [Fri, 17 Jul 2009 22:19:02 +0000 (22:19 +0000)]
Allow non-integral days for watchlists and RC
Fixes bug 19296. This was a regression due to the preferences work.
Trevor Parscal [Fri, 17 Jul 2009 22:11:09 +0000 (22:11 +0000)]
Changed cursor behavior so that selected tabs no longer use the arrow cursor since they are technically still working links.
Trevor Parscal [Fri, 17 Jul 2009 22:08:54 +0000 (22:08 +0000)]
Adds checks to see if permission keys exist before checking their values.
Michael Dale [Fri, 17 Jul 2009 21:52:06 +0000 (21:52 +0000)]
a few more minor fixes of things lost in the SpecialUpload.php r53282 merge
Michael Dale [Fri, 17 Jul 2009 21:46:43 +0000 (21:46 +0000)]
restored some re-factoring of SpecialUpload.php from prior to r53282 merge
Siebrand Mazeland [Fri, 17 Jul 2009 21:38:58 +0000 (21:38 +0000)]
Follow-up to r53286
* rebuild all messages files
Michael Dale [Fri, 17 Jul 2009 20:26:14 +0000 (20:26 +0000)]
* fixed filldestination with for non-js2 version of special upload page.
* fixed some other warnings that come up in strict compliance mode
* removed double httpspecialchars on token
Trevor Parscal [Fri, 17 Jul 2009 19:09:44 +0000 (19:09 +0000)]
Changed the simple search button from an input tag to a button tag to provide better styling support, especially in older versions of Safari.
Michael Dale [Fri, 17 Jul 2009 19:06:36 +0000 (19:06 +0000)]
fixed php based request path (uses fopen instead of curl) r53282 c3232
Trevor Parscal [Fri, 17 Jul 2009 18:37:35 +0000 (18:37 +0000)]
Made the #p-logo rules less specific to avoid breaking overrides which are not more specific (seen on ar.wikipedia.org for instance). There are allot of uses of element#id which are perhaps not needed in this file - perhaps we could consider removing any specificity that is not absolutely nessecary.
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