Niklas Laxström [Mon, 7 Jul 2008 08:06:09 +0000 (08:06 +0000)]
* Cleanup for r37209, which broke grammar while fixing double parsing
Tim Starling [Mon, 7 Jul 2008 07:57:24 +0000 (07:57 +0000)]
Fix silent failure in PHP 5.1.x or older. The callback for static functions is array('class', 'method').
Tim Starling [Mon, 7 Jul 2008 07:10:56 +0000 (07:10 +0000)]
Bug 14710: move the "donate" links in the default sidebar to an extension. Ideally needs some more message file wrangling to remove unused messages, but will work as-is.
Tim Starling [Mon, 7 Jul 2008 06:58:44 +0000 (06:58 +0000)]
Allow the search box, toolbox and languages box in the Monobook sidebar to be moved around arbitrarily using special sections in [[MediaWiki:Sidebar]]: SEARCH, TOOLBOX and LANGUAGES
SQL [Mon, 7 Jul 2008 05:31:00 +0000 (05:31 +0000)]
whitespace to bring function into line with mediawiki.org/wiki/Manual:Coding_conventions
Shinjiman [Mon, 7 Jul 2008 05:07:55 +0000 (05:07 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Tim Starling [Mon, 7 Jul 2008 03:31:00 +0000 (03:31 +0000)]
* Split off DB load monitoring logic into a LoadMonitor class hierarchy, to allow for plugins in this area.
* Use an associative array to initialise LoadBalancer objects
* By default, use Preprocessor_DOM if available, otherwise use Preprocessor_Hash. Preprocessor_Hash has worse performance.
* Fix parserTests.php for replicated databases. Use CREATE TABLE instead of CREATE TEMPORARY TABLE if there is more than one server configured.
* Log exceptions even in command-line mode.
Danny B [Mon, 7 Jul 2008 03:19:58 +0000 (03:19 +0000)]
* keeping the consistence of the function name string
Brion Vibber [Mon, 7 Jul 2008 01:30:17 +0000 (01:30 +0000)]
encoding -> UTF_8
Tim Starling [Mon, 7 Jul 2008 01:12:15 +0000 (01:12 +0000)]
Fixed two bugs in LanguageConverter, introduced in the last few commits, causing -{text}- to incorrectly generate an error.
Chad Horohoe [Mon, 7 Jul 2008 01:11:50 +0000 (01:11 +0000)]
Implement OFFSET in getContributors(). Nothing currently passes this param, so it shouldn't change any current behavior.
Siebrand Mazeland [Sun, 6 Jul 2008 22:27:48 +0000 (22:27 +0000)]
Re-add reverted r37143
* image was relicensed by author, based on r2277, and r4174. Erik Möller credited
* moved to /cyrl/ from /uk/ as now used in MessagesRu.php. 'uk/Ukranian' will fall back to ru
Siebrand Mazeland [Sun, 6 Jul 2008 22:27:31 +0000 (22:27 +0000)]
Re-add reverted r37143
* image was relicensed by author, based on r2277, and r4174. Erik Möller credited
* moved to /cyrl/ from /uk/ as now used in MessagesRu.php. 'uk/Ukranian' will fall back to ru
Chad Horohoe [Sun, 6 Jul 2008 22:12:30 +0000 (22:12 +0000)]
Call to wrong object. Calling $messageMemc instead.
Brion Vibber [Sun, 6 Jul 2008 21:14:00 +0000 (21:14 +0000)]
* (bug 14709) Fix login success message formatting when using cookie check
Double wikitext parsing...
Huji [Sun, 6 Jul 2008 21:07:15 +0000 (21:07 +0000)]
Localisation updates: Adding/updating Persian translations
Victor Vasiliev [Sun, 6 Jul 2008 20:39:11 +0000 (20:39 +0000)]
Some debug logging for image moving
Brion Vibber [Sun, 6 Jul 2008 20:19:04 +0000 (20:19 +0000)]
* (bug 14646) Fix some double-escaping of HTML in feed output
Log entry action text was being double-escaped by running HTML through the comment parser.
Log action text is now output as straight HTML.
The link for long diffs was also coming out wrong on English Wikipedia due to overloading of messages.
Switched from 'differenes' (which is a label text which had gotten turned into an HTML link there) to 'showdiff', which is a plaintext button label. (Might consider making it a separate message which is a little more descriptive.)
Bertrand Grondin [Sun, 6 Jul 2008 20:04:56 +0000 (20:04 +0000)]
Revert updating
Bertrand Grondin [Sun, 6 Jul 2008 19:55:08 +0000 (19:55 +0000)]
Commited special alias messages for fi and hu from betawiki
Brion Vibber [Sun, 6 Jul 2008 18:43:06 +0000 (18:43 +0000)]
Fix for PHP < 5.2.3
'Foo::bar' is not a valid callback on earlier versions of PHP;
must specify as array( 'Foo', 'bar' )
Niklas Laxström [Sun, 6 Jul 2008 18:26:34 +0000 (18:26 +0000)]
* Allow plural in filetype-banned-type, filetype-unwanted-type
Niklas Laxström [Sun, 6 Jul 2008 18:13:38 +0000 (18:13 +0000)]
* Split date and time to two variables to allow better translations in rcnote without breaking current ones
Niklas Laxström [Sun, 6 Jul 2008 17:39:49 +0000 (17:39 +0000)]
* Grammar
* should -> must, as it is an error condition
Robert Stojnić [Sun, 6 Jul 2008 17:23:00 +0000 (17:23 +0000)]
(bug 14604#c6): Fix regression in variant conversion when semicolon is within -{}- tags. Patch by fdcn, thanks!
Shinjiman [Sun, 6 Jul 2008 14:38:30 +0000 (14:38 +0000)]
fixing up some mistakes for the Simplified Chinese message file
Shinjiman [Sun, 6 Jul 2008 14:35:06 +0000 (14:35 +0000)]
* (bug 14740) changes of local name of the Classical Chinese language name
Shinjiman [Sun, 6 Jul 2008 14:30:48 +0000 (14:30 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Huji [Sun, 6 Jul 2008 14:07:05 +0000 (14:07 +0000)]
Localisation updates: Adding/updating Persian translations
Nicolas Dumazet [Sun, 6 Jul 2008 13:31:35 +0000 (13:31 +0000)]
$dbr->select already returns a ResultWrapper, no need to re-wrap it :)
Alexandre Emsenhuber [Sun, 6 Jul 2008 12:45:52 +0000 (12:45 +0000)]
One more tweak: double global declaration of $wgOut
Rotem Liss [Sun, 6 Jul 2008 11:12:02 +0000 (11:12 +0000)]
Show extension name only if its checks are not empty.
Aaron Schulz [Sun, 6 Jul 2008 11:01:32 +0000 (11:01 +0000)]
FlaggedRevs refactoring:
* Permalink Id hook redundant; output Id set
* Use output Id for lastmod link to remove duplication
* Combine some hooked functions
* Mark visibility
Siebrand Mazeland [Sun, 6 Jul 2008 10:34:58 +0000 (10:34 +0000)]
Fix syntax error
Nicolas Dumazet [Sun, 6 Jul 2008 10:12:41 +0000 (10:12 +0000)]
mResult is never used, removing it.
Rotem Liss [Sun, 6 Jul 2008 10:08:24 +0000 (10:08 +0000)]
Various fixes.
Rotem Liss [Sun, 6 Jul 2008 08:07:15 +0000 (08:07 +0000)]
Update.
Chad Horohoe [Sun, 6 Jul 2008 01:48:48 +0000 (01:48 +0000)]
Trim up trailing newlines before footer gets added.
Siebrand Mazeland [Sat, 5 Jul 2008 23:04:02 +0000 (23:04 +0000)]
Localisation updates for core messages from Betawiki (2008-07-06 00:51 CEST)
Brion Vibber [Sat, 5 Jul 2008 22:45:37 +0000 (22:45 +0000)]
Revert r37078, 37132 "New hook ParserBeforeTranscludeTemplate:
This hook allows for modification of the title and text of a template which is being transcluded.
Use of this hook will allow extensions to create features such as TransWiki for an alternative to ScaryTransclusions."
This hook seems a bit oddly placed to me; the template gets fetched locally, and *then* we give the opportunity to fetch it remotely instead? Just seems to be in the wrong order, and pretty unclear.
Siebrand Mazeland [Sat, 5 Jul 2008 22:41:06 +0000 (22:41 +0000)]
Add message 'undelete-fieldset-title' to resolve issue identified in r37095 and reverted in r37139
Brion Vibber [Sat, 5 Jul 2008 22:22:56 +0000 (22:22 +0000)]
Remove the uk button_link.png for the moment; I'm a little unclear on how proper it is to embed GFDL images into the UI of the GPL software. While there is a LICENSE file sitting next to it, no one would ever see it.
Brion Vibber [Sat, 5 Jul 2008 22:20:32 +0000 (22:20 +0000)]
fix order of labels
Brion Vibber [Sat, 5 Jul 2008 22:16:16 +0000 (22:16 +0000)]
Revert r37098 presumably based on reverted r37095
Brion Vibber [Sat, 5 Jul 2008 22:14:49 +0000 (22:14 +0000)]
Revert r37095 "Update message 'undelete'. Previous text was incorrect as pointed out by AlexSm."
Previous text was more accurate and clear than new text imho; reverting.
Daniel Friesen [Sat, 5 Jul 2008 20:38:02 +0000 (20:38 +0000)]
Minor fix, $parser was passed instead of $this like it should have been.
Siebrand Mazeland [Sat, 5 Jul 2008 20:06:18 +0000 (20:06 +0000)]
Localisation updates for core messages from Betawiki (2008-07-05 21:42 CEST)
Siebrand Mazeland [Sat, 5 Jul 2008 19:50:57 +0000 (19:50 +0000)]
Add 'emailuserfooter'
Greg Sabino Mullane [Sat, 5 Jul 2008 17:00:01 +0000 (17:00 +0000)]
Handle multi-insert ignores properly, as pointed out on wikitech.
Shinjiman [Sat, 5 Jul 2008 15:39:10 +0000 (15:39 +0000)]
* Re-implement the message caches for r35821
* Tweaked the message fetching on the MediaWiki:Conversiontable/xx-xx by changes of the message caching
patch by Nikerabbit
Niklas Laxström [Sat, 5 Jul 2008 15:15:40 +0000 (15:15 +0000)]
* Allow grammar
Chad Horohoe [Sat, 5 Jul 2008 14:43:56 +0000 (14:43 +0000)]
Re-implement "Email user footer,"
* Now grabs message from global language instead of user's UI lang.
* Added a separator between msg and footer
* Shortened message
* Removed a bunch of useless params from the previous incarnation of this.
Shinjiman [Sat, 5 Jul 2008 14:41:01 +0000 (14:41 +0000)]
Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Siebrand Mazeland [Sat, 5 Jul 2008 14:06:34 +0000 (14:06 +0000)]
Fix incorrect link button name
Siebrand Mazeland [Sat, 5 Jul 2008 14:05:03 +0000 (14:05 +0000)]
svn:eol-style
Siebrand Mazeland [Sat, 5 Jul 2008 14:02:59 +0000 (14:02 +0000)]
Custom buttons for Ukranian
Rotem Liss [Sat, 5 Jul 2008 13:13:44 +0000 (13:13 +0000)]
Update and fixes.
Nicolas Dumazet [Sat, 5 Jul 2008 13:13:29 +0000 (13:13 +0000)]
moving $cat = new self() before $cat->mTitle = $title ; PHP was unhappy.
Siebrand Mazeland [Sat, 5 Jul 2008 12:43:51 +0000 (12:43 +0000)]
Update message 'undelete'. Previous text was incorrect as pointed out by AlexSm.
Alexandre Emsenhuber [Sat, 5 Jul 2008 11:59:58 +0000 (11:59 +0000)]
Removed "See diff.doc", it seems that this file never existed
Rotem Liss [Sat, 5 Jul 2008 11:52:11 +0000 (11:52 +0000)]
Various fixes.
Alexandre Emsenhuber [Sat, 5 Jul 2008 11:36:55 +0000 (11:36 +0000)]
* Added $IP in dirs for OpenSearchUrls hook
* getHooksFromDoc() now returns an unique array
* 80 chars per line in docs/hooks.txt
Roan Kattouw [Sat, 5 Jul 2008 11:18:50 +0000 (11:18 +0000)]
Fix regression from r37046: tokens should not be supplied when in JSON callback mode. Also remove ApiQueryBase::getTokenFlag() which is now obsolete.
Daniel Friesen [Sat, 5 Jul 2008 03:36:12 +0000 (03:36 +0000)]
New hook ParserBeforeTranscludeTemplate:
This hook allows for modification of the title and text of a template which is being transcluded.
Use of this hook will allow extensions to create features such as TransWiki for an alternative to ScaryTransclusions.
Brion Vibber [Fri, 4 Jul 2008 22:44:57 +0000 (22:44 +0000)]
Revert r37009 -- turns out you can do these structures, it's just very nonobvious. :)
An anonymous sub-array allows creating sub-elements in addition to the attributes:
array(
'attrib1' => 'val1',
'attrib2' => 'val2',
array(
'tag' => 'stuff',
'tag2' => 'stuff2',
)
)
Brion Vibber [Fri, 4 Jul 2008 21:48:42 +0000 (21:48 +0000)]
Break localized edit buttons into subdirectories so they'll stay manageable
Brion Vibber [Fri, 4 Jul 2008 21:39:08 +0000 (21:39 +0000)]
fix sql syntax error
Mohamed Magdy [Fri, 4 Jul 2008 21:33:08 +0000 (21:33 +0000)]
Added localization of edit button images for Tarask Belarusian (be-tarask).
Images by http://commons.wikimedia.org/wiki/User:AlexeyMargolin
Brion Vibber [Fri, 4 Jul 2008 21:23:00 +0000 (21:23 +0000)]
Revert r37063 "KTHMLfixes no longer loaded on skins where it doesn't exist. (bug 14717)"
* Hardcoding to monobook doesn't make sense here; other skins may include such fix files
* Only addressing KHTMLfixes doesn't make sense here; there's a big pile of Opera fixes right above it which would presumably suffer the same problem
If these are required, and are required per-skin, then the skin should probably specify to the JS which ones it needs.
On the other hand, if they're not required, or can be done in a skin-independent fashion, then that should be checked.
Chad Horohoe [Fri, 4 Jul 2008 16:43:44 +0000 (16:43 +0000)]
KTHMLfixes no longer loaded on skins where it doesn't exist. (bug 14717)
Greg Sabino Mullane [Fri, 4 Jul 2008 15:57:44 +0000 (15:57 +0000)]
Properly handle the 'IGNORE' option passed to the insert funtion:
rather than just turning off errors, do some savepoint trickery
so we end at the same state as when we started, to emulate
MySQL's INSERT...IGNORE. Bug 14708.
Shinjiman [Fri, 4 Jul 2008 15:17:40 +0000 (15:17 +0000)]
fix encoding problems on r37058
Shinjiman [Fri, 4 Jul 2008 15:01:41 +0000 (15:01 +0000)]
* (bug 14604) Update LanguageConverter for T (Title) conversion
bugzilla attachment 5048
patch by fdcn
* Localisation updates Cantonese, Chinese and Old/Late Time Chinese
Mohamed Magdy [Fri, 4 Jul 2008 14:55:17 +0000 (14:55 +0000)]
Added localization of edit button images for Arabic language.
Image translation by AhmadSherif. GPL font Kacst Naskh (http://ceri.kacst.edu.sa/fonts.htm).
Bryan Tong Minh [Fri, 4 Jul 2008 14:20:41 +0000 (14:20 +0000)]
Remove non working, obsolete ICRepo. Use the working ForeignAPIRepo.
Victor Vasiliev [Fri, 4 Jul 2008 13:04:03 +0000 (13:04 +0000)]
Don't pass $db, as Tim Starling advises
Mohamed Magdy [Fri, 4 Jul 2008 12:38:51 +0000 (12:38 +0000)]
timezone-utc translation.
Domas Mituzas [Fri, 4 Jul 2008 12:20:45 +0000 (12:20 +0000)]
adding explanations break the feature, page is supposed to be blank! kind of! revert r36902
Roan Kattouw [Fri, 4 Jul 2008 12:07:02 +0000 (12:07 +0000)]
Rewritten the way the API handles tokens:
* Instead of hardcoding stuff all over the place, use callbacks
* Extensions can now add their own tokens to prop=info or prop=revisions using hooks
Nicolas Dumazet [Fri, 4 Jul 2008 11:01:02 +0000 (11:01 +0000)]
mCategoties -> mCategories
Oops, that typo was surviving here since March :p
Nicolas Dumazet [Fri, 4 Jul 2008 10:51:04 +0000 (10:51 +0000)]
Correcting commit 37038 : only getXXXDeletions were simple array_diff_assoc. Sorry
Niklas Laxström [Fri, 4 Jul 2008 10:34:41 +0000 (10:34 +0000)]
* (bug 11732) Allow localisation of edit button images
Nicolas Dumazet [Fri, 4 Jul 2008 10:30:48 +0000 (10:30 +0000)]
syntax fix
Nicolas Dumazet [Fri, 4 Jul 2008 10:24:20 +0000 (10:24 +0000)]
6 array_diff_* were computed twice. Compute once, and remember them instead.
Huji [Fri, 4 Jul 2008 09:41:48 +0000 (09:41 +0000)]
Localisation updates: Adding/updating Persian translations
Aaron Schulz [Fri, 4 Jul 2008 09:38:12 +0000 (09:38 +0000)]
Re-commit fixed r37006
Victor Vasiliev [Fri, 4 Jul 2008 09:21:11 +0000 (09:21 +0000)]
* (bug 14723) Added time zone and writing direction to meta=siteinfo. Patch by MaxSem
* Some random cleanup
Siebrand Mazeland [Fri, 4 Jul 2008 07:18:02 +0000 (07:18 +0000)]
Localisation updates for core messages from Betawiki (2008-07-04 22:44 CEST)
Siebrand Mazeland [Fri, 4 Jul 2008 06:47:47 +0000 (06:47 +0000)]
Trying to resolve commit r37017/revert r37018: Throw an E_USER_NOTICE saying that function is deprecated for wfGetHTTP() and wfIsLocalURL()
Tim Starling [Fri, 4 Jul 2008 02:52:44 +0000 (02:52 +0000)]
Revert r37017. Please do not remove functions unless you have a really really good reason, say because you actually want to break all extensions that use them because the underlying functionality needs to be removed. There are more extensions out of Wikimedia version control than in it, and many sysadmins will not update their extensions simultaneously with the core.
Chad Horohoe [Fri, 4 Jul 2008 02:25:38 +0000 (02:25 +0000)]
Remove wfGetHTTP() and wfIsLocalUrl(). Unused wrapper functions for stuff in the Http class.
Chad Horohoe [Fri, 4 Jul 2008 01:59:13 +0000 (01:59 +0000)]
Typo in variable name.
Brion Vibber [Fri, 4 Jul 2008 00:04:58 +0000 (00:04 +0000)]
Revert r37006 -- causes fatal errors:
PHP Fatal error: Using $this when not in object context in Article.php on line 135
Raimond Spekking [Thu, 3 Jul 2008 21:39:29 +0000 (21:39 +0000)]
Localisation updates German
Chad Horohoe [Thu, 3 Jul 2008 21:33:09 +0000 (21:33 +0000)]
Simplify configuration and make a better caching key.
Brion Vibber [Thu, 3 Jul 2008 21:25:20 +0000 (21:25 +0000)]
Have been playing with custom API modules and been a bit frustrated with the XML output mode...
Adding pseudo-element _attribs alongside _element for XML output. There doesn't seem to be a good way currently to specify both attributes *and* subelements -- '*' lets you have text and attributes, but not sub-elements and attributes. Contents of _attribs will be added as attributes without disturbing the sub-elements.
Chad Horohoe [Thu, 3 Jul 2008 21:12:32 +0000 (21:12 +0000)]
Revert thumb caching because it wasn't actually caching what I thought it was.
Brion Vibber [Thu, 3 Jul 2008 20:50:13 +0000 (20:50 +0000)]
Revert r36954 ("Change canonical name for BlockIP to BlockUser, since it's been used to block logged-in users as well as IP users since forever.")
If we're going to change it, we should probably just make it Special:Block. :)
Aaron Schulz [Thu, 3 Jul 2008 20:37:44 +0000 (20:37 +0000)]
Make redirects work properly with flagging (bug 14714)
Siebrand Mazeland [Thu, 3 Jul 2008 20:31:27 +0000 (20:31 +0000)]
More L10n crap from Betawiki
* special pages and magic words updates