Last modified: 2014-10-16 11:48:28 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 T73416, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 71416 - Enable Collection by default on most sites
Enable Collection by default on most sites
Status: PATCH_TO_REVIEW
Product: Wikimedia
Classification: Unclassified
Extension setup (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-29 16:05 UTC by Sam Reed (reedy)
Modified: 2014-10-16 11:48 UTC (History)
4 users (show)

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


Attachments

Description Sam Reed (reedy) 2014-09-29 16:05:34 UTC
It seems somewhat silly that Collection is default off, and then is opt in. zh is known to be buggy with the PediaPress backend (at least), so there should be some sites not included...

Is there any "good" reason we shouldn't enable it by default?


'wmgUseCollection' => array(
	// PDF generation / PediaPress stuff
	'default' => false,
	'testwiki' => true,
	'test2wiki' => true,
	'alswiki' => true, # Bug 18517
	'arwiki' => true, # bug 33828
	'bawiki' => true, // Bug 40879
	'bpywiki' => true, # Bug 18517
	'cawiki' => true, # Bug 21174
	'chapcomwiki' => true, # Bug 52833
	'cswiki' => true, # Bug 20436
	'cswikiversity' => true, # Bug 21077
	'bnwiki' => true, # https://bugzilla.wikimedia.org/show_bug.cgi?id=20338
	'dawiki' => true, # 22444
	'dewiki' => true, # live test on german - 2009-01-26
	'dewikiversity' => true, # Bug 37898
	'dsbwiki' => true,
	'elwiki' => true, # bug 22924
	'enwiki' => true, # 2009-02-26 bv whee :D
	'enwikiversity' => true,
	'eowiki' => true, # 23434
	'eswiki' => true, # 2009-02-18
	'etwiki' => true,
	'euwiki' => true, # bug 28292
	'fawiki' => true, # bug 26319
	'fiwiki' => true,
	'frrwiki' => true, # Bug 38023
	'frwiki' => true, # 2009-02-18
	'frwikiversity' => true, # Bug 16178
	'foundationwiki' => true,
	'gdwiki' => true,
	'glwiki' => true,
	'hewiki' => true,
	'hewiktionary' => true,
	'hewikivoyage' => true,
	'hiwiki' => true,
	'hrwiki' => true, # Bug 19013
	'hsbwiki' => true,
	'huwiki' => true, # Bug 21005
	'idwiki' => true, # 18430
	'iswiki' => true, // Bug 43760
	'itwiki' => true,
	'kawiki' => true,
	'kkwiki' => true,
	'kmwiki' => true, // bug 30680
	'kowiki' => true,
	'lbwiki' => true, // bug 47469
	'mediawikiwiki' => true, # Bug 29228
	'metawiki' => true, // Bug 18058 on 2009-03-19
	'mkwiki' => true, # bug 37345
	'mswiki' => true, # Bug 20402
	'nlwiki' => true, # 2009-02-18
	'nnwiki' => true, # 2009-05-05
	'nowiki' => true, # 2009-05-05
	'outreachwiki' => true, # 28495
	'plwiki' => true, # 2009-02-18
	'ptwiki' => true, # 2009-02-18
	'ptwikiversity' => true, # 18367
	'rmwiki' => true,
	'rowiki' => true, # 28347
	'ruwiki' => true, # 22330
	'ruwikiversity' => true,
	'sewikimedia' => true, # Bug 38988
	'simplewiki' => true, # 2009-02-18
	'shwiki' => true, # Bug 47166
	'skwiki' => true, # bug 22038
	'slwiki' => true,
	'sourceswiki' => true,
	'sqwiki' => true, # bug 26074
	'srwiki' => true, # Per Brion on 2009-04-03
	'strategywiki' => true, # 2009-11-07, Bug 21361
	'svwiki'	=> true, # 2009-03-24 Bug 18023
	'svwikiversity' => true, // bug 64994
	'tawiki' => true,
	'tewiki' => true,
	'thwiki'	=> true,
	'trwiki'	=> true, # Bug 22791
	'ukwiki'	=> true, # 23437
	'urwiki' => true, # Bug 41563
	'viwiki' => true, # 2009-12-28 bug 21566
	'wikibooks' => true, # on for all wikibooks! 2008-10-23
	'wikisource' => true, # 2009-02-24
	'wikimania' => true,
	'wikinews' => true,
	'wikivoyage' => true,
),
Comment 1 Nemo 2014-09-29 16:09:17 UTC
(In reply to Sam Reed (reedy) from comment #0)
> It seems somewhat silly that Collection is default off, and then is opt in.
> zh is known to be buggy with the PediaPress backend (at least), so there
> should be some sites not included...
> 
> Is there any "good" reason we shouldn't enable it by default?

No. The current situation is just a relic of the past. Almost 6 years later, it should be enabled everywhere and bugs dealt with.

I'm not sure it makes sense to disable in some languages just because there are bugs in PDF, or instance fawiki has it enabled though it's completely broken; but if we go that way, then there is bug 28206.
Comment 2 Sam Reed (reedy) 2014-10-08 14:59:25 UTC
It would seem this is pretty much doable:

[15:53:14] <Reedy> cscott: Any reason (on your part at least), why we can't/shouldn't enable collection (almost) everywhere?
[15:53:54] <cscott> Reedy: where is it not enabled?
[15:54:30] <cscott> Reedy: it relies on parsoid, so results on zhwiki or other languageconverter wikis will be disappointing right now.
[15:54:30] <Reedy> cscott: On a lot of wikis. It's enabled on tens at most
[15:54:49] <Reedy> cscott: Ok, so we can presumably enable by default, and then just disable where necessary
[15:54:59] <Reedy> Rather than the current disabled by default
[15:55:07] <cscott> language converter is the only issue.  and it won't cause a crash, just unreadable (unconverted) output.
[15:55:43] <Reedy> cscott: Having bugs filed as a TODO list isn't the worst idea.. If it's majorly broken, we can disable it. I just can't imagine for the majority of wikis it won't work
[15:55:51] <Reedy> Nemo_bis: ^^
[15:56:15] <cscott> Reedy: oh, the other issue is that it relies on the parsoid configuration for Extension:Parsoid -- is that enabled everywhere.  (Note that this isn't parsoid, it's the cache-invalidation extension for parsoid)
[15:56:24] <Reedy> So that just mans 'gan','iu','kk','ku','shi','sr','tg','uz','zh',
[15:56:57] <Reedy> https://bugzilla.wikimedia.org/show_bug.cgi?id=71416
[15:57:02] <cscott> Reedy: https://www.mediawiki.org/wiki/Writing_systems has the complete list i think
[15:57:28] <Reedy> This is where it'd be useful if InitialiseSettings could work on langcodes :)
[15:58:00] <cscott> fwiw, getting language converter to play nicely with parsoid is on my to-do list for this quarter
[15:58:26] <Reedy> You'll make a lot of people very happy :)
Comment 3 C. Scott Ananian 2014-10-08 15:01:55 UTC
FWIW, fawiki works great with the new OCG PDF backend.
Comment 4 Gerrit Notification Bot 2014-10-08 15:07:18 UTC
Change 165490 had a related patch set uploaded by Reedy:
Enable Collection by default on all wikis

https://gerrit.wikimedia.org/r/165490
Comment 5 Sam Reed (reedy) 2014-10-08 15:07:39 UTC
reedy@tin:/srv/mediawiki-staging$ grep -e '^\(gan\|iu\|kk\|ku\|shi\|sr\|tg\|uz\|zh\)' all.dblist
ganwiki
iuwiki
iuwiktionary
kkwiki
kkwikibooks
kkwikiquote
kkwiktionary
kuwiki
kuwikibooks
kuwikiquote
kuwiktionary
srnwiki
srwiki
srwikibooks
srwikinews
srwikiquote
srwikisource
srwiktionary
tgwiki
tgwikibooks
tgwiktionary
uzwiki
uzwikibooks
uzwikiquote
uzwiktionary
zh_classicalwiki
zh_min_nanwiki
zh_min_nanwikibooks
zh_min_nanwikiquote
zh_min_nanwikisource
zh_min_nanwiktionary
zh_yuewiki
zhwiki
zhwikibooks
zhwikinews
zhwikiquote
zhwikisource
zhwikivoyage
zhwiktionary
reedy@tin:/srv/mediawiki-staging$

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


Navigation
Links