Extension talk:Widgets/archive

Blank Pages
I am getting blank pages... Sachein 11:35, 31 May 2009 (UTC)
 * Can you check the logs and see what's being reported there? BTW, it might be better to report this kind of problems to the Google group: http://groups.google.com/group/mediawiki-widgets - more people will be able to help you. --Sergey Chernyshev 15:46, 31 May 2009 (UTC)
 * Thank you very much, I have sorted the problem. I had to create a widget page for example Widget:YouTube and then I could put YouTube videos on any page. Sachein 16:19, 31 May 2009 (UTC)

Unable to read resource: "wiki:Feed"
I´m getting the following warning:

Warning: Smarty error: unable to read resource: "wiki:Feed" in /srv/www/htdocs/mediawiki/extensions/Widgets/smarty/Smarty.class.php on line 1095

while trying to view a page with the feed widget:

Can you help me, please?


 * Did you create a page called "Widget:Feed" on your site and copy contents of the Widget page? http://www.mediawikiwidgets.org/w/index.php?title=Widget:Feed&action=edit --Sergey Chernyshev 15:43, 4 December 2009 (UTC)

How Can I Prevent Widget Pages from Being Included in Random?
MediaWiki 1.16alpha

PHP 5.2.9 (cgi-fcgi)

MySQL 5.0.67-userstats-log

Widgets (Version 0.8.10)

URL: DishiWiki

Widget pages appear in Random pages, along with pages from Main namespace. Currently, the Widgets namespace ID is neither declared nor changed. To see if doing so would keep Widget pages from being included in Random, I added this to LocalSettings.php:

define('NS_WIDGET', 274);

It did not make a difference. Should I try a different namespace ID? I am a little thick about NS IDs, so what NS ID should I try? Any thoughts, anybody? Brian7632416 04:37, 17 December 2009 (UTC)


 * I'm not sure I understand the problem. Did you create Widget:Something pages before you included Widget.php into LocalSettings.php? when did the Widget:Something pages started to be treated as regular pages? can you provide more details? --Sergey Chernyshev 04:49, 17 December 2009 (UTC)


 * I had moved DishiWiki to a new hosting provider. The db was pseudo-corrupt (?), so I created a new db and Special:Exported/Imported all pages, including Widget:Pages, into a new db on the new hosting server instead of bringing the db itself over to the new host. So yes, there were Widget:Pages in the db before I got around to including Widget.php in LocalSettings.php. And the Widget:Pages indeed appeared on click-Random Page from the beginning. Are you thinking that that's what causes the exported/imported Widget:Pages to appear in Random? Are you saying that Widget:Pages created after adding Widgets.php to LocalSettings.php should not appear? I have not tested that theory. I imported a lot of Widget:Pages, so a lot of Widget:Pages appear. I could click-click-click Random Page and see if a brand-new (fake) Widget appears. If this is the case, then I guess I should delete the "pre-Widget.php" Widgets and recreate them with a new name? (Yuck.) Thanks for your insight and assistance. Brian7632416 07:14, 17 December 2009 (UTC)