Commit graph

1068 commits

Author SHA1 Message Date
Siebrand Mazeland 34a7495664 Localisation updates from Betawiki.
* Fixes and additions to 40 extensions for gl, hsb, id, is, it, ja, kk-kz, kk-tr, nl, no, oc
* export format in extension Translate and indentation changed in: GiveRollback, ImageMap, Newuserlog, OggHandler, Oversight, ParserFunctions, ProofreadPage, Resign/SpecialResign
2007-11-04 21:21:43 +00:00
Siebrand Mazeland 84adf7dae3 Localisation updates from Betawiki.
* Fixes and additions to 54 extensions for ang, ar, fo, gl, hr, hsb, hy, is, ja, kn, la, nl, no, pl, pms, sk
2007-10-28 23:55:11 +00:00
Siebrand Mazeland 9da6627db5 Localisation updates from Betawiki.
* Fixes and additions to 6 extensions for it, sk, zea
2007-10-16 22:25:09 +00:00
Siebrand Mazeland c29fc8e706 Localisation updates from Betawiki.
* Fixes and additions to 33 extensions for ar, bcl, br, cs, fi, fr, hsb, nl, no
2007-10-07 19:23:11 +00:00
Siebrand Mazeland c97006819d Localisation updates from Betawiki.
* Fixes and additions to 40 extensions for ca, ext, fo, hsb, is, it, kk-kz, pl, sk, tet.
2007-10-06 20:43:13 +00:00
Siebrand Mazeland 60c2fb72a3 Localisation updates from Betawiki.
* Fixes and additions to 38 extensions for am, ar, hu, nds, nl.
2007-09-30 12:58:32 +00:00
Siebrand Mazeland bd67e1955f Localisation updates from Betawiki.
* Fixes and additions to 32 extensions for ar, hsb, la, nl, sk, tet.
2007-09-23 18:38:58 +00:00
Siebrand Mazeland 61ea5ffcb5 Localisation updates from Betawiki.
* Fixes and additions to 13 extensions for cs, hsb, sah.
2007-09-18 23:14:32 +00:00
Siebrand Mazeland 10f9868c07 Localisation updates from Betawiki.
* Fixes and additions to 39 extensions for bn, ca, cs, es, ext, hsb, is, wa.
2007-09-17 19:47:03 +00:00
Raimond Spekking 51d4c3a1f5 * (bug 11311) Update Swedish translations
Patch by  Lejonel
2007-09-12 15:34:05 +00:00
Raimond Spekking 2143e95ca9 * (bug 7971) Update Kazakh extension translations
Patch by AlefZet
2007-09-04 17:28:27 +00:00
Brion Vibber 6f8f28792c Renormalize invalid utf-8 byte in error message.
Would be better to work with an entire character, but it isn't that big a deal. :)
2007-08-31 14:08:16 +00:00
Raimond Spekking bd23cdc03d * (bug 11120) Update Chinese extension translations
Patches by Shinjiman
2007-08-30 10:55:14 +00:00
Raimond Spekking 5dc80fc906 * (bug 11068) i18n updates/additions Dutch/nld for extensions
Patch by Siebrand
2007-08-27 07:48:23 +00:00
Raimond Spekking 316387a3b7 Update German 2007-08-20 09:47:17 +00:00
Rotem Liss 13ee215375 Hebrew translation. 2007-08-19 23:24:24 +00:00
Rob Church b800617b98 Code style, whitespace, doc block, etc. - kill the trailing ?> again 2007-08-19 16:59:01 +00:00
Aaron Schulz 99a596fe27 *Internationalize error messages (patch by Bertrand GRONDIN, bug 10991) 2007-08-19 16:55:22 +00:00
Rotem Liss 8ad5a5a09f Introducing a new parser function, "#timel", which is the same as "#time" but uses the local time specified by the computer or by wgLocaltimezone. It passes a local timestamp to Language::sprintfDate or the compatibility function, per its comment ("Input timestamp is assumed to be pre-normalized to the desired local time zone, if any"), but this doesn't cause problems (except for the "+0000" written when using c and r flags). 2007-08-01 18:00:45 +00:00
Aryeh Gregor ddab9b72ee Extensions too! 2007-06-29 01:36:09 +00:00
Rob Church f21e1b0945 Accept a third parameter to {{#titleparts}}; offset, which users can use to chop up the title to their heart's content 2007-06-13 00:26:28 +00:00
Ivan Lanin 50fb49bc22 Indonesian (id) ParserFunctions magic words. 2007-06-09 16:52:06 +00:00
Rob Church 73f43c856f And again... 2007-06-07 19:04:53 +00:00
Rob Church 58f122bafb Er, whoops? 2007-06-07 19:04:02 +00:00
Rob Church e41d3b4447 Fix up the oncoming i18n trainwreck here;
* Move translations to a .i18n.php file as with other extensions
* Use English as a fallback (as before), but if a translation is available for some (or all) magic words, use that, i.e. fall back to English when a translation isn't available for a given word, to avoid breakage when a new one is introduced
2007-06-07 19:02:57 +00:00
Rotem Liss 760a8f7e95 Adding the new magic word also to fa (untranslated), whitespace. 2007-06-06 13:38:34 +00:00
Raimond Spekking 593c5bbf96 (bug 10165) Adding Hebrew translation for a new magic word 2007-06-06 08:51:12 +00:00
Raimond Spekking 7d067a7e71 (bug 10144) Adding Farsi translation for magic words 2007-06-05 09:27:06 +00:00
Rob Church ada85ae61d Title::getPrefixedText() should be faster than implode() here 2007-06-04 17:40:47 +00:00
Rob Church 3a1f80ebd7 (bug 10136, among others) Introduce TITLEPARTS parser function; returns a specified number of slash-separated segments of a title. 2007-06-04 17:34:07 +00:00
Tim Starling 4dbc7f4d21 Register a link on #ifexist. Otherwise this breaks cache coherency. 2007-02-12 10:24:23 +00:00
Antoine Musso 5ea1f08f45 use parser->getTitle() to get possible private $parser->mTitle 2007-01-17 22:57:38 +00:00
Antoine Musso 9fdbabd860 Add descriptions for some extensions used on wikipedia 2007-01-07 13:57:35 +00:00
Antoine Musso ccc136f753 remove some ending whitespaces 2007-01-06 20:56:46 +00:00
Brion Vibber c8e0d935c0 fix line endings 2007-01-05 02:13:39 +00:00
Tim Starling 0151a81b21 Increased mMaxTimeChars to enable repetitive use on certain large pages on enwiki 2007-01-03 18:35:01 +00:00
Andrew Garrett 4fb668f8d6 Add from parameter to rel2abs Parser Function. from is the optional absolute path to calculate from, if it is not given or is empty, it will calculate from ghd current path. Patch by Carl Furstenberg/AzaToth. 2006-12-01 16:31:38 +00:00
Rotem Liss af89e4fbff Update. 2006-11-28 17:13:06 +00:00
Tim Starling e0c630a7df rel2abs function. Based on patch from bug 8021 by AzaTht, with significant changes by me for efficiency and style. 2006-11-28 17:02:19 +00:00
Tim Starling 2477d59ae4 Exception-based error handling for expressions, plus a few other tweaks. Patch by AzaToth. 2006-11-21 07:22:13 +00:00
Tim Starling bd6379b221 Copyright information. Debian wants to package it apparently. 2006-10-12 01:04:40 +00:00
Tim Starling 15a05be55f out of date 2006-09-30 11:10:08 +00:00
Tim Starling beddfd5389 Added a bundled copy of sprintfDate() so that #time works with 1.7. 2006-09-25 06:02:33 +00:00
Brion Vibber 36be4ee1b6 Fix for bug 7162, doubling of references.
The clearState callback function needs to return true so that Cite's callback can also be called.
This bug was triggered by the use of a second parse run in the spam blacklist to accurate extract links; failure to clear state would leave bogus stuff in the parser cache.
Requires a fix to Hook.php in r16282 so that the two hooks don't destroy each other when run.
2006-08-30 10:59:47 +00:00
Rotem Liss a78f6f3431 Hebrew localisation for #time. 2006-08-27 16:42:26 +00:00
Tim Starling da06713e7a Clear the #time character count before each parse. Don't want to break dumpHTML. 2006-08-27 13:39:52 +00:00
Tim Starling f1eac24da7 Added #time 2006-08-25 14:27:41 +00:00
Tim Starling 845c6c71fc Got rid of the MagicWord indexing constants (MAG_xxx), replaced them by string indexing, like messages. The associated change to the extensions, i.e. removing the MagicWordMagicWords hook and using string instead of integer indices, is in fact compatible with MW 1.6 and 1.7, which tells you something about the utility of the hook function. 2006-07-14 15:39:23 +00:00
Jimmy Collins d6b7f6f759 update for XHTML conformance 2006-07-07 18:01:48 +00:00
Rotem Liss 053355d882 ParserFunctions are now using magic words; unlike the previous change, localized forms are now available only in localized wikis (e.g., Hebrew forms are not available in en.wp), though English form is available in every wiki. 2006-06-25 21:29:55 +00:00