Hello everyone,
We are happy to announce the immediate availability of the third stable
release in the Semantic MediaWiki 2.x series.
Semantic MediaWiki 2.2 is a minor release that adds several new features,
some enhancements and fixes various issues. It does not contain any
breaking changes, so upgrading is both easy and recommended.
Thanks to all those who contributed: MWJames, Jeroen De Dauw, Karsten
Hoffmeyer, Felipe de Jong, Hermann Schwärzler, Kunal Mehta, Chris Koerner,
Yaron Koren, Purodha, m4tx, paladox2015. Together we changed 952 files
across a total of 666 sets of changes to the code. Thanks also go to all
those who helped with testing and to TranslateWiki.net and its contributors
for providing numerous translations. There are various ways in which you
can help as well, see our contribution documentation [4].
## New features ##
* Added named args as parameter to CategoryResultPrinter
* Added sep as parameter to the TableResultPrinter to define a
separator for cell values
* Added template support to the #set parser function
* Added the --no-cache option to rebuildData.php and the --debug option
to rebuildData.php and rebuildConceptCache.php (refs #749, #766)
* Added support for wgCategoryCollation setting in
CategoryResultPrinter (#699, T40853)
* Added the --report-runtime option to rebuildConceptCache.php
* Extended rules on how an ImportValue need to contain a valid type
definition
* Enforced strict type declaration for properties with import
references (type of the imported reference takes precedence over any
user-defined type declaration)
* Added support for <swivt:file> in order for a RDF export to point to
a "real" file resource
* Added information about "improper value for" to the statistics
overview and as API parameter (&errorcount)
* Fixed exception for usage of Has subobject as free annotation
* Added restriction for "manual" annotation use to some pre-defined
properties (e.g. Has subobject, Has query)
## Enhancements ##
* Replaced defunct SMWRegsitry wiki registration on Special:SMWAdmin
with a link to WikiApiary
* Reduced the number of pages on which SMW JavaScript and CSS is loaded
* Made small performance improvements
## Bug fixes ##
* Fixed Missing parentheses in SQL for disjunctions when temporary
tables are not used by the SQLStore
* Fixed DB error when a #ask query contains order=random for a sqlite
or postgres DB platform (disabled smwgQRandSortingSupport for postgres)
* Fixed escape character usage in SPARQLStore, SQLStore
* Fixed handling of an empty result send by the SPARQLStore Sesame
connector
* Fixed owl property export declaration
* Fixed missing interwiki encoding for the RDF export
* Fixed empty searchlabel raw wikitext display for a QueryResultPrinter
with limit=0
* Fixed data update when moving a page to a non-enabled semantic
namespace
* Fixed #set where an error from a previous parse call could have
affected succeeding #set error messages
* Fixed exception in SMWExportController caused by an empty property
reference
* Fixed fetching of import vocabularies to be language independent
* Fixed pre element rendering for the template "furtherresult" output
link
* Fixed empty caption for false when using the#x format option
* Fixed exception in SMWExportController for use of &stats option
* Fixed nesting of self-referenced concepts in a concept query
* Fixed inconsistency when using headers=plain in CategoryResultPrinter
also fixed the __NOTOC__ hack
The full list can also be viewed at [0]. The installation procedure [1] has
not changed since 1.9.0. To upgrade, you will need to get the new version
of SMW, run MediaWikis update.php, and run SMWs refresh data script [2].
There is also a short video showing an upgrade from SMW 2.1.3 to 2.2 at [3].
Work on SMW 2.3 has already started, and includes performance enhancements
and improvements to SPARQLStore support. Again, your contributions are
welcome! [4]
- The SMW development team
[0] https://semantic-mediawiki.org/wiki/SMW_2.2
[1] https://semantic-mediawiki.org/wiki/Help:Installation
[2] https://semantic-mediawiki.org/wiki/Help:Installation#Upgrading
[3] https://vimeo.com/127356533
[4]
https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/master/CONTRIBU…
I'm looking to share the load on our main production server across one
or more additional servers. I'm also interested in the mechanics of
real-time mirroring of the entire site.
On load balancing; does the slave machine need to have either or both
the images directory and MW scripts/extensions installed, or is it
sufficient to master/slave the respective databases?
I have looked at $wgExternalServers and $wgDBservers manual pages but
wonder if there may be more extensive guidance available too.
Any pointers welcome
PeterP
Hi,
Need help.
we have created Navigation bar with simple HTML code.
It was very impressive.
But one pain point we have with this currently is : if we have to add or
remove a link in this navigation bar template:
1. we have to first update the link on the Template code
2. we need to open each and every page with the template code in it to
get the latest changes of the template code.(currently, we have nearly 50
to 60 wiki pages in our project using this navigation bar template).
3. Either a major or minor update we will need to manually open the
page and save the page to replicate the changes in the Template for
navigation bar.
Is there a way, we can automate the updating/ or is there any other easy
way.
Please let me know, if the question is not clear.
Thank you,
Vinodini Arya
I am getting that vague 500 Internal Server Error when attempting to
save a page in excess of a certain size.
My PHP configuration, supplied by my ISP, seems to be plenty fine.
Any ideas on what else might be going on?
Language Options asp_tags Allow ASP-style <% %> tags. Off
File Uploads file_uploads Whether to allow HTTP file uploads. On
Paths and Directories include_path Windows: "\path1;\path2"
c:\php\includes" .:/usr/lib/php:/usr/local/lib/php
Resource Limits max_execution_time
100
Resource Limits max_input_time
100
Resource Limits memory_limit
100M Data Handling register_globals You should do your best to write
your scripts so that they do not require register_globals to be on;
Using form variables as globals can easily lead to possible security
problems, if the code is not very well thought of. Off Language
Options safe_mode
Off File Uploads upload_max_filesize Maximum allowed size for uploaded
files. 10M main session.save_path Argument passed to save_handler. In
the case of files, this is the path where data files are stored. Note:
Windows users have to change this variable in order to use PHP's session
functions. As of PHP 4.0.1, you can define the path as:
session.save_path = "N;/path" where N is an integer. Instead of storing
all the session files in /path, what this will do is use subdirectories
N-levels deep, and store the session data in those directories. This is
useful if you or your OS have problems with lots of files in one
directory, and is a more efficient layout for servers that handle lots
of sessions. NOTE 1: PHP will not create this directory structure
automatically. You can use the script in the ext/session dir for that
purpose. NOTE 2: See the section on garbage collection below if you
choose to use subdirectories for session storage /tmp
Heiya,
on a wiki I unsuccessfully try to return users to the very page they
started out with their user registration by adding: |
[{{fullurl:Special:UserLogin/signup|returnto={{FULLPAGENAMEE}}}}
''Login'' to this wiki (and come back here)]|.
So what happens: After registration the user stays on
"Special:UserLogin" showing "Welcome, username" and below some other
included system messages together with a link "Return to 'the page you
last visited'". So there is no direct return to the original page.
On e.g. German Wikipedia I get directly to the original page. Does
anyone know the trick to get MW obeying the "returnto" parameter instead
of ignoring like described? I will document this as soon as the trick in
know to me.
Thanks and cheers
Karsten
I am attempting to install MediaWiki-1.24.2 on a CentOS 7 VM
PHP 5.4.16 (cli) (built: Oct 31 2014 12:59:36)
Server version: 5.6.24 MySQL Community Server (GPL)
URL: http://arenagames.us
When I browse to the above URL, I get the following message:
"MediaWiki 1.24.2
LocalSettings.php not found.
Please set up the wiki first."
When I click on 'set up the wiki' I get a blank page, no error messages,
with the URL http://arenagames.us/mw-config/index.php
Any advice?
Hi,
I would like to be able to render chemical reactions properly (e.g., the
way that \ce does in MathJax [an example of successful rendering using
this package may be found here
http://chemistry.stackexchange.com/a/5338/876], I have tried this on my
local MW installation if you're wondering and the \ce was left unparsed)
in LaTeX, via the math extension, is this possible?
Thanks for your time,
Brenton