Page MenuHomeMiraheze

Reconsider implementing Semantic MediaWiki
Closed, ResolvedPublic

Assigned To
Unknown Object (User)
Authored By
Reception123
Mar 18 2021, 21:22
Referenced Files
None
Tokens
"Love" token, awarded by Excelsis."Like" token, awarded by TylerMagee."The World Burns" token, awarded by PiscesKazeMGR.

Description

As discussed today in #miraheze-sre, it seems that it would be a good idea if we tried to set up SMW. Even though in the past it was said that it would not be possible for us to set it up, that view no longer seems correct and we should try to implement it and make it accessible to wikis that want it.

An interesting first use case suggested by @Southparkfan was to create a CMDB of our infrastructure.

Event Timeline

Reception123 triaged this task as Normal priority.Mar 18 2021, 21:22
Reception123 created this task.
Reception123 assigned this task to Unknown Object (User).Mar 19 2021, 16:41
Reception123 moved this task from Backlog to Security Review Needed on the Extensions board.
Unknown Object (User) added a comment.EditedMar 20 2021, 00:10

Review in progress. Likely will take awhile. This extension is huge.

Unknown Object (User) added a comment.Mar 20 2021, 04:17

I see a ton of deprecated stuff in use in the extension, I don't know how much it would effect logs especially.

Unknown Object (User) moved this task from Backlog to Long Term on the MediaWiki (SRE) board.Mar 21 2021, 19:48
Unknown Object (User) moved this task from Unsorted to Goals on the Universal Omega board.
Unknown Object (User) added a comment.EditedMar 25 2021, 03:17

Update: I've reviewed about 50% of the extension now. So far, all looks good. But like I mentioned above, alot of deprecated MediaWiki functions are still in use.

Unknown Object (User) removed Unknown Object (User) as the assignee of this task.EditedApr 3 2021, 06:57
Unknown Object (User) moved this task from Security Review Needed to Reviewed, Approved on the Extensions board.
Unknown Object (User) removed a project: Universal Omega.

As one of my final acts as reviewer and system administrator for the time being, I'm approving this extension for installation as I finished the review yesterday.

Unknown Object (User) unsubscribed.Apr 3 2021, 19:56

So we don't complicate things too much and have a too large workload to work with, I suggest this is attempted after the 1.36 upgrade.

Reception123 lowered the priority of this task from Normal to Low.Apr 15 2021, 13:10

Temporarily moving to low priority as this is waiting on T7117 and will not be looked into until then.

This was held on 1.36.0, we can now probably look into this further at some point.

Unknown Object (User) raised the priority of this task from Low to Normal.Jun 12 2021, 23:24
Unknown Object (User) added a project: Universal Omega.
Unknown Object (User) closed this task as Declined.EditedJun 13 2021, 06:50
Unknown Object (User) claimed this task.

Unfortunately this is currently incompatible with 1.36.0. If it becomes compatible this can be reopened and looked into further.

Excelsis subscribed.

Is this by any chance now compatible with 1.37.0 MW?

Unknown Object (User) closed this task as Declined.Dec 8 2021, 17:06

Not currently as far as I can tell.

Unknown Object (User) reopened this task as Open.EditedDec 10 2021, 18:34
Unknown Object (User) lowered the priority of this task from Normal to Low.

Upon further looking and discussion in #miraheze-offtopic with @Lakelimbo, this probably does support 1.37, and even shows some desire/attempt at supporting 1.38 (indicated by https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/d2d941d). If SRE agree, I can install the extension submodule in miraheze/mediawiki, and configure it only on test101 for now to allow for extensive testing first. After test101 testing is done, my recommendation would be to not even add this extension to ManageWiki at all (as it would be difficult anyways) but rather a configuration file (like Wikibase.php) in mw-config allowing for configuration and enabling of the extension per-request only. This would allow for us to track usage and performance more easily. Wider rollout could then be considered in the future.

However, this should be low priority at the moment and other issues are more important right now.

Unknown Object (User) added a comment.EditedDec 14 2021, 00:16

Installation steps from what I can tell (some of this is undocumented, or at least I didn't see documentation, as it is meant to run update.php, but the following should work without that looking at source directly)

  • Install submodule in miraheze/mediawiki
  • Create SemanticMediaWiki.php in miraheze/mw-config for SemanticMediaWiki-only configuration (only load on betawiki for now)
  • Add wfLoadExtension( 'SemanticMediaWiki' ); and enableSemantics( 'semantic-mediawiki.betaheze.org' );
  • Run the maintenance/setupStore.php script (which is an equivalent to upgrade.php but only for SemanticMediaWiki, avoiding us having to use upgrade.php if I am correct)
  • Verify SemanticMediaWiki is installed correctly with src/Maintenance/MaintenanceCheck.php (not an essential step if this can't be manually ran like this, we'll know if it failed soon enough)
  • Run maintenance/rebuildData.php -v
  • Post installation: hope installation was successful and fully operational; begin extensive testing; open to production and user requests (not ManageWiki) when it is tested and fully works; monitor performance.
Unknown Object (User) added a comment.Jan 23 2022, 23:51

Just to note: I would like to begin work on this in a week or two. Although it's currently blocked on us fixing session issues on betaheze, and also setting up the CreateWiki cluster for betaheze, as I will then create a SMW test wiki for testing this (semantic.betaheze.org or something) due to the complexity of this.

Unknown Object (User) updated the task description. (Show Details)Jan 23 2022, 23:53
Unknown Object (User) removed a subscriber: WikiJS.

Just to note: I would like to begin work on this in a week or two. Although it's currently blocked on us fixing session issues on betaheze, and also setting up the CreateWiki cluster for betaheze, as I will then create a SMW test wiki for testing this (semantic.betaheze.org or something) due to the complexity of this.

Count me in on this deal, seeing how Referata (the original SMW hotspot) has been flickering on and off life support since early 2019's hacking incident. (At this writing, it's been offline for the time being since last Thursday; I'll contact Yaron Koren if the holdup persists.) And seeing how much of an SMW advocate I've long been thanks to that host...

Still, DPL3 has stood in well enough on my wiki, albeit with a slew of recent upstream issues (reported by me!) yet to be resolved--particularly regarding Unicode support.

Unknown Object (User) added a comment.Jan 28 2022, 03:20

https://semantic-mediawiki.betaheze.org created for testing this. The extension has also now been installed, but not enabled anywhere. I will begin testing shortly.

Unknown Object (User) removed a subscriber: Bukkit.Jan 30 2022, 22:36
Unknown Object (User) removed Unknown Object (User) as the assignee of this task.Feb 7 2022, 06:22
Unknown Object (User) removed a project: Universal Omega.
Unknown Object (User) subscribed.

Unfortunately I'm currently not around. If I return I will continue to work on this. I'm not sure when that would be if I do though.

Unknown Object (User) unsubscribed.Feb 7 2022, 06:22
Unknown Object (User) claimed this task.Mar 27 2022, 16:01

I will be able to do more work on this again, now that I'm (semi) back.

Unknown Object (User) subscribed.Mar 27 2022, 16:01

It is now live on semantic-mediawiki.betaheze.org.

Unknown Object (User) added a comment.Apr 18 2022, 02:50

I hope to have this deployed within the next week or two. Of course it'll still have some limitations, and will need to be monitored on wikis that it's enabled on, and it'll have to be manually requested to Stewards to enable it, if its added to ManageWikiExtensions, or SRE if its not. Though it looks to be able to be in ManageWikiExtensions so probably will be.

Unknown Object (User) closed this task as Resolved.Apr 19 2022, 01:45

This is now deployed.