TLDR: Did something change in beta cluster configuration around September
16 2017?

For HTML version of this e-mail go to
https://phabricator.wikimedia.org/T179157

RelatedArticles repository has Selenium tests (tests/selenium). They are
running:

- every time code is pushed to gerrit targeting a MediaWiki on a Jenkins
slave virtual machine,
- daily targeting beta cluster (en.wikipedia.beta.wmflabs.org).

A reported in T176315, until about September 16 2017
selenium-RelatedArticles-jessie daily job was able to create pages at beta
cluster. The pages are created via action API using nodemw NPM package.
Code is in mediawiki/core.

Since about September 16 2017, selenium-RelatedArticles-jessie started
failing with 😳

Edit failed: Error: Error returned by API: Wikipedia has restricted the
ability to create new pages. You can go back and edit an existing page, or
[[Special:UserLogin|log in or create an account]].

We only keep jobs for the last 30 days so there is no record of failures
available in Jenkins. 🙁

The workaround for the failure is to log in before creating a page. I have
implemented it on October 3 2017.

I have talked with @hashar about it and he says:

In T176315#3702865, @hashar wrote:
wmf-config/InitialiseSettings.php

'groupOverrides' => [
    'enwiki' => [
        '*' => [ 'createpage' => false ], // See P2059

P2059 Anonymous users have been prevented from creating new pages since
2005!

What is strange is that RelatedArticles tests were not failing until about
September 16. I have implemented logging in via the API on October 3, so I
am pretty sure the tests did not log in before that date.

I do not even know where to start looking. Any help is appreciated.

Željko Filipin
_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to