Jump to content

Extension talk:SimpleBlogPage

About this board

Having a 'deprecated' error on the 'create blog' page

1
Vapblack (talkcontribs)

MediaWiki 1.41.1 PHP 8.0.30 (fpm-fcgi) ICU 67.1 MariaDB 10.5.22-MariaDB Lua 5.1.5 Pygments 2.16.1


Greetings. I am overhauling my old wiki, and I am starting from scratch with a new installation.

When I installed SimpleBlogPage, and go to the create Blog page, it loads, but with an error: Deprecated: Use of MediaWiki\User\User::getOption was deprecated in MediaWiki 1.35. [Called from SpecialCreateBlogPost::getFormFields in /.../extensions/SimpleBlogPage/includes/specials/SpecialCreateBlogPost.php at line 28] in /.../includes/debug/MWDebug.php on line 386

Reply to "Having a 'deprecated' error on the 'create blog' page"

Thanx for this extensions and feature requests

2
Daniel K. Schneider (talkcontribs)

Hi, I installed this extension under MW 1_35 and it does work. I found the BlogPage extensions indeed to scary and therefore your simple version is very welcome. Before, I used Wikilog which is no longer maintained.

I have a small documentation suggestion:

  • Maybe you show say somewhere that User_blog:XXX pages need to be created if a user wants to reuse the link.

And I have a feature request that you may consider looking at:

  • I'd like to be able transclude both Special:ArticlesHome and User_blog:XXX . Individual blog pages can be transcluded, but this is not very practical for home page maintenance.
  • If possible, transclusion with a limit of N articles shown and another limit of N lines shown. E.g. like:
{{Special:ArticlesHome|limit=5|lines=10}}
  • Display the text of the user page on top of User_blog:XXX

Here is my site: https://w.arbores.tech/

BrewingForward (talkcontribs)

I accomplished this by editing the extension's code.

SimpleBlogPage/includes/specials/SpecialArticlesHome.php needs one small change to allow it to be transcluded:

find this line

class ArticlesHome extends SpecialPage {

and change it to

class ArticlesHome extends IncludableSpecialPage {

I also made some other changes. At some point maybe I will try to figure out how to submit a patch on github.

Reply to "Thanx for this extensions and feature requests"

Buttons in WikiEditor not loaded anymore

1
BenMo31 (talkcontribs)

Hi,

Thank you a lot for this extension, you did a great job !


But it looks like it's partially broken, on 1.38.4, the buttons in the WikiEditor aren't loaded anymore. It looks like the .js files aren't even opened.


Maybe something has changed in the ResourceLoader ?


Do you think you could give a look ?


Thank you in advance :)

Reply to "Buttons in WikiEditor not loaded anymore"
There are no older topics