Daniel Friesen [Fri, 2 May 2008 06:09:58 +0000 (06:09 +0000)]
Tweak to commandLine.inc to make it follow the MW_INSTALL_PATH environment variable like tweaked maintenance scripts.
Aaron Schulz [Thu, 1 May 2008 23:28:49 +0000 (23:28 +0000)]
$userText
Brion Vibber [Thu, 1 May 2008 23:14:11 +0000 (23:14 +0000)]
* (bug 13925) Fix bad HTML on search results list
remove 'start' attribute left over from when we used <ol>
Aaron Schulz [Thu, 1 May 2008 23:12:37 +0000 (23:12 +0000)]
Clean up username
Brion Vibber [Thu, 1 May 2008 23:00:23 +0000 (23:00 +0000)]
complete fix from r34102
Brion Vibber [Thu, 1 May 2008 22:38:22 +0000 (22:38 +0000)]
* (bug 13820) Fix updater for rev_parent_id population
Was running a command-line entry point from the middle of an updater, which is bad bad bad -- will kill the web installer and may fail on command-line updates, depending on circumstances.
Brion Vibber [Thu, 1 May 2008 22:31:20 +0000 (22:31 +0000)]
* (bug 13924) Fix bad HTML on power search form
Victor Vasiliev [Thu, 1 May 2008 22:16:23 +0000 (22:16 +0000)]
Refactor ImagePage::checkSharedConflict()
Brion Vibber [Thu, 1 May 2008 22:07:24 +0000 (22:07 +0000)]
* (bug 13922) Fix bad HTML on empty Special:Prefixindex and Special:Allpages
Ugh! Somebody please clean up this duplicated code.... allpages and prefixindex have lots of duplicated bits. I swear one used to be a subclass of the other, did they get copied? Or did I do that years ago and forget? :D
Aaron Schulz [Thu, 1 May 2008 21:55:52 +0000 (21:55 +0000)]
Do mysql's job for it
Siebrand Mazeland [Thu, 1 May 2008 21:48:00 +0000 (21:48 +0000)]
Ignore 'activeusers-summary'
Brion Vibber [Thu, 1 May 2008 21:45:03 +0000 (21:45 +0000)]
revert r34094 for now -- requires index that hasn't been deployed yet
Aaron Schulz [Thu, 1 May 2008 21:30:05 +0000 (21:30 +0000)]
* Add a special page to list active users
* Might as well show block status in user list
Aaron Schulz [Thu, 1 May 2008 21:12:11 +0000 (21:12 +0000)]
Fix evil index typo
Brion Vibber [Thu, 1 May 2008 20:55:03 +0000 (20:55 +0000)]
Revert for now:
* r34072 -- new highlighter code; looks a bit expensive, not fully tested yet.
* r33489 -- broke search result highlighting all around
* Part of r32350 -- bring the color back to search highlighting so we can see our results again. Why was this removed without comment?
Aaron Schulz [Thu, 1 May 2008 20:27:09 +0000 (20:27 +0000)]
wrong use of makeTitle() (bug 13907)
Brion Vibber [Thu, 1 May 2008 20:25:17 +0000 (20:25 +0000)]
* (bug 13905) Blacklist Mac IE from HttpOnly cookies; it eats them sometimes
God I wish this browser would finish dying. :D
The particular situation was that the session cookie was getting eaten as "disabled", thus not sent back to the server so your session state never quite happened. Other cookies on submit seemed to come in intact, but without the session cookie you'd get a big fat error message, even if you set the long-term login cookie option.
Mac/IE seems to always *see* the HttpOnly cookies, but it sometimes marks them as "disabled". It seems to be incorrectly parsing the options after the path, sometimes seeing "/;" as the path instead of "/". Failure is more likely if there's no expiration option (as with the session cookie), or if there *is* a secure option set.
Anyway, just set up a user-agent blacklist $wgHttpOnlyBlacklist and copied the Mac/IE entry over. The HttpOnly setting now gets ignored for blacklist hits as well as for old PHP versions, the check being encapsulated into wfHttpOnlySafe().
Also added some logging for cookie settings, around the setcookie() and session_set_cookie_params() calls.
Siebrand Mazeland [Thu, 1 May 2008 20:17:51 +0000 (20:17 +0000)]
Disable plural checks for ka, ms, sq
Siebrand Mazeland [Thu, 1 May 2008 20:04:31 +0000 (20:04 +0000)]
Localisation updates. Rebuild of all language files
Siebrand Mazeland [Thu, 1 May 2008 20:00:10 +0000 (20:00 +0000)]
Localisation updates for core messages from Betawiki (2008-05-01 21:45 CEST)
Alexandre Emsenhuber [Thu, 1 May 2008 18:36:08 +0000 (18:36 +0000)]
(bug 13913) Special:Whatlinkshere now has correct HTML markup
Shinjiman [Thu, 1 May 2008 17:36:21 +0000 (17:36 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Robert Stojnić [Thu, 1 May 2008 15:54:35 +0000 (15:54 +0000)]
Revert r33962, the bad CSS should've been removed. Fixes bug #13914
Aryeh Gregor [Thu, 1 May 2008 15:27:59 +0000 (15:27 +0000)]
(bug 13915) Undefined variable in includes/SpecialWatchlist.php. Patch by Jelte (WebBoy).
Robert Stojnić [Thu, 1 May 2008 13:36:29 +0000 (13:36 +0000)]
New class SearchHighlighter handles highlighting of search terms and
snippet extraction:
* prefer text hits over matches on images/templates/tables, making the
snippets more readable and relevant
* cleanup wikitext
* prefer snippets with exact query match - works only for whole phrases
* drop the old context calculation and replace it will a more flexible one
that does a better job keeping snippets of constant width
* if the first line of the article matches whole query show only one snippet
* manually lower/uppercase non-ascii chars so that words in e.g. cyrillic
are also case-insensitive
* workaround for php limited utf8 support so that snippets end up being of
constant char-size over single and multiple byte text
* if there is no text match for some reason, show beginning of the article
Warning:
* haven't done performance testing, might not be safe to go live, although
I don't see any immediate problems with it
Aaron Schulz [Thu, 1 May 2008 13:03:13 +0000 (13:03 +0000)]
Move group list to $wgSpecialPageGroups to make it easy for extensions to set
Brion Vibber [Wed, 30 Apr 2008 23:49:28 +0000 (23:49 +0000)]
Make the hack from r33376 conditional...
This'll put the username field back in except where disabled (due to need to fix up indexes on wikipedia sites)
Brion Vibber [Wed, 30 Apr 2008 22:05:54 +0000 (22:05 +0000)]
Revert r34029 - "(bug 11659) Urldecode image names in galleries"
The indiscriminate use of urldecode() here breaks image names containing a + character.
Brion Vibber [Wed, 30 Apr 2008 21:25:19 +0000 (21:25 +0000)]
don't need CSS units on non-CSS border attribute
Alexandre Emsenhuber [Wed, 30 Apr 2008 21:05:44 +0000 (21:05 +0000)]
(bug 13891) Show categories box even if all categories are hidden and user has "show hidden categories" option on
Brion Vibber [Wed, 30 Apr 2008 20:30:00 +0000 (20:30 +0000)]
* (bug 13885) Bump default $wgSVGMaxSize from 1024 to 2048 pixels
Files marked as being larger would be horribly client-side scaled on Image: page inline display for users who set their options up to 1280 or larger. 2048 is still not insanely-huge while still encompassing common screen sizes.
Alexandre Emsenhuber [Wed, 30 Apr 2008 19:41:14 +0000 (19:41 +0000)]
Added some missing options to $wgDefaultUserOptions and fixed whitespaces
Brion Vibber [Wed, 30 Apr 2008 18:29:38 +0000 (18:29 +0000)]
* (bug 13880) "Printable" link in Modern skin now formats as print mode
Problem was that the Modern skin uses a different way of setting up the print stylesheet from the other skins.
Others:
* always include main stylesheet
* override that stuff with print stylesheet for print media or ?printable=yes
Modern:
* include main stylesheet only for screen & projection media only
* add some additional print styles for print media or ?printable=yes
The screen stylesheet was still being used when ?printable=yes is set, but would be hidden when actually printing. I've changed it to now exclude the screen stylesheets when ?printable=yes is switched in, so it looks the same on screen as when actually printing.
Brion Vibber [Wed, 30 Apr 2008 17:20:27 +0000 (17:20 +0000)]
and eat that unneeded table name var
Brion Vibber [Wed, 30 Apr 2008 17:19:55 +0000 (17:19 +0000)]
use query constructors; passing hostname string raw into SQL gives me the willies, even if it should always be safe
Brion Vibber [Wed, 30 Apr 2008 17:14:41 +0000 (17:14 +0000)]
safari css system colors seem ok on 3.0 (webkit 523.15)
Greg Sabino Mullane [Wed, 30 Apr 2008 14:52:12 +0000 (14:52 +0000)]
Minor cleanups.
Greg Sabino Mullane [Wed, 30 Apr 2008 14:44:22 +0000 (14:44 +0000)]
Check that no MySQL-isms have snuck into the codebase.
Greg Sabino Mullane [Wed, 30 Apr 2008 14:36:06 +0000 (14:36 +0000)]
Call useIndexClause, not raw FORCE INDEX.
Greg Sabino Mullane [Wed, 30 Apr 2008 14:20:36 +0000 (14:20 +0000)]
Add pf_memory to profiling table for Postgres
River Tarnell [Wed, 30 Apr 2008 10:17:51 +0000 (10:17 +0000)]
(bug 13584) New hook: SkinTemplateToolboxEnd
River Tarnell [Wed, 30 Apr 2008 09:58:18 +0000 (09:58 +0000)]
(bug 13583) No "poweredby" in Modern skin
River Tarnell [Wed, 30 Apr 2008 09:53:19 +0000 (09:53 +0000)]
(bug 13185) No line break after 'subpages' class in Modern skin
River Tarnell [Wed, 30 Apr 2008 09:49:58 +0000 (09:49 +0000)]
Notice: Undefined property: PostgresSearchResult::$mRevision in /data/home/river/www/wiki/includes/SearchEngine.php on line 518
River Tarnell [Wed, 30 Apr 2008 09:36:17 +0000 (09:36 +0000)]
13168 accessibility links in Modern skin link to wrong anchor id
Brion Vibber [Wed, 30 Apr 2008 07:00:02 +0000 (07:00 +0000)]
Style cleanup on AJAX search suggestion dropdown list.
White borders around the highlighted row are removed by collapsing cell spacing and moving the padding inside.
Now using CSS system colors where supported for background, foreground, and highlight colors instead of hardcoded values. These will fit in better with the native controls, especially when high-contrast themes are in use (say, black background, yellow text, and green highlight... :)
Some caveats...
IE 6 and Firefox 2 on Windows look great.
However, a couple caveats on Mac OS X:
* Firefox 3 looks perfect!
* Firefox 2 and other older Gecko browsers, Opera 9.2, and Safari 3.1 provide the *text selection* colors for Highlight and HighlightText, which differ from the *list selection* colors on Mac OS X 10.2 (?) and later. This is technically wrong for what we want, but will at least match the general color selection.
Note that -moz-mac-alternateprimaryhighlight provides the correct background color on Firefox 2/Mac, but IE 6 and Firefox 2 on other platforms don't properly handle a fallback if it's specified straight in the CSS. We could switch it in with JS, but there's not much reason to I think. It still looks and feels fairly native.
* Safari 3.0 and earlier appear to wildly fail with the system colors, though I can't easily test them. There was an ugly WebKit bug where most of the system colors were implemented wrong; Highlight and HighlightText *both show up solid white*, making your text nicely illegible. Since they're implemented (even though wrongly) you can't even set default colors and let them fall through.
See https://bugs.webkit.org/show_bug.cgi?id=6129
I've worked around this by checking the reported WebKit version in the JS and using an alternate class with the hardcoded colors for anything older than what I see in Safari 3.1 (WebKit 525).
Haven't tested anything on Linux; it wouldn't hurt to do a quick sanity check on Konqueror.
Brion Vibber [Tue, 29 Apr 2008 22:27:26 +0000 (22:27 +0000)]
fix parser test case; namespace was missing from link title attribute
Bryan Tong Minh [Tue, 29 Apr 2008 21:50:47 +0000 (21:50 +0000)]
(bug 11659) Urldecode image names in galleries
Brion Vibber [Tue, 29 Apr 2008 20:48:17 +0000 (20:48 +0000)]
* (bug 13860) Fix "Justify paragraphs" option for Modern skin
Adds the appropriate id for Modern skin to the set of justify CSS thingies.
This isn't totally satisfactory; the various skins should be refactored to unify this stuff better, but it'll do for now.
Alexandre Emsenhuber [Tue, 29 Apr 2008 19:18:58 +0000 (19:18 +0000)]
Only load old page_restrictions field if $oldFashionedRestrictions is really null, not also if it's a empty string, wich is passed from Article::loadPageData() in most of cases. This avoid to load twice that field from the database. Thank you, PHP.
Rotem Liss [Tue, 29 Apr 2008 18:52:41 +0000 (18:52 +0000)]
Fix.
Alexandre Emsenhuber [Tue, 29 Apr 2008 16:54:33 +0000 (16:54 +0000)]
Added line breaks to trackbackbox message so that it doesn't break xhtml validity (no other changes). Also rebuild MessagesEn.php.
Aaron Schulz [Tue, 29 Apr 2008 16:50:29 +0000 (16:50 +0000)]
More tweaks
Alexandre Emsenhuber [Tue, 29 Apr 2008 16:35:11 +0000 (16:35 +0000)]
tweaks:
* group master queries with other queries in "SQL Queries" in profileinfo.php
* end 'main-misc-setup' section before executing ajax requests so that they don't get closed by the profiler for ajax requests.
Alexandre Emsenhuber [Tue, 29 Apr 2008 16:07:04 +0000 (16:07 +0000)]
Per r33966: added $id param to ArticleDeleteComplete hook
Aaron Schulz [Tue, 29 Apr 2008 15:42:51 +0000 (15:42 +0000)]
* No need to *1000
* Hide div-by-zero messages
* Fix kb factor
Aaron Schulz [Tue, 29 Apr 2008 15:18:45 +0000 (15:18 +0000)]
Add border to make it easier to see
Aaron Schulz [Tue, 29 Apr 2008 15:14:12 +0000 (15:14 +0000)]
* HTML clean up
* Colors
Alexandre Emsenhuber [Tue, 29 Apr 2008 15:13:46 +0000 (15:13 +0000)]
Adding updater for new pf_memory field
Aaron Schulz [Tue, 29 Apr 2008 15:04:41 +0000 (15:04 +0000)]
Keep this in kb too
Aaron Schulz [Tue, 29 Apr 2008 15:03:21 +0000 (15:03 +0000)]
More sorting
Victor Vasiliev [Tue, 29 Apr 2008 14:55:47 +0000 (14:55 +0000)]
* Hide edit section links on Special:Undelete
Huji [Tue, 29 Apr 2008 14:16:46 +0000 (14:16 +0000)]
* Adding/updating Persian translations
Aaron Schulz [Tue, 29 Apr 2008 12:10:56 +0000 (12:10 +0000)]
Re-arrange a little. Show memory.
Aaron Schulz [Tue, 29 Apr 2008 12:05:25 +0000 (12:05 +0000)]
update insert
Aaron Schulz [Tue, 29 Apr 2008 11:59:10 +0000 (11:59 +0000)]
Add pf_memory field
Rotem Liss [Tue, 29 Apr 2008 10:53:17 +0000 (10:53 +0000)]
Update.
Roan Kattouw [Tue, 29 Apr 2008 09:01:13 +0000 (09:01 +0000)]
API:
* Fixed allcategories paging
* Removed DISTINCT from allcategories query (which only selects a UNIQUE field anyway)
* Improved categorymembers performance; it used to filesort
* Disabled cmstart and cmend for cmsort=sortkey to prevent filesorting
* Fixed categorymembers paging for cmdir=desc
Raimond Spekking [Tue, 29 Apr 2008 06:53:48 +0000 (06:53 +0000)]
Do not show useless input form if wiki is running in misermode
Raimond Spekking [Tue, 29 Apr 2008 05:39:35 +0000 (05:39 +0000)]
Localisation updates Kazakh
Bug 12145, patch by AlefZet
Aryeh Gregor [Tue, 29 Apr 2008 01:43:08 +0000 (01:43 +0000)]
Update documentation links in auto-generated LocalSettings.php
Raimond Spekking [Mon, 28 Apr 2008 19:04:24 +0000 (19:04 +0000)]
Remove 'emailconfirmed' related messages per removal of this group with r33800.
Raimond Spekking [Mon, 28 Apr 2008 18:54:39 +0000 (18:54 +0000)]
Localisation updates German
Alexandre Emsenhuber [Mon, 28 Apr 2008 18:00:58 +0000 (18:00 +0000)]
bug fixes:
* Be sure that article name is escaped when outputing a redirect page
* Mark Xml::buildForm() as static
Rotem Liss [Mon, 28 Apr 2008 17:33:59 +0000 (17:33 +0000)]
Update.
Aaron Schulz [Mon, 28 Apr 2008 17:30:07 +0000 (17:30 +0000)]
Missing out call
Aaron Schulz [Mon, 28 Apr 2008 17:14:33 +0000 (17:14 +0000)]
Fix profiling
Bryan Tong Minh [Mon, 28 Apr 2008 17:08:29 +0000 (17:08 +0000)]
* Honor upload restrictions in SpecialUpload.php and FileRevertForm.php
* Add 'restriction-upload' => 'Upload' to MessageEn.php
Aaron Schulz [Mon, 28 Apr 2008 17:05:25 +0000 (17:05 +0000)]
wfProfileOut( __METHOD__ );
Aaron Schulz [Mon, 28 Apr 2008 17:02:20 +0000 (17:02 +0000)]
Fix profiling
Aaron Schulz [Mon, 28 Apr 2008 16:53:09 +0000 (16:53 +0000)]
Use dbprefix, so it actually gets results
Rotem Liss [Mon, 28 Apr 2008 16:52:55 +0000 (16:52 +0000)]
Update.
Huji [Mon, 28 Apr 2008 16:44:14 +0000 (16:44 +0000)]
* Adding/updating Persian translations
Victor Vasiliev [Mon, 28 Apr 2008 16:28:07 +0000 (16:28 +0000)]
* (bug 889) Improve conflict-handling between shared upload repository (commons) and local one
Andrew Garrett [Mon, 28 Apr 2008 12:48:41 +0000 (12:48 +0000)]
Save the parser output to a member variable of LinksUpdate, so that hooks can access it.
Andrew Garrett [Mon, 28 Apr 2008 12:34:27 +0000 (12:34 +0000)]
Pass the old article ID in the ArticleDeleteComplete hook, to allow, for example, extensions that store metadata about articles to do their own cascading deletes
Raimond Spekking [Mon, 28 Apr 2008 11:43:04 +0000 (11:43 +0000)]
Localisation updates German
Niklas Laxström [Mon, 28 Apr 2008 10:24:06 +0000 (10:24 +0000)]
* (bug 13866) skins/common/shared.css - invalid attribute fixing
Andrew Garrett [Mon, 28 Apr 2008 09:04:17 +0000 (09:04 +0000)]
Update UsersPager to make buildGroupLink, getGroups accessible in subclasses (i.e. private --> protected). Needed for global groups support in CentralAuth.
Aaron Schulz [Mon, 28 Apr 2008 02:10:31 +0000 (02:10 +0000)]
Use $log_id
Aaron Schulz [Mon, 28 Apr 2008 01:31:44 +0000 (01:31 +0000)]
Looks like this is not over yet. Silently log failures to a 'logging' debug log
Aaron Schulz [Sun, 27 Apr 2008 23:45:31 +0000 (23:45 +0000)]
Remove log debugging code, not needed anymore
Aaron Schulz [Sun, 27 Apr 2008 23:26:45 +0000 (23:26 +0000)]
wfReadOnly() check does not belong here
Niklas Laxström [Sun, 27 Apr 2008 14:55:15 +0000 (14:55 +0000)]
* Shortcut the known and most common case
Robert Leverington [Sun, 27 Apr 2008 14:50:55 +0000 (14:50 +0000)]
Revert r33918, no longer works given new fallback caching and there are alternate methods for determining message fallback.
Niklas Laxström [Sun, 27 Apr 2008 14:49:40 +0000 (14:49 +0000)]
* Fix the previous commit
Niklas Laxström [Sun, 27 Apr 2008 14:37:37 +0000 (14:37 +0000)]
* Cache fallbacks separately to avoid loading whole localisations
Leon Weber [Sun, 27 Apr 2008 14:28:29 +0000 (14:28 +0000)]
Also adding application/x-dia-diagram to mime.{types,info}
Leon Weber [Sun, 27 Apr 2008 13:28:55 +0000 (13:28 +0000)]
* * Added 'application/x-dia-diagram' to XML MIME types. Patch by dpy
Niklas Laxström [Sun, 27 Apr 2008 12:59:15 +0000 (12:59 +0000)]
* Respect uselang