lhc/web/wiklou.git
17 years agoMinor tweaks for E_STRICT error_reporting mode warnings:
Nick Jenkins [Thu, 3 May 2007 01:05:51 +0000 (01:05 +0000)]
Minor tweaks for E_STRICT error_reporting mode warnings:
Undefined index:  width in includes/media/Generic.php on line 185
Undefined index:  width in includes/MediaTransformOutput.php on line 161
Undefined index:  height in includes/MediaTransformOutput.php on line 161
on this test:
curl --silent --include --globoff  -F 'f'='small-email.png'  -F 'r'='0'  'http://localhost/wiki/thumb.php'
(Using 180 as the fallback width in Generic.php, but if that's not a reasonable default please change).

17 years ago* Update from BrokenArrow
Niklas Laxström [Wed, 2 May 2007 20:55:25 +0000 (20:55 +0000)]
* Update from BrokenArrow

17 years ago* Added date headers to logs to make them a bit clearer
Niklas Laxström [Wed, 2 May 2007 20:37:13 +0000 (20:37 +0000)]
* Added date headers to logs to make them a bit clearer

17 years agoFix #9764: level indentation of toc is incorrect.
Antoine Musso [Wed, 2 May 2007 19:09:36 +0000 (19:09 +0000)]
Fix #9764: level indentation of toc is incorrect.
Caused by r21725.

17 years ago* (bug 9765) Update Polish translations
Raimond Spekking [Wed, 2 May 2007 19:05:00 +0000 (19:05 +0000)]
* (bug 9765) Update Polish translations
  Patch by Michał 'stv' Nadolski

17 years agoAdd parser test for regression bug 9764
Brion Vibber [Wed, 2 May 2007 18:45:11 +0000 (18:45 +0000)]
Add parser test for regression bug 9764

17 years agoNo need to check wgDBtype here: already branched at do_all_updates()
Greg Sabino Mullane [Wed, 2 May 2007 18:10:05 +0000 (18:10 +0000)]
No need to check wgDBtype here: already branched at do_all_updates()

17 years agoIgnore USE INDEX option.
Greg Sabino Mullane [Wed, 2 May 2007 17:35:50 +0000 (17:35 +0000)]
Ignore USE INDEX option.

17 years ago*For non-postgres, add the pr_id right after adding page_restrictions table to avoid...
Aaron Schulz [Wed, 2 May 2007 17:23:25 +0000 (17:23 +0000)]
*For non-postgres, add the pr_id right after adding page_restrictions table to avoid needing to run update.php twice

17 years ago*remove useless ksort() call
Aaron Schulz [Wed, 2 May 2007 17:14:13 +0000 (17:14 +0000)]
*remove useless ksort() call

17 years agoAdd pr_id column to page_restrictions table.
Greg Sabino Mullane [Wed, 2 May 2007 17:14:12 +0000 (17:14 +0000)]
Add pr_id column to page_restrictions table.

17 years agoRemoved PostgreSQL-specific hack. It does support FOR UPDATE, and if it didn't, the...
Tim Starling [Wed, 2 May 2007 16:47:06 +0000 (16:47 +0000)]
Removed PostgreSQL-specific hack. It does support FOR UPDATE, and if it didn't, the correct place to deal with it would be in DatabasePostgres::makeSelectOptions(), not scattered throughout the code.

17 years agoE_STRICT fixlets: more static method markers
Brion Vibber [Wed, 2 May 2007 16:02:23 +0000 (16:02 +0000)]
E_STRICT fixlets: more static method markers
Also fixed a public function which was listed as private in comments for some reason

17 years agoUpdate German messages
Raimond Spekking [Wed, 2 May 2007 15:44:34 +0000 (15:44 +0000)]
Update German messages

17 years agoE_STRICT fixlets: properly mark some static methods as static
Brion Vibber [Wed, 2 May 2007 15:36:17 +0000 (15:36 +0000)]
E_STRICT fixlets: properly mark some static methods as static
Also removed a few obsolete object references

17 years agoIndonesian (id) localisation updates
Ivan Lanin [Wed, 2 May 2007 14:41:18 +0000 (14:41 +0000)]
Indonesian (id) localisation updates

17 years agoFix.
Rotem Liss [Wed, 2 May 2007 06:02:05 +0000 (06:02 +0000)]
Fix.

17 years agoUpdate.
Rotem Liss [Wed, 2 May 2007 05:41:35 +0000 (05:41 +0000)]
Update.

17 years agofields containing empty strings must be nullable in oracle
River Tarnell [Wed, 2 May 2007 01:45:52 +0000 (01:45 +0000)]
fields containing empty strings must be nullable in oracle

17 years agoremove schema check on upload, any wiki this old almost certainly won't work anyway...
River Tarnell [Wed, 2 May 2007 01:44:46 +0000 (01:44 +0000)]
remove schema check on upload, any wiki this old almost certainly won't work anyway, and it's a little mysql-specific

17 years agomissing log_id in insert causes sadness on Oracle, change to use standard pkey generator
River Tarnell [Wed, 2 May 2007 01:43:57 +0000 (01:43 +0000)]
missing log_id in insert causes sadness on Oracle, change to use standard pkey generator

17 years agoAdd items back to group by clause: breaks all other databases except MySQL :)
Greg Sabino Mullane [Wed, 2 May 2007 00:20:28 +0000 (00:20 +0000)]
Add items back to group by clause: breaks all other databases except MySQL :)
If short list truly needed, consider $this->mDb->implicitGroupby()

17 years agoPlease configure your text editor so as to display correctly without a) adding gibber...
Aryeh Gregor [Tue, 1 May 2007 23:55:16 +0000 (23:55 +0000)]
Please configure your text editor so as to display correctly without a) adding gibberish to files or b) completely screwing up the software (dunno about you, but I get a nice ugly "#-*- tab-width:4 c-basic-offset:4 -*- */" right before my <!DOCTYPE>).

17 years agoadd emacs modeline, to give consistent indentation most of the time
Steve Sanbeg [Tue, 1 May 2007 23:41:44 +0000 (23:41 +0000)]
add emacs modeline, to give consistent indentation most of the time

17 years agoclean up indentation
Steve Sanbeg [Tue, 1 May 2007 23:08:23 +0000 (23:08 +0000)]
clean up indentation

17 years agoFix my own stupid patching error
Steve Sanbeg [Tue, 1 May 2007 22:56:22 +0000 (22:56 +0000)]
Fix my own stupid patching error

17 years agocleanup of my previous commit, per Tim.
Steve Sanbeg [Tue, 1 May 2007 22:42:41 +0000 (22:42 +0000)]
cleanup of my previous commit, per Tim.

17 years agoBC hack for thumbnail sizes
Tim Starling [Tue, 1 May 2007 21:30:46 +0000 (21:30 +0000)]
BC hack for thumbnail sizes

17 years ago*Add some page size messages, shorten one
Aaron Schulz [Tue, 1 May 2007 20:46:13 +0000 (20:46 +0000)]
*Add some page size messages, shorten one

17 years ago*Remove double-escaping and inconsistent capitalization
Aaron Schulz [Tue, 1 May 2007 20:38:11 +0000 (20:38 +0000)]
*Remove double-escaping and inconsistent capitalization

17 years agoReverting r21771; shows priviledged UI parts to every user for no apparent reason
Brion Vibber [Tue, 1 May 2007 20:30:59 +0000 (20:30 +0000)]
Reverting r21771; shows priviledged UI parts to every user for no apparent reason

17 years ago*Add 2 messages for protectpages, shortened another
Aaron Schulz [Tue, 1 May 2007 20:23:54 +0000 (20:23 +0000)]
*Add 2 messages for protectpages, shortened another

17 years ago*Improve size option, "group by" page_namespace,page_title,pr_type only per pr_page...
Aaron Schulz [Tue, 1 May 2007 20:22:51 +0000 (20:22 +0000)]
*Improve size option, "group by" page_namespace,page_title,pr_type only per pr_page,pr_type key

17 years ago* (bug 9755) typo in MessagesFr.php
Raimond Spekking [Tue, 1 May 2007 19:53:26 +0000 (19:53 +0000)]
* (bug 9755) typo in MessagesFr.php

17 years ago* (bug 9752) typo in MessagesNo.php
Raimond Spekking [Tue, 1 May 2007 19:42:02 +0000 (19:42 +0000)]
* (bug 9752) typo in MessagesNo.php
  patch by Helge Haugland

17 years ago*Ignore 'edit=:move='
Aaron Schulz [Tue, 1 May 2007 18:58:54 +0000 (18:58 +0000)]
*Ignore 'edit=:move='

17 years ago* More {{{fixes]
Niklas Laxström [Tue, 1 May 2007 18:14:02 +0000 (18:14 +0000)]
* More {{{fixes]

17 years agol10n for r21640 (additions to 'passwordtooshort')
Antoine Musso [Tue, 1 May 2007 17:54:09 +0000 (17:54 +0000)]
l10n for r21640 (additions to 'passwordtooshort')

17 years agoFix backtrace when creating an account with a password being the same as the
Antoine Musso [Tue, 1 May 2007 17:52:13 +0000 (17:52 +0000)]
Fix backtrace when creating an account with a password being the same as the
username (r21640, bug 3348).

17 years ago* Syntax fixes and some others
Niklas Laxström [Tue, 1 May 2007 17:30:43 +0000 (17:30 +0000)]
* Syntax fixes and some others

17 years agofix bug 9670: follow redirects in section edit links
Steve Sanbeg [Tue, 1 May 2007 17:26:57 +0000 (17:26 +0000)]
fix bug 9670: follow redirects in section edit links

17 years agoRevert 'MonoBookTemplateAboveColumnContent' hook. Seems weirdly skin-specific for...
Brion Vibber [Tue, 1 May 2007 16:31:24 +0000 (16:31 +0000)]
Revert 'MonoBookTemplateAboveColumnContent' hook. Seems weirdly skin-specific for no good reason, and generally ugly.
There shouldn't be any hook calls in the skin template output at all -- looks like one snuck in before, and it should also be removed and replaced with a general toolbox system. This one won't be allowed to take root first.

17 years agoBOM :-(
Raimond Spekking [Tue, 1 May 2007 15:02:44 +0000 (15:02 +0000)]
BOM :-(

17 years agooops, outdated messages left in file
Raimond Spekking [Tue, 1 May 2007 10:23:03 +0000 (10:23 +0000)]
oops, outdated messages left in file

17 years ago* (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi
Raimond Spekking [Tue, 1 May 2007 10:14:33 +0000 (10:14 +0000)]
* (bug 9712) Use Arabic comma in date/time formats for Arabic and Farsi

17 years ago* (bug 7859) Update Kazakh translations
Raimond Spekking [Tue, 1 May 2007 09:45:11 +0000 (09:45 +0000)]
* (bug 7859) Update Kazakh translations
  Patch by AlefZet

17 years ago* (bug 7859) Update Kazakh translations
Raimond Spekking [Tue, 1 May 2007 09:40:38 +0000 (09:40 +0000)]
* (bug 7859) Update Kazakh translations
  Patch by AlefZet

17 years agoTweak as per Brianna Laugher's mail to wikitech-l re: RELEASE-NOTES, using
Nick Jenkins [Tue, 1 May 2007 07:49:34 +0000 (07:49 +0000)]
Tweak as per Brianna Laugher's mail to wikitech-l re: RELEASE-NOTES, using
description from: http://www.mediawiki.org/wiki/About_this_site
RC branch not modified.

17 years ago* (bug 9740) Updates of zh-yue
Raimond Spekking [Tue, 1 May 2007 05:51:07 +0000 (05:51 +0000)]
* (bug 9740) Updates of zh-yue
* (bug 9741) Updates of zh-cn and zh-tw
  patch by Shinjiman

17 years ago* (bug 9742) Update Lithuanian translations
Raimond Spekking [Tue, 1 May 2007 05:46:55 +0000 (05:46 +0000)]
* (bug 9742) Update Lithuanian translations
  Patch by Edgaras

17 years agoFix for upgrade from 1.4 and below, caught with upgradeTest.py
Brion Vibber [Mon, 30 Apr 2007 23:01:52 +0000 (23:01 +0000)]
Fix for upgrade from 1.4 and below, caught with upgradeTest.py

17 years ago* Added beginnings of WatchlistTicker extension. Works for most cases only,
Leon Weber [Mon, 30 Apr 2007 22:29:56 +0000 (22:29 +0000)]
* Added beginnings of WatchlistTicker extension. Works for most cases only,
  not yet documented, no i18n, not cleaned up; do not use.
* Therefore added 'MonoBookTemplateAboveColumnContent' hook.

17 years agorevisionist history
Brion Vibber [Mon, 30 Apr 2007 21:59:52 +0000 (21:59 +0000)]
revisionist history

17 years agobump to 1.11alpha
Brion Vibber [Mon, 30 Apr 2007 21:53:39 +0000 (21:53 +0000)]
bump to 1.11alpha

17 years ago* (bug 7629) Fix $wgBrowserBlackList to avoid false positive on MSIE
Brion Vibber [Mon, 30 Apr 2007 20:53:31 +0000 (20:53 +0000)]
* (bug 7629) Fix $wgBrowserBlackList to avoid false positive on MSIE
  when certain plugins are present which alter the user agent

17 years ago* (bug 6204) Fixes for indentation with $wgMaxTocLevel:
Brion Vibber [Mon, 30 Apr 2007 19:51:56 +0000 (19:51 +0000)]
* (bug 6204) Fixes for indentation with $wgMaxTocLevel:
  - don't emit too many list close tags after an invisible header
  - don't emit too many final list close tags if last header is invisible
  - don't emit TOC when there are no visible headers

17 years agoNormalize escaping for some image page messages:
Brion Vibber [Mon, 30 Apr 2007 17:41:12 +0000 (17:41 +0000)]
Normalize escaping for some image page messages:
* HTML-escape the image filename when made into an original-size link for HTML purity
* Use inline wiki parsing instead of raw HTML for show-big-image-thumb and file-nohires messages. This is cleaner (less raw HTML yay) while avoiding breaking the "<small>" tags which are for some reason in the defaults and likely any customizations (sigh) and will allow the pixel values to have localized number formatting if appropriate parser function is used

17 years agoAdded $wgNamespaceAliases, has been used in Language.php for some time, but missing...
Tim Starling [Mon, 30 Apr 2007 12:06:46 +0000 (12:06 +0000)]
Added $wgNamespaceAliases, has been used in Language.php for some time, but missing from here.

17 years ago* typo/better English, thanks to pfctdayelise
Raimond Spekking [Mon, 30 Apr 2007 12:02:37 +0000 (12:02 +0000)]
* typo/better English, thanks to pfctdayelise
* typo in zh-classical

17 years agooops! debugging code left in
Tim Starling [Mon, 30 Apr 2007 11:41:39 +0000 (11:41 +0000)]
oops! debugging code left in

17 years agoRestore original page-width parameter string, accidentally changed to width-page...
Tim Starling [Mon, 30 Apr 2007 10:28:45 +0000 (10:28 +0000)]
Restore original page-width parameter string, accidentally changed to width-page during reorganisation.

17 years agoMore general thumbnail filename check on purge, to allow for general parameter strings
Tim Starling [Mon, 30 Apr 2007 10:28:21 +0000 (10:28 +0000)]
More general thumbnail filename check on purge, to allow for general parameter strings

17 years agoNew message file: Old Chinese / Late Middle Chinese (zh-classical)
Raimond Spekking [Mon, 30 Apr 2007 09:40:48 +0000 (09:40 +0000)]
New message file: Old Chinese / Late Middle Chinese (zh-classical)
Based on http://zh-classical.wikipedia.org/wiki/Wikipedia:%E7%94%A8%E6%88%B6%E4%BB%8B%E9%9D%A2%E7%BF%BB%E8%AD%AF/MessagesZh_classical.php

17 years agoRevert r21711, wrong encoding :(
Raimond Spekking [Mon, 30 Apr 2007 09:32:03 +0000 (09:32 +0000)]
Revert r21711, wrong encoding :(

17 years agoNew message file: Old Chinese / Late Middle Chinese (zh-classical)
Raimond Spekking [Mon, 30 Apr 2007 09:25:13 +0000 (09:25 +0000)]
New message file: Old Chinese / Late Middle Chinese (zh-classical)
Based on http://zh-classical.wikipedia.org/wiki/Wikipedia:%E7%94%A8%E6%88%B6%E4%BB%8B%E9%9D%A2%E7%BF%BB%E8%AD%AF/MessagesZh_classical.php

17 years ago* (bug 7859) Update Kazakh translations
Raimond Spekking [Sun, 29 Apr 2007 20:57:38 +0000 (20:57 +0000)]
* (bug 7859) Update Kazakh translations
  Patch by AlefZet

17 years ago* Use talkpagelinktext like elsewhere
Niklas Laxström [Sun, 29 Apr 2007 18:43:46 +0000 (18:43 +0000)]
* Use talkpagelinktext like elsewhere

17 years ago* (bug 9733) Updates of zh-yue
Raimond Spekking [Sun, 29 Apr 2007 17:25:06 +0000 (17:25 +0000)]
* (bug 9733) Updates of zh-yue
* (bug 9734) Updates of zh-cn and zh-tw
  patch by Shinjiman

17 years ago* Updates
Niklas Laxström [Sun, 29 Apr 2007 13:20:29 +0000 (13:20 +0000)]
* Updates

17 years ago* I wonder
Niklas Laxström [Sun, 29 Apr 2007 12:58:32 +0000 (12:58 +0000)]
* I wonder

17 years ago* Fix comparison
Niklas Laxström [Sun, 29 Apr 2007 11:17:39 +0000 (11:17 +0000)]
* Fix comparison

17 years agoaddHeadItem() method
Tim Starling [Sun, 29 Apr 2007 10:15:05 +0000 (10:15 +0000)]
addHeadItem() method

17 years agoAdded character entity aliases &רלמ; and &رلم; as per http://lists.wikimedia.org...
Tim Starling [Sun, 29 Apr 2007 08:28:34 +0000 (08:28 +0000)]
Added character entity aliases &רלמ; and &رلم; as per lists.wikimedia.org/pipermail/wikitech-l/2007-April/031064.html

17 years ago* (bug 9731) Update Dutch translations
Raimond Spekking [Sat, 28 Apr 2007 19:17:07 +0000 (19:17 +0000)]
* (bug 9731) Update Dutch translations
  Patch by Hendrik Maryns

17 years agoIndonesian (id) localisation updates
Ivan Lanin [Sat, 28 Apr 2007 10:43:10 +0000 (10:43 +0000)]
Indonesian (id) localisation updates

17 years ago* (bug 9730) Update Japanese translations
Raimond Spekking [Sat, 28 Apr 2007 06:52:41 +0000 (06:52 +0000)]
* (bug 9730) Update Japanese translations
  Patch by Masao

17 years ago* (bug 7859) Update Kazakh translations
Raimond Spekking [Sat, 28 Apr 2007 05:05:24 +0000 (05:05 +0000)]
* (bug 7859) Update Kazakh translations
  Patch by AlefZet

17 years agoFix regression, broken since r21411:
Raimond Spekking [Fri, 27 Apr 2007 22:04:01 +0000 (22:04 +0000)]
Fix regression, broken since r21411:
Wrong messages were shown beneath small images at image description page.

17 years agoUse query group
Tim Starling [Fri, 27 Apr 2007 18:39:49 +0000 (18:39 +0000)]
Use query group

17 years agorv rv
Tim Starling [Fri, 27 Apr 2007 18:24:58 +0000 (18:24 +0000)]
rv rv

17 years agopass the subpage through to the target parameter
Tim Starling [Fri, 27 Apr 2007 18:21:50 +0000 (18:21 +0000)]
pass the subpage through to the target parameter

17 years agoRevert r21664 for the moment; completely broke paging on Special:Contributions
Brion Vibber [Fri, 27 Apr 2007 18:11:58 +0000 (18:11 +0000)]
Revert r21664 for the moment; completely broke paging on Special:Contributions

17 years agoConverted Special:Contributions to use an IndexPager. The interpretation of the offse...
Tim Starling [Fri, 27 Apr 2007 17:42:26 +0000 (17:42 +0000)]
Converted Special:Contributions to use an IndexPager. The interpretation of the offset parameter has changed, and the go parameter has been removed. Fixes bug 8602. Also, don't preserve the offset parameter through a click on the "search" button, this is counterintuitive and can cause an empty result set to be displayed erroneously.

17 years agoformatting
Tim Starling [Fri, 27 Apr 2007 17:37:59 +0000 (17:37 +0000)]
formatting

17 years agoUpdate.
Rotem Liss [Fri, 27 Apr 2007 16:45:34 +0000 (16:45 +0000)]
Update.

17 years ago2nd attempt
Tim Starling [Fri, 27 Apr 2007 16:39:21 +0000 (16:39 +0000)]
2nd attempt

17 years agoFix MessageCache issue which caused the MediaWiki namespace to be ignored on the...
Tim Starling [Fri, 27 Apr 2007 16:36:34 +0000 (16:36 +0000)]
Fix MessageCache issue which caused the MediaWiki namespace to be ignored on the second call to wfMsg() for the same key.

17 years agoAvoid the duplication of form UI code between Special:Userrights and Special:Makesysop
Brion Vibber [Fri, 27 Apr 2007 16:09:45 +0000 (16:09 +0000)]
Avoid the duplication of form UI code between Special:Userrights and Special:Makesysop

17 years agoBeautify the Special:Userrights form a bit
Brion Vibber [Fri, 27 Apr 2007 15:53:28 +0000 (15:53 +0000)]
Beautify the Special:Userrights form a bit

17 years agoReverting r21560 as discussed; there are severe problems with relying on a user-langu...
Brion Vibber [Fri, 27 Apr 2007 15:12:22 +0000 (15:12 +0000)]
Reverting r21560 as discussed; there are severe problems with relying on a user-language variable, which is why it has not been added.

17 years ago*only sanitize IPs, preserve mName
Aaron Schulz [Fri, 27 Apr 2007 13:03:42 +0000 (13:03 +0000)]
*only sanitize IPs, preserve mName

17 years agodebugging
Tim Starling [Fri, 27 Apr 2007 09:43:20 +0000 (09:43 +0000)]
debugging

17 years agoRemoved validation of width parameter in makeParamString()
Tim Starling [Fri, 27 Apr 2007 09:42:58 +0000 (09:42 +0000)]
Removed validation of width parameter in makeParamString()

17 years agooops
Tim Starling [Fri, 27 Apr 2007 09:41:09 +0000 (09:41 +0000)]
oops

17 years agoUpdate.
Rotem Liss [Fri, 27 Apr 2007 09:36:53 +0000 (09:36 +0000)]
Update.

17 years agoRestored previous interface for thumbUrl(), for backwards compatibility. Fixed squid...
Tim Starling [Fri, 27 Apr 2007 09:17:05 +0000 (09:17 +0000)]
Restored previous interface for thumbUrl(), for backwards compatibility. Fixed squid purging of thumbnails in Image::purgeCache(), broken since r21411.

17 years ago* Adding a 'reason' field to Special:Userrights
Raimond Spekking [Fri, 27 Apr 2007 09:01:09 +0000 (09:01 +0000)]
* Adding a 'reason' field to Special:Userrights

17 years ago* (bug 9720) Updates of zh-cn and zh-tw
Raimond Spekking [Fri, 27 Apr 2007 07:46:03 +0000 (07:46 +0000)]
* (bug 9720) Updates of zh-cn and zh-tw
  patch by Shinjiman

17 years agoDefer populating searchTerms until later on - allows for better highlighting.
Greg Sabino Mullane [Fri, 27 Apr 2007 03:45:43 +0000 (03:45 +0000)]
Defer populating searchTerms until later on - allows for better highlighting.

17 years agoIndonesian (id) localisation updates
Ivan Lanin [Fri, 27 Apr 2007 01:48:09 +0000 (01:48 +0000)]
Indonesian (id) localisation updates