Changes

Jump to navigation Jump to search
So let's check out that file. It doesn't have much other than comments, but one of the comments mentions that the file will "Bail on old versions of PHP, or if composer has not been run yet to install dependencies." So does that mean we need composer? That seems a bit redundant on Linux...
 
Okay so backtracking a little. Here's a [http://trog.qgl.org/20140923/setting-up-infobox-templates-in-mediawiki-v1-23/ post] that mentions importing [https://en.wikipedia.org/wiki/MediaWiki:Common.css this stylesheet] from Wikipedia (the source wiki, aka where we're getting our infobox templates from). I exported that page with the three options -- "Include only the current revision, not the full history", "Include templates", and "Save as file" -- all checked. Importing the resulting XML file was successful. But trying to import the infobox templates immediately afterwards still failed (500 error).
 
And here's a random tangent: an [http://trog.qgl.org/20110815/setting-up-infobox-templates-in-mediawiki/ older version] of the post above mentions that the XML file needs to be modified: all of the instances of "text/plain" need to be replaced with "CONTENT_TEXT_FORMAT". There's a thread on Mediawiki that suggests the same fix (the suggestion is also about 3 years old, so it may be just referring to the old version of the post without citing it). The thing that makes me uncertain is that Scribunto's ticket trackers have some tickets about this suggested fix: [https://phabricator.wikimedia.org/T58249 this one] and [https://phabricator.wikimedia.org/T53504 this one] came up when I searched for "content_text_format scribunto". Both seem to conclusively suggest that the fix isn't necessary in newer versions of Scribunto and Mediawiki, and there's even a backport left there for people who are still trying the fix. So it seems that the fix won't actually change anything.
== To-do list ==
Anonymous user

Navigation menu