Revert 39613; Please don't mark that function static. It is not called statically...
authorDaniel Friesen <dantman@users.mediawiki.org>
Tue, 19 Aug 2008 01:19:19 +0000 (01:19 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Tue, 19 Aug 2008 01:19:19 +0000 (01:19 +0000)
Ideally in the future markers will have unique identifier so that using multiple link marker replacers don't clash with each other.

includes/parser/Parser_LinkHooks.php

index e58d3ce..ac211e9 100644 (file)
@@ -362,7 +362,7 @@ class LinkMarkerReplacer {
                return "<!-- LINKMARKER $id -->";
        }
        
-       static function findMarker( $string ) {
+       function findMarker( $string ) {
                return (bool) preg_match('/<!-- LINKMARKER [0-9]+ -->/', $string );
        }