Page MenuHomePhabricator

shell - activate AllowSlowParserFunctions
Closed, DeclinedPublic

Description

Author: londenp

Description:
At wikibooks-nl there was a new namespace created: Wikijunior. Now books and pages in this namespace can not be counted with a magic word. Counts can be done (when I understand correctly from http://meta.wikimedia.org/wiki/Help:Magic_words#Statistics) by activating AllowSlowParserFunctions so the magic word {{PAGESINNS:ns}} can be used.

The community agrees with this request: http://nl.wikibooks.org/wiki/Wikibooks:Lerarenkamer#Ondersteuning_aanzetten_functie_AllowSlowParserFunctions

Thanks, Londenp


Version: unspecified
Severity: enhancement
URL: http://nl.wikibooks.org

Details

Reference
bz10330

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:48 PM
bzimport set Reference to bz10330.
bzimport added a subscriber: Unknown Object (MLST).

As a Dutch native, I can verify that the aforementioned discussion is indeed in favor of activating AllowSlowParserFunctions.

jeluf wrote:

These parser functions are very slow and thus expensive. Is this really necessary?

jeluf wrote:

No response within 3 weeks => closing for now.

londenp wrote:

Excuse me I did not see comment two and missed the mail along with that.

Yes it is necessary, because we have separate departments: Wikijunior and Wikibooks within one site. It might even be expanded in the future with Wikiversity, because there is some interest in this project, but the resources are to small to justify in separate projects. I don't know how slow it is (how it will work out on site performance) and if that will be a problem.

Can we just try and see in let's say in two months how this works out?

Am I allowed to changed back to new (I just do it and accept consequences later).

Kind regards Londenp

The obvious question being whether or not it is strictly necessary to count items in a namespace.

londenp wrote:

Andrew you are right: it is even not strictly necessary to count items in the main namespace as well. In Wikibooks we have two main namespaces: the wikibooks namespace=main namespace and the wikijunior namespace, which is the second namespace.

In the Dutch Wikibooks the wikijunior namespace is more a namespace with books made by and for children (in the EN:WB Wikijunior books are made by grown-ups). We have chosen to separate those two in seperate namespaces, because of the big difference in quality. As we don't have a project called wikijunior, we have done it this way, that is with an extra namespace.

We could count the items by hand, but wikijunior is getting quite big, therefore the question to automize it with slowparsersfunctions.

I don't think slowparserfunctions can make a distinction, but we only need it for Wikijunior namespace.

londenp wrote:

We don't need it anymore. A wikian made a bot and a tool on the toolserver, which counts the articles and books per namespace every few hours and updates a count in a template. It works well. So I change to wontfix.

Thanks anyhow for considering.