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.
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.
Niklas Laxström [Sun, 22 Apr 2007 13:11:57 +0000 (13:11 +0000)]
* Slovak (sk) updates
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.
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.
Aaron Schulz [Sat, 21 Apr 2007 23:19:18 +0000 (23:19 +0000)]
*Remove update() query to avoid any data loss concerns
Aaron Schulz [Sat, 21 Apr 2007 21:44:19 +0000 (21:44 +0000)]
*Use appropriate comment
Antoine Musso [Sat, 21 Apr 2007 21:35:21 +0000 (21:35 +0000)]
Kill some more whitespaces
Antoine Musso [Sat, 21 Apr 2007 21:11:14 +0000 (21:11 +0000)]
Fix end of lines (added in r21455)
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
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
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
Antoine Musso [Sat, 21 Apr 2007 20:06:52 +0000 (20:06 +0000)]
Show the current version number in doxygen documentation
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
Niklas Laxström [Sat, 21 Apr 2007 17:19:19 +0000 (17:19 +0000)]
* Updates
Aaron Schulz [Sat, 21 Apr 2007 16:45:36 +0000 (16:45 +0000)]
*Remove wfGetLastIPfromXFF(), add a new wfGetClientIPfromXFF(), which was removed in r21353
Niklas Laxström [Sat, 21 Apr 2007 16:41:02 +0000 (16:41 +0000)]
* Võro (fiu-vro) translation
* Thanks to Võrok
Antoine Musso [Sat, 21 Apr 2007 16:27:06 +0000 (16:27 +0000)]
Add a php linting test.
Rotem Liss [Sat, 21 Apr 2007 16:03:46 +0000 (16:03 +0000)]
Fix.
Antoine Musso [Sat, 21 Apr 2007 15:12:56 +0000 (15:12 +0000)]
Fix r21443 : privates are public :o)
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.
Antoine Musso [Sat, 21 Apr 2007 14:44:56 +0000 (14:44 +0000)]
Convert whitespaces to tabulations
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
Antoine Musso [Sat, 21 Apr 2007 12:42:27 +0000 (12:42 +0000)]
Added some comments to our classes.
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
Antoine Musso [Sat, 21 Apr 2007 12:13:47 +0000 (12:13 +0000)]
whitespaces killing
Tim Starling [Fri, 20 Apr 2007 21:35:27 +0000 (21:35 +0000)]
Fixed metadata format
Ivan Lanin [Fri, 20 Apr 2007 21:06:36 +0000 (21:06 +0000)]
Sundanese (su) localisation updates based on BetaWiki
Ivan Lanin [Fri, 20 Apr 2007 20:45:17 +0000 (20:45 +0000)]
(bug 9639) Cantonese localisation update. Patch by Shinjiman.
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.
Ivan Lanin [Fri, 20 Apr 2007 20:12:15 +0000 (20:12 +0000)]
Indonesian (id) localization updates
Tim Starling [Fri, 20 Apr 2007 19:45:58 +0000 (19:45 +0000)]
Don't double-normalise parameters, introduces rounding errors.
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
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.
Rotem Liss [Fri, 20 Apr 2007 17:16:17 +0000 (17:16 +0000)]
Wording.
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
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!
Raimond Spekking [Fri, 20 Apr 2007 15:40:07 +0000 (15:40 +0000)]
per default (all) instead of (Main) namespace, per hint of 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.
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.
Rotem Liss [Fri, 20 Apr 2007 15:06:38 +0000 (15:06 +0000)]
Fixing whitespace.
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?
Rotem Liss [Fri, 20 Apr 2007 14:56:15 +0000 (14:56 +0000)]
Update.
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.
Raimond Spekking [Fri, 20 Apr 2007 14:02:55 +0000 (14:02 +0000)]
* Update German translation
Rotem Liss [Fri, 20 Apr 2007 13:52:46 +0000 (13:52 +0000)]
Update.
Tim Starling [Fri, 20 Apr 2007 12:49:54 +0000 (12:49 +0000)]
A couple of missing entries
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
Ilmari Karonen [Fri, 20 Apr 2007 11:16:51 +0000 (11:16 +0000)]
change remaining 'mywatchlist' messages to 'my-watchlist', remove redundant autogenerated ones
Rotem Liss [Fri, 20 Apr 2007 10:30:31 +0000 (10:30 +0000)]
Removing duplicate entries from en: and he:.
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
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.
Tim Starling [Fri, 20 Apr 2007 04:17:15 +0000 (04:17 +0000)]
Fixed complete breakage of anon-only autoblocks, broken since r20436.
Ivan Lanin [Fri, 20 Apr 2007 04:06:06 +0000 (04:06 +0000)]
* Fix object variable used for displaying "not-patrolled" CSS class on list
* Indonesian (id) localization updates
Aryeh Gregor [Thu, 19 Apr 2007 22:25:43 +0000 (22:25 +0000)]
Hyphens in message keys a) improve readability b) don't require me to redo my patch
Aryeh Gregor [Thu, 19 Apr 2007 22:19:50 +0000 (22:19 +0000)]
for FILE in languages/messages/*.php; do sudo sed -ri "s/(['\"])watchlist\\1(\\s+)=>(\\s+)(['\"])(.*?)\\4/\\1watchlist\\1\\2=>\\3\\4\\5\\4,\\n\\1my-watchlist\\1\\2=>\\3\\4\\5\\4/" $FILE; done
php -l says they're all fine, looking them over they seem to all be fine. Languages that already had this update individually have doubled entries, but that shouldn't make a difference and a run through rebuildMessages.php should fix if it annoys you.
Raimond Spekking [Thu, 19 Apr 2007 21:18:36 +0000 (21:18 +0000)]
reapply relevant parts of r20164, 20177, 20226
non-critical to database
Brion Vibber [Thu, 19 Apr 2007 21:14:55 +0000 (21:14 +0000)]
Reapply fixes for postgres timestamps
Brion Vibber [Thu, 19 Apr 2007 21:09:38 +0000 (21:09 +0000)]
restore use of Revision::selectFields() removed by the recent revert; triggered a PHP notice of undefined member access per line
Raimond Spekking [Thu, 19 Apr 2007 20:31:05 +0000 (20:31 +0000)]
reapply relevant part of r20720
non-critical to database
Domas Mituzas [Thu, 19 Apr 2007 19:24:02 +0000 (19:24 +0000)]
revert back to 19xxx
Domas Mituzas [Thu, 19 Apr 2007 18:58:45 +0000 (18:58 +0000)]
disable ipv6 cruft
Ilmari Karonen [Thu, 19 Apr 2007 18:47:04 +0000 (18:47 +0000)]
reapply r21363, hopefully without stupid notices this time
Raimond Spekking [Thu, 19 Apr 2007 18:15:28 +0000 (18:15 +0000)]
* (bug 9631) Update Cantonese translations
Patch by Shinjiman
Niklas Laxström [Thu, 19 Apr 2007 17:47:17 +0000 (17:47 +0000)]
* Some updates to Latvian (lv)
Rotem Liss [Thu, 19 Apr 2007 15:48:38 +0000 (15:48 +0000)]
Update.
Brion Vibber [Thu, 19 Apr 2007 14:40:58 +0000 (14:40 +0000)]
Re-apply r20779 fix and use changed text for the (non-miser) search textbox
Brion Vibber [Thu, 19 Apr 2007 14:38:45 +0000 (14:38 +0000)]
Revert Special:Log to r20745 with non-ugly form
Brion Vibber [Thu, 19 Apr 2007 14:26:19 +0000 (14:26 +0000)]
remove sssllloowwwwwww range checks
Brion Vibber [Thu, 19 Apr 2007 13:59:00 +0000 (13:59 +0000)]
*stab stab stab*
Brion Vibber [Thu, 19 Apr 2007 13:54:43 +0000 (13:54 +0000)]
s/LanguageBe/LanguageBe_x_old/
Brion Vibber [Thu, 19 Apr 2007 13:40:06 +0000 (13:40 +0000)]
Revert r21363; triggers PHP notices due to failed lookups for interwiki prefixes
Brion Vibber [Thu, 19 Apr 2007 13:33:13 +0000 (13:33 +0000)]
wfGetLastIPfromXFF() was clearly never tested either because it also DOESN'T FUCKING WORK
and HAS NO FUCKING DOCUMENTATION
and CAUSES ERRORS AND FAILURES
This quick hack should make it appear to basically work, assuming it does anything useful at all.
Ivan Lanin [Thu, 19 Apr 2007 11:08:36 +0000 (11:08 +0000)]
Indonesian (id) localization updates
Ilmari Karonen [Thu, 19 Apr 2007 10:54:48 +0000 (10:54 +0000)]
actually, there's no need to make it so complicated after all... :/
Raimond Spekking [Thu, 19 Apr 2007 10:46:23 +0000 (10:46 +0000)]
* Update German translation
* Adding new messages to messages.inc
Ilmari Karonen [Thu, 19 Apr 2007 10:19:27 +0000 (10:19 +0000)]
make Special:Random retry (once, but more carefully) if the chosen random offset was too high, provide error message if there really are no pages to choose from rather than going to the main page. rewrite Special:Randomredirect to reuse code from Special:Random.
Ilmari Karonen [Thu, 19 Apr 2007 10:03:32 +0000 (10:03 +0000)]
make ->getNsIndex() check canonical namespace names too, remove now redundant explicit check from Title.php; as far as I can tell this shouldn't break anything, and arguably it'll fix some currently broken code. introduce new function getLocalNsIndex() to provide the old functionality, should anyone actually need it.
Ilmari Karonen [Thu, 19 Apr 2007 07:34:25 +0000 (07:34 +0000)]
translate "fewestrevisions" and "mywatchlist" messages
Aryeh Gregor [Thu, 19 Apr 2007 02:01:19 +0000 (02:01 +0000)]
Documentation, mark public functions public, comment a presumably private function as private
Greg Sabino Mullane [Thu, 19 Apr 2007 01:35:15 +0000 (01:35 +0000)]
Add constraintExists function, mild cleanup of other nearby funcs.
Brion Vibber [Wed, 18 Apr 2007 19:28:15 +0000 (19:28 +0000)]
Revert r21250
WebRequest::getText() is for user-supplied freeform text input for which input transformations may be required (eg Esperanto x-coding).
These two variables are not freeform text inputs, but predefined internal text keys selected by a drop-down menu.
Use of getVal() is correct.
Brion Vibber [Wed, 18 Apr 2007 18:53:54 +0000 (18:53 +0000)]
Revert r21158 and r21159 -- clearly broken code.
wfGetClientIPfromXFF() uses undeclared variables -- it will never return a non-null value, but will in most cases trigger PHP notices about accessing unused variables.
It's also not documented as to what it does or how it's supposed to differ from the functions above it.
Please document, rewrite, and test this function if it is required.
Ivan Lanin [Wed, 18 Apr 2007 17:30:51 +0000 (17:30 +0000)]
Indonesian (id) localization updates
Aryeh Gregor [Wed, 18 Apr 2007 16:37:39 +0000 (16:37 +0000)]
"@todo no-op" sounds a bit peculiar. ;)
Nick Jenkins [Wed, 18 Apr 2007 09:50:10 +0000 (09:50 +0000)]
Some small doc tweaks to reduce Doxygen warnings, namely:
* @link. You might think @link would surely mean "here comes a web URL" ... but @link is a valid command
in Doxygen, which means an entirely different kind of link (an internal link to somewhere, so that you can separate
documentation and implementation). The result is a mess, and the best solution I can see is to use "@see" instead of "@link".
* Warning: argument `nourl' of command @param is not found in the argument list of Linker::makeMediaLinkObj($title,$text='')
* Moving few class descriptions to right above classes, and/or formatting into Javadoc style.
* "@addtogroup Special Pages" --> "@addtogroup SpecialPage" so that all special pages have the same @addtogroup tag.
* @fixme --> @todo (must have missed these before)
* "@param $specialPage @see" remove the "@" in the "@see" to stop warning.
* @throws wants type, then a brief description, to stop warning.
This last one is for PHPdocumentor only, but it fixes something for PHPDocumentor, and should be neutral for Doxygen:
* WARNING in includes/api/ApiFormatYaml_spyc.php on line 860: docblock template never terminated with /**#@-*/
Greg Sabino Mullane [Tue, 17 Apr 2007 15:35:51 +0000 (15:35 +0000)]
Fix invalid ORDER BY
Raimond Spekking [Tue, 17 Apr 2007 15:17:31 +0000 (15:17 +0000)]
* (bug 6910) minor correction in Vietnamese (vi)
patch by Shinjiman
Greg Sabino Mullane [Tue, 17 Apr 2007 14:23:00 +0000 (14:23 +0000)]
Make ORDER BY into key plus value for Database::select call, per bug 9608
Greg Sabino Mullane [Tue, 17 Apr 2007 14:07:07 +0000 (14:07 +0000)]
Make ORDER BY a true options array, per bug 9609.
Rotem Liss [Tue, 17 Apr 2007 13:07:09 +0000 (13:07 +0000)]
Update.
Raimond Spekking [Tue, 17 Apr 2007 09:43:53 +0000 (09:43 +0000)]
* (bug 8599) Update of zh-tw
patch by Shinjiman
Ivan Lanin [Tue, 17 Apr 2007 09:23:31 +0000 (09:23 +0000)]
Introduce magic word {{NUMBEROFEDITS}}
Raimond Spekking [Tue, 17 Apr 2007 08:52:53 +0000 (08:52 +0000)]
Quotation marks missed. Thanks to Shinjiman.
Raimond Spekking [Tue, 17 Apr 2007 05:52:24 +0000 (05:52 +0000)]
* (bug 6910) Correct date/time formats in Vietnamese (vi)
patch by Shinjiman
Raimond Spekking [Tue, 17 Apr 2007 05:12:59 +0000 (05:12 +0000)]
* (bug 9602) Update Cantonese translations
Patch by Shinjiman
Raimond Spekking [Tue, 17 Apr 2007 05:05:57 +0000 (05:05 +0000)]
* (bug 8599) Updates of zh-cn and zh-tw
patch by Shinjiman
Raimond Spekking [Tue, 17 Apr 2007 04:45:49 +0000 (04:45 +0000)]
* (bug 9597) Update Sanskrit translations (namespaces, skins)
Patch by sivakalyan.princeton
Antoine Musso [Mon, 16 Apr 2007 16:48:37 +0000 (16:48 +0000)]
Fix #7285: need to check MySQL username length during installation
Niklas Laxström [Mon, 16 Apr 2007 16:09:45 +0000 (16:09 +0000)]
* Updates