Page MenuHomePhabricator

Error creating a Newsletter on Mediawiki Vagrant Environment (The newsletter main page does not exist. Please enter a valid existing page.)
Closed, ResolvedPublic

Description

After installing the Newsletter extension, (vagrant role enable... and then vagrant ssh mwscript update.php), enabling $wgGroupPermissions, creating a wiki page http://127.0.0.1:8080/wiki/Test, and then trying to create a Newsletter, I get the following error, with a message of "The newsletter main page does not exist. Please enter a valid existing page." I think I'm on master, since I didn't specify during the vagrant installation. See screenshot.

Screen Shot 2016-11-04 at 7.04.42 PM.jpg (923×1 px, 178 KB)

Event Timeline

You need to enter the page's title only, not the full URL in the form field.

Perhaps it is a bit confusing now, is there a way to make it more self-explanatory?

@Glaisher
Hm. Now that I read it again, it seems that would be logical just to enter the name. However, maybe we could prefill the input with an example? However, after I create two newsletters to two pages I have, then I click on them, then I click create this page, I get an error. Please see below.

Screen Shot 2016-11-05 at 7.39.48 AM.jpg (810×1 px, 213 KB)

Screen Shot 2016-11-05 at 7.40.16 AM.jpg (562×1 px, 91 KB)

Screen Shot 2016-11-05 at 7.40.25 AM.jpg (785×1 px, 223 KB)

@01tonythomas,
What do you think about this? Do you think the current message is clear enough? (Wiki page to be linked as Main page)

Fixedf after https://gerrit.wikimedia.org/r/#/c/319998/

Please try again and close if it works. Thank You!

@01tonythomas
Confirmed. It is fixed. Thank you! Just saw all your new Newsletter tasks. Can't wait to work on them!
Thanks,
MtDu

Closing as resolved as issue no longer persists thanks to @01tonythomas!

Well. This wasnt fixed yet. adding a new newsletter via Special:CreateNewsletter is still broken.

Change 320089 had a related patch set uploaded (by 01tonythomas):
on Creating a newsletter via Special:CreateNewsletter save it correctly

https://gerrit.wikimedia.org/r/320089

Change 320089 merged by jenkins-bot:
on Creating a newsletter via Special:CreateNewsletter save it correctly

https://gerrit.wikimedia.org/r/320089