Page MenuHomePhabricator

Remove education program namespaces from hewiki
Closed, ResolvedPublic

Description

Hi. After closing the education program namespaces, they should be removed from the namespaces list of the cirrussearch filters. Thank you.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
debt added a subscriber: debt.

We'll take a look at this.

debt triaged this task as Medium priority.Feb 28 2019, 6:39 PM

Will there still be pages with content in the education program namespaces? Typically we don't want to make any content that exists (but is perhaps archived/uneditable/etc) unfindable.

As to implementation, wherever the code lives that defines these namespaces should also attach to the SearchableNamespaces hook and remove it's namespace from the list. That will remove the namespace from the UI.

EBernhardson moved this task from Incoming to Waiting on the Discovery-Search (Current work) board.
EBernhardson added a subscriber: EBernhardson.

Hello. @EBernhardson, @debt. 30 month later, what's going on. A week ago ruwiki asked the same, ant it's already done.

Hello. @EBernhardson, @debt. 30 month later, what's going on. A week ago ruwiki asked the same, ant it's already done.

30 months later, i'm still waiting for someone to answer the question.

Will there still be pages with content in the education program namespaces? Typically we don't want to make any content that exists (but is perhaps archived/uneditable/etc) unfindable.

dcausse added a subscriber: dcausse.

@IKhitron could add more precisions to your ticket esp. which wikis you consider the education program namespace should disappear?
Note that reading the system configation the Education Program appears to be still in use on several wikis:
cswiki
elwiki
enwiki
eswiki
fawiki
hewiki
itwikiversity
lvwiki
ptwiki
svwiki
ukwiki

@IKhitron could add more precisions to your ticket esp. which wikis you consider the education program namespace should disappear?
Note that reading the system configation the Education Program appears to be still in use on several wikis:
cswiki
elwiki
enwiki
eswiki
fawiki
hewiki
itwikiversity
lvwiki
ptwiki
svwiki
ukwiki

So, the namespaces should be removed on wikis that has no Education extension, of cource. On hewiki we do not have it for ages.

The config UserEducationProgram is true for hewiki so I guess it must first be disabled.
Untagging search as it seams unrelated.

dcausse renamed this task from Remove education program namespaces from cirrussearch to Remove education program namespaces from hewiki.May 12 2021, 1:27 PM

@IKhitron could add more precisions to your ticket esp. which wikis you consider the education program namespace should disappear?
Note that reading the system configation the Education Program appears to be still in use on several wikis:
cswiki
elwiki
enwiki
eswiki
fawiki
hewiki
itwikiversity
lvwiki
ptwiki
svwiki
ukwiki

So, the namespaces should be removed on wikis that has no Education extension, of cource. On hewiki we do not have it for ages.

The education extension is actually no longer used in any wiki (see T125618). In some wikis, however, the namespaces were not removed, as there were still pages there, e.g. as archives. However, the namespaces should of course be removed if there are no more pages in them (e.g. requested here: T282112).

Personally, however, I also have to say that I don't think the term $wmgUseEducationProgram is particularly good, as it implies that the extension is activated. However, this is not the case, only the namespaces 446 (Education Program) and 447 (Education Program talk) are defined and that's it (see https://gerrit.wikimedia.org/r/plugins/gitiles/operations/mediawiki-config/+/9939edb27f8a43def7fefe1eae734b078dea003a/wmf-config/CommonSettings.php#3063).

In some wikis, however, the namespaces were not removed, as there were still pages there, e.g. as archives.

And this is also true for hewiki: https://he.wikipedia.org/wiki/%D7%9E%D7%99%D7%95%D7%97%D7%93:%D7%9B%D7%9C_%D7%94%D7%93%D7%A4%D7%99%D7%9D?from=&to=&namespace=447.

There are some pages left and these should be deleted or moved to another namespace first.

Hello again. Both namespaces are empty now.

Change 693903 had a related patch set uploaded (by Zabe; author: Zabe):

[operations/mediawiki-config@master] Disable Education Program namespaces in hewiki

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

Change 693903 merged by jenkins-bot:

[operations/mediawiki-config@master] Disable Education Program namespaces in hewiki

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

Mentioned in SAL (#wikimedia-operations) [2021-05-24T18:31:15Z] <urbanecm@deploy1002> Synchronized wmf-config/InitialiseSettings.php: e9cd344: Disable Education Program namespaces in hewiki (T217137) (duration: 00m 56s)

Done, sorry that this took so long :)

Done, sorry that this took so long :)

How long it will take to work?

Done, sorry that this took so long :)

How long it will take to work?

The namespaces are now removed from hewiki, or what do you mean?