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
Antoine Musso [Mon, 16 Apr 2007 15:29:37 +0000 (15:29 +0000)]
Remove obsoletes Title::getRelatedCache, Title:touchArray
Antoine Musso [Mon, 16 Apr 2007 15:24:04 +0000 (15:24 +0000)]
* use 'public' keyword to mark methods, removed comments
* secureAndSplit, moveOverExistingRedirect, moveToNewTitle made private
Antoine Musso [Mon, 16 Apr 2007 14:09:35 +0000 (14:09 +0000)]
Fix 9220: remove obsoletes functions in install-utils.inc
Antoine Musso [Mon, 16 Apr 2007 13:50:38 +0000 (13:50 +0000)]
Fix 8590 : remove support for $wgUserHtml . Our specific HTML subset
is pretty much required to do anything cool in articles.
Antoine Musso [Mon, 16 Apr 2007 13:23:16 +0000 (13:23 +0000)]
Fix #3366 : require skins based on SkinTemplate to override the skinname property.
Raimond Spekking [Mon, 16 Apr 2007 10:34:58 +0000 (10:34 +0000)]
* adding an ID to the submit button
* changing ID introduced with r20998: for new IDs use 'mw-'
Tim Starling [Sun, 15 Apr 2007 00:20:24 +0000 (00:20 +0000)]
profiling
Tim Starling [Sat, 14 Apr 2007 17:29:01 +0000 (17:29 +0000)]
Removed broken --path parameter and partially flawed hostname option. Added --server which does roughly the same thing, but should actually work reliably. Enabled execution from arbitrary current directory.
Greg Sabino Mullane [Sat, 14 Apr 2007 02:10:03 +0000 (02:10 +0000)]
Better name.
Greg Sabino Mullane [Sat, 14 Apr 2007 02:09:20 +0000 (02:09 +0000)]
Cleanup, prepare for major version support.
Aaron Schulz [Fri, 13 Apr 2007 17:48:53 +0000 (17:48 +0000)]
*Minor cleanup
Antoine Musso [Fri, 13 Apr 2007 17:48:10 +0000 (17:48 +0000)]
Marking functions private || public
Antoine Musso [Fri, 13 Apr 2007 17:31:57 +0000 (17:31 +0000)]
update, add URLs
Aaron Schulz [Fri, 13 Apr 2007 17:26:47 +0000 (17:26 +0000)]
*Add param to doc comment
Antoine Musso [Fri, 13 Apr 2007 13:50:23 +0000 (13:50 +0000)]
* The array_name is now used to check for a function existence, it avoids
a warning about guessed function.
* Now show the total number of errors found for an extension or print
" Links OK" if everything looks fine.
Antoine Musso [Fri, 13 Apr 2007 13:06:25 +0000 (13:06 +0000)]
Renamed --mylang to --lang, proposed by nick.
Antoine Musso [Fri, 13 Apr 2007 08:58:59 +0000 (08:58 +0000)]
Fix r21220: I forgot a column in the regular expression.
Bug pointed out by Nick Jenkins.
Raimond Spekking [Fri, 13 Apr 2007 07:31:53 +0000 (07:31 +0000)]
To be consistent with plural and grammar functions:
LanguageBe_x_old.php duplicated to LanguageBe.php
I assume it need a rework, see bug 6113 comment 9
Raimond Spekking [Fri, 13 Apr 2007 07:08:53 +0000 (07:08 +0000)]
* Use _ instead of - in message file names
* Renaming LanguageBe to Be_x_old for consistency
Raimond Spekking [Fri, 13 Apr 2007 06:05:40 +0000 (06:05 +0000)]
* (bug 9570) typo in zh_cn, dateformat
patch by Shinjiman, reformatted with rebuildLanguage
Antoine Musso [Fri, 13 Apr 2007 00:23:49 +0000 (00:23 +0000)]
In regex, do not capture stuff when you dont need it, use (?:)
Antoine Musso [Fri, 13 Apr 2007 00:20:43 +0000 (00:20 +0000)]
make some methods public, static and private. Fix strict standards in cleanupSpam.php
Antoine Musso [Thu, 12 Apr 2007 23:51:12 +0000 (23:51 +0000)]
fix notice with $options
Antoine Musso [Thu, 12 Apr 2007 22:47:04 +0000 (22:47 +0000)]
t10n for <mywatchlist>
Antoine Musso [Thu, 12 Apr 2007 22:37:41 +0000 (22:37 +0000)]
Add parameter to the message.
Antoine Musso [Thu, 12 Apr 2007 22:24:25 +0000 (22:24 +0000)]
mylang default to 'null'
Raimond Spekking [Thu, 12 Apr 2007 22:15:06 +0000 (22:15 +0000)]
* (bug 8809) Change special pages links to their canocical names for zh_tw
* (bug 9190) typo in zh_tw
patch by Shinjiman, reformatted with rebuildLanguage