Dear experts,
I am trying to restore this database into currecnt MediaWiki, which cca 4 years old, http://dirac.umb.sk/doc/old_mediawiki/chem-wiki-dbs.sql .
Though the simple database check seems fine:
[root@dirac old_mediawiki]# mysqlcheck -u root -p chem-wiki-dbs.sql
Enter password:
chem-wiki-dbs.sql.interwiki OK
MediaWiki is giving error, however:
[root@dirac mediawiki119]# php maintenance/update.php --conf LocalSettings.php
MediaWiki 1.19.24 Updater
Going to run database updates for chem-wiki-dbs.sql
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds (skip this countdown with --quick) ... 0
...ipblocks table does not exist, skipping new field patch.
...ipblocks table does not exist, skipping new field patch.
...already have interwiki table
Missing rc_timestamp field of recentchanges table. Should not happen.
Backtrace:
#0 [internal function]: MysqlUpdater->doIndexUpdate()
#1 /usr/share/mediawiki119/includes/installer/DatabaseUpdater.php(281): call_user_func_array(Array, Array)
#2 /usr/share/mediawiki119/includes/installer/DatabaseUpdater.php(244): DatabaseUpdater->runUpdates(Array, false)
#3 /usr/share/mediawiki119/maintenance/update.php(121): DatabaseUpdater->doUpdates(Array)
#4 /usr/share/mediawiki119/maintenance/doMaintenance.php(105): UpdateMediaWiki->execute()
#5 /usr/share/mediawiki119/maintenance/update.php(151): require_once('/usr/share/medi...')
#6 {main}
see
http://dirac.umb.sk/doc/old_mediawiki/mediawiki119/
and also on
[root@dirac mediawiki-1.24.2]# php maintenance/update.php --quick
MediaWiki 1.24.2 Updater
Going to run database updates for chem-wiki-dbs.sql
Depending on the size of your database this may take a while!
Turning off Content Handler DB fields for this part of upgrade.
...ipblocks table does not exist, skipping new field patch.
...ipblocks table does not exist, skipping new field patch.
...already have interwiki table
[e79bd3e1] [no req] Exception from line 353 of /var/www/html/sphinx/old_mediawiki/old_releases/mediawiki-1.24.2/includes/installer/MysqlUpdater.php: Missing rc_timestamp field of recentchanges table. Should not happen.
Backtrace:
#0 [internal function]: MysqlUpdater->doIndexUpdate()
#1 /var/www/html/sphinx/old_mediawiki/old_releases/mediawiki-1.24.2/includes/installer/DatabaseUpdater.php(442): call_user_func_array(array, array)
#2 /var/www/html/sphinx/old_mediawiki/old_releases/mediawiki-1.24.2/includes/installer/DatabaseUpdater.php(403): DatabaseUpdater->runUpdates(array, boolean)
#3 /var/www/html/sphinx/old_mediawiki/old_releases/mediawiki-1.24.2/maintenance/update.php(163): DatabaseUpdater->doUpdates(array)
#4 /var/www/html/sphinx/old_mediawiki/old_releases/mediawiki-1.24.2/maintenance/doMaintenance.php(101): UpdateMediaWiki->execute()
#5 /var/www/html/sphinx/old_mediawiki/old_releases/mediawiki-1.24.2/maintenance/update.php(206): require_once(string)
#6 {main}
see http://dirac.umb.sk/doc/old_mediawiki/old_releases/mediawiki-1.24.2/
Any help, please ?
Miro
Good morning,
I use mediawiki as a knowledge base for my team. I would like to create a
page that acts as a sitemap. We have used MediaWiki to create tiered
categories for the different tasks our team performs. I am hoping for
something that looks like:
- OpSec
- Firewalls
- Task 1
- Task 2
- IDS
- Task 1
- Task 2
- SIEM
- Task 1
- Incident Response
- Triage
- Task 1
- Reports
- 2015
- Incident 1
.... etc.
Is the extension http://www.mediawiki.org/wiki/Manual:GenerateSitemap.php going
to get me to the right place?
Also, separate question, is there a way to create a template for users to
choose when creating a page? For instance, our incident reports all have
the same five sections: Executive Summary, Identification, Containment,
Investigation, Eradication/Recovery, Lessons Learned. Is there a way to
have a choice to start with those headings built in when creating a page?
Thanks.
--
Kevin Holleran
Master of Science, Computer Information Systems
Grand Valley State University
Master of Business Administration
Western Michigan University
CISSP, GISP, GXPN, GCFA, GCFE, PCIP, PCI ISA, Cisco CCNA, ICCP ISA,
Microsoft MCSA
"If you have responsibility for security, but no authority to make changes,
then you're just there to take the blame when something goes wrong" Gene
Spafford - Spafford's First Law of Security
"Do today what others won't, do tomorrow what others can't" - SEALFit
"We are what we repeatedly do. Excellence, then, is not an act, but a
habit." - Aristotle
Hi everyone,
I am using following setting environment with redis. I can't run
any maintenance script due to [*RedisConnectionPool requires a Redis client
library.*] error. I DO add extension=redis.so to php.ini and it shows in
phpinfo.
I really needs help on solving this annoying problem. I even tried HHVM
which suppose come with pre installed redis support. But same error message
showed.
MediaWiki 1.24.2
PHP 5.4.41 (fpm-fcgi)
MySQL 5.6.20
Elasticsearch 1.4.2
Redis 3.0
Error message:
[d68504fc] [no req] Exception from line 77 of /wiki/includes/clie
ntpool/RedisConnectionPool.php: RedisConnectionPool requires a Redis client
libr
ary. See https://www.mediawiki.org/wiki/Redis#Setup
Backtrace:
#0 /wiki/includes/clientpool/RedisConnectionPool.php(138): RedisCon
nectionPool->__construct(array)
#1 /wiki/includes/objectcache/RedisBagOStuff.php(65): RedisConnecti
onPool::singleton(array)
#2 /wiki/includes/objectcache/ObjectCache.php(88): RedisBagOStuff->
__construct(array)
#3 /wiki/includes/objectcache/ObjectCache.php(72): ObjectCache::new
FromParams(array)
#4 /wiki/includes/objectcache/ObjectCache.php(44): ObjectCache::new
FromId(string)
#5 /wiki/includes/GlobalFunctions.php(3952): ObjectCache::getInstan
ce(string)
#6 /wiki/includes/Setup.php(561): wfGetMainCache()
#7 /wiki/maintenance/doMaintenance.php(97): require_once(string)
#8 /wiki/maintenance/update.php(206): require_once(string)
#9 {main}
--
Bask Ice
E-mail ice(a)moegirl.org
The ACG media and cultures promotion foundation
2290 3rd Avenue Basement, New York, United States
The planned release date for MediaWiki 1.25 is this coming Monday, May
25th[0].
There are still 23 open tasks blocking the release[1] and not all of
them have assignees or clear owners.
PLEASE HELP!
There will be a sprint at the Wikimedia Hackathon in Lyon this coming
weekend, but there's only so much that can be done in 2 days. Your help
is needed.
Greg
[0] https://www.mediawiki.org/wiki/MediaWiki_1.25
[1] https://phabricator.wikimedia.org/tag/mw-1.25-release/
--
| Greg Grossmeier GPG: B2FA 27B1 F7EB D327 6B8E |
| identi.ca: @greg A18D 1138 8E47 FAC8 1C7D |
Greetings,
Voting has begun for eligible voters in the 2015 elections for the
Wikimedia Foundation Board of Trustees. Questions and discussion with the
candidates for the Board will continue during the voting.
The Wikimedia Foundation Board of Trustees is the ultimate governing
authority of the Wikimedia Foundation, a 501(c)(3) non-profit organization
registered in the United States. The Wikimedia Foundation manages many
diverse projects such as Wikipedia and Commons.
If you would like a translated ballot, you can change your language for
Meta-Wiki on the Universal Language Selector or in your Preferences before
clicking the 'jump to next wiki' button on SecurePoll. You may also click
the vote banner from your home wiki or select your preferred language from
the language box above the ballot.
The voting phase lasts from 00:00 UTC May 17 to 23:59 UTC May 31.
To vote: https://meta.wikimedia.org/wiki/Special:SecurePoll/vote/339
More information on the candidates and the elections can be found on the
2015 Board election page on Meta-Wiki:
https://meta.wikimedia.org/wiki/Wikimedia_Foundation_elections/Board_electi…
On behalf of the Elections Committee,
-Gregory Varnum (User:Varnent)
Volunteer Coordinator, 2015 Wikimedia Foundation Elections Committee
Translations of this message:
https://meta.wikimedia.org/wiki/Wikimedia_Foundation_elections_2015/MassMes…
I have to move a mediawiki site that has a database of approx 4.1GB. It
is somthing I have done before and I usually just use the command line
syntax to do it. However I have tried 3 times to export it and the files
are always either incomplete due to server (Mysql) disconnect. I
finally did get one that seemed to complete OK but then I tried several
times to import it into the new server and likewise got server
disconnect errors. I am aware that there are a multitude of
possibilities, so what I'm asking here is for any tips on moving
databases of this size or larger. I'm beginning to wonder if Mysql is
the way to go here.
Thanks!
--
John Foster
JW Foster & Associates
Any way to simply track the people viewing my site. Only a registered
usere my edit the contents but I want to see who is visiting. i have
analytic installed but that is not exactly what I'm looking for.
Thanks!
--
John Foster
JW Foster & Associates
> From: John Foster <jfoster81747(a)gmail.com>
>
> ... I have tried 3 times to export it and the files
> are always either incomplete due to server (Mysql) disconnect.
Been there, done that, fixed it, don't remember exactly how, except there was some /etc/my.cnf timeout parameter that I temporarily set to some ridiculously high value.
I think I used "wait_timeout = 6000".
:::: What's the use of a fine house if you haven't got a tolerable planet to put it on? -- Henry David Thoreau
:::: Jan Steinman, EcoReality Co-op ::::
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…