Aaron Schulz [Mon, 5 May 2008 03:35:37 +0000 (03:35 +0000)]
Remove garbage HTML, show user
Aryeh Gregor [Mon, 5 May 2008 00:14:07 +0000 (00:14 +0000)]
(bug 13949) Special:PrefixIndex/AllPages paging links contain invalid XML
Aryeh Gregor [Sun, 4 May 2008 23:51:15 +0000 (23:51 +0000)]
* Show correct accesskey prefix for Firefox 3 beta (Alt-Shift-, not Alt-)
* Clean up some of the surrounding code: use regexes where appropriate, observe 80-char lines, remove superfluous parentheses.
Not tested on FF3, because it seems to freak out at JavaScript served from http://localhost and I haven't figured out yet how to make it accept it. But it looks regression-free from Opera 9 (included masked as IE/Fx), although I can't verify the fix.
Siebrand Mazeland [Sun, 4 May 2008 18:16:08 +0000 (18:16 +0000)]
image -> file
Siebrand Mazeland [Sun, 4 May 2008 18:14:07 +0000 (18:14 +0000)]
Stylistic changes to recently added messages
Bryan Tong Minh [Sun, 4 May 2008 16:24:05 +0000 (16:24 +0000)]
Avoid code duplication
Robert Stojnić [Sun, 4 May 2008 15:31:03 +0000 (15:31 +0000)]
Re-commit r34072 with some modifications:
* turned off by default (set $wgAdvancedSearchHighlighting to turn on)
* reverted r26269, \b doesn't interact very good with unicode data,
so it broke highlighting of words that end/begin in nonascii chars
completely
* small bugfixes in unicode handling, tested in more languages
* $wgSearchHighlightBoundaries need to be set to "" for CJK wikis
* benchmarking: on typical simplewiki data, the code is around 4-5 slower
(according to noc.wikimedia.org the old code profiles to about 0.8%),
but can be up to 20 times slower on featured-size articles
* update release notes (also for r33400)
* fix profiling errors in SpecialSearch
Bryan Tong Minh [Sun, 4 May 2008 15:10:58 +0000 (15:10 +0000)]
(bug 13945) API: Retrieve cascading protection sources via inprop=protection
Leon Weber [Sun, 4 May 2008 14:57:36 +0000 (14:57 +0000)]
(bug 12145) Kazakh localisation updates, patch 4875 by AlefZet
Alexandre Emsenhuber [Sun, 4 May 2008 13:22:22 +0000 (13:22 +0000)]
Removed the note about that $wgSharedDB only works for user table
Shinjiman [Sun, 4 May 2008 10:15:27 +0000 (10:15 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Daniel Friesen [Sun, 4 May 2008 09:00:17 +0000 (09:00 +0000)]
New variable $wgSharedDBtables. This allows altering of the list of tables which enabling $wgSharedDB affects. For backwards compatibility this is set to an array containing the user table.
Daniel Friesen [Sun, 4 May 2008 07:53:47 +0000 (07:53 +0000)]
Adding missing RELEASE-NOTE.
bug 12542 was committed well before I got commit access. However it was not documented in the RELEASE-NOTES.
Huji [Sun, 4 May 2008 07:52:49 +0000 (07:52 +0000)]
* Adding/updating Persian translations
Huji [Sun, 4 May 2008 07:48:31 +0000 (07:48 +0000)]
(bug 13934) Fixing the link to GNU General Public License Version 2
Leon Weber [Sat, 3 May 2008 23:02:42 +0000 (23:02 +0000)]
And another german localisation update.
Leon Weber [Sat, 3 May 2008 22:59:58 +0000 (22:59 +0000)]
Removing a conflict that's been commited by accident. Thanks to Nikerabbit for the hint.
Leon Weber [Sat, 3 May 2008 22:31:45 +0000 (22:31 +0000)]
German localisation updates, patch by ray.
Alexandre Emsenhuber [Sat, 3 May 2008 16:07:57 +0000 (16:07 +0000)]
Custom rollback summaries now accept the same arguments as the default message
Rotem Liss [Sat, 3 May 2008 15:43:21 +0000 (15:43 +0000)]
Update.
Aaron Schulz [Sat, 3 May 2008 15:16:22 +0000 (15:16 +0000)]
Leave deleted images alone
Victor Vasiliev [Sat, 3 May 2008 14:51:26 +0000 (14:51 +0000)]
Forgot to commit messages
Victor Vasiliev [Sat, 3 May 2008 14:45:06 +0000 (14:45 +0000)]
* Fix oi_deleted issues with image moving
* Fix filearchive update status check
Bryan Tong Minh [Sat, 3 May 2008 13:49:53 +0000 (13:49 +0000)]
Mark ForeignDBFile as unmovable
Bryan Tong Minh [Sat, 3 May 2008 13:39:10 +0000 (13:39 +0000)]
checkExtesnion => checkExtension
Robert Stojnić [Sat, 3 May 2008 13:16:38 +0000 (13:16 +0000)]
Fix typo in r33748, onsubmit -> submit
Victor Vasiliev [Sat, 3 May 2008 13:09:34 +0000 (13:09 +0000)]
* (bug 709) Cannot rename/move images and other media files.
Currently in experimental mode, use $wgAllowImageMoving to enable it.
Known issues:
* Doesn't work with rev_deleted
* May also have some security and caching issues.
Niklas Laxström [Sat, 3 May 2008 12:27:53 +0000 (12:27 +0000)]
* Xml::
Rotem Liss [Sat, 3 May 2008 08:16:06 +0000 (08:16 +0000)]
* Fixing the new right-patrolmarks message.
* Update.
Aaron Schulz [Sat, 3 May 2008 04:17:03 +0000 (04:17 +0000)]
Put some upper limit here
Aaron Schulz [Sat, 3 May 2008 03:52:33 +0000 (03:52 +0000)]
* Add method to append subtitle
* Tweak message
Siebrand Mazeland [Sat, 3 May 2008 01:21:06 +0000 (01:21 +0000)]
Add 'right-patrolmarks'
Aaron Schulz [Fri, 2 May 2008 21:37:53 +0000 (21:37 +0000)]
We *want* to purge failures
Aaron Schulz [Fri, 2 May 2008 21:32:13 +0000 (21:32 +0000)]
Use getUrl()
Aaron Schulz [Fri, 2 May 2008 21:29:05 +0000 (21:29 +0000)]
Don't keep puring squids for images where no thumb is needed (bug 13776)
Aaron Schulz [Fri, 2 May 2008 20:22:10 +0000 (20:22 +0000)]
Suppress div/0 error
Alexandre Emsenhuber [Fri, 2 May 2008 18:34:44 +0000 (18:34 +0000)]
Update
Aryeh Gregor [Fri, 2 May 2008 16:37:15 +0000 (16:37 +0000)]
(bug 13929) Back out a line that's now obsolete and a line that seems to have been committed by accident.
Alexandre Emsenhuber [Fri, 2 May 2008 16:28:46 +0000 (16:28 +0000)]
Moved constant definition to populateParentId.inc, throws an E_NOTICE when used by update.php, thanks to MinuteElectron for reporting it.
Niklas Laxström [Fri, 2 May 2008 16:04:06 +0000 (16:04 +0000)]
* Really fix fallbacks
Apparently $wgMemc->get can return either FALSE or NULL on failure, depending on the cache engine used... blah
Shinjiman [Fri, 2 May 2008 15:36:15 +0000 (15:36 +0000)]
Partially reverting r33937, the localisation message fallback for extensions were not used.
Greg Sabino Mullane [Fri, 2 May 2008 15:28:10 +0000 (15:28 +0000)]
Short-circuit true if insert has no rows.
Bryan Tong Minh [Fri, 2 May 2008 09:33:21 +0000 (09:33 +0000)]
Make shareduploadconflict sound less weird
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