lhc/web/wiklou.git
16 years agoMove group list to $wgSpecialPageGroups to make it easy for extensions to set
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

16 years agoMake the hack from r33376 conditional...
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)

16 years agoRevert r34029 - "(bug 11659) Urldecode image names in galleries"
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.

16 years agodon't need CSS units on non-CSS border attribute
Brion Vibber [Wed, 30 Apr 2008 21:25:19 +0000 (21:25 +0000)]
don't need CSS units on non-CSS border attribute

16 years ago(bug 13891) Show categories box even if all categories are hidden and user has "show...
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

16 years ago* (bug 13885) Bump default $wgSVGMaxSize from 1024 to 2048 pixels
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.

16 years agoAdded some missing options to $wgDefaultUserOptions and fixed whitespaces
Alexandre Emsenhuber [Wed, 30 Apr 2008 19:41:14 +0000 (19:41 +0000)]
Added some missing options to $wgDefaultUserOptions and fixed whitespaces

16 years ago* (bug 13880) "Printable" link in Modern skin now formats as print mode
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.

16 years agoand eat that unneeded table name var
Brion Vibber [Wed, 30 Apr 2008 17:20:27 +0000 (17:20 +0000)]
and eat that unneeded table name var

16 years agouse query constructors; passing hostname string raw into SQL gives me the willies...
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

16 years agosafari css system colors seem ok on 3.0 (webkit 523.15)
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)

16 years agoMinor cleanups.
Greg Sabino Mullane [Wed, 30 Apr 2008 14:52:12 +0000 (14:52 +0000)]
Minor cleanups.

16 years agoCheck that no MySQL-isms have snuck into the codebase.
Greg Sabino Mullane [Wed, 30 Apr 2008 14:44:22 +0000 (14:44 +0000)]
Check that no MySQL-isms have snuck into the codebase.

16 years agoCall useIndexClause, not raw FORCE INDEX.
Greg Sabino Mullane [Wed, 30 Apr 2008 14:36:06 +0000 (14:36 +0000)]
Call useIndexClause, not raw FORCE INDEX.

16 years agoAdd pf_memory to profiling table for Postgres
Greg Sabino Mullane [Wed, 30 Apr 2008 14:20:36 +0000 (14:20 +0000)]
Add pf_memory to profiling table for Postgres

16 years ago(bug 13584) New hook: SkinTemplateToolboxEnd
River Tarnell [Wed, 30 Apr 2008 10:17:51 +0000 (10:17 +0000)]
(bug 13584) New hook: SkinTemplateToolboxEnd

16 years ago(bug 13583) No "poweredby" in Modern skin
River Tarnell [Wed, 30 Apr 2008 09:58:18 +0000 (09:58 +0000)]
(bug 13583) No "poweredby" in Modern skin

16 years ago(bug 13185) No line break after 'subpages' class 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

16 years agoNotice: Undefined property: PostgresSearchResult::$mRevision in /data/home/river...
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

16 years ago13168 accessibility links in Modern skin link to wrong anchor id
River Tarnell [Wed, 30 Apr 2008 09:36:17 +0000 (09:36 +0000)]
13168 accessibility links in Modern skin link to wrong anchor id

16 years agoStyle cleanup on AJAX search suggestion dropdown list.
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.

16 years agofix parser test case; namespace was missing from link title attribute
Brion Vibber [Tue, 29 Apr 2008 22:27:26 +0000 (22:27 +0000)]
fix parser test case; namespace was missing from link title attribute

16 years ago(bug 11659) Urldecode image names in galleries
Bryan Tong Minh [Tue, 29 Apr 2008 21:50:47 +0000 (21:50 +0000)]
(bug 11659) Urldecode image names in galleries

16 years ago* (bug 13860) Fix "Justify paragraphs" option for Modern skin
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.

16 years agoOnly load old page_restrictions field if $oldFashionedRestrictions is really null...
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.

16 years agoFix.
Rotem Liss [Tue, 29 Apr 2008 18:52:41 +0000 (18:52 +0000)]
Fix.

16 years agoAdded line breaks to trackbackbox message so that it doesn't break xhtml validity...
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.

16 years agoMore tweaks
Aaron Schulz [Tue, 29 Apr 2008 16:50:29 +0000 (16:50 +0000)]
More tweaks

16 years agotweaks:
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.

16 years agoPer r33966: added $id param to ArticleDeleteComplete hook
Alexandre Emsenhuber [Tue, 29 Apr 2008 16:07:04 +0000 (16:07 +0000)]
Per r33966: added $id param to ArticleDeleteComplete hook

16 years ago* No need to *1000
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

16 years agoAdd border to make it easier to see
Aaron Schulz [Tue, 29 Apr 2008 15:18:45 +0000 (15:18 +0000)]
Add border to make it easier to see

16 years ago* HTML clean up
Aaron Schulz [Tue, 29 Apr 2008 15:14:12 +0000 (15:14 +0000)]
* HTML clean up
* Colors

16 years agoAdding updater for new pf_memory field
Alexandre Emsenhuber [Tue, 29 Apr 2008 15:13:46 +0000 (15:13 +0000)]
Adding updater for new pf_memory field

16 years agoKeep this in kb too
Aaron Schulz [Tue, 29 Apr 2008 15:04:41 +0000 (15:04 +0000)]
Keep this in kb too

16 years agoMore sorting
Aaron Schulz [Tue, 29 Apr 2008 15:03:21 +0000 (15:03 +0000)]
More sorting

16 years ago* Hide edit section links on Special:Undelete
Victor Vasiliev [Tue, 29 Apr 2008 14:55:47 +0000 (14:55 +0000)]
* Hide edit section links on Special:Undelete

16 years ago* Adding/updating Persian translations
Huji [Tue, 29 Apr 2008 14:16:46 +0000 (14:16 +0000)]
* Adding/updating Persian translations

16 years agoRe-arrange a little. Show memory.
Aaron Schulz [Tue, 29 Apr 2008 12:10:56 +0000 (12:10 +0000)]
Re-arrange a little. Show memory.

16 years agoupdate insert
Aaron Schulz [Tue, 29 Apr 2008 12:05:25 +0000 (12:05 +0000)]
update insert

16 years agoAdd pf_memory field
Aaron Schulz [Tue, 29 Apr 2008 11:59:10 +0000 (11:59 +0000)]
Add pf_memory field

16 years agoUpdate.
Rotem Liss [Tue, 29 Apr 2008 10:53:17 +0000 (10:53 +0000)]
Update.

16 years agoAPI:
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

16 years agoDo not show useless input form if wiki is running in misermode
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

16 years agoLocalisation updates Kazakh
Raimond Spekking [Tue, 29 Apr 2008 05:39:35 +0000 (05:39 +0000)]
Localisation updates Kazakh
Bug 12145, patch by AlefZet

16 years agoUpdate documentation links in auto-generated LocalSettings.php
Aryeh Gregor [Tue, 29 Apr 2008 01:43:08 +0000 (01:43 +0000)]
Update documentation links in auto-generated LocalSettings.php

16 years agoRemove 'emailconfirmed' related messages per removal of this group with r33800.
Raimond Spekking [Mon, 28 Apr 2008 19:04:24 +0000 (19:04 +0000)]
Remove 'emailconfirmed' related messages per removal of this group with r33800.

16 years agoLocalisation updates German
Raimond Spekking [Mon, 28 Apr 2008 18:54:39 +0000 (18:54 +0000)]
Localisation updates German

16 years agobug fixes:
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

16 years agoUpdate.
Rotem Liss [Mon, 28 Apr 2008 17:33:59 +0000 (17:33 +0000)]
Update.

16 years agoMissing out call
Aaron Schulz [Mon, 28 Apr 2008 17:30:07 +0000 (17:30 +0000)]
Missing out call

16 years agoFix profiling
Aaron Schulz [Mon, 28 Apr 2008 17:14:33 +0000 (17:14 +0000)]
Fix profiling

16 years ago* Honor upload restrictions in SpecialUpload.php and FileRevertForm.php
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

16 years agowfProfileOut( __METHOD__ );
Aaron Schulz [Mon, 28 Apr 2008 17:05:25 +0000 (17:05 +0000)]
wfProfileOut( __METHOD__ );

16 years agoFix profiling
Aaron Schulz [Mon, 28 Apr 2008 17:02:20 +0000 (17:02 +0000)]
Fix profiling

16 years agoUse dbprefix, so it actually gets results
Aaron Schulz [Mon, 28 Apr 2008 16:53:09 +0000 (16:53 +0000)]
Use dbprefix, so it actually gets results

16 years agoUpdate.
Rotem Liss [Mon, 28 Apr 2008 16:52:55 +0000 (16:52 +0000)]
Update.

16 years ago* Adding/updating Persian translations
Huji [Mon, 28 Apr 2008 16:44:14 +0000 (16:44 +0000)]
* Adding/updating Persian translations

16 years ago* (bug 889) Improve conflict-handling between shared upload repository (commons)...
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

16 years agoSave the parser output to a member variable of LinksUpdate, so that hooks can access it.
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.

16 years agoPass the old article ID in the ArticleDeleteComplete hook, to allow, for example...
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

16 years agoLocalisation updates German
Raimond Spekking [Mon, 28 Apr 2008 11:43:04 +0000 (11:43 +0000)]
Localisation updates German

16 years ago* (bug 13866) skins/common/shared.css - invalid attribute fixing
Niklas Laxström [Mon, 28 Apr 2008 10:24:06 +0000 (10:24 +0000)]
* (bug 13866) skins/common/shared.css - invalid attribute fixing

16 years agoUpdate UsersPager to make buildGroupLink, getGroups accessible in subclasses (i.e...
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.

16 years agoUse $log_id
Aaron Schulz [Mon, 28 Apr 2008 02:10:31 +0000 (02:10 +0000)]
Use $log_id

16 years agoLooks like this is not over yet. Silently log failures to a 'logging' debug log
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

16 years agoRemove log debugging code, not needed anymore
Aaron Schulz [Sun, 27 Apr 2008 23:45:31 +0000 (23:45 +0000)]
Remove log debugging code, not needed anymore

16 years agowfReadOnly() check does not belong here
Aaron Schulz [Sun, 27 Apr 2008 23:26:45 +0000 (23:26 +0000)]
wfReadOnly() check does not belong here

16 years ago* Shortcut the known and most common case
Niklas Laxström [Sun, 27 Apr 2008 14:55:15 +0000 (14:55 +0000)]
* Shortcut the known and most common case

16 years agoRevert r33918, no longer works given new fallback caching and there are alternate...
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.

16 years ago* Fix the previous commit
Niklas Laxström [Sun, 27 Apr 2008 14:49:40 +0000 (14:49 +0000)]
* Fix the previous commit

16 years ago* Cache fallbacks separately to avoid loading whole localisations
Niklas Laxström [Sun, 27 Apr 2008 14:37:37 +0000 (14:37 +0000)]
* Cache fallbacks separately to avoid loading whole localisations

16 years agoAlso adding application/x-dia-diagram to mime.{types,info}
Leon Weber [Sun, 27 Apr 2008 14:28:29 +0000 (14:28 +0000)]
Also adding application/x-dia-diagram to mime.{types,info}

16 years ago* * Added 'application/x-dia-diagram' to XML MIME types. Patch by dpy
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

16 years ago* Respect uselang
Niklas Laxström [Sun, 27 Apr 2008 12:59:15 +0000 (12:59 +0000)]
* Respect uselang

16 years agoLocalisation updates for core messages from Betawiki (2008-04-27 13:55 CEST)
Siebrand Mazeland [Sun, 27 Apr 2008 12:12:25 +0000 (12:12 +0000)]
Localisation updates for core messages from Betawiki (2008-04-27 13:55 CEST)

16 years agoMake suppression require hiderevision
Aaron Schulz [Sat, 26 Apr 2008 23:33:27 +0000 (23:33 +0000)]
Make suppression require hiderevision

16 years agosuppress too
Aaron Schulz [Sat, 26 Apr 2008 19:54:47 +0000 (19:54 +0000)]
suppress too

16 years agotweaks for r33917:
Alexandre Emsenhuber [Sat, 26 Apr 2008 19:09:04 +0000 (19:09 +0000)]
tweaks for r33917:
* use level 1 to get file and line, this from where the deprecated function was called
* added class if available

16 years agoRevert r33911 for now -- causes fatal error death with OggHandler at least.
Brion Vibber [Sat, 26 Apr 2008 18:16:43 +0000 (18:16 +0000)]
Revert r33911 for now -- causes fatal error death with OggHandler at least.
Probably needs some cleanup to see which of these are actually supposed to be used statically.

16 years ago* Add parameter to MessageCache::get() to allow prevention of using a fallback langua...
Robert Leverington [Sat, 26 Apr 2008 18:05:43 +0000 (18:05 +0000)]
* Add parameter to MessageCache::get() to allow prevention of using a fallback language (default: false).
* Add option to wfMsgExt() 'nofallback' as an interface to the new parameter added to MessageCache::get().

16 years ago* Print caller if possible in deprecated warnings
Niklas Laxström [Sat, 26 Apr 2008 17:57:29 +0000 (17:57 +0000)]
* Print caller if possible in deprecated warnings

16 years ago(bug 13735) Added prop=categoryinfo module
Roan Kattouw [Sat, 26 Apr 2008 15:30:27 +0000 (15:30 +0000)]
(bug 13735) Added prop=categoryinfo module

16 years ago(bug 13643) Fixed some PHP Strict Standards errors
Alexandre Emsenhuber [Sat, 26 Apr 2008 14:45:00 +0000 (14:45 +0000)]
(bug 13643) Fixed some PHP Strict Standards errors

16 years agoAPI: Make ApiResult::setIndexedTagName_recursive() actually work. This fixes bug...
Roan Kattouw [Sat, 26 Apr 2008 14:40:54 +0000 (14:40 +0000)]
API: Make ApiResult::setIndexedTagName_recursive() actually work. This fixes bug 13836

16 years agoAdd debug log entry
Aaron Schulz [Sat, 26 Apr 2008 14:11:16 +0000 (14:11 +0000)]
Add debug log entry

16 years agoAPI: Fixed handling of usernames containing spaces in list=block
Roan Kattouw [Sat, 26 Apr 2008 14:09:16 +0000 (14:09 +0000)]
API: Fixed handling of usernames containing spaces in list=block

16 years agoRepair Special:Userrights
Victor Vasiliev [Sat, 26 Apr 2008 07:57:32 +0000 (07:57 +0000)]
Repair Special:Userrights

16 years ago* Allow grammar etc in summary messages
Niklas Laxström [Sat, 26 Apr 2008 07:20:13 +0000 (07:20 +0000)]
* Allow grammar etc in summary messages

16 years agoprotected
Aaron Schulz [Sat, 26 Apr 2008 04:00:03 +0000 (04:00 +0000)]
protected

16 years agoAdd debug comment to diffs indicating generator backend, node, and time.
Brion Vibber [Fri, 25 Apr 2008 22:52:05 +0000 (22:52 +0000)]
Add debug comment to diffs indicating generator backend, node, and time.
May help tracking down the awful bugs we've been seeing more of lately.

16 years agoRemoved unused global declaration of $wgFileStore and $wgUseSquid in RevisionDeleter...
Alexandre Emsenhuber [Fri, 25 Apr 2008 19:49:35 +0000 (19:49 +0000)]
Removed unused global declaration of $wgFileStore and $wgUseSquid in RevisionDeleter::makeOldImagePrivate() and RevisionDeleter::makeOldImagePublic()

16 years agoTweak Special:Listusers for CentralAuth
Victor Vasiliev [Fri, 25 Apr 2008 19:18:48 +0000 (19:18 +0000)]
Tweak Special:Listusers for CentralAuth

16 years ago* Date formats for Pontic (pnt)
Niklas Laxström [Fri, 25 Apr 2008 16:26:12 +0000 (16:26 +0000)]
* Date formats for Pontic (pnt)

16 years agoUpdate URL
Alexandre Emsenhuber [Fri, 25 Apr 2008 15:25:57 +0000 (15:25 +0000)]
Update URL

16 years agoUpdate namespaceAliases
Meno25 [Fri, 25 Apr 2008 14:37:44 +0000 (14:37 +0000)]
Update namespaceAliases

16 years agoUpdate file
Meno25 [Fri, 25 Apr 2008 13:32:42 +0000 (13:32 +0000)]
Update file

16 years agoLocalisation updates Cantonese, Chinese and Old/Late Time Chinese
Shinjiman [Fri, 25 Apr 2008 08:59:33 +0000 (08:59 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese

16 years agoimage => media
Siebrand Mazeland [Fri, 25 Apr 2008 07:33:26 +0000 (07:33 +0000)]
image => media

16 years agoDon't show history link for logs
Aaron Schulz [Fri, 25 Apr 2008 03:22:46 +0000 (03:22 +0000)]
Don't show history link for logs