Niklas Laxström [Fri, 23 Nov 2007 14:25:12 +0000 (14:25 +0000)]
* Updates
Anders Wegge Jakobsen [Fri, 23 Nov 2007 12:05:00 +0000 (12:05 +0000)]
Added/updated translations for da
Roan Kattouw [Fri, 23 Nov 2007 11:28:22 +0000 (11:28 +0000)]
Oh, and bots too
Roan Kattouw [Fri, 23 Nov 2007 11:27:09 +0000 (11:27 +0000)]
Requiring suppressredirect right to suppress redirect creation
Niklas Laxström [Fri, 23 Nov 2007 08:49:31 +0000 (08:49 +0000)]
* Always check for user input
Niklas Laxström [Fri, 23 Nov 2007 08:40:46 +0000 (08:40 +0000)]
Argh what a code. Underline setting "browser default" doesn't even work in monobook because it's forced to none. But in any case, let's not produce invalid css
and throw ugly notices.
Siebrand Mazeland [Fri, 23 Nov 2007 08:28:45 +0000 (08:28 +0000)]
Localisation updates from Betawiki.
* ar, fo, fr, frp, hr, ie (new), is, kaa, kn, la, nl, qu, sco, stq, uz
ThomasV [Thu, 22 Nov 2007 16:06:16 +0000 (16:06 +0000)]
minor fix
ThomasV [Thu, 22 Nov 2007 15:54:18 +0000 (15:54 +0000)]
* got rid of magic codes for colours.* added hook for link recolouring by extensions* merged redundant stub tests in one single function, getLinkColour (Linker.php)
* deprecated makeStubLink and makeStubLinkObj
Niklas Laxström [Thu, 22 Nov 2007 15:43:02 +0000 (15:43 +0000)]
* The number of watching users in watchlists was always reported as 1
Siebrand Mazeland [Thu, 22 Nov 2007 09:47:40 +0000 (09:47 +0000)]
Localisation updates from Betawiki.
* fo
Rotem Liss [Thu, 22 Nov 2007 09:17:13 +0000 (09:17 +0000)]
Fix an error on converting.
Rotem Liss [Thu, 22 Nov 2007 08:41:35 +0000 (08:41 +0000)]
Fix.
Siebrand Mazeland [Wed, 21 Nov 2007 23:47:04 +0000 (23:47 +0000)]
Localisation updates from Betawiki.
* an, ar, cs, dsb, el, fo, fr, frp, hr, kaa, nl, qu, sco, sdc, stq, tyv, uz, wuu
Steve Sanbeg [Wed, 21 Nov 2007 23:07:36 +0000 (23:07 +0000)]
cache template redirects, since we were already checking cache for them
Roan Kattouw [Wed, 21 Nov 2007 20:15:35 +0000 (20:15 +0000)]
APIEDIT BRANCH MERGE:
* Splitting DB code from UserrightsForm::saveUserGroups() to UserrightsForm:doSaveUserGroups()
* Making UserrightsForm::changeableGroups() public so the API module can call it
Rotem Liss [Wed, 21 Nov 2007 17:49:35 +0000 (17:49 +0000)]
Fixes.
Siebrand Mazeland [Wed, 21 Nov 2007 17:34:18 +0000 (17:34 +0000)]
Update RELEASE-NOTES
Huji [Wed, 21 Nov 2007 17:19:12 +0000 (17:19 +0000)]
Fixing the date formats for Hebrew calendar.
Huji [Wed, 21 Nov 2007 17:01:55 +0000 (17:01 +0000)]
Adding date format for Hebrew calendar. Also, modifying the email address as an anti-spam measure. Adding another email address as well.
Huji [Wed, 21 Nov 2007 16:37:13 +0000 (16:37 +0000)]
Allows using Hebrew calendar in Persian interface.
Raimond Spekking [Wed, 21 Nov 2007 14:55:54 +0000 (14:55 +0000)]
* Add a forgotten bug number
* Format file (CR at column 80)
Niklas Laxström [Wed, 21 Nov 2007 11:59:16 +0000 (11:59 +0000)]
* Adding Roozbeh to authors
Siebrand Mazeland [Wed, 21 Nov 2007 09:53:41 +0000 (09:53 +0000)]
Fix import errors
Raimond Spekking [Wed, 21 Nov 2007 07:35:41 +0000 (07:35 +0000)]
* (bug 12028) Add Special:Listbots as shortcut for Special:Listusers/bot
Patch by Danny B
Siebrand Mazeland [Tue, 20 Nov 2007 22:26:51 +0000 (22:26 +0000)]
Localisation updates from Betawiki.
* an, ast, be, cs, fo, fr, hsb, kaa, nl, pl, qu, sco, sdc, ss, tyv
Brion Vibber [Tue, 20 Nov 2007 21:26:48 +0000 (21:26 +0000)]
Revert r27694 -- if you're seeing this problem, it's probably because you're pulling things out of $wgParser->mFunctionHooks and copying it to another parser without knowing the internal format has changed. That should be fixed whereever that's being done (as it was fixed on the parser tests.)
Brion Vibber [Tue, 20 Nov 2007 21:21:39 +0000 (21:21 +0000)]
Cleanup vis-a-vis r27691
Use x option on regex so we can break it up for legibility.
PHP doesn't seem to let you concat multiple strings in a constant definition, which is kind of lame, so this seems to be the cleanest way to break it over lines. :P
Steve Sanbeg [Tue, 20 Nov 2007 20:55:11 +0000 (20:55 +0000)]
try to prevent old extensions from exploding mysteriously; probably, there's a better way to do this
Huji [Tue, 20 Nov 2007 20:49:14 +0000 (20:49 +0000)]
Having such comments in the code makes finding where a message is referenced easier, which is beneficial for internationalization and maintenance issues.
Huji [Tue, 20 Nov 2007 20:00:52 +0000 (20:00 +0000)]
* Adding Hebrew month names (fixes bug 12047).
* Adding missing translations for newly added messages.
* Adding {{PLURAL}} to a couple of messages.
Daniel Cannon [Tue, 20 Nov 2007 19:40:48 +0000 (19:40 +0000)]
This is giving me a syntax error. It looks gross this way, but I can't think of any other way to split up the constant string.
Aryeh Gregor [Tue, 20 Nov 2007 19:00:55 +0000 (19:00 +0000)]
* Fix Special:Userrights logs for users with special characters in their names. Previously it was urlencoding the page name passed to the FauxRequest, which did *not* urldecode it, so the constraint was being ignored by LogReader as invalid and the whole log was being posted.
* Whitespace, __METHOD__, documentation for FauxRequest to avoid (hopefully?) a repeat bug
* Todo: look for other instances of the bug
Rotem Liss [Tue, 20 Nov 2007 18:48:38 +0000 (18:48 +0000)]
Update.
Raimond Spekking [Tue, 20 Nov 2007 18:17:40 +0000 (18:17 +0000)]
* Support {{PLURAL}} for import log
Brion Vibber [Tue, 20 Nov 2007 17:34:42 +0000 (17:34 +0000)]
Do text normalization in dumpTextPass rather than fetchText, to ensure that the force-loaded ICU plugin will be used in the parent process.
Aryeh Gregor [Tue, 20 Nov 2007 17:32:43 +0000 (17:32 +0000)]
Tweaks for the new rateLimited(): remove @todo i18n, allow robot follow (if it sees any worthwhile links, why not?)
Roan Kattouw [Tue, 20 Nov 2007 16:12:46 +0000 (16:12 +0000)]
APIEDIT BRANCH MERGE:
* Splitting DB code from IPBlocklist::doSubmit() to IPBlocklist::doUnblock()
* Introducing IPBlocklist::UNBLOCK_* constants
Note to scrutinizers: because I made changes like $this->ip to $ip on many lines, the diff for this revision looks very complicated. Most of that is just diff(1)'s stupidity. Comparing the code by hand (eye?) may be less confusing.
Roan Kattouw [Tue, 20 Nov 2007 15:22:06 +0000 (15:22 +0000)]
Check markbotedits permission on regular rollback as well
Siebrand Mazeland [Tue, 20 Nov 2007 14:33:46 +0000 (14:33 +0000)]
Fix syntax somewhat for 2 messages in 62 languages (shouldn't this be in the code?)
Brion Vibber [Tue, 20 Nov 2007 13:16:14 +0000 (13:16 +0000)]
Fix regression in parser testing with parser function hooks; format of internal structure changed, affecting copying of hooks from main to test parser.
Brion Vibber [Tue, 20 Nov 2007 12:58:34 +0000 (12:58 +0000)]
Initial implementation of restartable subprocess for text fetching in dumpTextPass.php
Raimond Spekking [Tue, 20 Nov 2007 12:11:05 +0000 (12:11 +0000)]
* Do not present an image bigger than the source when 'frameless' option is used
* This is consistent with the 'thumb' option now:
** Unchanged: [[Image:xyz.jpg|thumb]], [[Image:xyz.jpg|thumb|200px]] do not blow up an image larger than the source
** Unchanged: [[Image:xyz.jpg|frameless]] does not blow up an image
** New: [[Image:xyz.jpg|frameless|200px]] does not blow up an image
** Unchanged: [[Image:xyz.jpg|200px]] still blows up an image
Tim Starling [Tue, 20 Nov 2007 11:07:22 +0000 (11:07 +0000)]
A differential fuzz tester for the wikitext preprocessor. My changes don't pass it completely, but it was useful anyway, it found lots of bugs for me. Maybe it'll be useful to someone else some day. Best used with Parser_DiffTest.
Tim Starling [Tue, 20 Nov 2007 10:58:12 +0000 (10:58 +0000)]
A file repository without files. Gets rid of useless DB queries during parser testing.
Tim Starling [Tue, 20 Nov 2007 10:55:08 +0000 (10:55 +0000)]
* Refactored the parser. See my huge entry in RELEASE-NOTES for details.
* Made it possible to configure the parser class being used, via $wgParserConf.
* Moved defines from the top of Parser.php to either class constants or Defines.php
* Added Parser_DiffTest, a differential parser class for regression testing
* Added Parser_OldPP, a parser class which operates like the parser before this commit. I made one breaking change: a bugfix to avoid losing whitespace when adding MWTEMPLATESECTION markers.
* Made internal tidy work with PHP 5
* Added the ability to supply a hook for template fetching via ParserOptions. This is handy for testing.
* Updated parserTests.txt to account for the various breaking changes I made. Removed a few parser tests that no longer test for anything useful.
Raimond Spekking [Tue, 20 Nov 2007 10:15:35 +0000 (10:15 +0000)]
* Updates German
Rotem Liss [Tue, 20 Nov 2007 08:43:30 +0000 (08:43 +0000)]
Update.
Andrew Garrett [Tue, 20 Nov 2007 08:34:59 +0000 (08:34 +0000)]
* Ensure that rate-limiting is applied to rollbacks.
* Make a better rate-limiting error message (i.e. a normal MW error, rather than an "Internal Server Error").
Rotem Liss [Tue, 20 Nov 2007 07:29:12 +0000 (07:29 +0000)]
Update.
Siebrand Mazeland [Tue, 20 Nov 2007 07:25:04 +0000 (07:25 +0000)]
Localisation updates from Betawiki.
* an, stq, wuu
Andrew Garrett [Tue, 20 Nov 2007 07:11:39 +0000 (07:11 +0000)]
* Marking edits as bot edits with Special:Contributions?bot=1 now requires the markbotedit permission, rather than the rollback permission previously used. This permission is assigned by default to the sysop group.
Siebrand Mazeland [Mon, 19 Nov 2007 23:18:46 +0000 (23:18 +0000)]
Localisation updates from Betawiki.
* an, ay, br, ca, eu, fiu-vro, fo, fr, kaa, nl, qu, sdc, stq
Raimond Spekking [Mon, 19 Nov 2007 22:38:11 +0000 (22:38 +0000)]
* Do not force a password for account creation by email
set pseudo password, it will be replaced later by a random generated password
Raimond Spekking [Mon, 19 Nov 2007 21:24:20 +0000 (21:24 +0000)]
* (bug 3973) Use a separate message for the email content when an account is created by another user
Rotem Liss [Mon, 19 Nov 2007 17:52:34 +0000 (17:52 +0000)]
Typo.
Rotem Liss [Mon, 19 Nov 2007 17:51:48 +0000 (17:51 +0000)]
Fixing a typo that broke historywarning.
Rotem Liss [Mon, 19 Nov 2007 17:51:11 +0000 (17:51 +0000)]
Fixes.
Huji [Mon, 19 Nov 2007 16:13:25 +0000 (16:13 +0000)]
Right-to-Left-Marker should appear in the beginning of all of the strings, to ensure the text is shown in correct order in left-to-right wikis.
Roan Kattouw [Mon, 19 Nov 2007 16:13:24 +0000 (16:13 +0000)]
APIEDIT BRANCH MERGE:
* Splitting UI and DB logic in SpecialBlockip.php
** doBlock() does the actual work
** doSubmit() wraps around it
** Introduced BLOCK_* constants
Huji [Mon, 19 Nov 2007 16:06:26 +0000 (16:06 +0000)]
* Fixes bugs 12023, 12024 and 12025.
* Translation of the monthname-gen months ending with "heh" were updated.
* Date format was updated and completed.
Roan Kattouw [Mon, 19 Nov 2007 15:57:58 +0000 (15:57 +0000)]
Revert part of Brion's 27627: please don't throw away the child (maxlag) with the bathwater (format=raw)
Brion Vibber [Mon, 19 Nov 2007 15:38:56 +0000 (15:38 +0000)]
Reverting r27599
* Uses hardcoded magic numbers extensively, which is poor practice
* Adds two hooks with no documentation
* Dropping $class unencoded into the HTML output feels like bad practice to me
* A link-by-link coloring plugin sounds like it could be very expensive to begin with; I'm a bit leery of adding in such overhead.
Brion Vibber [Mon, 19 Nov 2007 15:32:06 +0000 (15:32 +0000)]
Revert r27581, 27598, 27626
format=raw is an HTML injection machine like action=raw but without any safeguards; it's trivial to create JavaScript exploits which hit at least Internet Explorer.
There's no reason to add a whole new danger point here when you've got machine-readable structure already... please do not add this raw formatter back.
Victor Vasiliev [Mon, 19 Nov 2007 15:08:18 +0000 (15:08 +0000)]
* Use ApiBase::dieDebug() to render maxlag error properly
* Allow modules to ignore maxlag attribute
Raimond Spekking [Mon, 19 Nov 2007 13:46:07 +0000 (13:46 +0000)]
* Updates German
Raimond Spekking [Mon, 19 Nov 2007 12:40:18 +0000 (12:40 +0000)]
* (bug 12006) Translation alternate names of special pages nds-nl
Patch by Servien
Tim Starling [Mon, 19 Nov 2007 10:22:29 +0000 (10:22 +0000)]
dataLoaded also needs to be set for negative cache hits.
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'