Page MenuHomePhabricator

Configure $wgBabelCategoryNames and $wgBabelMainCategory for pl.wikisource
Closed, ResolvedPublic

Description

{{#babel:en}} does not add a page to the User-pl category on plwikisource (Mediawiki 1.20wmf9).

It works OK on plwiki (Mediawiki 1.20wmf8) and frwikisource (also Mediawiki 1.20wmf9)

Babel 1.7.4 everywhere.


Version: unspecified
Severity: normal
URL: https://pl.wikisource.org/wiki/Wiki%C5%BAr%C3%B3d%C5%82a:Skryptorium/Pulpit_techniczny#Nazewnictwo_kategorii_j.C4.99zykowych_dla_u.C5.BCytkownik.C3.B3w

Details

Reference
bz39225

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:09 AM
bzimport set Reference to bz39225.

It probably needs configuration of relevant variables, such as $wgBabelCategoryNames.

Created attachment 11135
InitialiseSettings.php patch

Attaching what should be a correct patch to https://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php to make this happen.

attachment InitialiseSettings.patch ignored as obsolete

I suppose you want the same configuration as on pl.wiki?

$wgBabelCategoryNames:

'plwiki' => array(

		'0' => false,
		'1' => 'User %code%-1',
		'2' => 'User %code%-2',
		'3' => 'User %code%-3',
		'4' => 'User %code%-4',
		'5' => false,
		'N' => 'User %code%-N',

),

and $wgBabelMainCategory:

'plwiki' => 'User %code%',

Categories will be in the form [[category:User pl-n]]. The categories will be autocreated if they don't exist already.

You need consensus on wiki for this change; please link the discussion when you have it. You might also want to do the same on all Polish wikis.
(The English names don't make much sense to me but looks like they're in use since 2005 at least.)

Created attachment 11136
Corrected InitialiseSettings.php patch

Whoops.

Attached:

(In reply to comment #3)

You need consensus on wiki for this change; please link the discussion when
you
have it. You might also want to do the same on all Polish wikis.
(The English names don't make much sense to me but looks like they're in use
since 2005 at least.)

This is a good and important change, why no progress? Has it been proposed to the community?

As Polish wikisource community is a very small community where users edits mainly ocasionally, it is difficult to take a technical decision. However, the number of active users increased last days, so I started discussion/voting in this matter here: https://pl.wikisource.org/wiki/Wiki%C5%BAr%C3%B3d%C5%82a:Skryptorium/Pulpit_techniczny#Nazewnictwo_kategorii_j.C4.99zykowych_dla_u.C5.BCytkownik.C3.B3w

Also I don't think anybody in Polish wikipedia is interested in changing the English-based prefix for plwiki. In my opinion, the name (prefix) of the categories is irrelevant. I just want it to be set to anything.

beau wrote:

We have consensus. Can someone change the configuration, please?