r14694 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r14693‎ | r14694 | r14695 >
Date:00:00, 10 June 2006
Author:brion
Status:old
Tags:
Comment:
Add regression tests for bug 3298 (<noinclude> etc in subst), and tests for 4926 (<noinclude> etc in message transform).
Modified paths:
  • /trunk/phase3/maintenance/parserTests.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/parserTests.txt
@@ -2604,7 +2604,27 @@
26052605 <!-- <math>data</math> -->
26062606 !!end
26072607
 2608+!! test
 2609+pre-save transform: <noinclude> in subst (bug 3298)
 2610+!! options
 2611+pst
 2612+!! input
 2613+{{subst:Includes}}
 2614+!! result
 2615+Foobar
 2616+!! end
26082617
 2618+!! test
 2619+pre-save transform: <onlyinclude> in subst (bug 3298)
 2620+!! options
 2621+pst
 2622+!! input
 2623+{{subst:Includes2}}
 2624+!! result
 2625+Foo
 2626+!! end
 2627+
 2628+
26092629 ###
26102630 ### Message transform tests
26112631 ###
@@ -2628,6 +2648,27 @@
26292649 ''test''
26302650 !! end
26312651
 2652+!! test
 2653+message transform: <noinclude> in transcluded template (bug 4926)
 2654+!! options
 2655+msg
 2656+!! input
 2657+{{Includes}}
 2658+!! result
 2659+Foobar
 2660+!! end
 2661+
 2662+!! test
 2663+message transform: <onlyinclude> in transcluded template (bug 4926)
 2664+!! options
 2665+msg
 2666+!! input
 2667+{{Includes2}}
 2668+!! result
 2669+Foo
 2670+!! end
 2671+
 2672+
26322673 ###
26332674 ### Images
26342675 ###

Status & tagging log