I've been watching how upgrades are handled in the MediaWiki world for a few years and I think we can all do better than we have been.
While going to 2.0 is a big help, could we put in a hook and ask people upgrading to run update.php?
In the hook, we could check for the use of tabs and make sure that it is compatible with Foreground 2.0.
Alternatively, we could set check to see (via a flag in the DB?) if this is the first time the 2.0 version has been run and show a notice (to admins only?) of changes that need to be made.
I haven't yet looked at the differences, so I'm not sure how feasible this is, but it would help
I'm not tied to any of these ideas, of course. I just want to make the use of the software better for the end user.
Thanks,
Mark.
Mark A. Hershberger NicheWork LLC 717-271-1084
----- On Apr 17, 2017, at 8:23 AM, Tom tom@hutch4.us wrote:
Yes we do need to release 2.0. There are a few major differences between version 1.2 and 2.0.
- Some of the line spacing is a little bit taller.
- There's a different method to call tabs
- The new method to call tabs requires HTML that is not allowed in wiki markup.
I did finally figure out the best use of the obcache to change the content of the page to allow the mark up if you switch the feature on.
v2.0 would definitely not be backwards compatible with v1.2 in wiki markup if someone is using tabs. Any pages that use tabs would definitely have to change their mark up and actually the way they display is a little different too.
v2.0 is actually downloaded from the development branch with version 1.2 on the master branch. All that needs to be done would be create a v1.2 branch for patches (if desired), make the final fixes for obcache and then merge development into master and release.
Tom
On Apr 16, 2017, at 10:13 AM, [[kgh]] mediawiki@kghoffmeyer.de wrote:
Heiya,
this is probably a question directly for Tom. :)
What about the 2.0.0 release? Officially the latest release is 1.2.0 but in the meantime more and more wikis are running master of Foreground which is 2.0.0 and soon there will be more of them than for the official release (stats by WikiApiary).
I guess it will be cool to get 2.0.0 officially off the ground.
Cheers Karsten
Foreground mailing list Foreground@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/foreground
Foreground mailing list Foreground@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/foreground