Tim Starling
b9938a57a3
Postcard from linuxland.
...
* Reduced stack depth by using an internal stack in expand(), and by having some common code paths (e.g. non-subst double-brace during PST) return objects which can be expanded in that internal stack instead of the PHP stack. This is friendly to xdebug but slightly slower than the original version. Also it probably helps robustness when you don't add 7 stack levels per pair of double braces.
* Profiling indicates that expand and PPD are now good targets for porting to C. Abstracted and refactored the relevant code to allow for a drop-in replacement. A factor of 2 reduction in average-case replaceVariables() time may be possible.
* Verified with preprocessorFuzzTest.php against r29950, updated to allow better PST tests.
* Made parserTests.php respect $wgParserConf
* LST and ParserFunctions need a simultaneous update with the core due to changed interfaces. DOM objects are now wrapped rather than directly exposed.
2008-01-21 16:36:08 +00:00
Siebrand Mazeland
7ea148e492
Localisation updates for extension messages from Betawiki (2008-01-20 20:21 CET)
2008-01-20 19:39:32 +00:00
Siebrand Mazeland
b14be1e35e
Localisation updates for extension messages from Betawiki (2008-01-20 11:16 CET)
2008-01-20 10:23:22 +00:00
Siebrand Mazeland
3db3a5d831
Localisation updates from Betawiki (2008-01-19 20:50 CET)
2008-01-19 21:24:12 +00:00
Siebrand Mazeland
5bac49eee4
Localisation updates for extension messages from Betawiki (2008-01-19 0:45 CET)
2008-01-19 00:05:29 +00:00
Siebrand Mazeland
8ca1b25fa3
Localisation updates for extension messages from Betawiki (2008-01-18 9:45 CET)
2008-01-18 09:00:19 +00:00
Siebrand Mazeland
a8be949ad0
Localisation updates for extension messages from Betawiki (2008-01-17 22:50 CET)
2008-01-17 21:10:11 +00:00
Siebrand Mazeland
a7ed6cffee
Localisation updates for extension messages from Betawiki (2008-01-17 09:50 CET)
2008-01-17 09:50:18 +00:00
Tim Starling
983bb52cd8
Added ParserFirstCallInit hook. Deferred function registration in ParserFunctions until this hook is called.
2008-01-17 08:58:24 +00:00
Tim Starling
56ecadc8e5
#ifexist: If the "else" parameter is missing, use the "test" parameter instead. This allows error-free text to be passed through with abbreviated syntax. Splarka's suggestion.
2008-01-17 01:06:02 +00:00
Siebrand Mazeland
1c5012a74a
Localisation updates for extension messages from Betawiki (2008-01-16 16:44 CET)
2008-01-16 16:14:56 +00:00
Brion Vibber
aa66e33d4d
Don't register internal links for specials or interwikis on #ifexist lookup.
...
They all return false anyway, but this avoids bogus link table entries.
(Similar issue as ImageMap bug 12651)
2008-01-16 06:16:16 +00:00
Siebrand Mazeland
0c04f0a1f6
Localisation updates for extension messages from Betawiki (2008-01-16 0:44 CET)
2008-01-16 00:06:16 +00:00
Rotem Liss
a78daee7c8
Update for he.
2008-01-15 14:49:17 +00:00
Raimond Spekking
1f9b37572e
Localisation updates German
2008-01-15 10:56:57 +00:00
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