Difference between revisions of "Fun-with-mediawiki"

From Ed's Mediawiki
(Reminders)
Line 7: Line 7:
 
==Reminders==
 
==Reminders==
 
*To edit the sidebar, search for MediaWiki:sidebar and edit it logged in as Ejbadmin
 
*To edit the sidebar, search for MediaWiki:sidebar and edit it logged in as Ejbadmin
 +
 +
==Problem with MediaWiki not displaying pages==
 +
At some point, my wiki would display page titles, but the pages would be blank.  But if I looked at the source of the page the wiki code was there.  After some poking around, and having Midphase techs run a rebuild script to no avail, I found [http://www.mediawiki.org/wiki/Manual:Errors_and_symptoms#All_pages_have_no_content.2C_but_when_editing_a_page_the_wiki_text_is_there this page] on the mediawiki site that indicates that an update to PCRE (Perl Compatible Regular Expressions, a package used by the PHP code that implements MediaWiki) caused this and you have to either downgrade PCRE or upgrade mediawiki to version 1.22.1 or newer. Since 1.23 was available, I upgraded, and the problem was solved.

Revision as of 11:56, 2 August 2014

MediaWiki is the software that runs Wikipedia and this wiki. It is basically a bunch of scripts written in PHP and a MySQL database. I expect there is more to the version used by Wikipedia than the one I am running on here.

What I use it for

This is just a convenient way for me to put stuff like this page on the web without doing HTML editing and uploads, navigation pages, etc. This Wiki is currently not intended to be a discussion mechanism, and because I have discovered some robot attacks, I currently do not allow anonymous users to create accounts. If you want an account on this Wiki, let me know and I can create it.

Reminders

  • To edit the sidebar, search for MediaWiki:sidebar and edit it logged in as Ejbadmin

Problem with MediaWiki not displaying pages

At some point, my wiki would display page titles, but the pages would be blank. But if I looked at the source of the page the wiki code was there. After some poking around, and having Midphase techs run a rebuild script to no avail, I found this page on the mediawiki site that indicates that an update to PCRE (Perl Compatible Regular Expressions, a package used by the PHP code that implements MediaWiki) caused this and you have to either downgrade PCRE or upgrade mediawiki to version 1.22.1 or newer. Since 1.23 was available, I upgraded, and the problem was solved.