Tim Starling
a563c45005
Fix bug in last commit
2008-01-15 05:29:29 +00:00
Tim Starling
7a1cb92986
Added #iferror: Searches the input for text that looks like an error message from ParserFunctions or the core parser.
2008-01-15 04:21:17 +00:00
Siebrand Mazeland
625da7c8e8
Localisation updates for extension messages from Betawiki (2008-01-13 12:23 CET)
2008-01-13 11:46:37 +00:00
Siebrand Mazeland
6947e7fe20
Localisation updates for extension messages from Betawiki
2008-01-13 01:12:09 +00:00
Siebrand Mazeland
04a88ee436
* use wfLoadExtensionMessages
...
* remove some unneeded blackslashes in messages (caused malformed error message)
* put Magic in separate file
* delay message loading
* add version in extension credits, remove EOL whitespace
* update Translate extension
2008-01-13 01:06:28 +00:00
Shinjiman
5905682cc3
* (bug 7971) Update Kazakh translations for extensions
...
Patch by AlefZet
2008-01-12 07:24:17 +00:00
Siebrand Mazeland
14f6731ead
Localisation updates for extension messages from Betawiki (2008-01-11 15:07 CET)
2008-01-11 14:39:08 +00:00
Siebrand Mazeland
21d3e3eb95
Localisation updates for extension messages from Betawiki (2008-01-08 17:05 CET)
2008-01-08 17:26:21 +00:00
Huji
b80468724a
Added / updated Persian translations
2008-01-07 16:23:45 +00:00
Siebrand Mazeland
73dccc7f95
Localisation updates for extension messages from Betawiki (2008-01-07 12:00 CET)
2008-01-07 13:52:04 +00:00
Bertrand Grondin
0a3c2e74b6
Localisation updates for extensions from Betawiki (2008-01-06 10:59 UTC)
2008-01-06 11:18:20 +00:00
Bertrand Grondin
f0b4f3492d
Localisation updates for extensions from Betawiki (2008-01-04 21:00 UTC)
2008-01-05 21:30:40 +00:00
Siebrand Mazeland
47dbb967a9
Localisation updates for extension messages from Betawiki (2007-12-31 0:35 CET)
2007-12-31 00:12:42 +00:00
Siebrand Mazeland
383066a017
Localisation updates for extension messages from Betawiki (2007-12-29 15:25 CET)
2007-12-29 15:22:11 +00:00
Siebrand Mazeland
a2aeb96ef2
Localisation updates for extensions from Betawiki (2007-12-26 11:06 CET)
2007-12-26 10:49:21 +00:00
Siebrand Mazeland
f862b15cfe
Localisation updates for extension messages from Betawiki (2007-12-25 11:35 CET)
2007-12-25 11:26:44 +00:00
Siebrand Mazeland
03d93b05de
Localisation updates for extensions from Betawiki (2007-12-23 11:21 CET)
2007-12-23 11:21:34 +00:00
Siebrand Mazeland
adac89999f
Localisation updates from Betawiki (2007-12-20 23:25 CET).
...
* Fixes and additions to 49 extensions for arm bg, el, fi, gl, hr, hu, loz, nl, ru, stq, sv, to
2007-12-20 22:50:57 +00:00
Raimond Spekking
d7fad9ac17
* (bug 7971) Update Kazakh extension translations
...
Patch by AlefZet
2007-12-20 20:18:45 +00:00
Tim Starling
d0053cdca8
Bug 12356: make parameters to #titleparts work like array_slice(): negative offsets, missing length runs to end, etc. Patch by darklama.
2007-12-20 13:29:59 +00:00
Siebrand Mazeland
7c9e837a1b
Localisation updates from Betawiki (2007-12-17 23:09 CET).
...
* Fixes and additions to 14 extensions for ar, el, hr, ja, lt, nl, ru
2007-12-18 13:43:52 +00:00
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