Last modified: 2013-04-22 16:15:36 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 T48005, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46005 - Set $wgCategoryCollation to 'uca-be-tarask' on be-x-old.wiki and rebuild category sort keys
Set $wgCategoryCollation to 'uca-be-tarask' on be-x-old.wiki and rebuild cate...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Bartosz Dziewoński
https://be-x-old.wikipedia.org/wiki/%...
: shell
Depends on: 46036
Blocks: collations
  Show dependency treegraph
 
Reported: 2013-03-11 21:43 UTC by Bartosz Dziewoński
Modified: 2013-04-22 16:15 UTC (History)
8 users (show)

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


Attachments

Description Bartosz Dziewoński 2013-03-11 21:43:58 UTC
Creating bug per wikitech post: http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/68254

Awaiting community confirmation.

(be-x-old is just old, wrong dummy code for be-tarask.)
Comment 2 Bartosz Dziewoński 2013-03-18 12:32:33 UTC
Community agreement: https://be-x-old.wikipedia.org/wiki/Вікіпэдыя:Форум#.D0.A1.D0.B0.D1.80.D1.82.D1.8B.D1.80.D0.BE.D1.9E.D0.BA.D0.B0 (well, more like a lack of opposition, but I guess it's fine for such a small community).

Patch: I37252d5d.
Comment 3 Sam Reed (reedy) 2013-03-27 01:38:47 UTC
Done
Comment 4 Pavel Selitskas [wizardist] 2013-03-27 13:53:58 UTC
Kernel panic! Getting an exception while browsing a category (seems like exception is thrown at every category:

URL: https://be-x-old.wikipedia.org/wiki/%D0%9A%D0%B0%D1%82%D1%8D%D0%B3%D0%BE%D1%80%D1%8B%D1%8F:%D0%A4%D1%80%D0%B0%D0%B7%D1%8D%D0%B0%D0%BB%D1%91%D0%B3%D1%96%D1%8F
Message: [c53788b5] 2013-03-27 13:52:25: Fatal exception of type MWException
Comment 5 Sam Reed (reedy) 2013-03-27 15:00:32 UTC
2013-03-27 14:58:13 mw1181 be_x_oldwiki: [613ca1ee] /wiki/%D0%9A%D0%B0%D1%82%D1%8D%D0%B3%D0%BE%D1%80%D1%8B%D1%8F:%D0%A4%D1%80%D0%B0%D0%B7%D1%8D%D0%B0%D0%BB%D1%91%D0%B3%D1%96%D1%8F   Exception from line 366 of /usr/local/apache/common-local/php-1.21wmf11/includes/Collation.php: MediaWiki does not support ICU locale "be-tarask"
#0 /usr/local/apache/common-local/php-1.21wmf11/includes/Collation.php(424): IcuCollation->getFirstLetterData()
#1 /usr/local/apache/common-local/php-1.21wmf11/includes/Collation.php(326): IcuCollation->getFirstLetterCount()
#2 /usr/local/apache/common-local/php-1.21wmf11/includes/CategoryViewer.php(258): IcuCollation->getFirstLetter(' ??????????????...')
#3 /usr/local/apache/common-local/php-1.21wmf11/includes/CategoryViewer.php(347): CategoryViewer->addPage(Object(Title), ' ??????????????...', '1157', '0')
#4 /usr/local/apache/common-local/php-1.21wmf11/includes/CategoryViewer.php(104): CategoryViewer->doCategoryQuery()
#5 /usr/local/apache/common-local/php-1.21wmf11/includes/CategoryPage.php(110): CategoryViewer->getHTML()
#6 /usr/local/apache/common-local/php-1.21wmf11/includes/CategoryPage.php(76): CategoryPage->closeShowCategory()
#7 /usr/local/apache/common-local/php-1.21wmf11/includes/actions/ViewAction.php(37): CategoryPage->view()
#8 /usr/local/apache/common-local/php-1.21wmf11/includes/Wiki.php(439): ViewAction->show()
#9 /usr/local/apache/common-local/php-1.21wmf11/includes/Wiki.php(305): MediaWiki->performAction(Object(CategoryTreeCategoryPage), Object(Title))
#10 /usr/local/apache/common-local/php-1.21wmf11/includes/Wiki.php(565): MediaWiki->performRequest()
#11 /usr/local/apache/common-local/php-1.21wmf11/includes/Wiki.php(458): MediaWiki->main()
#12 /usr/local/apache/common-local/php-1.21wmf11/index.php(59): MediaWiki->run()
#13 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#14 {main}
Comment 6 Pavel Selitskas [wizardist] 2013-03-27 15:13:36 UTC
Bartosz, what is $wgCategoryCollation set to in the test wiki? Is it "uca-be-tarask"? I suspect it's set to "uca-be" (what this request should actually have set).

Reedy, what did you perform next? A revert? Categories work now, and they are sorted as if the change was applied (correct sorting).
Comment 7 Sam Reed (reedy) 2013-03-27 15:16:27 UTC
be_x_oldwiki pushed to 1.21wmf12. Running a forced update of the collations (might be overkill, but won't take long to run)
Comment 8 Sam Reed (reedy) 2013-03-27 15:17:38 UTC
(In reply to comment #6)
> Bartosz, what is $wgCategoryCollation set to in the test wiki? Is it
> "uca-be-tarask"? I suspect it's set to "uca-be" (what this request should
> actually have set).
> 
> Reedy, what did you perform next? A revert? Categories work now, and they are
> sorted as if the change was applied (correct sorting).

Code:
		'be-tarask' => array( "Ё" ),

Change: I37252d5d

	10302	+»       'be_x_oldwiki' => 'uca-be-tarask', // bug 46005
Comment 9 Sam Reed (reedy) 2013-03-27 15:18:29 UTC
Though, either would work:

		'be' => array( "Ё" ),
		'be-tarask' => array( "Ё" ),
Comment 10 Sam Reed (reedy) 2013-03-27 17:40:27 UTC
Script re-ran with --force
Comment 11 Bartosz Dziewoński 2013-03-27 20:15:46 UTC
Bug 46615 is about making this not happen again ;)

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


Navigation
Links