Re: [Wikitech-l] Content modification no longer possible in PageContentSave hook?

2019-05-02 Thread Gergo Tisza
I'm guessing you meant to write $content = $content->getContentHandler()->unserializeContent( $newText ); since there's no way this could have ever worked otherwise. Filed as https://phabricator.wikimedia.org/T222413 ___ Wikitech-l mailing list

Re: [Wikitech-l] Gerrit: Please use /r/ over /r/p/ when cloning

2019-05-02 Thread Paladox via Wikitech-l
It's now official that cloning over /p/ is no longer supported,  https://gerrit-review.googlesource.com/c/homepage/+/223220 On Tuesday, 30 April 2019, 20:43:24 BST, Paladox wrote: Hello, In Gerrit 2.16 PolyGerrit takes over the /p/ url so cloning no longer works over that URL. Please

[Wikitech-l] Content modification no longer possible in PageContentSave hook?

2019-05-02 Thread Daniel Kraus
Hello, I am the developer of the LinkTitles extension which uses the PageContentSave hook to add [[...]] links to other, existing pages whenever a page is edited and saved. The extension used to work with MediaWiki versions up to 1.31, but no longer works with 1.32. Hopefully it does not