Page MenuHomePhabricator

Create a Wiki for Wikimedia Thailand
Closed, ResolvedPublic

Description

We need a separate wiki for Wikimedia Thailand (WMTH), where administrative affairs of the WMTH will be discussed and conducted, and all official documents of the organisation will be published.

  • Domain: th.wikimedia.org
  • Language: Thai (th), English (en)
  • Visibility: public
  • Type: public
  • $wgSiteName: Wikimedia Thailand
  • $wgLocaltimezone: Asia/Bangkok
  • Logo: Wikimedia Thailand-Logo-BW.svg
  • NS_PROJECT: "วิกิมีเดียประเทศไทย"
  • NS_PROJECT_TALK: "พูดคุยเรื่องวิกิมีเดียประเทศไทย"
  • $wgImportSources: array( 'w', 'meta' )
  • Extensions: default extensions.
  • Module: Lua
  • Enable: Bureaucrat, Admin, Interface administrator, Translate Admin, ipblock-exempt
  • Local file uploads: enabled array( 'png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'mpp', 'pdf', 'ppt', 'tiff', 'bmp', 'docx', 'xlsx', 'pptx', 'ps', 'odt', 'ods', 'odp', 'odg')
  • $wgExtraSignatureNamespaces = array( NS_MAIN, NS_HELP, NS_BOARD, NS_PROJECT, NS_SECRETARY, NS_COMMUNICATION, NS_REPORT, NS_EDIT-A-THON, NS_WORKSHOP, NS_COMPETITION)

Also just in case, we meet all the criteria of Wikimedia wiki's policy

Event Timeline

Extensions: Translate, VisualEditor, CiteThisPage, ConfirmEdit, Gadgets, Interwiki, ParserFunctions, ReplaceText, SpamBlacklist, TemplateData, TitleBlacklist, VisualEditor, WikiEditor, Echo, Lockdown, UserMerge, SyntaxHighlight_GeSHi, SecurePoll, EventLogging, GuidedTour, CategoryLockdown, CategoryTree, intersection, UserFunctions, AJAXPoll, Cite.

Numerous of these extensions (at least: Lockdown, UserMerge, CategoryLockdown, UserFunctions, AJAXPol) are not currently enabled/deployed on Wikimedia wikis, so are very unlikely to be enabled on this new wiki.

Lockdown

Instead you can propose for creation of a second wiki such as th-internal.wikimedia.org if you want to host information that should keep private.

What is the point of installing UserFunctions?

Thank you all for your advice. I am aware that my request includes too many extensions, as it is based on a former request in another user group wiki. Therefore, I have chosen only the necessary extensions based on my understanding. If there are any unnecessary ones, please let me know.

ReplaceText

This extension isn't compatible with Wikipedia's setup and can't be installed.

intersection

We don't typically enable DPL on new wikis for performance reasons. The sysadmins might (or might not) be willing to make an exception for chapter wikis, though.

Pppery edited projects, added Wiki-Setup (Create); removed Wiki-Setup.
Pppery unsubscribed.

Also standard note that T397348: addWiki.php create tables it should not still appears to be blocking current wiki creations.

I suggest that we create the wiki with default config and extensions of our chapter wikis. If you want extra extensions, you can request them separately but very likely they will be rejected as for reasons mentioned above.

Change #1177522 had a related patch set uploaded (by Dzahn; author: Dzahn):

[operations/dns@master] create th.wikimedia.org for Wikimedia Thailand

https://gerrit.wikimedia.org/r/1177522

Change #1177522 merged by Dzahn:

[operations/dns@master] create th.wikimedia.org for Wikimedia Thailand

https://gerrit.wikimedia.org/r/1177522

th.wikimedia.org has been created in DNS

Hi @Zabe, It looks like you helped process the last few wiki creations, hence I'm asking you: Is there anything the folks who are requesting this wiki need to do, before it can move along? They've removed the list of extensions (from the Task-Description) that earlier comments were asking about, and have asked me if there's anything else they need to/should do. Much thanks!

Hi @Zabe, It looks like you helped process the last few wiki creations, hence I'm asking you: Is there anything the folks who are requesting this wiki need to do, before it can move along? They've removed the list of extensions (from the Task-Description) that earlier comments were asking about, and have asked me if there's anything else they need to/should do. Much thanks!

If I'm not overlooking anything, nothing else is needed from the authors. The reason why the wiki hasn't been created yet is probably because the creation of SUL wikis is largely automated, while fishbowl wikis require a partially handwritten patch and at least I haven't gotten around to doing that yet.

Change #1187539 had a related patch set uploaded (by Zabe; author: Zabe):

[operations/puppet@production] Add Apache configuration for Wikimedia Thailand wiki

https://gerrit.wikimedia.org/r/1187539

Change #1187543 had a related patch set uploaded (by Zabe; author: Zabe):

[mediawiki/extensions/WikimediaMessages@master] Add messages for thwikimedia

https://gerrit.wikimedia.org/r/1187543

Hi @Zabe, It looks like you helped process the last few wiki creations, hence I'm asking you: Is there anything the folks who are requesting this wiki need to do, before it can move along? They've removed the list of extensions (from the Task-Description) that earlier comments were asking about, and have asked me if there's anything else they need to/should do. Much thanks!

And it would be even better if a team at WMF owned creating new wikis so it wouldn't rely on volunteers and their free time.

Change #1187543 merged by jenkins-bot:

[mediawiki/extensions/WikimediaMessages@master] Add messages for thwikimedia

https://gerrit.wikimedia.org/r/1187543

Change #1187539 merged by JHathaway:

[operations/puppet@production] Add Apache configuration for Wikimedia Thailand wiki

https://gerrit.wikimedia.org/r/1187539

Change #1188894 had a related patch set uploaded (by Zabe; author: Zabe):

[operations/mediawiki-config@master] Initial configuration for thwikimedia

https://gerrit.wikimedia.org/r/1188894

Change #1188894 merged by jenkins-bot:

[operations/mediawiki-config@master] Initial configuration for thwikimedia

https://gerrit.wikimedia.org/r/1188894

Mentioned in SAL (#wikimedia-operations) [2025-09-18T13:42:00Z] <zabe@deploy1003> Started scap sync-world: Backport for [[gerrit:1188894|Initial configuration for thwikimedia (T400001)]]

Mentioned in SAL (#wikimedia-operations) [2025-09-18T13:46:22Z] <zabe@deploy1003> zabe: Backport for [[gerrit:1188894|Initial configuration for thwikimedia (T400001)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Change #1189492 had a related patch set uploaded (by Zabe; author: Zabe):

[operations/mediawiki-config@master] Actiave thwikimedia

https://gerrit.wikimedia.org/r/1189492

Mentioned in SAL (#wikimedia-operations) [2025-09-18T13:52:34Z] <zabe@deploy1003> Finished scap sync-world: Backport for [[gerrit:1188894|Initial configuration for thwikimedia (T400001)]] (duration: 10m 34s)

Change #1189492 merged by jenkins-bot:

[operations/mediawiki-config@master] Actiave thwikimedia

https://gerrit.wikimedia.org/r/1189492

Mentioned in SAL (#wikimedia-operations) [2025-09-18T13:56:26Z] <zabe@deploy1003> Started scap sync-world: Backport for [[gerrit:1189492|Actiave thwikimedia (T400001)]], [[gerrit:1189494|Update interwiki cache]]

Mentioned in SAL (#wikimedia-operations) [2025-09-18T13:58:53Z] <zabe@deploy1003> zabe: Backport for [[gerrit:1189492|Actiave thwikimedia (T400001)]], [[gerrit:1189494|Update interwiki cache]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-09-18T14:05:06Z] <zabe@deploy1003> Finished scap sync-world: Backport for [[gerrit:1189492|Actiave thwikimedia (T400001)]], [[gerrit:1189494|Update interwiki cache]] (duration: 08m 39s)

@Wutkh Could you provide a username for the initial admin account and an email address where I can send its initial password?

@Wutkh Could you provide a username for the initial admin account and an email address where I can send its initial password?

Thank you very much @Zabe. Here are details for the initial login;
Username: Sarawut.Kha
Email for sending password: skhamset+wp@gmail.com

Mentioned in SAL (#wikimedia-operations) [2025-09-18T15:24:22Z] <zabe> zabe@deploy1003:~$ mwscript createAndPromote.php --wiki=thwikimedia --bureaucrat --sysop --reason="T400001" Sarawut.Kha REDACTED

This task doesn't have the usual subtasks about post-creation follow-ups etc.

added to wikistats (in lieu of subtask):

https://wikistats.wmcloud.org/display.php?t=wx

MariaDB [wikistats]> insert into wmspecials (lang,prefix,statsurl,description) values ("Thai","th","https://th.wikimedia.org/w/api.php?action=query&meta=siteinfo&siprop=statistics","Wikimedia Thailand");

MariaDB [wikistats]> update wmspecials set method=8 where prefix='th';

Hello,

Thank you all for your kind response to wiki creation request. I just noticed recently that https://br.wikimedia.org/ can be accessed through SUL. Is it possible to do so in our wiki?

Hello,

Thank you all for your kind response to wiki creation request. I just noticed recently that https://br.wikimedia.org/ can be accessed through SUL. Is it possible to do so in our wiki?

Yeah, I am very sorry. For some reason I thought you wanted a fishbowl wiki. I will try to attach it to SUL. Please do not create any further accounts on the wiki until then.

@Wutkh Could you provide a username for the initial admin account and an email address where I can send its initial password?

Thank you very much @Zabe. Here are details for the initial login;
Username: Sarawut.Kha
Email for sending password: skhamset+wp@gmail.com

@Wutkh can you confirm that this account is for the same person as https://meta.wikimedia.org/wiki/Special:CentralAuth?target=Sarawut.Kha?

Change #1189981 had a related patch set uploaded (by Zabe; author: Zabe):

[operations/mediawiki-config@master] Attach thwikimedia to SUL

https://gerrit.wikimedia.org/r/1189981

Change #1189985 had a related patch set uploaded (by Zabe; author: Zabe):

[operations/mediawiki-config@master] Set timezone and project namespace for thwikimedia

https://gerrit.wikimedia.org/r/1189985

@Wutkh Could you provide a username for the initial admin account and an email address where I can send its initial password?

Thank you very much @Zabe. Here are details for the initial login;
Username: Sarawut.Kha
Email for sending password: skhamset+wp@gmail.com

@Wutkh can you confirm that this account is for the same person as https://meta.wikimedia.org/wiki/Special:CentralAuth?target=Sarawut.Kha?

Yes, it's same person for that account.

Change #1189981 merged by jenkins-bot:

[operations/mediawiki-config@master] Attach thwikimedia to SUL

https://gerrit.wikimedia.org/r/1189981

Change #1189985 merged by jenkins-bot:

[operations/mediawiki-config@master] Set timezone and project namespace for thwikimedia

https://gerrit.wikimedia.org/r/1189985

Mentioned in SAL (#wikimedia-operations) [2025-09-22T11:03:17Z] <zabe@deploy1003> Started scap sync-world: Backport for [[gerrit:1189981|Attach thwikimedia to SUL (T400001)]], [[gerrit:1189985|Set timezone and project namespace for thwikimedia (T400001)]]

Mentioned in SAL (#wikimedia-operations) [2025-09-22T11:08:48Z] <zabe@deploy1003> zabe: Backport for [[gerrit:1189981|Attach thwikimedia to SUL (T400001)]], [[gerrit:1189985|Set timezone and project namespace for thwikimedia (T400001)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2025-09-22T11:15:13Z] <zabe@deploy1003> Finished scap sync-world: Backport for [[gerrit:1189981|Attach thwikimedia to SUL (T400001)]], [[gerrit:1189985|Set timezone and project namespace for thwikimedia (T400001)]] (duration: 11m 55s)

Hello,

Thank you all for your kind response to wiki creation request. I just noticed recently that https://br.wikimedia.org/ can be accessed through SUL. Is it possible to do so in our wiki?

The wiki should now be part of SUL. I attached the account of Sarawut.Kha manually to their global account.

The thwikimedia wiki is missing database tables that are required for SUL wikis but not required for non-SUL wikis. For example, we are seeing several scripts fail to run due to the global_block_whitelist table being missing on thwikimedia.

There may be other tables like this?

Mentioned in SAL (#wikimedia-operations) [2025-09-29T10:34:07Z] <Dreamy_Jazz> Created global_block_whitelist on thwikimedia - T400001

I've created global_block_whitelist on thwikimedia to fix the issues with the failing jobs

I scanned it briefly and no other table seems to be missing.

On the other hand the following tables actually should be dropped: loginnotify_seen_net, oathauth_devices and oathauth_types.

Ladsgroup assigned this task to Zabe.
Ladsgroup added a subscriber: Pppery.

Anything left to do here?

No. Please create a separate ticket for config changes.