Commit graph

905 commits

Author SHA1 Message Date
Siebrand Mazeland 9fc608db1e Localisation updates from Betawiki (2007-12-17 23:09 CET).
* Fixes and additions to 37 extensions for ar, ast, el, fr, gl, hsb, nl, stq, sv
2007-12-17 22:42:52 +00:00
Tim Starling e1ca28d2f9 * Strip comments early, before template expansion. This mimics the behaviour in the old parser. Added parser tests demonstrating the regression this fixes. The syntactic effect is fairly elegant, with comments taking effect at source level, as expected. The removeHTMLcomments() and preprocessToDom() passes could be merged at a later date.
* No need for comment stripping in Expr.php anymore
* Updated srvus() to roughly account for these changes
* Gave comment handling its own preprocessor tag, and split off comment handling from extensionSubstitution(). This only applies for the non-HTML modes, since in HTML mode, comments are stripped early. 
* Strip comments from template argument names (PPFrame::newChild).
2007-12-17 15:07:25 +00:00
Siebrand Mazeland f210fa7488 Localisation updates from Betawiki (2007-12-17 0:15 CET).
* Fixes and additions to 42 extensions for bg, br, el, gl, loz, nl, oc, stq
2007-12-16 23:54:39 +00:00
Siebrand Mazeland 48c773edf3 revert r28371 to r28375 2007-12-16 18:27:23 +00:00
Siebrand Mazeland 1647864020 Localisation updates from Betawiki.
* Fixes and additions to 48 extensions for ast, el, fi, fr, la, loz, no, oc, sq, stq, sv
2007-12-16 10:00:20 +00:00
Siebrand Mazeland 7784c5c9a4 Localisation updates from Betawiki.
* Fixes and additions to 36 extensions for ar, fr, gl, hsb, hu, la, lt, nl, oc, stq, yue, zh-hant
2007-12-14 11:29:36 +00:00
Siebrand Mazeland 4561af4f75 article -> page 2007-12-13 13:03:40 +00:00
Siebrand Mazeland 55c7b9d637 Localisation updates from Betawiki.
* Fixes and additions to 41 extensions for bg, ca, cs, el, gl, hsb, hu, nl, stq
2007-12-12 22:43:50 +00:00
Siebrand Mazeland edafd92c77 Localisation updates from Betawiki.
* Fixes and additions to 7 extensions for gl, hsb
2007-12-12 07:49:45 +00:00
Siebrand Mazeland 96a19d406f Localisation updates from Betawiki.
* Fixes and additions to 47 extensions for ar, bg, cs, el, fr, gl, ja, la, loz, no, stq
2007-12-11 22:38:12 +00:00
Rotem Liss 8975047752 Additional fix. 2007-12-11 17:39:04 +00:00
Rotem Liss 2f0ac8111d Fixing category name. 2007-12-11 17:33:26 +00:00
Tim Starling e10e89e2b3 Typo 2007-12-11 09:04:46 +00:00
Siebrand Mazeland 2f82506394 * complete $wgExtensionCredits
* remove trailing whitespace
2007-12-10 21:13:52 +00:00
Raimond Spekking 72971d34ec * Updates German 2007-12-10 14:46:16 +00:00
Rotem Liss 3874f769e9 Update for he. 2007-12-10 10:19:26 +00:00
Tim Starling b225dd82ad Watch out for invalid titles 2007-12-10 06:11:52 +00:00
Tim Starling ba67528419 * Add a warning on preview if the #ifexist limit is exceeded
* Add all pages which exceed the #ifexist limit to [[Category:Pages with too many ifexist calls]]
2007-12-10 06:04:34 +00:00
Siebrand Mazeland 7d293c6461 Localisation updates from Betawiki.
* Fixes and additions to 18 extensions for ar, bg, br, fr, hsb, la, nl, ro
2007-12-09 22:48:21 +00:00
Tim Starling f06807863c * Object versions of #ifexpr, #switch and #ifexist
* Fix for lack of StubObject in ~1.7
* Ignore HTML comments in expressions, which may now appear due to the parse order change
2007-12-09 08:11:38 +00:00
Tim Starling 603fe160be * Add #ifexist invocation count to the limit report comment
* Fix limit report inclusion criteria for new preprocessor -- make it display only for the primary text on edit and page view
2007-11-30 14:50:48 +00:00
Andrew Garrett 2328038128 Prevent the parser function #ifexist being used more than a certain amount on error pages. The maximum number of #ifexist queries can be set in $wgMaxIfExistCount, which is, by default, 100. Any more uses over here will default to the "else" text. Done to discourage templates like Template:highrfc-loop on enwiki, which willingly does something like 50 database queries for a template that is used for many users on one page. Clearly suboptimal from a performance perspective. 2007-11-29 10:42:48 +00:00
Siebrand Mazeland d3377ac93c Localisation updates from Betawiki.
* Fixes and additions to 50 extensions for ar, el, et, fr, hr, hsb, io, ka, la, nap, nl, pt, sk, stq, tet, vo
2007-11-27 09:49:24 +00:00
Tim Starling 3153138c23 register #switch once 2007-11-20 14:27:04 +00:00
Tim Starling 2b3cdadc84 SFH_OBJECT_ARGS versions of #if and #ifeq 2007-11-20 14:16:10 +00:00
Raimond Spekking 5944437cb1 Use <strong> not <span>, per hint of Simetrical on wikitech-l. Thanks. 2007-11-19 15:37:49 +00:00
Siebrand Mazeland 69e2732551 Localisation updates from Betawiki.
* Fixes and additions to 26 extensions for af, an, ar, el, eu, fr, hr, hsb, it, oc, pl, sv
2007-11-19 08:35:48 +00:00
Siebrand Mazeland 2a96eaf959 Localisation updates from Betawiki.
* Fixes and additions to 27 extensions for af, ar, el, fi, fr, frp, gl, hsb, nl, oc, pms, sk
2007-11-17 21:23:56 +00:00
Siebrand Mazeland c285751815 Localisation updates from Betawiki.
* Fixes and additions to 4 extensions for fr, ja, nl
2007-11-17 12:37:14 +00:00
Siebrand Mazeland 1fa5947f4f Localisation updates from Betawiki.
* Fixes and additions to 2 extensions for nl
2007-11-17 00:10:11 +00:00
Siebrand Mazeland 3aea08db93 Localisation updates from Betawiki.
* Fixes and additions to 10 extensions for ar, el, hr, hsb, ku-latn, stq
2007-11-17 00:00:50 +00:00
Rotem Liss 0a04cccf23 Update for he. 2007-11-16 10:08:37 +00:00
Raimond Spekking e470229df5 * (bug 8773) Make error messages from expr.php localizable
** Move error messages to ParserFunctions.i18n.php
** Rename 'expr_...' to 'pfunc_expr_...' to be consistent with other messages which are localizable already
* Add CSS class 'error' to output of error messages
2007-11-16 08:02:24 +00:00
Roan Kattouw 05af0a8f37 (bug 7985) #ifexist parser function returns false for image pages from shared repository
Modified patch by Carl Fürstenberg (AKA AzaTht)
2007-11-13 15:33:05 +00:00
Siebrand Mazeland 5a227cfe12 Localisation updates from Betawiki.
* Fixes and additions to 7 extensions for gl, nl, oc, sq
2007-11-11 21:27:49 +00:00
Siebrand Mazeland e1bae22287 Localisation updates from Betawiki.
* Fixes and additions to 52 extensions for ar, cs, es, fi, frp, hsb, hu, la, nl, oc, pl, sk, tet
* change indentation for export of a few extension's messages in Translate/MessageGroups.php
2007-11-10 18:15:02 +00:00
Siebrand Mazeland 527fe7cfb5 Localisation updates from Betawiki.
* Fixes and additions to 20 extensions for gl, fr
2007-11-05 08:56:09 +00:00
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