Move brace matching rules to Preprocessor class
authorOri Livneh <ori@wikimedia.org>
Sat, 31 Oct 2015 23:10:54 +0000 (16:10 -0700)
committerKrinkle <krinklemail@gmail.com>
Tue, 3 Nov 2015 02:57:05 +0000 (02:57 +0000)
commit447f40d2e9f10d9f2b3ab64b63e19c2af82354e8
treed2b29e518c43251463afccbd69d493f4fa177371
parent525dd550654118282697bb37d0d3195228d4395e
Move brace matching rules to Preprocessor class

Instead of declaring the array of rules within both Preprocessor_DOM:: and
Preprocessor_Hash::preprocessToXml(), declare it as a protected property of the
parent Preprocessor class.

Change-Id: I6193de66566c164fe85cdd6a88c04fa9c565f1a9
includes/parser/Preprocessor.php
includes/parser/Preprocessor_DOM.php
includes/parser/Preprocessor_Hash.php