* Avoid recursive crazy expansions in section edit comments for pages which contain...
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 14 Aug 2008 23:33:02 +0000 (23:33 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 14 Aug 2008 23:33:02 +0000 (23:33 +0000)
commitbc64b21e6a87c64dedf2433922288e53b5db9607
treea330bd348427701706c14ae00574698851dd72a5
parente12889412117110bd4f6a2e9a8cfac408e982d3a
* Avoid recursive crazy expansions in section edit comments for pages which contain '/*' in the title

while( preg_match ) <- bad
preg_replace_callback <- good

Old method made insane expansions like this on 'Wikipedia:Translation/*/Lang/de':

(cur) (last)  2008-08-14T22:23:48 Carcharoth (Talk | contribs | block) (12,310 bytes) (- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - →/Lang/de#.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang.2Fde.23.2FLang[...and on for another 30k characters...]#Latest_translation_requests" title="Wikipedia:Translation/: Lang/de">→Latest translation requests: add request) (rollback | undo)
RELEASE-NOTES
includes/Linker.php