https://bugzilla.wikimedia.org/show_bug.cgi?id=50739

       Web browser: ---
            Bug ID: 50739
           Summary: PHP errors during replacement
           Product: MediaWiki extensions
           Version: REL1_18 branch
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Unprioritized
         Component: ReplaceText
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

I've been trying to prepend all pages with a text.

Usage:

Search text: (.*)
New text: {{templatename}}\n\n$1
Use regular expression [x]

This resulted in a memory error:
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to
allocate 268709 bytes) in
/srv/www/htdocs/mediawiki_dev/extensions/ReplaceText/SpecialReplaceText.php on
line 554

After increasing the memory maximum in php to 512MB I got another error:
PHP Fatal error:  Call to a member function getArticleID() on a non-object in
/srv/www/htdocs/mediawiki_dev/extensions/ReplaceText/SpecialReplaceText.php on
line 443

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to