lhc/web/wiklou.git
17 years agoSeverely refactored CategoryPage to enable subclassing. The namespace was getting...
Tim Starling [Thu, 24 Aug 2006 17:03:39 +0000 (17:03 +0000)]
Severely refactored CategoryPage to enable subclassing. The namespace was getting a bit crowded so I split it into two classes.

17 years agoExit from AJAX requests properly. Calling exit after doing something is really bad.
Tim Starling [Thu, 24 Aug 2006 17:01:45 +0000 (17:01 +0000)]
Exit from AJAX requests properly. Calling exit after doing something is really bad.

17 years agoIntroduced hook function for requesting that extension messages be loaded
Tim Starling [Thu, 24 Aug 2006 16:58:44 +0000 (16:58 +0000)]
Introduced hook function for requesting that extension messages be loaded

17 years ago(bug 7098) Add an option to disable/enable sending of HTTP ETag headers,
Mark Bergsma [Thu, 24 Aug 2006 15:14:38 +0000 (15:14 +0000)]
(bug 7098) Add an option to disable/enable sending of HTTP ETag headers,
as it seems to result in broken behaviour in combination with Squid 2.6
(disabled by default).

17 years ago(bug 366) Time-Variables like CURRENTTIME and CURRENTDAY should use time zones
Rotem Liss [Wed, 23 Aug 2006 16:45:49 +0000 (16:45 +0000)]
(bug 366) Time-Variables like CURRENTTIME and CURRENTDAY should use time zones
Actually, creating new magic words, replacing CURRENT with LOCAL in their names, which use the local time zone, per discussion: http://mail.wikimedia.org/pipermail/mediawiki-l/2006-August/014542.html . The behavior of the current magic words is not changed.

17 years ago(bug 5970) Need to login to upload files
Rotem Liss [Wed, 23 Aug 2006 15:26:50 +0000 (15:26 +0000)]
(bug 5970) Need to login to upload files

This fixes a mistake in the permissions system (which shouldn't be exist), however the actual problem - anonymous users logging - is still exist.

17 years agoskin: adding global JS variables wgNamespaceNumber and wgIsArticle
Daniel Kinzler [Wed, 23 Aug 2006 13:57:16 +0000 (13:57 +0000)]
skin: adding global JS variables wgNamespaceNumber and wgIsArticle

17 years agoFixes.
Rotem Liss [Wed, 23 Aug 2006 13:28:32 +0000 (13:28 +0000)]
Fixes.

17 years agoCheck the permissions of the special page lists in the SpecialPage class, and use...
Rotem Liss [Wed, 23 Aug 2006 13:24:16 +0000 (13:24 +0000)]
Check the permissions of the special page lists in the SpecialPage class, and use separated functions to get the regular and the restricted special pages, instead of using one function and a complex array.

17 years agoFix for profiling.
Rotem Liss [Wed, 23 Aug 2006 11:41:30 +0000 (11:41 +0000)]
Fix for profiling.

17 years agomore bugs
Tim Starling [Wed, 23 Aug 2006 06:16:38 +0000 (06:16 +0000)]
more bugs

17 years agoSuppress links to empty categories
Tim Starling [Wed, 23 Aug 2006 05:00:16 +0000 (05:00 +0000)]
Suppress links to empty categories

17 years agobug fix
Tim Starling [Wed, 23 Aug 2006 04:51:05 +0000 (04:51 +0000)]
bug fix

17 years agoUntested image snapshot feature, fixed complete breakage of default skin by Rob
Tim Starling [Wed, 23 Aug 2006 03:44:08 +0000 (03:44 +0000)]
Untested image snapshot feature, fixed complete breakage of default skin by Rob

17 years agoUpdate.
Rotem Liss [Tue, 22 Aug 2006 18:48:24 +0000 (18:48 +0000)]
Update.

17 years agoupdate
Jimmy Collins [Tue, 22 Aug 2006 18:37:16 +0000 (18:37 +0000)]
update

17 years agobegin cleanup on magnus' url upload thingy
Brion Vibber [Tue, 22 Aug 2006 15:53:38 +0000 (15:53 +0000)]
begin cleanup on magnus' url upload thingy

17 years agoSwitched URL upload function to CURL
Magnus Manske [Tue, 22 Aug 2006 12:37:16 +0000 (12:37 +0000)]
Switched URL upload function to CURL
10 sec timeout, 0.5KB/sec minimum transfer rate
Default URL upload permission for sysops only

17 years agoStubObject.php: use getVal() instead of getText() to check for uselang parameter
Daniel Kinzler [Tue, 22 Aug 2006 12:16:14 +0000 (12:16 +0000)]
StubObject.php: use getVal() instead of getText() to check for uselang parameter

17 years ago$wgMaxUploadSize now limits URL upload
Magnus Manske [Tue, 22 Aug 2006 10:14:23 +0000 (10:14 +0000)]
$wgMaxUploadSize now limits URL upload

17 years agoOption: Allow upload from URL. Set $wgAllowCopyUploads = true ;
Magnus Manske [Tue, 22 Aug 2006 10:08:10 +0000 (10:08 +0000)]
Option: Allow upload from URL. Set $wgAllowCopyUploads = true ;

17 years ago(bug 7085) Fix regression introduced in r16124
Rob Church [Mon, 21 Aug 2006 14:11:58 +0000 (14:11 +0000)]
(bug 7085) Fix regression introduced in r16124

17 years agono comments!
Domas Mituzas [Mon, 21 Aug 2006 13:42:01 +0000 (13:42 +0000)]
no comments!

17 years agoPADLEFT/PADRIGHT:
Rob Church [Mon, 21 Aug 2006 11:07:58 +0000 (11:07 +0000)]
PADLEFT/PADRIGHT:
* Enforce a reasonable maximum length to cover most uses while preventing some dickhead from doing a 500 thousand character expansion
* Use the first padding character only for similar reasons
* (bug 7081) More input validation and checking

17 years agoSome relaxed auth checking:
Domas Mituzas [Mon, 21 Aug 2006 09:32:33 +0000 (09:32 +0000)]
Some relaxed auth checking:
* All %wik% databases will have access from wikiuser / wikiadmin.
* Our current C class allowed to connect. Might be restricted in future again, though
* Old style of passwords is enforced

17 years ago(bug 7080) PHP notices on bad input to padleft/padright
Rob Church [Mon, 21 Aug 2006 03:25:32 +0000 (03:25 +0000)]
(bug 7080) PHP notices on bad input to padleft/padright

17 years ago(bug 7076) Update to Indonesian localisation (id) #33
Rotem Liss [Sun, 20 Aug 2006 17:05:17 +0000 (17:05 +0000)]
(bug 7076) Update to Indonesian localisation (id) #33

17 years agoShowing statistics about problematic messages, instead of duplicate messages - it...
Rotem Liss [Sun, 20 Aug 2006 11:57:30 +0000 (11:57 +0000)]
Showing statistics about problematic messages, instead of duplicate messages - it's more useful, as the duplicate messages may only indicate a problem, while the problematic messages are actual problems.

17 years agoFix.
Rotem Liss [Sun, 20 Aug 2006 11:35:05 +0000 (11:35 +0000)]
Fix.

17 years agoFixing the help of checkLangauge.php.
Rotem Liss [Sun, 20 Aug 2006 11:34:01 +0000 (11:34 +0000)]
Fixing the help of checkLangauge.php.

17 years agoCheck for duplicates only if specified, because it's not really an error, in the...
Rotem Liss [Sun, 20 Aug 2006 11:23:45 +0000 (11:23 +0000)]
Check for duplicates only if specified, because it's not really an error, in the check language script.

17 years agoUpdate to German translation (de)
Jimmy Collins [Sun, 20 Aug 2006 11:07:35 +0000 (11:07 +0000)]
Update to German translation (de)

17 years agoanother minor fix
Tim Starling [Sun, 20 Aug 2006 05:18:57 +0000 (05:18 +0000)]
another minor fix

17 years agofavicon fix
Tim Starling [Sun, 20 Aug 2006 04:14:56 +0000 (04:14 +0000)]
favicon fix

17 years agoExperimental OpenSearch description
Tim Starling [Sun, 20 Aug 2006 03:45:47 +0000 (03:45 +0000)]
Experimental OpenSearch description

17 years agoFixing the link to the page when viewing Special:Whatlinkshere of an image or a category.
Rotem Liss [Sat, 19 Aug 2006 14:31:18 +0000 (14:31 +0000)]
Fixing the link to the page when viewing Special:Whatlinkshere of an image or a category.

17 years agoUpdate.
Rotem Liss [Sat, 19 Aug 2006 14:27:01 +0000 (14:27 +0000)]
Update.

17 years agoBy Robert Treat: try to create plpgsql if it does not exists.
Greg Sabino Mullane [Sat, 19 Aug 2006 12:43:13 +0000 (12:43 +0000)]
By Robert Treat: try to create plpgsql if it does not exists.
Bug #7065

17 years agoMade monobook work when $wgArticle is null, this is currently the case on a read...
Tim Starling [Sat, 19 Aug 2006 03:11:49 +0000 (03:11 +0000)]
Made monobook work when $wgArticle is null, this is currently the case on a read access denied error.

17 years agoAdded "mediawiki" class to the <body> tag, to better support user stylesheets set...
Tim Starling [Sat, 19 Aug 2006 03:03:08 +0000 (03:03 +0000)]
Added "mediawiki" class to the <body> tag, to better support user stylesheets set in the browser

17 years ago* Pass page title as parameters to "linkshere" and "nolinkshere" and update default...
Rob Church [Fri, 18 Aug 2006 21:19:50 +0000 (21:19 +0000)]
* Pass page title as parameters to "linkshere" and "nolinkshere" and update default message text

17 years ago* (bug 7044) Introduce "padleft" and "padright" colon functions
Rob Church [Fri, 18 Aug 2006 17:30:35 +0000 (17:30 +0000)]
* (bug 7044) Introduce "padleft" and "padright" colon functions

17 years agoIgnore all but errors when importing.
Greg Sabino Mullane [Fri, 18 Aug 2006 16:24:48 +0000 (16:24 +0000)]
Ignore all but errors when importing.

17 years ago* (bug 7061) Format title on "from (page)" links on Special:Allpages
Rob Church [Fri, 18 Aug 2006 16:08:38 +0000 (16:08 +0000)]
* (bug 7061) Format title on "from (page)" links on Special:Allpages

17 years ago* (bug 7054) Validate email address before sending email confirmation message
Rob Church [Fri, 18 Aug 2006 15:28:13 +0000 (15:28 +0000)]
* (bug 7054) Validate email address before sending email confirmation message

17 years ago(bug 7036) Update for Russian language (ru)
Rotem Liss [Fri, 18 Aug 2006 09:28:12 +0000 (09:28 +0000)]
(bug 7036) Update for Russian language (ru)

17 years ago* Avoid duplicate revision imports with Special:Import
Brion Vibber [Fri, 18 Aug 2006 06:21:39 +0000 (06:21 +0000)]
* Avoid duplicate revision imports with Special:Import
for poor widdle Connel on Wiktionary

17 years agoAdded [[:Image:Foo.png]] style links to the pagelinks table
Tim Starling [Fri, 18 Aug 2006 05:00:16 +0000 (05:00 +0000)]
Added [[:Image:Foo.png]] style links to the pagelinks table

17 years ago* (bug 7010) Don't send email notifications for watched talk pages when user
Brion Vibber [Fri, 18 Aug 2006 01:43:33 +0000 (01:43 +0000)]
* (bug 7010) Don't send email notifications for watched talk pages when user
  has selected to receive only updates for their own talk page

17 years agoBug 7045, Language::isMultibyte() didn't work with multi-character strings
Tim Starling [Thu, 17 Aug 2006 23:48:11 +0000 (23:48 +0000)]
Bug 7045, Language::isMultibyte() didn't work with multi-character strings

17 years agoShow a link to the template when the inclusion limit is reached, as per enwiki request
Tim Starling [Thu, 17 Aug 2006 22:20:06 +0000 (22:20 +0000)]
Show a link to the template when the inclusion limit is reached, as per enwiki request

17 years agoTablePager: fixes for IE (doesn't like coloured ridge borders) and Opera (doesn't...
Tim Starling [Thu, 17 Aug 2006 11:05:13 +0000 (11:05 +0000)]
TablePager: fixes for IE (doesn't like coloured ridge borders) and Opera (doesn't like td+td+td+td+td). Added row highlighting on hover.

17 years ago* (bug 7031) Report missing email on 'email password' instead of false success
Brion Vibber [Thu, 17 Aug 2006 07:29:39 +0000 (07:29 +0000)]
* (bug 7031) Report missing email on 'email password' instead of false success
patch by SImetrical: http://bugzilla.wikimedia.org/attachment.cgi?id=2235

17 years ago* (bug 7037) Fix regression in login tab order
Brion Vibber [Thu, 17 Aug 2006 04:46:07 +0000 (04:46 +0000)]
* (bug 7037) Fix regression in login tab order
http://bugzilla.wikimedia.org/attachment.cgi?id=2236

17 years agoAdd suggestion to restart if the "impossible" happens.
Greg Sabino Mullane [Thu, 17 Aug 2006 02:48:39 +0000 (02:48 +0000)]
Add suggestion to restart if the "impossible" happens.

17 years ago* (bug 3512) namespaceDupes now handles spaces and initial caps properly
Brion Vibber [Wed, 16 Aug 2006 20:28:59 +0000 (20:28 +0000)]
* (bug 3512) namespaceDupes now handles spaces and initial caps properly

17 years agotypo
Domas Mituzas [Wed, 16 Aug 2006 20:03:10 +0000 (20:03 +0000)]
typo

17 years ago* Removing all the messages about stewards from all the langauge files:
Rotem Liss [Wed, 16 Aug 2006 13:43:29 +0000 (13:43 +0000)]
* Removing all the messages about stewards from all the langauge files:
** The steward group messages ("group-steward" and "group-steward-member") should be defined in Makesysop (where the group is defined), therefore they are being moved to there.
** The messages about stewards in Makesysop ("setstewardflag" and "already_steward") are unused and were removed from Makesysop messages, therefore they are now removed from here.
* A little improvement for checkLangauge.php: you can now skip all the checks, and check only the syntax - useful if you change a lot of language files and want to know if you didn't break the syntax.

17 years agoMention Postgres in the release notes.
Greg Sabino Mullane [Wed, 16 Aug 2006 01:23:32 +0000 (01:23 +0000)]
Mention Postgres in the release notes.

17 years agoSet properties.
Greg Sabino Mullane [Wed, 16 Aug 2006 01:07:53 +0000 (01:07 +0000)]
Set properties.

17 years agoFirst pass at conversion script.
Greg Sabino Mullane [Wed, 16 Aug 2006 01:01:58 +0000 (01:01 +0000)]
First pass at conversion script.

17 years agoUse NULL not empty string for rc_ip if our DB is picky.
Greg Sabino Mullane [Wed, 16 Aug 2006 00:59:34 +0000 (00:59 +0000)]
Use NULL not empty string for rc_ip if our DB is picky.

17 years agoAdd concept of "strict IPs" so we don't attempt to add "" as an IP address.
Greg Sabino Mullane [Wed, 16 Aug 2006 00:58:42 +0000 (00:58 +0000)]
Add concept of "strict IPs" so we don't attempt to add "" as an IP address.

17 years agoSome styling for Special:Imagelist courtesy of Splarka
Tim Starling [Wed, 16 Aug 2006 00:25:12 +0000 (00:25 +0000)]
Some styling for Special:Imagelist courtesy of Splarka

17 years ago* (bug 5969) Clean up tab order on Special:Userlogin forms
Brion Vibber [Tue, 15 Aug 2006 23:18:53 +0000 (23:18 +0000)]
* (bug 5969) Clean up tab order on Special:Userlogin forms

17 years ago* Clean up tab order on Special:Blockip
Brion Vibber [Tue, 15 Aug 2006 23:00:42 +0000 (23:00 +0000)]
* Clean up tab order on Special:Blockip

17 years agoAdded squid cache control to AjaxCachePolicy, similar to what OutputPage does.
Daniel Kinzler [Tue, 15 Aug 2006 21:37:06 +0000 (21:37 +0000)]
Added squid cache control to AjaxCachePolicy, similar to what OutputPage does.
Experimental.

17 years agoAdded logic for setting Vary header in AjaxCachePolicy
Daniel Kinzler [Tue, 15 Aug 2006 20:47:16 +0000 (20:47 +0000)]
Added logic for setting Vary header in AjaxCachePolicy

17 years agoUpdate to German localisation (de)
Jimmy Collins [Tue, 15 Aug 2006 20:16:44 +0000 (20:16 +0000)]
Update to German localisation (de)

17 years agoUpdate.
Rotem Liss [Tue, 15 Aug 2006 19:27:13 +0000 (19:27 +0000)]
Update.

17 years ago* (bug 1866) Improve navigation on Special:Listusers; user now a starting
Brion Vibber [Tue, 15 Aug 2006 19:24:22 +0000 (19:24 +0000)]
* (bug 1866) Improve navigation on Special:Listusers; user now a starting
  point as with Special:Allpages, rather than a pure limit.

17 years agoUpdate for Polish language (pl), patch written by Nadolski Michal.
Rotem Liss [Tue, 15 Aug 2006 18:58:20 +0000 (18:58 +0000)]
Update for Polish language (pl), patch written by Nadolski Michal.

17 years agoFix regression in regression fix
Brion Vibber [Tue, 15 Aug 2006 18:31:45 +0000 (18:31 +0000)]
Fix regression in regression fix

17 years ago* (bug 6946) Fix unexpected behavior change with GET hits to Special:Export
Brion Vibber [Tue, 15 Aug 2006 15:50:21 +0000 (15:50 +0000)]
* (bug 6946) Fix unexpected behavior change with GET hits to Special:Export

17 years agoforgot to make the base path settable
Brion Vibber [Tue, 15 Aug 2006 05:44:18 +0000 (05:44 +0000)]
forgot to make the base path settable

17 years agoQuickie script to dump out list of filenames of used images.
Brion Vibber [Tue, 15 Aug 2006 05:42:37 +0000 (05:42 +0000)]
Quickie script to dump out list of filenames of used images.
Those not present in the local database will be taken from
the shared database. List can be sorted and fed to tar to make
archives.

17 years agoSecond attempt
Tim Starling [Tue, 15 Aug 2006 02:40:20 +0000 (02:40 +0000)]
Second attempt

17 years agooptionally remove comments in preprocess()
Tim Starling [Tue, 15 Aug 2006 02:24:59 +0000 (02:24 +0000)]
optionally remove comments in preprocess()

17 years agoPass down $disableCache when calling Language::loadLocalisation() recursively
Tim Starling [Mon, 14 Aug 2006 23:10:58 +0000 (23:10 +0000)]
Pass down $disableCache when calling Language::loadLocalisation() recursively

17 years agoAdded {{CURRENTHOUR}}
Tim Starling [Mon, 14 Aug 2006 22:43:50 +0000 (22:43 +0000)]
Added {{CURRENTHOUR}}

17 years agoadd wfGetAllCallers(), utility function for some occasional profiling magic
Domas Mituzas [Mon, 14 Aug 2006 21:34:57 +0000 (21:34 +0000)]
add wfGetAllCallers(), utility function for some occasional profiling magic

17 years agoreplace header() with $wgRequest->response()->header()
Domas Mituzas [Mon, 14 Aug 2006 18:18:35 +0000 (18:18 +0000)]
replace header() with $wgRequest->response()->header()

17 years agoAdded Parser::preprocess() entry point and OT_PREPROCESS output type, to expand templ...
Tim Starling [Mon, 14 Aug 2006 07:10:31 +0000 (07:10 +0000)]
Added Parser::preprocess() entry point and OT_PREPROCESS output type, to expand templates and other similar entities producing valid wikitext as output. The immediate application is a special page extension, shortly to be committed, but it may be used in the future to produce an intermediate cache, to improve the rendering speed of stable versions or other kinds of old revisions. Added some shortcut aliases for output type comparsions.

17 years agoNamespace updates for Urdu, bug 6552
Tim Starling [Mon, 14 Aug 2006 05:43:30 +0000 (05:43 +0000)]
Namespace updates for Urdu, bug 6552

17 years agoRevert part of 16036 using an undefined magic word, spews errors everywhere
Brion Vibber [Sun, 13 Aug 2006 23:42:38 +0000 (23:42 +0000)]
Revert part of 16036 using an undefined magic word, spews errors everywhere

17 years agofixing html escape of page title in <h1> tag (bug 6986)
Daniel Kinzler [Sun, 13 Aug 2006 22:12:50 +0000 (22:12 +0000)]
fixing html escape of page title in <h1> tag (bug 6986)

17 years agoDJVU rendering: Handle old DB metadata entries
Jens Frank [Sun, 13 Aug 2006 21:09:20 +0000 (21:09 +0000)]
DJVU rendering: Handle old DB metadata entries

17 years agoMoving Hebrew file credits.
Rotem Liss [Sun, 13 Aug 2006 21:03:56 +0000 (21:03 +0000)]
Moving Hebrew file credits.

17 years agoAdding the formatnum magic word.
Rotem Liss [Sun, 13 Aug 2006 20:59:50 +0000 (20:59 +0000)]
Adding the formatnum magic word.

17 years agoFix undefined variables
Jens Frank [Sun, 13 Aug 2006 20:42:10 +0000 (20:42 +0000)]
Fix undefined variables

17 years agoremove superfluous debugging code
Jens Frank [Sun, 13 Aug 2006 20:03:11 +0000 (20:03 +0000)]
remove superfluous debugging code

17 years agoSwap the table pager images in RTL languages.
Rotem Liss [Sun, 13 Aug 2006 18:23:15 +0000 (18:23 +0000)]
Swap the table pager images in RTL languages.

17 years agoUpdate.
Rotem Liss [Sun, 13 Aug 2006 18:16:26 +0000 (18:16 +0000)]
Update.

17 years ago(bug 7000) updated MessagesPl.php
Jens Frank [Sun, 13 Aug 2006 17:38:42 +0000 (17:38 +0000)]
(bug 7000) updated MessagesPl.php

17 years ago(bug 6420) Render thumbnails for djvu images, show multipage preview on image page
Jens Frank [Sun, 13 Aug 2006 17:34:48 +0000 (17:34 +0000)]
(bug 6420) Render thumbnails for djvu images, show multipage preview on image page

17 years agoExplcitily grant permissions when we connect as superuser and the schema already...
Greg Sabino Mullane [Sun, 13 Aug 2006 14:35:51 +0000 (14:35 +0000)]
Explcitily grant permissions when we connect as superuser and the schema already exists.

17 years agoRemove 4.3.2 php version check, as we require 5 now.
Greg Sabino Mullane [Sun, 13 Aug 2006 02:42:22 +0000 (02:42 +0000)]
Remove 4.3.2 php version check, as we require 5 now.

17 years ago(no commit message)
Tim Starling [Sun, 13 Aug 2006 01:06:41 +0000 (01:06 +0000)]

17 years agoRevamped Special:Imagelist. Implemented generic table-based data display.
Tim Starling [Sun, 13 Aug 2006 00:49:32 +0000 (00:49 +0000)]
Revamped Special:Imagelist. Implemented generic table-based data display.

17 years agoadd some abstraction for web responses, so far minimal and not that used, requires...
Domas Mituzas [Sat, 12 Aug 2006 23:03:53 +0000 (23:03 +0000)]
add some abstraction for web responses, so far minimal and not that used, requires discussion, conflicts and reverts %)