lhc/web/wiklou.git
16 years agotry to prevent old extensions from exploding mysteriously; probably, there's a better...
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

16 years agoHaving such comments in the code makes finding where a message is referenced easier...
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.

16 years ago* Adding Hebrew month names (fixes bug 12047).
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.

16 years agoThis is giving me a syntax error. It looks gross this way, but I can't think of any...
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.

16 years ago* Fix Special:Userrights logs for users with special characters in their names. ...
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

16 years agoUpdate.
Rotem Liss [Tue, 20 Nov 2007 18:48:38 +0000 (18:48 +0000)]
Update.

16 years ago* Support {{PLURAL}} for import log
Raimond Spekking [Tue, 20 Nov 2007 18:17:40 +0000 (18:17 +0000)]
* Support {{PLURAL}} for import log

16 years agoDo text normalization in dumpTextPass rather than fetchText, to ensure that the force...
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.

16 years agoTweaks for the new rateLimited(): remove @todo i18n, allow robot follow (if it sees...
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?)

16 years agoAPIEDIT BRANCH MERGE:
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.

16 years agoCheck markbotedits permission on regular rollback as well
Roan Kattouw [Tue, 20 Nov 2007 15:22:06 +0000 (15:22 +0000)]
Check markbotedits permission on regular rollback as well

16 years agoFix syntax somewhat for 2 messages in 62 languages (shouldn't this be in the code?)
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?)

16 years agoFix regression in parser testing with parser function hooks; format of internal struc...
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.

16 years agoInitial implementation of restartable subprocess for text fetching in dumpTextPass.php
Brion Vibber [Tue, 20 Nov 2007 12:58:34 +0000 (12:58 +0000)]
Initial implementation of restartable subprocess for text fetching in dumpTextPass.php

16 years ago* Do not present an image bigger than the source when 'frameless' option is used
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

16 years agoA differential fuzz tester for the wikitext preprocessor. My changes don't pass it...
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.

16 years agoA file repository without files. Gets rid of useless DB queries during parser testing.
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.

16 years ago* Refactored the parser. See my huge entry in RELEASE-NOTES for details.
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.

16 years ago* Updates German
Raimond Spekking [Tue, 20 Nov 2007 10:15:35 +0000 (10:15 +0000)]
* Updates German

16 years agoUpdate.
Rotem Liss [Tue, 20 Nov 2007 08:43:30 +0000 (08:43 +0000)]
Update.

16 years ago* Ensure that rate-limiting is applied to rollbacks.
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").

16 years agoUpdate.
Rotem Liss [Tue, 20 Nov 2007 07:29:12 +0000 (07:29 +0000)]
Update.

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Tue, 20 Nov 2007 07:25:04 +0000 (07:25 +0000)]
Localisation updates from Betawiki.
* an, stq, wuu

16 years ago* Marking edits as bot edits with Special:Contributions?bot=1 now requires the markbo...
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.

16 years agoLocalisation updates from Betawiki.
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

16 years ago* Do not force a password for account creation by email
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

16 years ago* (bug 3973) Use a separate message for the email content when an account is created...
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

16 years agoTypo.
Rotem Liss [Mon, 19 Nov 2007 17:52:34 +0000 (17:52 +0000)]
Typo.

16 years agoFixing a typo that broke historywarning.
Rotem Liss [Mon, 19 Nov 2007 17:51:48 +0000 (17:51 +0000)]
Fixing a typo that broke historywarning.

16 years agoFixes.
Rotem Liss [Mon, 19 Nov 2007 17:51:11 +0000 (17:51 +0000)]
Fixes.

16 years agoRight-to-Left-Marker should appear in the beginning of all of the strings, to ensure...
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.

16 years agoAPIEDIT BRANCH MERGE:
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

16 years ago* Fixes bugs 12023, 12024 and 12025.
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.

16 years agoRevert part of Brion's 27627: please don't throw away the child (maxlag) with the...
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)

16 years agoReverting r27599
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.

16 years agoRevert r27581, 27598, 27626
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.

16 years ago* Use ApiBase::dieDebug() to render maxlag error properly
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

16 years ago* Updates German
Raimond Spekking [Mon, 19 Nov 2007 13:46:07 +0000 (13:46 +0000)]
* Updates German

16 years ago* (bug 12006) Translation alternate names of special pages nds-nl
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

16 years agodataLoaded also needs to be set for negative cache hits.
Tim Starling [Mon, 19 Nov 2007 10:22:29 +0000 (10:22 +0000)]
dataLoaded also needs to be set for negative cache hits.

16 years agoUse setProps() to set properties in LocalFile::loadFromCache(), instead of DIY proper...
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.

16 years agoFix bug in RepoGroup::getRepo(), 0 == 'local'
Tim Starling [Mon, 19 Nov 2007 09:43:47 +0000 (09:43 +0000)]
Fix bug in RepoGroup::getRepo(), 0 == 'local'

16 years agoFix encoding
Siebrand Mazeland [Mon, 19 Nov 2007 08:39:46 +0000 (08:39 +0000)]
Fix encoding

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Mon, 19 Nov 2007 07:56:54 +0000 (07:56 +0000)]
Localisation updates from Betawiki.
* ca, kaa, sdc, ss

16 years agoErm .. wpReason.
Daniel Cannon [Mon, 19 Nov 2007 04:06:47 +0000 (04:06 +0000)]
Erm .. wpReason.

16 years ago* Fixed wgReason URL parameter to action=delete.
Daniel Cannon [Mon, 19 Nov 2007 03:59:45 +0000 (03:59 +0000)]
* Fixed wgReason URL parameter to action=delete.

16 years agoBetter documentation for $wgDBservers, and lengthy warning about read_only mode.
Tim Starling [Mon, 19 Nov 2007 03:25:16 +0000 (03:25 +0000)]
Better documentation for $wgDBservers, and lengthy warning about read_only mode.

16 years agoLocalisation updates from Betawiki.
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

16 years agoLocalisation updates from Betawiki.
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

16 years agobe less stupid at selecting fields (this needs to be filesorted, folks..)
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..)

16 years ago* Reworked convertPlural so that it accepts variable number of arguments nicely
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

16 years agoUpdating non-message parts of messages/MessagesKaa.php
Siebrand Mazeland [Sun, 18 Nov 2007 12:57:52 +0000 (12:57 +0000)]
Updating non-message parts of messages/MessagesKaa.php

16 years agoInserted two hooks for extension-defined colour codes, and simplified the way link...
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

16 years ago* (bug 11206) api.php should honor maxlag
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

16 years agoUpd RELEASE-NOTES for last commit.
Daniel Cannon [Sun, 18 Nov 2007 08:07:25 +0000 (08:07 +0000)]
Upd RELEASE-NOTES for last commit.

16 years agoAdding translation for ipb_blocked_as_range
Huji [Sun, 18 Nov 2007 08:06:02 +0000 (08:06 +0000)]
Adding translation for ipb_blocked_as_range

16 years agoFix silly bug. To check if it's a range block use "mRangeStart != mRangeEnd" instead...
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.

16 years agoUpdate.
Rotem Liss [Sun, 18 Nov 2007 07:52:39 +0000 (07:52 +0000)]
Update.

16 years agoSay wtf units this is in
Aaron Schulz [Sun, 18 Nov 2007 07:41:10 +0000 (07:41 +0000)]
Say wtf units this is in

16 years agoProvide a unique message (ipb_blocked_as_range) if unblock of a single IP fails becau...
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.

16 years agoAPI: Provide details message on first failed log-in too (probably where it's needed...
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).

16 years agoAPI: Up default wait-time on failed log-in to five seconds. One is too easy to get...
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.

16 years agoFeeds for recent changes now provide URLs for the change (i.e., the diff), not just...
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.)

16 years agoImporting usable interface messages from ay.wikipedia.org
Siebrand Mazeland [Sat, 17 Nov 2007 23:36:07 +0000 (23:36 +0000)]
Importing usable interface messages from ay.wikipedia.org

16 years agoAdding namespace names
Siebrand Mazeland [Sat, 17 Nov 2007 21:31:25 +0000 (21:31 +0000)]
Adding namespace names

16 years agoLocalisation updates from Betawiki.
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

16 years agoLocalisation updates from Betawiki.
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

16 years agoAPI:
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

16 years agoFix error in namespace
Siebrand Mazeland [Sat, 17 Nov 2007 13:26:34 +0000 (13:26 +0000)]
Fix error in namespace

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Sat, 17 Nov 2007 12:26:02 +0000 (12:26 +0000)]
Localisation updates from Betawiki.
* fi, fr, ja, kaa, nl

16 years agoAdding namespaces for 'gl'
Siebrand Mazeland [Sat, 17 Nov 2007 12:20:05 +0000 (12:20 +0000)]
Adding namespaces for 'gl'

16 years agoUpdating namespaces for 'ce'
Siebrand Mazeland [Sat, 17 Nov 2007 12:18:54 +0000 (12:18 +0000)]
Updating namespaces for 'ce'

16 years agoFix.
Rotem Liss [Sat, 17 Nov 2007 10:30:04 +0000 (10:30 +0000)]
Fix.

16 years agoRevert 'mainpage' back to r26089. Messed up some things.
Siebrand Mazeland [Sat, 17 Nov 2007 00:22:01 +0000 (00:22 +0000)]
Revert 'mainpage' back to r26089. Messed up some things.

16 years agoLocalisation updates from Betawiki.
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

16 years agoInstead of giving weird-ass results when an array is passed to Language::lcfirst...
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.

16 years agoFix regression from r26954 -- caused non-empty data sets to *fail* to render, in...
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. :)

16 years agoDon't break patrolling when the newpages-specific patrolling mode is off but general...
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.

16 years agoAdded/updated translations for da
Anders Wegge Jakobsen [Fri, 16 Nov 2007 19:21:09 +0000 (19:21 +0000)]
Added/updated translations for da

16 years ago* Restored hungarian date formats
Niklas Laxström [Fri, 16 Nov 2007 18:15:16 +0000 (18:15 +0000)]
* Restored hungarian date formats

16 years agoFixes bug 12001: Added missing translation for MessagesFr.php
Huji [Fri, 16 Nov 2007 17:06:09 +0000 (17:06 +0000)]
Fixes bug 12001: Added missing translation for MessagesFr.php

16 years agoBetter translation.
Rotem Liss [Fri, 16 Nov 2007 09:20:15 +0000 (09:20 +0000)]
Better translation.

16 years agoAdding Krice from Tyvanet.com as author
Siebrand Mazeland [Thu, 15 Nov 2007 22:59:37 +0000 (22:59 +0000)]
Adding Krice from Tyvanet.com as author

16 years agoLocalisation updates from Betawiki.
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

16 years agoTranslation of the new message.
Huji [Thu, 15 Nov 2007 20:27:55 +0000 (20:27 +0000)]
Translation of the new message.

16 years agoImporting usable messages from bm.wikipedia.org
Siebrand Mazeland [Thu, 15 Nov 2007 19:03:08 +0000 (19:03 +0000)]
Importing usable messages from bm.wikipedia.org

16 years agoSpecial-case empty arrays and single-element arrays in database wrappers.
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)

16 years agoImporting usable messages from wo.wikipedia.org
Siebrand Mazeland [Thu, 15 Nov 2007 18:18:51 +0000 (18:18 +0000)]
Importing usable messages from wo.wikipedia.org

16 years agoFix.
Rotem Liss [Thu, 15 Nov 2007 17:12:35 +0000 (17:12 +0000)]
Fix.

16 years ago* If restricted read access was enabled, whitelist didn't work with special pages...
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

16 years agoMake action=render follow redirects by default. There's no reason why someone may...
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)

16 years agoFixes.
Rotem Liss [Thu, 15 Nov 2007 14:47:40 +0000 (14:47 +0000)]
Fixes.

16 years agoFix.
Rotem Liss [Thu, 15 Nov 2007 14:44:04 +0000 (14:44 +0000)]
Fix.

16 years agoShow 'no reason given' rather than a single apostrophe in a 'user blocked' page,...
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.

16 years agoFix.
Rotem Liss [Thu, 15 Nov 2007 14:20:11 +0000 (14:20 +0000)]
Fix.

16 years agoSignature messages should be ignored: They are not just optional.
Rotem Liss [Thu, 15 Nov 2007 10:18:09 +0000 (10:18 +0000)]
Signature messages should be ignored: They are not just optional.

16 years agoRevert r27151 -- allows session fixation attacks.
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.

16 years agoParserTests - Sane behavior requirement with apostrophe followed by bold in French...
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)

16 years ago* Changed signature-ip to signature-anon
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

16 years agoFix regression in r27416 -- {{REVISIONID}} was broken on save since a parsed copy...
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.