Tim Starling [Mon, 19 Nov 2007 10:04:18 +0000 (10:04 +0000)]
Use setProps() to set properties in LocalFile::loadFromCache(), instead of DIY property-setting. I must have forgotten to do this when I introduced setProps(), the result was a bug (hereby fixed) causing zero cache-hit ratio for the image cache.
Tim Starling [Mon, 19 Nov 2007 09:43:47 +0000 (09:43 +0000)]
Fix bug in RepoGroup::getRepo(), 0 == 'local'
Siebrand Mazeland [Mon, 19 Nov 2007 08:39:46 +0000 (08:39 +0000)]
Fix encoding
Siebrand Mazeland [Mon, 19 Nov 2007 07:56:54 +0000 (07:56 +0000)]
Localisation updates from Betawiki.
* ca, kaa, sdc, ss
Daniel Cannon [Mon, 19 Nov 2007 04:06:47 +0000 (04:06 +0000)]
Erm .. wpReason.
Daniel Cannon [Mon, 19 Nov 2007 03:59:45 +0000 (03:59 +0000)]
* Fixed wgReason URL parameter to action=delete.
Tim Starling [Mon, 19 Nov 2007 03:25:16 +0000 (03:25 +0000)]
Better documentation for $wgDBservers, and lengthy warning about read_only mode.
Siebrand Mazeland [Mon, 19 Nov 2007 00:05:23 +0000 (00:05 +0000)]
Localisation updates from Betawiki.
* hak, hr, hsb, kaa, nds-nl, nl, pl, sdc, sk, wo, zea
Siebrand Mazeland [Mon, 19 Nov 2007 00:02:42 +0000 (00:02 +0000)]
Localisation updates from Betawiki.
* an, ar, ca, cs, el, es, eu, ext, fi, fiu-vro, fr
Domas Mituzas [Sun, 18 Nov 2007 23:20:34 +0000 (23:20 +0000)]
be less stupid at selecting fields (this needs to be filesorted, folks..)
Niklas Laxström [Sun, 18 Nov 2007 20:15:49 +0000 (20:15 +0000)]
* Reworked convertPlural so that it accepts variable number of arguments nicely
* Should also fix bug 11991
Siebrand Mazeland [Sun, 18 Nov 2007 12:57:52 +0000 (12:57 +0000)]
Updating non-message parts of messages/MessagesKaa.php
ThomasV [Sun, 18 Nov 2007 11:10:26 +0000 (11:10 +0000)]
Inserted two hooks for extension-defined colour codes, and simplified the way link colours are passed. Deprecated makeStubLink and makeStubLinkObj
Victor Vasiliev [Sun, 18 Nov 2007 09:37:52 +0000 (09:37 +0000)]
* (bug 11206) api.php should honor maxlag
* Add wfMaxlagError function
* Add MIME type override option for format=raw
Daniel Cannon [Sun, 18 Nov 2007 08:07:25 +0000 (08:07 +0000)]
Upd RELEASE-NOTES for last commit.
Huji [Sun, 18 Nov 2007 08:06:02 +0000 (08:06 +0000)]
Adding translation for ipb_blocked_as_range
Daniel Cannon [Sun, 18 Nov 2007 08:06:00 +0000 (08:06 +0000)]
Fix silly bug. To check if it's a range block use "mRangeStart != mRangeEnd" instead of just checking if one or the other is set (as they always both are). Remove check for username, unneeded.
Rotem Liss [Sun, 18 Nov 2007 07:52:39 +0000 (07:52 +0000)]
Update.
Aaron Schulz [Sun, 18 Nov 2007 07:41:10 +0000 (07:41 +0000)]
Say wtf units this is in
Daniel Cannon [Sun, 18 Nov 2007 06:02:36 +0000 (06:02 +0000)]
Provide a unique message (ipb_blocked_as_range) if unblock of a single IP fails because it is part of a blocked range.
Daniel Cannon [Sun, 18 Nov 2007 05:46:44 +0000 (05:46 +0000)]
API: Provide details message on first failed log-in too (probably where it's needed the most).
Daniel Cannon [Sun, 18 Nov 2007 05:42:08 +0000 (05:42 +0000)]
API: Up default wait-time on failed log-in to five seconds. One is too easy to get around.
Aryeh Gregor [Sun, 18 Nov 2007 02:33:30 +0000 (02:33 +0000)]
Feeds for recent changes now provide URLs for the change (i.e., the diff), not just the page. This matches behavior of history feeds, which appears more correct. Incidentally, this code needs centralization, probably, say into a constructor method of Revision or Article. Logic is unnecessarily duplicated at present. (Also tweaked some docs, used __METHOD__ instead of $fname.)
Siebrand Mazeland [Sat, 17 Nov 2007 23:36:07 +0000 (23:36 +0000)]
Importing usable interface messages from ay.wikipedia.org
Siebrand Mazeland [Sat, 17 Nov 2007 21:31:25 +0000 (21:31 +0000)]
Adding namespace names
Siebrand Mazeland [Sat, 17 Nov 2007 19:55:39 +0000 (19:55 +0000)]
Localisation updates from Betawiki.
* kn, nl, sdc, wo
* fixing RELEASE-NOTES to reflect earlier changes
Siebrand Mazeland [Sat, 17 Nov 2007 19:48:32 +0000 (19:48 +0000)]
Localisation updates from Betawiki.
* af, an, ar, cs, ext, fi, hr, hsb, hu, ja, kaa
Victor Vasiliev [Sat, 17 Nov 2007 16:45:59 +0000 (16:45 +0000)]
API:
* Add format=raw
* Added raw output support to ApiExpandTemplates and ApiRender
Siebrand Mazeland [Sat, 17 Nov 2007 13:26:34 +0000 (13:26 +0000)]
Fix error in namespace
Siebrand Mazeland [Sat, 17 Nov 2007 12:26:02 +0000 (12:26 +0000)]
Localisation updates from Betawiki.
* fi, fr, ja, kaa, nl
Siebrand Mazeland [Sat, 17 Nov 2007 12:20:05 +0000 (12:20 +0000)]
Adding namespaces for 'gl'
Siebrand Mazeland [Sat, 17 Nov 2007 12:18:54 +0000 (12:18 +0000)]
Updating namespaces for 'ce'
Rotem Liss [Sat, 17 Nov 2007 10:30:04 +0000 (10:30 +0000)]
Fix.
Siebrand Mazeland [Sat, 17 Nov 2007 00:22:01 +0000 (00:22 +0000)]
Revert 'mainpage' back to r26089. Messed up some things.
Siebrand Mazeland [Fri, 16 Nov 2007 23:49:59 +0000 (23:49 +0000)]
Localisation updates from Betawiki.
* an, ar, ca, cs, hr, hsb, ja, kaa, kn, ku-latn, nl, pl, pnt, qu, sdc, stq, tyv, wuu
Brion Vibber [Fri, 16 Nov 2007 23:10:07 +0000 (23:10 +0000)]
Instead of giving weird-ass results when an array is passed to Language::lcfirst(), only use our clever optimization if it is a string. Array will spit out annoying notices as before so you can tell what you did wrong.
Brion Vibber [Fri, 16 Nov 2007 22:50:59 +0000 (22:50 +0000)]
Fix regression from r26954 -- caused non-empty data sets to *fail* to render, in addition to making empty data sets render. :)
Brion Vibber [Fri, 16 Nov 2007 21:33:00 +0000 (21:33 +0000)]
Don't break patrolling when the newpages-specific patrolling mode is off but general patrolling is on.
Anders Wegge Jakobsen [Fri, 16 Nov 2007 19:21:09 +0000 (19:21 +0000)]
Added/updated translations for da
Niklas Laxström [Fri, 16 Nov 2007 18:15:16 +0000 (18:15 +0000)]
* Restored hungarian date formats
Huji [Fri, 16 Nov 2007 17:06:09 +0000 (17:06 +0000)]
Fixes bug 12001: Added missing translation for MessagesFr.php
Rotem Liss [Fri, 16 Nov 2007 09:20:15 +0000 (09:20 +0000)]
Better translation.
Siebrand Mazeland [Thu, 15 Nov 2007 22:59:37 +0000 (22:59 +0000)]
Adding Krice from Tyvanet.com as author
Siebrand Mazeland [Thu, 15 Nov 2007 22:03:03 +0000 (22:03 +0000)]
Localisation updates from Betawiki.
* an, ar, ceb, dsb, hr, kaa, sdc, ss, stq, tet, tyv
Huji [Thu, 15 Nov 2007 20:27:55 +0000 (20:27 +0000)]
Translation of the new message.
Siebrand Mazeland [Thu, 15 Nov 2007 19:03:08 +0000 (19:03 +0000)]
Importing usable messages from bm.wikipedia.org
Brion Vibber [Thu, 15 Nov 2007 18:35:58 +0000 (18:35 +0000)]
Special-case empty arrays and single-element arrays in database wrappers.
* single-element arrays were inefficient ("field IN (42)"), now using straight matches ("field=42")
* empty arrays caused an error ("IN ()" is invalid syntax), now will evaluate to 0 (false)
Siebrand Mazeland [Thu, 15 Nov 2007 18:18:51 +0000 (18:18 +0000)]
Importing usable messages from wo.wikipedia.org
Rotem Liss [Thu, 15 Nov 2007 17:12:35 +0000 (17:12 +0000)]
Fix.
Niklas Laxström [Thu, 15 Nov 2007 16:32:41 +0000 (16:32 +0000)]
* If restricted read access was enabled, whitelist didn't work with special pages which had spaces in theirs names
* If restricted read access was enabled, requests for non-existing special pages threw an exception
Victor Vasiliev [Thu, 15 Nov 2007 15:10:04 +0000 (15:10 +0000)]
Make action=render follow redirects by default. There's no reason why someone may want to render redirects (even if he need, he may use redirect=no)
Rotem Liss [Thu, 15 Nov 2007 14:47:40 +0000 (14:47 +0000)]
Fixes.
Rotem Liss [Thu, 15 Nov 2007 14:44:04 +0000 (14:44 +0000)]
Fix.
Rotem Liss [Thu, 15 Nov 2007 14:42:20 +0000 (14:42 +0000)]
Show 'no reason given' rather than a single apostrophe in a 'user blocked' page, when no reason is given for a block.
Rotem Liss [Thu, 15 Nov 2007 14:20:11 +0000 (14:20 +0000)]
Fix.
Rotem Liss [Thu, 15 Nov 2007 10:18:09 +0000 (10:18 +0000)]
Signature messages should be ignored: They are not just optional.
Brion Vibber [Thu, 15 Nov 2007 04:24:49 +0000 (04:24 +0000)]
Revert r27151 -- allows session fixation attacks.
Just get a user to visit a URL with the user ID and token you like in the query string (say, in an <img> referenced in a page you convince them to go to or post for their review) and their login session will be replaced with the one you provided.
Nick Jenkins [Thu, 15 Nov 2007 03:54:44 +0000 (03:54 +0000)]
ParserTests - Sane behavior requirement with apostrophe followed by bold in French or Italian
(was implied already, but this just explicitly lists this case)
Brion Vibber [Thu, 15 Nov 2007 03:30:03 +0000 (03:30 +0000)]
* Changed signature-ip to signature-anon
* Removed the hardcoding of the link parameter ($1), let the message control the destination.
* Removed the hardcoded talk page links. They can be easily re-added if desired, though, and added per-wiki.
* Removed the $3 and $4 parameters
* Fixed wfEscapeWikiText() to do "]" as well as "[", so sigs with "]" won't break links
* Updated a parser test case for the escaping change
Brion Vibber [Thu, 15 Nov 2007 02:54:28 +0000 (02:54 +0000)]
Fix regression in r27416 -- {{REVISIONID}} was broken on save since a parsed copy from before revision-insert was used to insert into parser cache.
The parser now sets a "vary-revision" flag on the ParserOutput when using {{REVISIONID}}; Article then reparses the page after insertion if and only if required.
Brion Vibber [Thu, 15 Nov 2007 02:24:56 +0000 (02:24 +0000)]
* validate namespace parameter as int, not text
* set the hidebots setting in the links so it doesn't randomly flip off
Brion Vibber [Thu, 15 Nov 2007 02:13:00 +0000 (02:13 +0000)]
Constructor parameters on a QueryPage need to be optional, so the class can be loaded in other contexts (such as running updateSpecialPages.php)
Siebrand Mazeland [Wed, 14 Nov 2007 23:34:48 +0000 (23:34 +0000)]
Add messages 'signature' and 'signature-ip' to new message group and set optional.
Siebrand Mazeland [Wed, 14 Nov 2007 23:23:39 +0000 (23:23 +0000)]
Localisation updates from Betawiki.
* am, an, ar, ca, ce, cs, ext, fr, kaa, la, qu, sdc, sk, tyv
Domas Mituzas [Wed, 14 Nov 2007 22:11:33 +0000 (22:11 +0000)]
remove use of anon function in stacktrace parsing, repeated calls are far more friendly for proper functions
Niklas Laxström [Wed, 14 Nov 2007 20:18:29 +0000 (20:18 +0000)]
* Not nice to sprinkle signatures in random languages
Raimond Spekking [Wed, 14 Nov 2007 16:58:05 +0000 (16:58 +0000)]
* (bug 6695) Fix native language name of Southern Sotho (Sesotho) (st)
Brion Vibber [Wed, 14 Nov 2007 16:03:39 +0000 (16:03 +0000)]
Use == for comparison, not = !
Siebrand Mazeland [Tue, 13 Nov 2007 21:54:33 +0000 (21:54 +0000)]
Localisation updates from Betawiki.
* an, frp, nl, pnt, qu, stq, tyv, wuu
Brion Vibber [Tue, 13 Nov 2007 21:18:25 +0000 (21:18 +0000)]
* Added --override switch for disabled pages in updateSpecialPages.php
* Fixed updateSpecialPages when using untouched include_path
Roan Kattouw [Tue, 13 Nov 2007 20:32:11 +0000 (20:32 +0000)]
(bug 11315):
*Default signatures can be changed in [[MediaWiki:Signature]] and [[MediaWiki:Signature-ip]]
* Signatures for anonymous users link to Special:Contributions page rather than user page
Rotem Liss [Tue, 13 Nov 2007 18:03:38 +0000 (18:03 +0000)]
No plural in tet.
Rotem Liss [Tue, 13 Nov 2007 17:17:07 +0000 (17:17 +0000)]
* Support for Hebrew calendar
* Support for Hebrew numerals in dates and times
Patch is based on part of the patch by Yaakov Shoham in Bug 8385, rewritten to match the current structure
Roan Kattouw [Tue, 13 Nov 2007 15:07:54 +0000 (15:07 +0000)]
It's no problem to use empty(), as long as you return $str rather than an empty string.
Raimond Spekking [Tue, 13 Nov 2007 14:12:48 +0000 (14:12 +0000)]
* (bug 99145) Update Swedish translations
Patch by Lejonel
Domas Mituzas [Tue, 13 Nov 2007 13:24:51 +0000 (13:24 +0000)]
Cache by default raw views for CSS & JS files for all users, controllable by $wgForcedRawSMaxage
Rotem Liss [Tue, 13 Nov 2007 11:50:36 +0000 (11:50 +0000)]
Fixes.
Rotem Liss [Tue, 13 Nov 2007 11:41:30 +0000 (11:41 +0000)]
Update and fixes.
Huji [Tue, 13 Nov 2007 10:17:03 +0000 (10:17 +0000)]
Fixing for the warning by checkLanguage about using {{plural}}.
Niklas Laxström [Tue, 13 Nov 2007 09:55:45 +0000 (09:55 +0000)]
* Fetch linkprefix only when needed
Domas Mituzas [Tue, 13 Nov 2007 09:03:49 +0000 (09:03 +0000)]
profiling tooltips. yes, they have to be profiled!
Daniel Cannon [Tue, 13 Nov 2007 05:09:30 +0000 (05:09 +0000)]
If an IP address is blocked as part of a rangeblock, attempting to unblock the single IP should not unblock the entire range.
Tim Starling [Tue, 13 Nov 2007 04:05:13 +0000 (04:05 +0000)]
revert revert (r27446): I gave the OK for this feature. sprintfDate is a big tent, supporting all languages with a general format syntax. It already has specific support for European languages in the form of genitive month names and roman numerals. There's no reason we can't extend support to other continents as well.
Aaron Schulz [Tue, 13 Nov 2007 03:45:59 +0000 (03:45 +0000)]
*Check if a String and empty. This was '0' works as a title again.
Domas Mituzas [Mon, 12 Nov 2007 23:32:15 +0000 (23:32 +0000)]
I fail to see the need of Iranian invasion to very core of code. needs to be more modular, I suppose.
Siebrand Mazeland [Mon, 12 Nov 2007 22:56:17 +0000 (22:56 +0000)]
Localisation updates from Betawiki.
* sah, sc, sk, stq, su, tl, tyv, wuu (new), zh-hans
Domas Mituzas [Mon, 12 Nov 2007 22:50:05 +0000 (22:50 +0000)]
empty() is faster! :)
Siebrand Mazeland [Mon, 12 Nov 2007 22:47:19 +0000 (22:47 +0000)]
Localisation updates from Betawiki.
* fiu-vro, fo, is, ja, kaa, kab, mk, nds, nl, oc, qu
Domas Mituzas [Mon, 12 Nov 2007 22:45:48 +0000 (22:45 +0000)]
do nothing for empty strings... how can you upper-case the void?
Siebrand Mazeland [Mon, 12 Nov 2007 22:37:45 +0000 (22:37 +0000)]
Localisation updates from Betawiki.
* am, an, ca, cs, csb, dsb, es, ext, fi
Domas Mituzas [Mon, 12 Nov 2007 22:34:39 +0000 (22:34 +0000)]
6x optimized lcfirst() \o/ though it would be far better not to call these functions too much at all :)
Domas Mituzas [Mon, 12 Nov 2007 22:17:50 +0000 (22:17 +0000)]
8x faster ucfirst() (function called >100 times even on simple pageviews :)
Victor Vasiliev [Mon, 12 Nov 2007 16:03:34 +0000 (16:03 +0000)]
* Remove Special:Randomincategory. Domas said that it will work slowly on big categories (like "Living persons").
Raimond Spekking [Mon, 12 Nov 2007 08:41:35 +0000 (08:41 +0000)]
* (bugs 11939,11940,11941,11942) Update French translations
Patches by Bertrand GRONDIN
Raimond Spekking [Mon, 12 Nov 2007 08:34:21 +0000 (08:34 +0000)]
* Updates German
Tim Starling [Mon, 12 Nov 2007 07:32:17 +0000 (07:32 +0000)]
Allow the special page function to be a callback, not just a function name.
Tim Starling [Mon, 12 Nov 2007 07:31:25 +0000 (07:31 +0000)]
doc tweak
Tim Starling [Mon, 12 Nov 2007 07:30:40 +0000 (07:30 +0000)]
Added EditFilterMerged hook: like EditFilter but uses the text after section merging. This allows ConfirmEdit and SpamBlacklist to share a parse with Article::editUpdates(). Article::prepareTextForEdit() facilitates this sharing. Unfortunately this means that {{REVISIONID}} will no longer work for current page views.
Siebrand Mazeland [Sun, 11 Nov 2007 21:21:42 +0000 (21:21 +0000)]
Localisation updates from Betawiki.
* sk
Siebrand Mazeland [Sun, 11 Nov 2007 21:16:27 +0000 (21:16 +0000)]
article->page