lhc/web/wiklou.git
17 years agoAdd a version constant for diff cache so it can be cleared on major updates.
Brion Vibber [Wed, 16 May 2007 19:10:41 +0000 (19:10 +0000)]
Add a version constant for diff cache so it can be cleared on major updates.
Added a release note for a related diff bug

17 years ago* (bug 1438) Fix for diff table layout on very wide lines.
Brion Vibber [Wed, 16 May 2007 17:57:00 +0000 (17:57 +0000)]
* (bug 1438) Fix for diff table layout on very wide lines.
  Diff style rules have been broken out to common/diff.css,
  and the dupes removed from the default skin files.
  Skins can still override the default rules.

Improvements over r22192, now known to work in:
* Firefox 2.0.0.3
* Opera 9.10 and 9.20
* Safari 2.0.4
* Konqueror 3.5.6
* MSIE/Win 7.0 (wide cells may produce vertical scrollbars as well)
* MSIE/Win 6.0 (wide cells are cropped instead of scrolling)
* MSIE/Mac 5.2.3 (wide words break instead of scrolling)
* iCab 3.0.3 (some cells provoke unnecessary horizontal scrollbar)

I've cleaned up the diff table formatting a bit, moving some attributes
from the HTML to the style sheet and consolidating the duplicated styles
into a common/diff.css file which is conditionally loaded for diff views.

Individual skins or site/user CSS can still override that style if they wish.

17 years agoGive feedback on wrong/missing args, and for invalid user.
Greg Sabino Mullane [Wed, 16 May 2007 14:36:10 +0000 (14:36 +0000)]
Give feedback on wrong/missing args, and for invalid user.

17 years agoFix regression in even sizing of diff columns; forgot to restore a couple bits I...
Brion Vibber [Wed, 16 May 2007 13:59:23 +0000 (13:59 +0000)]
Fix regression in even sizing of diff columns; forgot to restore a couple bits I removed when experimenting.

17 years ago* (bug 7859) Update Kazakh translations
Raimond Spekking [Wed, 16 May 2007 10:53:52 +0000 (10:53 +0000)]
* (bug 7859) Update Kazakh translations
  Patch by AlefZet

17 years ago* (bug 1438) Fix for diff table layout on very wide lines for Gecko and
Brion Vibber [Tue, 15 May 2007 21:24:56 +0000 (21:24 +0000)]
* (bug 1438) Fix for diff table layout on very wide lines for Gecko and
  Opera-based browsers (incomplete, does not fix KHTML or MSIE)

This adds a <div> inside the <td> for diff content cells, and declares
the style for these <div>s to have overflow: auto.

In Gecko (tested Firefox 2.0) and Opera (tested 9.10 and over) this does
two things:
* The table layout treats the cells as the requested width instead of bloating
  out to the widest line of content, so the table stays visible on screen
* The individual cells that are too long get horizontal scroll bars

Unfortunately this doesn't have the hoped-for effects in other tested browsers:
* MSIE 7
* Safari 2
* Konqueror 3.5
* iCab 3

But neither has it any ill effects, so... it's a start.
There's probably some other way to force the layout algorithm to behave
that I haven't quite stumbled on yet... Might have better luck with the
fixed table layout option, though that seems less friendly to the little
+ and - columns.

The C++ diff plugins will have to be updated to support this scheme, but
no harm will be done if they're not (just they won't do anything new).

17 years agobyte -> bytea
Greg Sabino Mullane [Tue, 15 May 2007 18:46:04 +0000 (18:46 +0000)]
byte -> bytea

17 years ago* API: JSON format now allows callback parameter
Yuri Astrakhan [Tue, 15 May 2007 18:45:20 +0000 (18:45 +0000)]
* API: JSON format now allows callback parameter

17 years agoBug 9908: check server version and adjust rank() argument accordingly
Greg Sabino Mullane [Tue, 15 May 2007 12:39:41 +0000 (12:39 +0000)]
Bug 9908: check server version and adjust rank() argument accordingly

17 years agoRe-add tableName call to insert, whitespace/docs cleanup.
Greg Sabino Mullane [Tue, 15 May 2007 12:14:20 +0000 (12:14 +0000)]
Re-add tableName call to insert, whitespace/docs cleanup.

17 years agoRevert r22159 as per wikitech-l.
Tim Starling [Tue, 15 May 2007 06:41:49 +0000 (06:41 +0000)]
Revert r22159 as per wikitech-l.

17 years ago* (bug 9915) Update Portuguese translations
Raimond Spekking [Tue, 15 May 2007 05:58:25 +0000 (05:58 +0000)]
* (bug 9915) Update Portuguese translations
  Patch by 555
* 1 German message

17 years ago* API: Allow for query extensions
Yuri Astrakhan [Tue, 15 May 2007 03:35:32 +0000 (03:35 +0000)]
* API: Allow for query extensions
* API: User contrib query now uses 'contributions' db group

17 years agoDoc bug fix for 9417.
Greg Sabino Mullane [Tue, 15 May 2007 03:02:29 +0000 (03:02 +0000)]
Doc bug fix for 9417.

17 years agoRedo insert() function: support IGNORE option, support multi-values.
Greg Sabino Mullane [Tue, 15 May 2007 02:59:20 +0000 (02:59 +0000)]
Redo insert() function: support IGNORE option, support multi-values.
Fixes bug #9417

17 years ago* API: fixed watchlist db selection ('watchlist' db group)
Yuri Astrakhan [Tue, 15 May 2007 02:16:48 +0000 (02:16 +0000)]
* API: fixed watchlist db selection ('watchlist' db group)

17 years agoRemove todo re creating users: already done elsewhere for other databases (all one...
Greg Sabino Mullane [Mon, 14 May 2007 22:38:59 +0000 (22:38 +0000)]
Remove todo re creating users: already done elsewhere for other databases (all one of them)

17 years agoWrap MySQL specific character set detection section in MySQL-only if loop.
Greg Sabino Mullane [Mon, 14 May 2007 22:26:25 +0000 (22:26 +0000)]
Wrap MySQL specific character set detection section in MySQL-only if loop.

17 years agoConvert comments in a --help option
Antoine Musso [Mon, 14 May 2007 20:42:19 +0000 (20:42 +0000)]
Convert comments in a --help option

17 years agoThis is only for MySQL.
Antoine Musso [Mon, 14 May 2007 20:24:10 +0000 (20:24 +0000)]
This is only for MySQL.

17 years ago* API: updated documentation link
Yuri Astrakhan [Mon, 14 May 2007 19:09:42 +0000 (19:09 +0000)]
* API: updated documentation link

17 years agoFix regression where $wgActionPaths were not respected when parsing info out of REQUE...
Brion Vibber [Mon, 14 May 2007 13:56:26 +0000 (13:56 +0000)]
Fix regression where $wgActionPaths were not respected when parsing info out of REQUEST_URI.
There may still be bugs with alternate/compatibility URLs, investigate further...

17 years ago* Updates from Jhs
Niklas Laxström [Mon, 14 May 2007 10:41:37 +0000 (10:41 +0000)]
* Updates from Jhs

17 years ago* (bug 9904) Updates of zh-cn, zh-tw
Raimond Spekking [Mon, 14 May 2007 09:02:21 +0000 (09:02 +0000)]
* (bug 9904) Updates of zh-cn, zh-tw
  remove dupe message

17 years ago* (bug 9904) Updates of zh-cn, zh-tw
Raimond Spekking [Mon, 14 May 2007 08:45:11 +0000 (08:45 +0000)]
* (bug 9904) Updates of zh-cn, zh-tw
  patches by Alex S.H. Lin

17 years ago* (bug 9873) Updates of zh-cn, zh-tw, zh-yue
Raimond Spekking [Mon, 14 May 2007 08:20:24 +0000 (08:20 +0000)]
* (bug 9873) Updates of zh-cn, zh-tw, zh-yue
  patches by Shinjiman

17 years agoIt's dead code, Jim!
Ilmari Karonen [Mon, 14 May 2007 07:40:10 +0000 (07:40 +0000)]
It's dead code, Jim!

17 years ago* API: added property for external links (urls) retrieval
Yuri Astrakhan [Mon, 14 May 2007 07:04:13 +0000 (07:04 +0000)]
* API: added property for external links (urls) retrieval

17 years ago* API: added categories property
Yuri Astrakhan [Mon, 14 May 2007 06:21:49 +0000 (06:21 +0000)]
* API: added categories property

17 years agoAll the MediaWiki: pages linked to from Special:Allmessages have at least a default...
Ilmari Karonen [Mon, 14 May 2007 06:07:06 +0000 (06:07 +0000)]
All the MediaWiki: pages linked to from Special:Allmessages have at least a default value, there's no point in showing any of them as redlinks.

17 years ago* New properties: links, templates, images, langlinks
Yuri Astrakhan [Mon, 14 May 2007 05:28:06 +0000 (05:28 +0000)]
* New properties: links, templates, images, langlinks
* Breaking Change: imagelinks renamed into imageusage (il->iu)
* Bug fix: incorrect generator behavior in some cases

17 years agorm useless "!!" left over from testing
Ilmari Karonen [Mon, 14 May 2007 03:38:42 +0000 (03:38 +0000)]
rm useless "!!" left over from testing

17 years agowrap links to redirects in <span class="redirect-in-category"></span> in categories...
Ilmari Karonen [Mon, 14 May 2007 03:23:02 +0000 (03:23 +0000)]
wrap links to redirects in <span class="redirect-in-category"></span> in categories, similar to what Special:Allpages does

17 years agoexif::version is static
Antoine Musso [Sun, 13 May 2007 19:20:36 +0000 (19:20 +0000)]
exif::version is static

17 years ago#9896 Documentation for wgSquidServers. Patch by Loic Dachary.
Antoine Musso [Sun, 13 May 2007 12:44:38 +0000 (12:44 +0000)]
#9896 Documentation for wgSquidServers. Patch by Loic Dachary.

17 years ago* Bug 9123 : safer way when applying $wgLocalTZoffset.
Antoine Musso [Sun, 13 May 2007 11:53:07 +0000 (11:53 +0000)]
* Bug 9123 : safer way when applying $wgLocalTZoffset.
* Add a test for Language::userAdjust()

17 years agovim modeline
Antoine Musso [Sun, 13 May 2007 10:46:30 +0000 (10:46 +0000)]
vim modeline

17 years agoa couple of fixes
Tim Starling [Sat, 12 May 2007 19:25:25 +0000 (19:25 +0000)]
a couple of fixes

17 years agosvn:eol-style native
Antoine Musso [Sat, 12 May 2007 17:56:09 +0000 (17:56 +0000)]
svn:eol-style native

17 years ago*Revert r22121, causes a lot of stuff to redirect to main page for no reason, clickin...
Aaron Schulz [Sat, 12 May 2007 17:46:50 +0000 (17:46 +0000)]
*Revert r22121, causes a lot of stuff to redirect to main page for no reason, clicking history/edit tabs results in "Editing Main Page" no matter what (Apache/2.2.3_)

17 years ago* Random cleanup
Niklas Laxström [Sat, 12 May 2007 16:07:27 +0000 (16:07 +0000)]
* Random cleanup

17 years agoUse $_SERVER['REQUEST_URI'] instead of $_SERVER['PATH_INFO'], because Apache 2.x...
Tim Starling [Sat, 12 May 2007 15:44:54 +0000 (15:44 +0000)]
Use $_SERVER['REQUEST_URI'] instead of $_SERVER['PATH_INFO'], because Apache 2.x corrupts the latter. Idea came from trac.agavi.org/ticket/502 .

17 years agoIndonesian (id) localisation updates.
Ivan Lanin [Sat, 12 May 2007 05:32:29 +0000 (05:32 +0000)]
Indonesian (id) localisation updates.

17 years agoRemoved identical language class, used a fallback instead.
Tim Starling [Fri, 11 May 2007 20:03:05 +0000 (20:03 +0000)]
Removed identical language class, used a fallback instead.

17 years agokeep compat link for be-x-old for now
Brion Vibber [Fri, 11 May 2007 19:25:53 +0000 (19:25 +0000)]
keep compat link for be-x-old for now

17 years agoClarify that wgDBport is not for mysql, make explicit sections.
Greg Sabino Mullane [Fri, 11 May 2007 18:44:51 +0000 (18:44 +0000)]
Clarify that wgDBport is not for mysql, make explicit sections.

17 years agotypo
Tim Starling [Fri, 11 May 2007 17:05:10 +0000 (17:05 +0000)]
typo

17 years agoinstead of storing every mail as a job, have a job to send enotif updates for the...
River Tarnell [Fri, 11 May 2007 16:42:18 +0000 (16:42 +0000)]
instead of storing every mail as a job, have a job to send enotif updates for the whole mail at once.

17 years agoUpdate.
Rotem Liss [Fri, 11 May 2007 15:35:38 +0000 (15:35 +0000)]
Update.

17 years agoenglish stripping
River Tarnell [Fri, 11 May 2007 15:21:06 +0000 (15:21 +0000)]
english stripping

17 years agoRenaming be-x-old to be-tarask, changing name to "Беларуская (тарашкевіца)" as sugges...
Tim Starling [Fri, 11 May 2007 15:00:19 +0000 (15:00 +0000)]
Renaming be-x-old to be-tarask, changing name to "Беларуская (тарашкевіца)" as suggested on wikipedia-l.

17 years agoUpdate.
Rotem Liss [Fri, 11 May 2007 14:16:05 +0000 (14:16 +0000)]
Update.

17 years ago(bug 9877) Fix Catalan translation of rev-deleted-text-view
River Tarnell [Fri, 11 May 2007 12:03:01 +0000 (12:03 +0000)]
(bug 9877) Fix Catalan translation of rev-deleted-text-view

17 years agoNS_MAIN should have no translation, breaks article name generation (cf. #9876)
River Tarnell [Fri, 11 May 2007 10:52:39 +0000 (10:52 +0000)]
NS_MAIN should have no translation, breaks article name generation (cf. #9876)

17 years ago* (bug 9873) Updates of zh-cn, zh-tw, zh-yue
Raimond Spekking [Fri, 11 May 2007 09:46:43 +0000 (09:46 +0000)]
* (bug 9873) Updates of zh-cn, zh-tw, zh-yue
  patches by Shinjiman

17 years agofixes
River Tarnell [Fri, 11 May 2007 07:49:32 +0000 (07:49 +0000)]
fixes

17 years agonextJobDB should have a way to pick a db having specific type of job in the queue
River Tarnell [Fri, 11 May 2007 07:44:40 +0000 (07:44 +0000)]
nextJobDB should have a way to pick a db having specific type of job in the queue

17 years agorunJobs should have a way to only run certain types of job
River Tarnell [Fri, 11 May 2007 07:36:05 +0000 (07:36 +0000)]
runJobs should have a way to only run certain types of job

17 years ago* (bug 9871) Update Swedish translations
Raimond Spekking [Fri, 11 May 2007 05:36:33 +0000 (05:36 +0000)]
* (bug 9871) Update Swedish translations
  Patch by Lejonel

17 years agoSundanese (su) localisation updates from BetaWiki.
Ivan Lanin [Fri, 11 May 2007 03:47:13 +0000 (03:47 +0000)]
Sundanese (su) localisation updates from BetaWiki.

17 years agoIndonesian (id) localisation updates.
Ivan Lanin [Fri, 11 May 2007 02:07:47 +0000 (02:07 +0000)]
Indonesian (id) localisation updates.

17 years ago*nest deletion per row, to avoid racing
Aaron Schulz [Fri, 11 May 2007 00:36:21 +0000 (00:36 +0000)]
*nest deletion per row, to avoid racing

17 years ago*Add a script to delete archived images
Aaron Schulz [Thu, 10 May 2007 22:10:25 +0000 (22:10 +0000)]
*Add a script to delete archived images

17 years ago*Comment: based on deleteOldRevisions.php
Aaron Schulz [Thu, 10 May 2007 21:50:57 +0000 (21:50 +0000)]
*Comment: based on deleteOldRevisions.php

17 years agoFix #7070: monobook/user.gif has antialias artifacts
Antoine Musso [Thu, 10 May 2007 21:40:23 +0000 (21:40 +0000)]
Fix #7070: monobook/user.gif has antialias artifacts
Patch by Ryan Finnie

17 years ago*opps, fix doc comment
Aaron Schulz [Thu, 10 May 2007 21:17:09 +0000 (21:17 +0000)]
*opps, fix doc comment

17 years agoFix #5375: profiling does not respect read-only mode
Antoine Musso [Thu, 10 May 2007 21:05:36 +0000 (21:05 +0000)]
Fix #5375: profiling does not respect read-only mode

17 years ago*Add a script to delete archived revisions
Aaron Schulz [Thu, 10 May 2007 21:05:10 +0000 (21:05 +0000)]
*Add a script to delete archived revisions

17 years agoSome fixes to avoid Xml::element call with null content when we actually want
Antoine Musso [Thu, 10 May 2007 20:51:15 +0000 (20:51 +0000)]
Some fixes to avoid Xml::element call with null content when we actually want
to open a XML element. It should help fix bug #5312 later on.

* XML attributes rendering now made by private Xml::expandAttributes() method
* Xml::openElement() and Xml::tags() no more rely on Xml::element() with
  a null content.
* Fix wfElement() call with null content when we actually open an element.

17 years ago* (bug 7859) Update Kazakh translations
Raimond Spekking [Thu, 10 May 2007 20:01:27 +0000 (20:01 +0000)]
* (bug 7859) Update Kazakh translations
  Patch by AlefZet

17 years ago* (bug 7859) Update Kazakh translations
Raimond Spekking [Thu, 10 May 2007 19:53:55 +0000 (19:53 +0000)]
* (bug 7859) Update Kazakh translations
* (bug 7971) Update Kazakh extension translations
  Patches by AlefZet

17 years agoPHP Fatal error: Call to undefined function request() in /usr/local/apache/common...
River Tarnell [Thu, 10 May 2007 19:29:21 +0000 (19:29 +0000)]
PHP Fatal error:  Call to undefined function request() in /usr/local/apache/common-local/php-1.5/includes/HttpFunctions.php on line 8
need to qualify function with class name

17 years agoUpdate German
Raimond Spekking [Thu, 10 May 2007 19:19:03 +0000 (19:19 +0000)]
Update German

17 years ago- Http::request(), Http::post()
River Tarnell [Thu, 10 May 2007 19:13:02 +0000 (19:13 +0000)]
- Http::request(), Http::post()
- don't redirect page views on POST
- Special:Export shouldn't do POST special case when page name provided
- Special:Import should use POST for interwiki fetches

17 years ago* Bah, these two aren't even used
Niklas Laxström [Thu, 10 May 2007 18:04:02 +0000 (18:04 +0000)]
* Bah, these two aren't even used

17 years ago* Better use of Xml functions
Niklas Laxström [Thu, 10 May 2007 17:58:33 +0000 (17:58 +0000)]
* Better use of Xml functions

17 years ago* Updates
Niklas Laxström [Thu, 10 May 2007 17:43:46 +0000 (17:43 +0000)]
* Updates

17 years ago* Don't show search box when the list is empty
Niklas Laxström [Thu, 10 May 2007 17:31:10 +0000 (17:31 +0000)]
* Don't show search box when the list is empty

17 years ago* Consistent case for plurar
Niklas Laxström [Thu, 10 May 2007 17:23:07 +0000 (17:23 +0000)]
* Consistent case for plurar

17 years ago* move hardcoded colons into message files
Raimond Spekking [Thu, 10 May 2007 16:12:43 +0000 (16:12 +0000)]
* move hardcoded colons into message files
* make input forms nicer for RTL wikis. Should not make any difference to LTR wikis.

17 years agoFixed another stat call
Tim Starling [Thu, 10 May 2007 15:55:15 +0000 (15:55 +0000)]
Fixed another stat call

17 years agowhen $threshold is 0, page_len and page_is_redirect are not present in $s; causes...
River Tarnell [Thu, 10 May 2007 15:36:29 +0000 (15:36 +0000)]
when $threshold is 0, page_len and page_is_redirect are not present in $s; causes PHP errors and spurious stub display

17 years agoDon't check if the thumbnail file exists if $wgGenerateThumbnailOnParse=false. Ineffi...
Tim Starling [Thu, 10 May 2007 15:03:41 +0000 (15:03 +0000)]
Don't check if the thumbnail file exists if $wgGenerateThumbnailOnParse=false. Inefficient.

17 years ago* (bug 7859) Update Kazakh translations
Raimond Spekking [Thu, 10 May 2007 10:32:24 +0000 (10:32 +0000)]
* (bug 7859) Update Kazakh translations
  Patch by AlefZet

17 years ago* (bug 9742) Update Lithuanian translations
Raimond Spekking [Thu, 10 May 2007 10:23:00 +0000 (10:23 +0000)]
* (bug 9742) Update Lithuanian translations
  Patch by Edgaras

17 years agoIf for some weird reason user-reason is not given a value, make MySQL happy by defaul...
Aryeh Gregor [Thu, 10 May 2007 01:53:07 +0000 (01:53 +0000)]
If for some weird reason user-reason is not given a value, make MySQL happy by defaulting to an empty string instead of null.  Not that that should ever happen, but somehow it just did for me, so . . .

17 years agoSlightly less jargon
Aryeh Gregor [Thu, 10 May 2007 01:46:13 +0000 (01:46 +0000)]
Slightly less jargon

17 years ago(bug 9860) Fix bug caused by true == 'default' (don't you love PHP?). Thanks to...
Aryeh Gregor [Thu, 10 May 2007 01:24:51 +0000 (01:24 +0000)]
(bug 9860) Fix bug caused by true == 'default' (don't you love PHP?).  Thanks to Ben White/Philip.

I'm not sure how to phrase this for RELEASE-NOTES since I'm not sure what it does exactly; does it only affect extension-writers or something?  From looking at the code I can't even see how the execution path is ever even followed, except maybe from maintenance scripts.

17 years agoMake ugly regex slightly less ugly. You don't have to use / for the delimiter.
Aryeh Gregor [Thu, 10 May 2007 01:07:10 +0000 (01:07 +0000)]
Make ugly regex slightly less ugly.  You don't have to use / for the delimiter.

17 years ago* (bug 7859) Update Kazakh translations
Raimond Spekking [Wed, 9 May 2007 21:13:03 +0000 (21:13 +0000)]
* (bug 7859) Update Kazakh translations
  Patch by AlefZet

17 years agoapply stub threshold to all content namespaces
Ilmari Karonen [Wed, 9 May 2007 21:09:59 +0000 (21:09 +0000)]
apply stub threshold to all content namespaces

17 years ago* Fix #6823: HTML dumping should not increment the page view counters.
Antoine Musso [Wed, 9 May 2007 20:55:20 +0000 (20:55 +0000)]
* Fix #6823: HTML dumping should not increment the page view counters.
* Small documentation for $wgDisableCounters.

17 years ago* (bug 9859) Updates of zh-cn, zh-tw, zh-yue
Raimond Spekking [Wed, 9 May 2007 20:50:13 +0000 (20:50 +0000)]
* (bug 9859) Updates of zh-cn, zh-tw, zh-yue
  patches by Shinjiman

17 years agoDefine accesskeys for new tooltips.
Raimond Spekking [Wed, 9 May 2007 20:42:56 +0000 (20:42 +0000)]
Define accesskeys for new tooltips.

17 years agoSplit out Linker::formatComment using two new private functions:
Antoine Musso [Wed, 9 May 2007 20:05:08 +0000 (20:05 +0000)]
Split out Linker::formatComment using two new private functions:
* Linker::formatAutoComments: handles "/* section name */" stuff
* Linker::formatLinksInComment: renders [[wikilinks|click me]]

17 years ago* Update Gernan translation
Raimond Spekking [Wed, 9 May 2007 19:59:21 +0000 (19:59 +0000)]
* Update Gernan translation
* messages.inc, 1 outdated message removed in r22028

17 years agowhitespaces killing, adding {}
Antoine Musso [Wed, 9 May 2007 19:09:33 +0000 (19:09 +0000)]
whitespaces killing, adding {}

17 years agomake links to MediaWiki pages blue for messages with default values
Ilmari Karonen [Wed, 9 May 2007 18:41:05 +0000 (18:41 +0000)]
make links to MediaWiki pages blue for messages with default values

17 years agosimplify stub threshold checking
Ilmari Karonen [Wed, 9 May 2007 18:18:28 +0000 (18:18 +0000)]
simplify stub threshold checking

17 years agomove key normalization from wfMsgWeirdKey() to non-cache branch of wgMsgGetKey()...
Ilmari Karonen [Wed, 9 May 2007 17:53:45 +0000 (17:53 +0000)]
move key normalization from wfMsgWeirdKey() to non-cache branch of wgMsgGetKey(), to eliminate redundancy with identical normalization already done by the message cache