Page MenuHomePhabricator

Please install GoogleNewsSitemap extension on fawikinews
Closed, ResolvedPublic

Description

Hello,

Please install GNSM ext. on fawikinews with following configuration :

$wgGNSMfallbackCategory = 'منتشرشده';
$wgGNSMcommentNamespace = 102;

Please first check that localizations are committed , also note that the special page of this extension should be "خوراک_اخبار" which means "NewsFeed" cuz this is using for wikinews.

Thanks
Mjbmr


Version: unspecified
Severity: enhancement
URL: http://fa.wikinews.org/wiki/ویکی‌خبر:نظرخواهی_برای_نصب_افزونه_آراس‌اس

Details

Reference
bz29563

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:32 PM
bzimport set Reference to bz29563.
bzimport added a subscriber: Unknown Object (MLST).

Please first check that localizations are committed , also note that the
special page of this extension should be "خوراک_اخبار" which means "NewsFeed"
cuz this is using for wikinews.

As a note, it appears they are not committed yet. Currently in svn the fa translation for the special page name is "نقشه_وبگاه_گوگل_نیوز"

bugs wrote:

(In reply to comment #1)

As a note, it appears they are not committed yet. Currently in svn the fa
translation for the special page name is "نقشه_وبگاه_گوگل_نیوز"

It's "خوراک_اخبار" in translatewiki, though, so someone just needs to sync the two.

I sync'd the special page alias, enabled the extension, set the comment NS and fallback category per comment 0.

However, http://fa.wikinews.org/wiki/Special:GoogleNewsSitemap (canonical name for brevity, same situation on aliased name) is failing to show any news items yet.

Hmm. http://fa.wikinews.org/wiki/Special:GoogleNewsSitemap?categories=%D9%85%D9%86%D8%AA%D8%B4%D8%B1%D8%B4%D8%AF%D9%87&feed=atom is working fine, which probably means $wgGNSMfallbackCategory isn't being set some how. Is it possible the value for $wgGNSMfallbackCategory is being reset to the default when the extension file gets included?

(In reply to comment #4)

Hmm.
http://fa.wikinews.org/wiki/Special:GoogleNewsSitemap?categories=%D9%85%D9%86%D8%AA%D8%B4%D8%B1%D8%B4%D8%AF%D9%87&feed=atom
is working fine, which probably means $wgGNSMfallbackCategory isn't being set
some how. Is it possible the value for $wgGNSMfallbackCategory is being reset
to the default when the extension file gets included?

reedy@fenari:/home/wikipedia/common/php-1.17/maintenance$ php eval.php --wiki=fawikinews

echo $wgSitename;

ویکی‌خبر

var_dump( $wgGNSMfallbackCategory );

string(9) "Published"

<logmsgbot> !log reedy synchronized php-1.17/wmf-config/InitialiseSettings.php 'fixing sitemap for fawikinews'
<morebots> Logged the message, Master
<logmsgbot> !log reedy synchronized php-1.17/wmf-config/CommonSettings.php 'fixing sitemap for fawikinews'
<morebots> Logged the message, Master

The extension was loaded after the variables were set, meaning they were overridden

Set as $wmg in InitialiseSettings.php, push them into $wg in CommonSettings.php if we're loading the extension

Ah, that's right. Now was there one last step of submitting it to Google Webmaster Tools? Mark H. should know what to do there. Mark?

(In reply to comment #7)

Ah, that's right. Now was there one last step of submitting it to Google
Webmaster Tools? Mark H. should know what to do there. Mark?

From what I understand, fawikinews isn't accepted into google news currently, and they want the extension for its rss generating capability. (Someone from fa please correct me if I am wrong). So no other step needed.

From what I understand, fawikinews isn't accepted into google news currently,
and they want the extension for its rss generating capability. (Someone from fa
please correct me if I am wrong). So no other step needed.

I'd like confirmation of this. Perhaps fawikinews isn't currently in
google news, but I don't know why it shouldn't be. It is pretty easy
to add it if you have the webmaster login (which CT and Robla also
do).

My understanding is you need to be approved (outside of the webmaster tools), and its not all that easy to get approved. (Although I could be wrong on that but if I recall it took a significant amount of doing to get enwikinews approved several years ago).

Hello,

Thanks for installation, and thanks in advance for adding fawn to google news, after all currently the namespace of special page should be خوراک_اخبار which redirects to نقشه_وب‌گاه_گوگل_نیوز and the title of "RSS" and "ATOM" should have localization for this extension which can found here :

http://translatewiki.net/w/i.php?title=Special:Translations&message=feed-atom&namespace=8

and here :

http://translatewiki.net/w/i.php?title=Special:Translations&message=Feed-rss&namespace=8

Thank you.

Done in r91812. That revision would need to be deployed in order to take affect.