<div dir="ltr">I'm a bit confused, but I think that WikiPage::getContent can return either text for regular pages or objects for some kind of newfangled wiki-things, so whether the error happened may be circumstantial. The release notes don't actually seem to say that this change was needed, but rather I think my previous fix was never technically correct.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 19 April 2017 at 02:11, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I wasn't able to reproduce this error, but I applied the fix anyway, and tested it. Still seems fine. :)<br><br>---<br></div>James<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 18, 2017 at 2:53 AM,  <span dir="ltr"><<a href="mailto:subversion@hamsterrepublic.com" target="_blank">subversion@hamsterrepublic.<wbr>com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">teeemcee<br>
2017-04-18 02:53:25 -0700 (Tue, 18 Apr 2017)<br>
297<br>
mediawiki-spamcallback.php: fix spam callback for API changes, again!<br>
<br>
Attempting to edit the wiki when not logged in fails and shows the message:<br>
  Warning: fwrite() expects parameter 2 to be string, object given in /home/james_paige/src/ohr-web/<wbr>mediawiki-spamcallback.php on line 160<br>
<br>
(Untested)<br>
---<br>
U   web/mediawiki-spamcallback.<wbr>php<br>
______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.<wbr>org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.<wbr>org/listinfo.cgi/ohrrpgce-<wbr>motherhamster.org</a><br>
<br></blockquote></div><br></div>