lhc/web/wiklou.git
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.

16 years ago* validate namespace parameter as int, not text
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

16 years agoConstructor parameters on a QueryPage need to be optional, so the class can be loaded...
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)

16 years agoAdd messages 'signature' and 'signature-ip' to new message group and set optional.
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.

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

16 years agoremove use of anon function in stacktrace parsing, repeated calls are far more friend...
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

16 years ago* Not nice to sprinkle signatures in random languages
Niklas Laxström [Wed, 14 Nov 2007 20:18:29 +0000 (20:18 +0000)]
* Not nice to sprinkle signatures in random languages

16 years ago* (bug 6695) Fix native language name of Southern Sotho (Sesotho) (st)
Raimond Spekking [Wed, 14 Nov 2007 16:58:05 +0000 (16:58 +0000)]
* (bug 6695) Fix native language name of Southern Sotho (Sesotho) (st)

16 years agoUse == for comparison, not = !
Brion Vibber [Wed, 14 Nov 2007 16:03:39 +0000 (16:03 +0000)]
Use == for comparison, not = !

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

16 years ago* Added --override switch for disabled pages in updateSpecialPages.php
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

16 years ago(bug 11315):
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

16 years agoNo plural in tet.
Rotem Liss [Tue, 13 Nov 2007 18:03:38 +0000 (18:03 +0000)]
No plural in tet.

16 years ago* Support for Hebrew calendar
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

16 years agoIt's no problem to use empty(), as long as you return $str rather than an empty string.
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.

16 years ago* (bug 99145) Update Swedish translations
Raimond Spekking [Tue, 13 Nov 2007 14:12:48 +0000 (14:12 +0000)]
* (bug 99145) Update Swedish translations
  Patch by Lejonel

16 years agoCache by default raw views for CSS & JS files for all users, controllable by $wgForce...
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

16 years agoFixes.
Rotem Liss [Tue, 13 Nov 2007 11:50:36 +0000 (11:50 +0000)]
Fixes.

16 years agoUpdate and fixes.
Rotem Liss [Tue, 13 Nov 2007 11:41:30 +0000 (11:41 +0000)]
Update and fixes.

16 years agoFixing for the warning by checkLanguage about using {{plural}}.
Huji [Tue, 13 Nov 2007 10:17:03 +0000 (10:17 +0000)]
Fixing for the warning by checkLanguage about using {{plural}}.

16 years ago* Fetch linkprefix only when needed
Niklas Laxström [Tue, 13 Nov 2007 09:55:45 +0000 (09:55 +0000)]
* Fetch linkprefix only when needed

16 years agoprofiling tooltips. yes, they have to be profiled!
Domas Mituzas [Tue, 13 Nov 2007 09:03:49 +0000 (09:03 +0000)]
profiling tooltips. yes, they have to be profiled!

16 years agoIf an IP address is blocked as part of a rangeblock, attempting to unblock the single...
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.

16 years agorevert revert (r27446): I gave the OK for this feature. sprintfDate is a big tent...
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.

16 years ago*Check if a String and empty. This was '0' works as a title again.
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.

16 years agoI fail to see the need of Iranian invasion to very core of code. needs to be more...
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.

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

16 years agoempty() is faster! :)
Domas Mituzas [Mon, 12 Nov 2007 22:50:05 +0000 (22:50 +0000)]
empty() is faster! :)

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

16 years agodo nothing for empty strings... how can you upper-case the void?
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?

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

16 years ago6x optimized lcfirst() \o/ though it would be far better not to call these functions...
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 :)

16 years ago8x faster ucfirst() (function called >100 times even on simple pageviews :)
Domas Mituzas [Mon, 12 Nov 2007 22:17:50 +0000 (22:17 +0000)]
8x faster ucfirst() (function called >100 times even on simple pageviews :)

16 years ago* Remove Special:Randomincategory. Domas said that it will work slowly on big categor...
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").

16 years ago* (bugs 11939,11940,11941,11942) Update French translations
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

16 years ago* Updates German
Raimond Spekking [Mon, 12 Nov 2007 08:34:21 +0000 (08:34 +0000)]
* Updates German

16 years agoAllow the special page function to be a callback, not just a function name.
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.

16 years agodoc tweak
Tim Starling [Mon, 12 Nov 2007 07:31:25 +0000 (07:31 +0000)]
doc tweak

16 years agoAdded EditFilterMerged hook: like EditFilter but uses the text after section merging...
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.

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Sun, 11 Nov 2007 21:21:42 +0000 (21:21 +0000)]
Localisation updates from Betawiki.
* sk

16 years agoarticle->page
Siebrand Mazeland [Sun, 11 Nov 2007 21:16:27 +0000 (21:16 +0000)]
article->page

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Sun, 11 Nov 2007 21:13:07 +0000 (21:13 +0000)]
Localisation updates from Betawiki.
* an, br, cs, el, fy, kaa, kn, nl, oc, ss, stq, tyv

16 years ago* Updated Tajik (tg) date formats from request
Niklas Laxström [Sun, 11 Nov 2007 17:04:09 +0000 (17:04 +0000)]
* Updated Tajik (tg) date formats from request

16 years agoChange a few remaining "article"->"page" in core messages.
Siebrand Mazeland [Sun, 11 Nov 2007 16:48:41 +0000 (16:48 +0000)]
Change a few remaining "article"->"page" in core messages.

16 years agoupdate RELEASE-NOTES
Siebrand Mazeland [Sun, 11 Nov 2007 16:37:34 +0000 (16:37 +0000)]
update RELEASE-NOTES

16 years agoAdd new messages to language maintenance scripts. Fixes for r27393.
Raimond Spekking [Sun, 11 Nov 2007 16:14:17 +0000 (16:14 +0000)]
Add new messages to language maintenance scripts. Fixes for r27393.

16 years agoI hope this commit will be last or I will die()...
Victor Vasiliev [Sun, 11 Nov 2007 16:01:37 +0000 (16:01 +0000)]
I hope this commit will be last or I will die()...

16 years agoSome minor fixes:
Victor Vasiliev [Sun, 11 Nov 2007 15:55:17 +0000 (15:55 +0000)]
Some minor fixes:
* Renamed ot=raw to ot=xml
* Added tooltip to randomincategory link on sidebar

16 years agoFixes in language files for new randomincategory
Raimond Spekking [Sun, 11 Nov 2007 15:51:33 +0000 (15:51 +0000)]
Fixes in language files for new randomincategory

16 years ago* Add ot=raw to Special:Allmessages
Victor Vasiliev [Sun, 11 Nov 2007 14:52:31 +0000 (14:52 +0000)]
* Add ot=raw to Special:Allmessages
* Handle invalid titles correctly in Special:Randomincategory

16 years ago* Normalize titles in Special:Randomincategory
Victor Vasiliev [Sun, 11 Nov 2007 14:17:59 +0000 (14:17 +0000)]
* Normalize titles in Special:Randomincategory
* Add link on Special:Randomincategory to sidebar

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Sun, 11 Nov 2007 12:57:59 +0000 (12:57 +0000)]
Localisation updates from Betawiki.
* la, nl, no, oc, sah, scn, sdc, se, sei, sq, stq, sv, tyv

16 years ago"Apply patch" in TortoiseSVN didn't add SpecialRandomincategory.php. Fixing
Victor Vasiliev [Sun, 11 Nov 2007 12:32:26 +0000 (12:32 +0000)]
"Apply patch" in TortoiseSVN didn't add SpecialRandomincategory.php. Fixing

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Sun, 11 Nov 2007 12:28:11 +0000 (12:28 +0000)]
Localisation updates from Betawiki.
* fr, gsw, hak, kr, hsb, is, ja, kab

16 years ago* Add special page for getting random page from category
Victor Vasiliev [Sun, 11 Nov 2007 12:27:40 +0000 (12:27 +0000)]
* Add special page for getting random page from category

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Sun, 11 Nov 2007 12:15:36 +0000 (12:15 +0000)]
Localisation updates from Betawiki.
* an, ar, arn, bcl, bn, cbk-zam, cs, dsb, el, es, ext, fi

16 years ago* Updates German
Raimond Spekking [Sun, 11 Nov 2007 06:46:36 +0000 (06:46 +0000)]
* Updates German

16 years ago* (bugs 11927,11928) Update French translations
Raimond Spekking [Sun, 11 Nov 2007 06:36:08 +0000 (06:36 +0000)]
* (bugs 11927,11928) Update French translations
  Patch by Bertrand GRONDIN

16 years agoUpdate date formatting for Czech
Siebrand Mazeland [Sat, 10 Nov 2007 20:23:24 +0000 (20:23 +0000)]
Update date formatting for Czech

Submitted by: Li-sung

16 years agoUpdate language changes in RELEASE-NOTES
Siebrand Mazeland [Sat, 10 Nov 2007 18:56:55 +0000 (18:56 +0000)]
Update language changes in RELEASE-NOTES

16 years ago* (bug 9742) Update Lithuanian translations
Raimond Spekking [Sat, 10 Nov 2007 18:33:57 +0000 (18:33 +0000)]
* (bug 9742) Update Lithuanian translations
  Patch by Edgaras

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Sat, 10 Nov 2007 15:04:34 +0000 (15:04 +0000)]
Localisation updates from Betawiki.
* an, ar, bug (new), cbk-zam (new), cs, es, fiu-vro, frp, hr, hsb, loz, myv, nl, qu, sk, tet, tyv

16 years agoUpdate.
Rotem Liss [Sat, 10 Nov 2007 14:55:44 +0000 (14:55 +0000)]
Update.

16 years ago* (bug 11921) Support plural in message number_of_watching_users_pageview
Niklas Laxström [Sat, 10 Nov 2007 14:52:56 +0000 (14:52 +0000)]
* (bug 11921) Support plural in message number_of_watching_users_pageview

16 years ago* Everything calls this function statically, mark it such to prevent E_STRICT
Niklas Laxström [Sat, 10 Nov 2007 13:38:37 +0000 (13:38 +0000)]
* Everything calls this function statically, mark it such to prevent E_STRICT

16 years ago* (bug 11919) Update Russian translations
Raimond Spekking [Sat, 10 Nov 2007 12:27:42 +0000 (12:27 +0000)]
* (bug 11919) Update Russian translations
  Patch by Alexander Sigachov

16 years agoE_STRICT
Niklas Laxström [Fri, 9 Nov 2007 21:33:16 +0000 (21:33 +0000)]
E_STRICT

16 years agoCommiting changes from BetaWiki.
Huji [Fri, 9 Nov 2007 21:31:06 +0000 (21:31 +0000)]
Commiting changes from BetaWiki.

16 years agoChanging "تعقیب" to "پی‌گیری"; the first one is seldom used in Persian.
Huji [Fri, 9 Nov 2007 20:38:23 +0000 (20:38 +0000)]
Changing "تعقیب" to "پی‌گیری"; the first one is seldom used in Persian.

16 years agoFix double encoding.
Rotem Liss [Fri, 9 Nov 2007 18:08:30 +0000 (18:08 +0000)]
Fix double encoding.

16 years agoUse standard __METHOD__ for $fname in SpecialAllpages.php, not weird indexSomething...
Aryeh Gregor [Fri, 9 Nov 2007 18:08:23 +0000 (18:08 +0000)]
Use standard __METHOD__ for $fname in SpecialAllpages.php, not weird indexSomething stuff.

16 years agoUpdate.
Rotem Liss [Fri, 9 Nov 2007 17:02:42 +0000 (17:02 +0000)]
Update.

16 years ago* Unnecessary break
Niklas Laxström [Fri, 9 Nov 2007 17:00:20 +0000 (17:00 +0000)]
* Unnecessary break

16 years agoAdded/updated translations for da
Anders Wegge Jakobsen [Fri, 9 Nov 2007 13:49:59 +0000 (13:49 +0000)]
Added/updated translations for da

16 years agoLocalisation updates from Betawiki.
Siebrand Mazeland [Fri, 9 Nov 2007 12:41:43 +0000 (12:41 +0000)]
Localisation updates from Betawiki.
* an, ar, cs, es, ext, frp, fy, hr, hsb, is, kaa, myv, nl, oc, pnt, qu, ss (new), stq (new)