Last modified: 2013-04-22 16:14:55 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T41225, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 39225 - Configure $wgBabelCategoryNames and $wgBabelMainCategory for pl.wikisource
Configure $wgBabelCategoryNames and $wgBabelMainCategory for pl.wikisource
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Bartosz Dziewoński
https://pl.wikisource.org/wiki/Wiki%C...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-08-10 13:11 UTC by Ankry
Modified: 2013-04-22 16:14 UTC (History)
10 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
InitialiseSettings.php patch (1.08 KB, patch)
2012-09-22 19:10 UTC, Bartosz Dziewoński
Details
Corrected InitialiseSettings.php patch (1.09 KB, patch)
2012-09-22 19:12 UTC, Bartosz Dziewoński
Details

Description Ankry 2012-08-10 13:11:42 UTC
{{#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.
Comment 1 Amir E. Aharoni 2012-08-10 13:21:28 UTC
It probably needs configuration of relevant variables, such as $wgBabelCategoryNames.
Comment 2 Bartosz Dziewoński 2012-09-22 19:10:16 UTC
Created attachment 11135 [details]
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.
Comment 3 Nemo 2012-09-22 19:10:49 UTC
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.)
Comment 4 Bartosz Dziewoński 2012-09-22 19:12:08 UTC
Created attachment 11136 [details]
Corrected InitialiseSettings.php patch

Whoops.
Comment 5 Nemo 2012-12-30 21:52:52 UTC
(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?
Comment 6 Ankry 2012-12-31 07:58:38 UTC
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.
Comment 7 Beau 2013-03-16 20:18:24 UTC
We have consensus. Can someone change the configuration, please?
Comment 8 Bartosz Dziewoński 2013-03-16 20:54:20 UTC
Id18ab275.
Comment 9 Bartosz Dziewoński 2013-03-19 09:09:12 UTC
Merged by Reedy -> resolved.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links