lhc/web/wiklou.git
17 years agobetter error messages
Tim Starling [Wed, 25 Apr 2007 07:40:22 +0000 (07:40 +0000)]
better error messages

17 years agodebugging
Tim Starling [Wed, 25 Apr 2007 07:40:00 +0000 (07:40 +0000)]
debugging

17 years agoBump cache version
Tim Starling [Wed, 25 Apr 2007 07:39:26 +0000 (07:39 +0000)]
Bump cache version

17 years agoAdding -summary messages to new special pages to be consistent with other special...
Raimond Spekking [Tue, 24 Apr 2007 20:54:43 +0000 (20:54 +0000)]
Adding -summary messages to new special pages to be consistent with other special pages
Make them optional.

17 years ago*Remove wfGetLastIPfromXFF() from r19889
Aaron Schulz [Tue, 24 Apr 2007 19:00:45 +0000 (19:00 +0000)]
*Remove wfGetLastIPfromXFF() from r19889

17 years agoUse eval "$4" instead of "$@", so that shell metacharacters such as "(" are understood
Tim Starling [Tue, 24 Apr 2007 18:09:53 +0000 (18:09 +0000)]
Use eval "$4" instead of "$@", so that shell metacharacters such as "(" are understood

17 years ago* (bug 9585) Fix regression in tidy usage in Special:Undelete previews
Brion Vibber [Tue, 24 Apr 2007 16:26:42 +0000 (16:26 +0000)]
* (bug 9585) Fix regression in tidy usage in Special:Undelete previews

17 years agoneed destination path even when rendering later
Tim Starling [Tue, 24 Apr 2007 15:09:37 +0000 (15:09 +0000)]
need destination path even when rendering later

17 years agoinclude path in thumbnail output
Tim Starling [Tue, 24 Apr 2007 14:48:21 +0000 (14:48 +0000)]
include path in thumbnail output

17 years agoIndonesian (id) and Sundanese (su) localisation updates
Ivan Lanin [Tue, 24 Apr 2007 14:47:07 +0000 (14:47 +0000)]
Indonesian (id) and Sundanese (su) localisation updates

17 years agoReverting more fucked up untested code from r21448 and r21449
Brion Vibber [Tue, 24 Apr 2007 14:31:52 +0000 (14:31 +0000)]
Reverting more fucked up untested code from r21448 and r21449

17 years ago* Updates
Niklas Laxström [Tue, 24 Apr 2007 11:02:01 +0000 (11:02 +0000)]
* Updates

17 years agoUpdate.
Rotem Liss [Tue, 24 Apr 2007 10:15:10 +0000 (10:15 +0000)]
Update.

17 years agoGerman uodates
Raimond Spekking [Tue, 24 Apr 2007 10:10:33 +0000 (10:10 +0000)]
German uodates

17 years agoDoc tweaks:
Nick Jenkins [Tue, 24 Apr 2007 06:53:31 +0000 (06:53 +0000)]
Doc tweaks:
* Seems like an opportune time to introduce "@addtogroup Media" documentation tags.
* Merge "@addtogroup Metadata" (used by Exif.php) into "@addtogroup Media".
* Few more moving comment blocks to above classes.

17 years agoEnable JAVADOC_AUTOBRIEF in Doxygen configuration file. With this enabled, the
Nick Jenkins [Tue, 24 Apr 2007 06:36:23 +0000 (06:36 +0000)]
Enable JAVADOC_AUTOBRIEF in Doxygen configuration file. With this enabled, the
http://svn.wikimedia.org/doc/annotated.html page should (I think) when regenerated
go from the class description column on the right being almost empty, to being almost
full. (Why Doxygen ships with this defaulting to off is rather perplexing to me).

17 years ago* (bug 9674) Update Cantonese translations
Raimond Spekking [Tue, 24 Apr 2007 04:30:44 +0000 (04:30 +0000)]
* (bug 9674) Update Cantonese translations
  Patch by Shinjiman

17 years ago*Actually enforce when you can cascade, add missing [cascade] comment to dummy edit...
Aaron Schulz [Tue, 24 Apr 2007 02:20:04 +0000 (02:20 +0000)]
*Actually enforce when you can cascade, add missing [cascade] comment to dummy edit summary

17 years ago*Add {{plural}} to Protect-cascadeon too. (bug 8664)
Aaron Schulz [Tue, 24 Apr 2007 02:04:04 +0000 (02:04 +0000)]
*Add {{plural}} to Protect-cascadeon too. (bug 8664)

17 years ago*Use proper number grammar for cascading protection notices (bug 8664)
Aaron Schulz [Tue, 24 Apr 2007 01:59:47 +0000 (01:59 +0000)]
*Use proper number grammar for cascading protection notices (bug 8664)

17 years agoIndonesian (id) localisation updates
Ivan Lanin [Tue, 24 Apr 2007 01:20:49 +0000 (01:20 +0000)]
Indonesian (id) localisation updates

17 years agoRevert r21504, wrong file :/
Aaron Schulz [Mon, 23 Apr 2007 19:51:41 +0000 (19:51 +0000)]
Revert r21504, wrong file :/

17 years ago*Do not convert to arrays
Aaron Schulz [Mon, 23 Apr 2007 19:50:10 +0000 (19:50 +0000)]
*Do not convert to arrays

17 years ago*dammit
Aaron Schulz [Mon, 23 Apr 2007 19:49:03 +0000 (19:49 +0000)]
*dammit

17 years agoThis file seems to be empty - removing.
Rotem Liss [Mon, 23 Apr 2007 19:42:22 +0000 (19:42 +0000)]
This file seems to be empty - removing.

17 years agoRevert r21461 for now; a cleanup patch which doesn't change functionality but makes...
Brion Vibber [Mon, 23 Apr 2007 18:52:51 +0000 (18:52 +0000)]
Revert r21461 for now; a cleanup patch which doesn't change functionality but makes more things to clean up -- ugly function names, incorrect profiling function titles...

17 years agoRemove mysql5 schema stuff, various minor updates.
Greg Sabino Mullane [Mon, 23 Apr 2007 18:33:38 +0000 (18:33 +0000)]
Remove mysql5 schema stuff, various minor updates.

17 years ago*cough* ahem
Aaron Schulz [Mon, 23 Apr 2007 18:30:36 +0000 (18:30 +0000)]
*cough* ahem

17 years ago*Typo
Aaron Schulz [Mon, 23 Apr 2007 18:25:22 +0000 (18:25 +0000)]
*Typo

17 years ago*Document some older functions
Aaron Schulz [Mon, 23 Apr 2007 18:06:37 +0000 (18:06 +0000)]
*Document some older functions

17 years agoUpdate.
Rotem Liss [Mon, 23 Apr 2007 16:21:20 +0000 (16:21 +0000)]
Update.

17 years agoReapply predefined block reasons (r21200) after reworking:
Raimond Spekking [Mon, 23 Apr 2007 16:11:49 +0000 (16:11 +0000)]
Reapply predefined block reasons (r21200) after reworking:
* Better default block reasons (thanks to Rob)
* Consistent appearance at [[MediaWiki:ipbreason-dropdown]]
** () zero level, * first level (groups), ** second level (reasons for this group)
* field can be disabled with '-'
* link to MW message at block page

17 years agoremove version
Tim Starling [Mon, 23 Apr 2007 15:50:49 +0000 (15:50 +0000)]
remove version

17 years agoStub localisation for classical chinese, simple fallback to zh-tw
Tim Starling [Mon, 23 Apr 2007 11:10:50 +0000 (11:10 +0000)]
Stub localisation for classical chinese, simple fallback to zh-tw

17 years ago* Some updates
Niklas Laxström [Mon, 23 Apr 2007 09:06:09 +0000 (09:06 +0000)]
* Some updates

17 years ago* (bug 9647) Updates of zh-cn and zh-tw
Raimond Spekking [Mon, 23 Apr 2007 09:03:59 +0000 (09:03 +0000)]
* (bug 9647) Updates of zh-cn and zh-tw
  patch by Shinjiman

17 years ago* (bug 9668) Update Uzbek translations
Raimond Spekking [Mon, 23 Apr 2007 08:48:17 +0000 (08:48 +0000)]
* (bug 9668) Update Uzbek translations
  Patch by Behzod Saidov

17 years ago* (bug 9636) Update Sanskrit translations
Raimond Spekking [Mon, 23 Apr 2007 07:21:17 +0000 (07:21 +0000)]
* (bug 9636) Update Sanskrit translations
  Patch by sivakalyan.princeton

17 years ago* (bug 9662) Update Russian translations
Raimond Spekking [Mon, 23 Apr 2007 07:11:50 +0000 (07:11 +0000)]
* (bug 9662) Update Russian translations
  Patch by Alexander Sigachov

17 years ago* (bug 9664) Update French translations
Raimond Spekking [Mon, 23 Apr 2007 07:07:26 +0000 (07:07 +0000)]
* (bug 9664) Update French translations
  Patch by Rémi Kaupp

17 years agoTweak for E_STRICT warning "Undefined index: in includes/MimeMagic.php on line...
Nick Jenkins [Mon, 23 Apr 2007 01:41:19 +0000 (01:41 +0000)]
Tweak for E_STRICT warning "Undefined index:   in includes/MimeMagic.php on line 267" on:
curl --silent --include --globoff -F 'f'='..' -F 'w'='1930' -F 'r'='\</rp></dt>' 'http://localhost/wiki/thumb.php'
(Only happens because E_STRICT seems to disable the @ error control operator)

17 years agosyntax error
Tim Starling [Sun, 22 Apr 2007 22:03:02 +0000 (22:03 +0000)]
syntax error

17 years ago503 response code on lag error
Tim Starling [Sun, 22 Apr 2007 22:01:41 +0000 (22:01 +0000)]
503 response code on lag error

17 years agomaxlag hidden parameter. Allows client-side bots to throttle under slave lag conditio...
Tim Starling [Sun, 22 Apr 2007 21:17:10 +0000 (21:17 +0000)]
maxlag hidden parameter. Allows client-side bots to throttle under slave lag conditions, just like server-side maintenance scripts.

17 years ago* Smaller borders for TablePager
Antoine Musso [Sun, 22 Apr 2007 20:23:56 +0000 (20:23 +0000)]
* Smaller borders for TablePager
* Tweak french translation

17 years agoavoid a notice when nothing is found
Antoine Musso [Sun, 22 Apr 2007 20:23:08 +0000 (20:23 +0000)]
avoid a notice when nothing is found

17 years agoAdd support for microsoft bmp format. It simply give out the height and size,
Antoine Musso [Sun, 22 Apr 2007 17:34:09 +0000 (17:34 +0000)]
Add support for microsoft bmp format. It simply give out the height and size,
we might want to transform them to png automaticly.

17 years agoAdded $wgUsersNotifedOnAllChanges, array of usernames who will be sent a notification...
Tim Starling [Sun, 22 Apr 2007 14:07:28 +0000 (14:07 +0000)]
Added $wgUsersNotifedOnAllChanges, array of usernames who will be sent a notification email for every change which occurs on a wiki

17 years ago* Removed mysql5 SQL files, obviously we're collectively incapable of keeping them...
Tim Starling [Sun, 22 Apr 2007 14:04:52 +0000 (14:04 +0000)]
* Removed mysql5 SQL files, obviously we're collectively incapable of keeping them up to date. They were littered with errors. The only deliberate difference appears to be the table character set, which can be adjusted programatically using a variable.
* Added table option variable to the SQL patch files, so now upgrading a non-standard schema won't leave your database horribly corrupted.
* Added sql.php, for sourcing SQL files with MediaWiki variable substitution.
* Disable MySQL's strict mode at session start for MySQL 4.1+, to avoid the various problems that occur when it is on.

17 years ago* Removed mysql5 SQL files, obviously we're collectively incapable of keeping them...
Tim Starling [Sun, 22 Apr 2007 14:04:06 +0000 (14:04 +0000)]
* Removed mysql5 SQL files, obviously we're collectively incapable of keeping them up to date. They were littered with errors. The only deliberate difference appears to be the table character set, which can be adjusted programatically using a variable.
* Added table option variable to the SQL patch files, so now upgrading a non-standard schema won't leave your database horribly corrupted.
* Added sql.php, for sourcing SQL files with MediaWiki variable substitution.
* Disable MySQL's strict mode at session start for MySQL 4.1+, to avoid the various problems that occur when it is on.

17 years ago* Slovak (sk) updates
Niklas Laxström [Sun, 22 Apr 2007 13:11:57 +0000 (13:11 +0000)]
* Slovak (sk) updates

17 years ago(bug 9656) Generate autosummaries on the deletion of all pages, not just those <...
Aryeh Gregor [Sun, 22 Apr 2007 03:09:42 +0000 (03:09 +0000)]
(bug 9656) Generate autosummaries on the deletion of all pages, not just those < 500 bytes.

17 years agoMove tidy callbacks from the Parser class to a new Tidy class. This is to keep
Antoine Musso [Sat, 21 Apr 2007 23:25:36 +0000 (23:25 +0000)]
Move tidy callbacks from the Parser class to a new Tidy class. This is to keep
Parser.php at a reasonable size.

17 years ago*Remove update() query to avoid any data loss concerns
Aaron Schulz [Sat, 21 Apr 2007 23:19:18 +0000 (23:19 +0000)]
*Remove update() query to avoid any data loss concerns

17 years ago*Use appropriate comment
Aaron Schulz [Sat, 21 Apr 2007 21:44:19 +0000 (21:44 +0000)]
*Use appropriate comment

17 years agoKill some more whitespaces
Antoine Musso [Sat, 21 Apr 2007 21:35:21 +0000 (21:35 +0000)]
Kill some more whitespaces

17 years agoFix end of lines (added in r21455)
Antoine Musso [Sat, 21 Apr 2007 21:11:14 +0000 (21:11 +0000)]
Fix end of lines (added in r21455)

17 years agoTweak out doxygen documentation:
Antoine Musso [Sat, 21 Apr 2007 21:07:23 +0000 (21:07 +0000)]
Tweak out doxygen documentation:
* include svn revision for each file
* use dot to build graphs
* enabled search engine

17 years ago*Add a batch updater to move remaining page_restrictions values in page to the page_r...
Aaron Schulz [Sat, 21 Apr 2007 20:30:57 +0000 (20:30 +0000)]
*Add a batch updater to move remaining page_restrictions values in page to the page_restrictions table

17 years agodoxygen -s -u mwdoxgen.cfg :
Antoine Musso [Sat, 21 Apr 2007 20:22:44 +0000 (20:22 +0000)]
doxygen -s -u mwdoxgen.cfg :
* strip out comments
* update from doxyfile 1.4.3 to 1.5.1

17 years agoShow the current version number in doxygen documentation
Antoine Musso [Sat, 21 Apr 2007 20:06:52 +0000 (20:06 +0000)]
Show the current version number in doxygen documentation

17 years ago*Cascading protection notice, show regular protection and cascading notices if both...
Aaron Schulz [Sat, 21 Apr 2007 19:02:02 +0000 (19:02 +0000)]
*Cascading protection notice, show regular protection and cascading notices if both apply

17 years ago* Updates
Niklas Laxström [Sat, 21 Apr 2007 17:19:19 +0000 (17:19 +0000)]
* Updates

17 years ago*Remove wfGetLastIPfromXFF(), add a new wfGetClientIPfromXFF(), which was removed...
Aaron Schulz [Sat, 21 Apr 2007 16:45:36 +0000 (16:45 +0000)]
*Remove wfGetLastIPfromXFF(), add a new wfGetClientIPfromXFF(), which was removed in r21353

17 years ago* Võro (fiu-vro) translation
Niklas Laxström [Sat, 21 Apr 2007 16:41:02 +0000 (16:41 +0000)]
* Võro (fiu-vro) translation
* Thanks to Võrok

17 years agoAdd a php linting test.
Antoine Musso [Sat, 21 Apr 2007 16:27:06 +0000 (16:27 +0000)]
Add a php linting test.

17 years agoFix.
Rotem Liss [Sat, 21 Apr 2007 16:03:46 +0000 (16:03 +0000)]
Fix.

17 years agoFix r21443 : privates are public :o)
Antoine Musso [Sat, 21 Apr 2007 15:12:56 +0000 (15:12 +0000)]
Fix r21443 : privates are public :o)

17 years ago* Made HistoryBlob an interface (PHP 5 let us do it now).
Antoine Musso [Sat, 21 Apr 2007 15:04:51 +0000 (15:04 +0000)]
* Made HistoryBlob an interface (PHP 5 let us do it now).
* ConcatenedGzipHistoryBlob is an implementation of HistoryBlob, marked public / private methods.

17 years agoConvert whitespaces to tabulations
Antoine Musso [Sat, 21 Apr 2007 14:44:56 +0000 (14:44 +0000)]
Convert whitespaces to tabulations

17 years agoFix #9630 : Limits links in Whatlinkshere forget about namespace filter
Antoine Musso [Sat, 21 Apr 2007 14:27:59 +0000 (14:27 +0000)]
Fix #9630 : Limits links in Whatlinkshere forget about namespace filter
* marks '$namespace' private too

17 years agoAdded some comments to our classes.
Antoine Musso [Sat, 21 Apr 2007 12:42:27 +0000 (12:42 +0000)]
Added some comments to our classes.

17 years ago* Comments
Antoine Musso [Sat, 21 Apr 2007 12:33:41 +0000 (12:33 +0000)]
* Comments
* Abstract methods at the top
* Move a static function in the static part

17 years agowhitespaces killing
Antoine Musso [Sat, 21 Apr 2007 12:13:47 +0000 (12:13 +0000)]
whitespaces killing

17 years agoFixed metadata format
Tim Starling [Fri, 20 Apr 2007 21:35:27 +0000 (21:35 +0000)]
Fixed metadata format

17 years agoSundanese (su) localisation updates based on BetaWiki
Ivan Lanin [Fri, 20 Apr 2007 21:06:36 +0000 (21:06 +0000)]
Sundanese (su) localisation updates based on BetaWiki

17 years ago(bug 9639) Cantonese localisation update. Patch by Shinjiman.
Ivan Lanin [Fri, 20 Apr 2007 20:45:17 +0000 (20:45 +0000)]
(bug 9639) Cantonese localisation update. Patch by Shinjiman.

17 years agoChange Sanitzer::stripAllTags() to return plaintext instead of encoded HTML literals...
Brion Vibber [Fri, 20 Apr 2007 20:26:15 +0000 (20:26 +0000)]
Change Sanitzer::stripAllTags() to return plaintext instead of encoded HTML literals; this fits in better with updated code and fixes a regression in image alt text encoding.
The only other remaining use I see of it is in ChemFunctions, which seems to be assuming plaintext output already and applies extra encoding.

17 years agoIndonesian (id) localization updates
Ivan Lanin [Fri, 20 Apr 2007 20:12:15 +0000 (20:12 +0000)]
Indonesian (id) localization updates

17 years agoDon't double-normalise parameters, introduces rounding errors.
Tim Starling [Fri, 20 Apr 2007 19:45:58 +0000 (19:45 +0000)]
Don't double-normalise parameters, introduces rounding errors.

17 years agoFixes/tweaks for the image refactoring:
Brion Vibber [Fri, 20 Apr 2007 19:24:53 +0000 (19:24 +0000)]
Fixes/tweaks for the image refactoring:
* Fix [[Image:Foobar.png]] to use native size instead of thumbnail again
* Tweak some parser tests for new order of attributes
* Tweak some attributes to match existing tests
Down to 9 failing parser tests vs pre-commit state

17 years agoFixing a problem that the flag 'noautoblock' was not shown well in logs of blocks...
Rotem Liss [Fri, 20 Apr 2007 17:30:21 +0000 (17:30 +0000)]
Fixing a problem that the flag 'noautoblock' was not shown well in logs of blocks: there is no 'autoblock' flag anymore, but 'noautoblock', so fixing the messages.

17 years agoWording.
Rotem Liss [Fri, 20 Apr 2007 17:16:17 +0000 (17:16 +0000)]
Wording.

17 years agouse consistent URL encoding for Image::thumbUrl() whether hashed directories are...
Brion Vibber [Fri, 20 Apr 2007 16:26:12 +0000 (16:26 +0000)]
use consistent URL encoding for Image::thumbUrl() whether hashed directories are in use or not

17 years agorevert the 21393, which was revert of 21389, which was revert of 20291.
Domas Mituzas [Fri, 20 Apr 2007 15:41:33 +0000 (15:41 +0000)]
revert the 21393, which was revert of 21389, which was revert of 20291.
OMG!!! A REVERT WAR!

17 years agoper default (all) instead of (Main) namespace, per hint of Brion
Raimond Spekking [Fri, 20 Apr 2007 15:40:07 +0000 (15:40 +0000)]
per default (all) instead of (Main) namespace, per hint of Brion

17 years agoIN YOUR FACE BRION!!!!
Domas Mituzas [Fri, 20 Apr 2007 15:33:51 +0000 (15:33 +0000)]
IN YOUR FACE BRION!!!!
check if the value has been actually set before checking if it is null.

17 years ago* (bug 5439) "Go" title search will now jump to shared/foreign Image: and
Brion Vibber [Fri, 20 Apr 2007 15:22:41 +0000 (15:22 +0000)]
* (bug 5439) "Go" title search will now jump to shared/foreign Image: and
  MediaWiki: pages that have not been locally edited.

17 years agoFixing whitespace.
Rotem Liss [Fri, 20 Apr 2007 15:06:38 +0000 (15:06 +0000)]
Fixing whitespace.

17 years agowhen you misspell in your search and replace, just fix it 'kay?
Brion Vibber [Fri, 20 Apr 2007 15:04:50 +0000 (15:04 +0000)]
when you misspell in your search and replace, just fix it 'kay?

17 years agoUpdate.
Rotem Liss [Fri, 20 Apr 2007 14:56:15 +0000 (14:56 +0000)]
Update.

17 years agoReverting r21000 for the moment (predefined block messages).
Brion Vibber [Fri, 20 Apr 2007 14:44:55 +0000 (14:44 +0000)]
Reverting r21000 for the moment (predefined block messages).
The defaults aren't very good, and I'm not sure I like the implementation.
May return after some review and tweaking.

17 years ago* Update German translation
Raimond Spekking [Fri, 20 Apr 2007 14:02:55 +0000 (14:02 +0000)]
* Update German translation

17 years agoUpdate.
Rotem Liss [Fri, 20 Apr 2007 13:52:46 +0000 (13:52 +0000)]
Update.

17 years agoA couple of missing entries
Tim Starling [Fri, 20 Apr 2007 12:49:54 +0000 (12:49 +0000)]
A couple of missing entries

17 years ago* Introduced media handler modules for file-type specific operations: thumbnailing...
Tim Starling [Fri, 20 Apr 2007 12:31:36 +0000 (12:31 +0000)]
* Introduced media handler modules for file-type specific operations: thumbnailing, img_metadata, capabilities, etc.
* Deprecated $wgUseImageResize, thumbnailing will be enabled unconditionally.
* Fixed interaction of page parameter to ImagePage with the HTML file cache
* Improved error reporting for image thumbnailing
* Fixed MIME type for SVG files, will be silently changed from image/svg to image/svg+xml after loading from the database.
* Workaround for djvutoxml bug #1704049 (poor performance). Use djvudump instead.
* Fixed odd behaviour in ImagePage on DjVu thumbnailing errors
* Improved error reporting for image thumbnailing
* Added sharpening option for ImageMagick thumbnailing
* Removed Image::selectPage(), added page parameters to getWidth() and getHeight(), deprecated Image::renderThumb() and Image::getThumbnail()
* Changed default contents of img_metadata to empty string instead of a:0:{}
* Moved responsibility for respecting $wgGenerateThumbnailOnParse from the UI to Image.php

17 years agochange remaining 'mywatchlist' messages to 'my-watchlist', remove redundant autogener...
Ilmari Karonen [Fri, 20 Apr 2007 11:16:51 +0000 (11:16 +0000)]
change remaining 'mywatchlist' messages to 'my-watchlist', remove redundant autogenerated ones

17 years agoRemoving duplicate entries from en: and he:.
Rotem Liss [Fri, 20 Apr 2007 10:30:31 +0000 (10:30 +0000)]
Removing duplicate entries from en: and he:.

17 years ago* some tweaks to r21395 to make Brion happy ;-)
Raimond Spekking [Fri, 20 Apr 2007 10:26:00 +0000 (10:26 +0000)]
* some tweaks to r21395 to make Brion happy ;-)
** Handling of "newbies" in the inputform consistent now
** stripping out _ in inputform
* German translation

17 years agoYet more doc tweaks:
Nick Jenkins [Fri, 20 Apr 2007 08:55:14 +0000 (08:55 +0000)]
Yet more doc tweaks:
* Add @addtogroup tags to various classes, to try and group conceptually-related classes together.
* Add brief descriptions to various Special pages, thanks to Phil Boswell.
* Moving some docs to be right above the classes they represent, so that they are picked up.