<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.mediawiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=136.237.60.105</id>
	<title>MediaWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.mediawiki.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=136.237.60.105"/>
	<link rel="alternate" type="text/html" href="https://www.mediawiki.org/wiki/Special:Contributions/136.237.60.105"/>
	<updated>2026-08-23T01:45:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.47.0-wmf.16</generator>
	<entry>
		<id>https://www.mediawiki.org/w/index.php?title=Topic:Qhyh9ku9eom60wz2&amp;topic_postId=qi125ge9p1o9ak4g&amp;topic_revId=qi125ge9p1o9ak4g&amp;action=single-view</id>
		<title>Topic:Qhyh9ku9eom60wz2</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.org/w/index.php?title=Topic:Qhyh9ku9eom60wz2&amp;topic_postId=qi125ge9p1o9ak4g&amp;topic_revId=qi125ge9p1o9ak4g&amp;action=single-view"/>
		<updated>2012-03-18T19:53:50Z</updated>

		<summary type="html">&lt;span class=&quot;plainlinks&quot;&gt;&lt;a href=&quot;/wiki/Special:Contributions/136.237.60.105&quot; class=&quot;mw-userlink mw-anonuserlink&quot; title=&quot;Special:Contributions/136.237.60.105&quot;&gt;&lt;bdi&gt;136.237.60.105&lt;/bdi&gt;&lt;/a&gt; &lt;span class=&quot;mw-usertoollinks&quot;&gt;(&lt;a href=&quot;/w/index.php?title=User_talk:136.237.60.105&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;mw-usertoollinks-talk new&quot; title=&quot;User talk:136.237.60.105 (page does not exist)&quot;&gt;talk&lt;/a&gt;)&lt;/span&gt; &lt;a class=&quot;external text&quot; data-mw-original-href=&quot;//www.mediawiki.org/w/index.php?title=Topic:Qhyh9ku9eom60wz2&amp;amp;topic_showPostId=qi125ge9p1o9ak4g#flow-post-qi125ge9p1o9ak4g&quot; href=&quot;https://www.mediawiki.org/w/index.php?title=Topic:Qhyh9ku9eom60wz2&amp;amp;topic_showPostId=qi125ge9p1o9ak4g#flow-post-qi125ge9p1o9ak4g&quot;&gt;commented&lt;/a&gt; on &quot;Duplicate Page Entries&quot; (&lt;em&gt;Thank You for the clarification. I get it now. I was ignoring the namespace before. Thanks Again.&lt;/em&gt;)&lt;/span&gt;</summary>
		<author><name>136.237.60.105</name></author>
	</entry>
	<entry>
		<id>https://www.mediawiki.org/w/index.php?title=Thread:Project:Support_desk/Duplicate_Page_Entries/reply_(2)&amp;diff=512377</id>
		<title>Thread:Project:Support desk/Duplicate Page Entries/reply (2)</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.org/w/index.php?title=Thread:Project:Support_desk/Duplicate_Page_Entries/reply_(2)&amp;diff=512377"/>
		<updated>2012-03-18T19:53:50Z</updated>

		<summary type="html">&lt;p&gt;136.237.60.105: Reply to Duplicate Page Entries&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Thank You for the clarification. I get it now.&lt;br /&gt;
&lt;br /&gt;
I was ignoring the namespace before.&lt;br /&gt;
&lt;br /&gt;
Thanks Again.&lt;/div&gt;</summary>
		<author><name>136.237.60.105</name></author>
	</entry>
	<entry>
		<id>https://www.mediawiki.org/w/index.php?title=Topic:Qhyh9ku9eom60wz2&amp;topic_postId=qhyh9kdaaisyc61y&amp;topic_revId=qhyh9kdaaisyc61y&amp;action=single-view</id>
		<title>Topic:Qhyh9ku9eom60wz2</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.org/w/index.php?title=Topic:Qhyh9ku9eom60wz2&amp;topic_postId=qhyh9kdaaisyc61y&amp;topic_revId=qhyh9kdaaisyc61y&amp;action=single-view"/>
		<updated>2012-03-17T16:05:56Z</updated>

		<summary type="html">&lt;span class=&quot;plainlinks&quot;&gt;&lt;a href=&quot;/wiki/Special:Contributions/136.237.60.105&quot; class=&quot;mw-userlink mw-anonuserlink&quot; title=&quot;Special:Contributions/136.237.60.105&quot;&gt;&lt;bdi&gt;136.237.60.105&lt;/bdi&gt;&lt;/a&gt; &lt;span class=&quot;mw-usertoollinks&quot;&gt;(&lt;a href=&quot;/w/index.php?title=User_talk:136.237.60.105&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;mw-usertoollinks-talk new&quot; title=&quot;User talk:136.237.60.105 (page does not exist)&quot;&gt;talk&lt;/a&gt;)&lt;/span&gt; &lt;a class=&quot;external text&quot; data-mw-original-href=&quot;//www.mediawiki.org/w/index.php?title=Topic:Qhyh9ku9eom60wz2&amp;amp;topic_showPostId=qhyh9kdaaisyc61y#flow-post-qhyh9kdaaisyc61y&quot; href=&quot;https://www.mediawiki.org/w/index.php?title=Topic:Qhyh9ku9eom60wz2&amp;amp;topic_showPostId=qhyh9kdaaisyc61y#flow-post-qhyh9kdaaisyc61y&quot;&gt;commented&lt;/a&gt; on &quot;Duplicate Page Entries&quot; (&lt;em&gt;Hi, I am trying to use the Page &amp;amp; PageLinks tables for my Page Rank project. I am using the mysqldump files available for download. I hav...&lt;/em&gt;)&lt;/span&gt;</summary>
		<author><name>136.237.60.105</name></author>
	</entry>
	<entry>
		<id>https://www.mediawiki.org/w/index.php?title=Project:Support_desk/Flow/2012/03&amp;diff=7359961</id>
		<title>Project:Support desk/Flow/2012/03</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.org/w/index.php?title=Project:Support_desk/Flow/2012/03&amp;diff=7359961"/>
		<updated>2012-03-17T16:05:56Z</updated>

		<summary type="html">&lt;p&gt;136.237.60.105: /* Duplicate Page Entries */ New section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Project:Support desk/Archive header}}&lt;br /&gt;
&amp;lt;!-- DO NOT EDIT THIS PAGE DIRECTLY --&amp;gt;&lt;br /&gt;
{{LiquidThreads imported revision}}&lt;br /&gt;
== FCK Editor Issues ==&lt;br /&gt;
&lt;br /&gt;
Hi,&lt;br /&gt;
I am receiving the following error message whenever I try to edit an article: &lt;br /&gt;
Warning: Parameter 1 FCKeditor_MediaWiki:: onCustomEditor() expected to be a reference value given in (home directory)/public_html/(name of wiki)/includes/Hooks.php on line 117&lt;br /&gt;
Could you please tell me how to fix this or how to change to a different wysiwyg editor (e.g. tinyMCE)?&lt;br /&gt;
Thank you! [[Special:Contributions/124.191.80.117|124.191.80.117]] ([[User talk:124.191.80.117|talk]]) 08:48, 1 March 2012 (UTC)&lt;br /&gt;
:Is there somewhere else I should be asking this question? [[Special:Contributions/124.191.80.117|124.191.80.117]] 10:04, 2 March 2012 (UTC)&lt;br /&gt;
::You should probably ask the FCKEditor folks (or whomever maintains that extension). But I&#039;m not sure if anyone actually does maintain it anymore. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 19:16, 4 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Set the category of a page using data filled in the form ==&lt;br /&gt;
&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
I am customizing the mediawiki to work as knowledge base of the TI systems of a enterprise. I have a form (property:System) which the user have to choose what systems the page that is being created is related.&lt;br /&gt;
I need to set the Category of the page that is being created using the values filled in the property System in the form. How can i do this ?  In my search i found the extension Semantic:WatchList, but i think there is a simple way to do it instead of using this extension.&lt;br /&gt;
&lt;br /&gt;
MediaWiki Version : 1.18&lt;br /&gt;
PHP Version : 5.3.6&lt;br /&gt;
MySQL Version : 5.5.9&lt;br /&gt;
&lt;br /&gt;
Thanks [[User:Guerciobr|Guerciobr]] ([[User talk:Guerciobr|talk]]) 14:10, 1 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Frames Displaying Incorrectly in Google Chrome ==&lt;br /&gt;
&lt;br /&gt;
Hi, have a wiki site for a local sports group and the frames don&#039;t align correctly in google chrome (works fine in firefox and IE). website is here:&lt;br /&gt;
http://hawaiiultimate.com/wiki/&lt;br /&gt;
most specifically, the left main panes always align BELOW the main body (in its column, however not in line with main body), evident in some of the longer pages.&lt;br /&gt;
&lt;br /&gt;
Running:&lt;br /&gt;
mediawiki 1.10.1&lt;br /&gt;
php 5.2.13&lt;br /&gt;
MySQL 5.0.45-community-nt&lt;br /&gt;
&lt;br /&gt;
forgive me but i&#039;m not extremely familiar with how databases work so go easy. i understand simple code and most of the methods of editing and maintaining wikis, but this one has stumped me. is it a versioning problem? is it difficult to upgrade?&lt;br /&gt;
&lt;br /&gt;
mahalo for any help!&lt;br /&gt;
jess [[User:HawaiiUltimate|HawaiiUltimate]] ([[User talk:HawaiiUltimate|talk]]) 00:50, 2 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== How to hide delete articles in recent changes? ==&lt;br /&gt;
&lt;br /&gt;
I use the recent changes RSS to announce the wiki got articles changed.&lt;br /&gt;
&lt;br /&gt;
But a lot of spam use this way to show there F**K ADs in the twitter account.&lt;br /&gt;
&lt;br /&gt;
The rss contain there ADs even after I delete it. For example:&lt;br /&gt;
&lt;br /&gt;
 http://wiki.moegirl.org/%E6%89%B9%E5%8F%91%E7%A1%AC%E8%BD%AF%E4%B8%AD%E5%8D%8E%E9%A6%99%E7%83%9F%E6%89%B9%E5%8F%91%E5%81%87%E7%83%9F%E3%80%90%E7%9C%9F%E7%83%9F%E6%8E%A5%E6%94%AF%E3%80%91%E8%AE%A2%E8%B4%A7%E7%94%B5%E8%AF%9D13925744694QQ2624473862_%E5%BC%A0%E5%8F%96&lt;br /&gt;
 批发硬软中华香烟批发假烟【真烟接支】订货电话13925744694QQ2624473862 张取&lt;br /&gt;
 2012-03-01T18:51:43Z&lt;br /&gt;
 &#039;&#039;&#039;deleted&#039;&#039;&#039;“[[&amp;lt;a href=&amp;quot;/index.php?title=%E6%89%B9%E5%8F%91%E7%A1%AC%E8%BD%AF%E4%B8%AD%E5%8D%8E%E9%A6%99%E7%83%9F%E6%89%B9%E5%8F%91%E5%81%87%E7%83%9F%E3%80%90%E7%9C%9F%E7%83%9F%E6%8E%A5%E6%94%AF%E3%80%91%E8%AE%A2%E8%B4%A7%E7%94%B5%E8%AF%9D13925744694QQ2624473862_%E5%BC%A0%E5%8F%96&amp;amp;action=edit&amp;amp;redlink=1&amp;quot; class=&amp;quot;new&amp;quot; title=&amp;quot;批发硬软中华香烟批发假烟【真烟接支】订货电话13925744694QQ2624473862 张取（尚未撰写）&amp;quot;&amp;gt;批发硬软中华香烟批发假烟【真烟接支】订货电话13925744694QQ2624473862 张取&amp;lt;/a&amp;gt;]]” 大量删除由Fa16698所创建的页面&amp;lt;/p&amp;gt;&lt;br /&gt;
 Zoglun&lt;br /&gt;
&lt;br /&gt;
How can I hide those deleted articles in recentchangs feed? like &amp;quot;hideredirs=1&amp;quot; add to URL? [[User:Deletedaccount4567435|Deletedaccount4567435]] ([[User talk:Deletedaccount4567435|talk]]) 01:52, 2 March 2012 (UTC)&lt;br /&gt;
:I think there was some means to add &amp;amp;bot=1 onto the end of a URL when removing vandalism, so that your action would show as being done by a site robot and therefore be absent from [[special:recentchanges]] unless the user clicks &#039;show bots&#039;. I&#039;m not sure if this is available for rollback, delete or both... but as far as I know the &#039;bot&#039; flag is the quickest way to semi-hide something from recent changes.&lt;br /&gt;
:&amp;quot;Bot rollback&amp;quot; is mentioned on [//en.wikipedia.org/wiki/Wikipedia:Administrators/Tools Wikipedia:Administrators/Tools], [//en.wikipedia.org/wiki/Help:Reverting Help:Reverting] but no word of what happens if a &#039;bot deletes a page. [[User:Carlb|Carlb]] ([[User talk:Carlb|talk]]) 23:48, 3 March 2012 (UTC)&lt;br /&gt;
:The way I do this is to modify the recent changes table in the database. Here, you can do a few different things:&lt;br /&gt;
:*Mark the individual edit as a bot edit. This will hide the edit, even if they weren&#039;t actually a bot. community who like you to be transparent)&lt;br /&gt;
:*Manually edit the summary to remove the spam link&lt;br /&gt;
:*Delete the whole RecentChanges entry for the spam (not recommended if your wiki has a large&lt;br /&gt;
:Personally, I run a script that marks ALL deletions and blocks as bot edits, because they&#039;re very frequent and not important (due to spam), so it&#039;s better to let users see just the real edits when they go to Recent Changes. They can still click &#039;show bots&#039; to include these edits.&lt;br /&gt;
:The SQL for this is:&lt;br /&gt;
:&amp;lt;syntaxhighlight lang=&#039;text&#039;&amp;gt;UPDATE recentchanges&lt;br /&gt;
SET `rc_bot` = 1&lt;br /&gt;
WHERE `rc_log_action` = &#039;delete&#039; OR `rc_log_action` = &#039;block&#039;;&amp;lt;/syntaxhighlight&amp;gt; [[User:Gboyers|Gboyers]] ([[User talk:Gboyers|talk]]) 00:37, 4 March 2012 (UTC)&lt;br /&gt;
::They are really good solution!&lt;br /&gt;
::Thank you all! [[User:Zoglun|Zoglun]] ([[User talk:Zoglun|talk]]) 01:34, 4 March 2012 (UTC)&lt;br /&gt;
:::You can alternatively set up [[manual:RevisionDelete]] in order to hide log entries from folks. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 19:02, 4 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Extention: to take chunks of text and add html tags ==&lt;br /&gt;
&lt;br /&gt;
What i want to do, is to take text, and add tags around it. Like i take a word &amp;quot;red&amp;quot; and color it &amp;lt;font color=&amp;quot;red&amp;quot;&amp;gt;red&amp;lt;/font&amp;gt;, without touching the wiki source that the user inputs. Without bypassing the caching schemes of mediawiki.&lt;br /&gt;
I was thinking to take the final raw html, and work from there. How do i do that? From an extension of course. [[User:Super Quantum immortal|Super Quantum immortal]] ([[User talk:Super Quantum immortal|talk]]) 18:22, 2 March 2012 (UTC)&lt;br /&gt;
:There&#039;s various [[manual:Hooks|Hooks]] you can use. Something like [[manual:hooks/OutputPageParserOutput|OutputPageParserOutput]] would bypass caching, [[manual:hooks/ParserAfterTidy|ParserAfterTidy]] would run before the page was cached, but after its totally turned into html. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 19:16, 4 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== How can I calculate my age using an [[Help:Extension:ParserFunctions|expression]]? (for my user page) ==&lt;br /&gt;
&lt;br /&gt;
Hi, My [http://en.wikipedia.org/wiki/User:3ICE user page] &amp;lt;sup&amp;gt;I tried to make this a proper interwiki link, but my en:User:3ICE attempt failed in the preview&amp;lt;/sup&amp;gt; states:&lt;br /&gt;
*I&#039;m 19.&lt;br /&gt;
But that is because I last edited it about 2 years ago.&lt;br /&gt;
&lt;br /&gt;
I would like to replace my age with a code snippet, to avoid making a new edit every year just to update it. (I do not wish to remove my age from my user page.)&lt;br /&gt;
&lt;br /&gt;
How would I code &amp;lt;code&amp;gt;Convert to years ( Current date - My birthday )&amp;lt;/code&amp;gt; in MediaWiki&#039;s ParserFunctions Expr format? (Or some other programming language available on mediawiki) The help article did not cover subtracting dates, and googling around did not turn up anything I could use either. (I know, I probably didn&#039;t look hard enough.)&lt;br /&gt;
&lt;br /&gt;
I study programming, but this problem has me stumped. Please help, [[User:3ICE|3ICE]] ([[User talk:3ICE|talk]]) 21:05, 2 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
p.s.: The Show Preview button does not cause the Subject to be previewed, I can only see my message&#039;s body.&lt;br /&gt;
&lt;br /&gt;
p.p.s.: Some people made this page ridiculously wide, by posting URLs inside &amp;lt;nowiki&amp;gt;&amp;lt;pre/&amp;gt;&amp;lt;/nowiki&amp;gt; tags. [[User:3ICE|3ICE]] ([[User talk:3ICE|talk]]) 21:05, 2 March 2012 (UTC)&lt;br /&gt;
:http://en.wikipedia.org/wiki/Template:Age [[User:Subfader|Subfader]] ([[User talk:Subfader|talk]]) 22:18, 3 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== using urls in cite.php ==&lt;br /&gt;
&lt;br /&gt;
I have a very simple template [http://argumentrix.com/wiki/Template:Position here], which includes&amp;lt;nowiki&amp;gt;&amp;lt;ref&amp;gt; tags &amp;lt;/nowiki&amp;gt;but the footnotes don&#039;t work. See [http://argumentrix.com/wiki/People_possess_a_state_of_sin_that_originates_from_the_fall_of_Adam_and_Eve here] for it in action. Is it not possible to use footnotes in a template? [[User:Modrobene|Modrobene]] ([[User talk:Modrobene|talk]]) 08:42, 3 March 2012 (UTC)&lt;br /&gt;
:I&#039;m not sure why that isn&#039;t working. Are you using up to date mediawiki/Cite extension.&lt;br /&gt;
:As a work around try doing instead:&lt;br /&gt;
:&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#tag:ref|[{{{Url}}} {{{Source}}}]}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 19:05, 4 March 2012 (UTC)&lt;br /&gt;
::I&#039;m fairly certain it&#039;s up-to-date - is there a way to check?  It&#039;s not given at [http://argumentrix.com/wiki/Special:Version Special:Version] or in the /extensions directory. I would just reinstall to be sure but I have a broken wrist and I&#039;m trying to avoid stressing my one good hand. I&#039;ll try when I get the cast off, your workaround is perfect for now. Thanks! [[User:Modrobene|Modrobene]] ([[User talk:Modrobene|talk]]) 01:51, 6 March 2012 (UTC)&lt;br /&gt;
:::I just double checked with the latest version, and it shows your issue, so it isn&#039;t a your-cite-is-out-of-date-issue, but actually a the-cite-extension-is-kind-of-broken issue.&lt;br /&gt;
:::The core issue is that the cite extension does not pass the frame to recursiveTagParse, so template parameters are not expanded. Hence I guess you&#039;ll have to stick with the work around I gave you. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 02:52, 6 March 2012 (UTC)&lt;br /&gt;
::::Filed as [[bugzilla:34999]] (/me too lazy to fix... ) [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 03:30, 6 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== create hook extension form submission ==&lt;br /&gt;
&lt;br /&gt;
I would like to create a popup box with a form to fill out when one edits a page. However, if I create it as a hook I have to return true; and I can&#039;t have a php form submitted as well. I can&#039;t figure out how to submit a form with a hook. Any help would be great. Thanks [[User:Lucy Tech|LTech]] ([[User talk:Lucy Tech|talk]]) 18:35, 3 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== The subversion extensions trunk is locked or something ==&lt;br /&gt;
&lt;br /&gt;
Subversion encountered an error: &lt;br /&gt;
 svn: Working copy &#039;/mnt/upload6/private/ExtensionDistributor/mw-snapshot/trunk/extensions&#039; locked&lt;br /&gt;
 svn: run &#039;svn cleanup&#039; to remove locks (type &#039;svn help cleanup&#039; for details)&lt;br /&gt;
&lt;br /&gt;
It has been over 24 hours {{smiley|2}} [[User:Schalice|Schalice]] ([[User talk:Schalice|talk]]) 20:36, 3 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== calling functions in a hook extension ==&lt;br /&gt;
&lt;br /&gt;
I&#039;m trying to write a hook extension. &lt;br /&gt;
I have .php file which has:&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// Load this php code. &lt;br /&gt;
$wgAutoloadClasses[&#039;AddImages&#039;] = $dir . &#039;AddImages.body.php&#039;;&lt;br /&gt;
//Hooks&lt;br /&gt;
$wgHooks[&#039;EditPage::showEditForm:fields&#039;][] = &#039;AddImages::fnAddImages&#039;;&lt;br /&gt;
&lt;br /&gt;
Then in AddImages.body.php I have the class and functions&lt;br /&gt;
Class AddImages{&lt;br /&gt;
        function form(){&lt;br /&gt;
//some php code&lt;br /&gt;
}&lt;br /&gt;
	function fnAddImages(){&lt;br /&gt;
	global $wgOut, $wgHooks, $wgUser;&lt;br /&gt;
// some code    $call form = form(); &lt;br /&gt;
$wgOut -&amp;gt; $call form;     &lt;br /&gt;
return true; &lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
My issue is I need to call another function eg form() within fnAddImages() but when I try to I get the message: &lt;br /&gt;
Fatal error: Call to undefined function form();&lt;br /&gt;
&lt;br /&gt;
How to I call other functions in the class besides for the &#039;hooked&#039; function? Am I missing something about understanding hooks?&lt;br /&gt;
I need to output other data (form submission) besides for just returning true on the hooked function. I thought I would do this by calling other functions within the hook. Is there a better way to do this? &lt;br /&gt;
Thanks, I&#039;m really stuck on this. [[User:Lucy Tech|LTech]] ([[User talk:Lucy Tech|talk]]) 07:38, 4 March 2012 (UTC)&lt;br /&gt;
:You should be able to do &amp;lt;code&amp;gt;self::form()&amp;lt;/code&amp;gt; to call another function from the same class as your hook (statically anyways. To call non-statically use &amp;lt;code&amp;gt;$this-&amp;gt;form()&amp;lt;/code&amp;gt;. In your example you have the hook function being registered to be called statically, but the actual function not being declared as static). See http://www.php.net/manual/en/language.oop5.basic.php for more information. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 18:58, 4 March 2012 (UTC)&lt;br /&gt;
:While at it, you may want to rename the class to &amp;lt;code&amp;gt;AddImagesHooks&amp;lt;/code&amp;gt; and make sure that the statically called functions actually are static:&lt;br /&gt;
:&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
// Load this php code. &lt;br /&gt;
$wgAutoloadClasses[&#039;AddImagesHooks&#039;] = $dir . &#039;AddImages.hooks.php&#039;;&lt;br /&gt;
//Hooks&lt;br /&gt;
$wgHooks[&#039;EditPage::showEditForm:fields&#039;][] = &#039;AddImagesHooks::doAdd&#039;;&lt;br /&gt;
 &lt;br /&gt;
# AddImages.hooks.php:&lt;br /&gt;
Class AddImagesHooks {&lt;br /&gt;
    public static function getFormHtml() {&lt;br /&gt;
        // some php code&lt;br /&gt;
    }&lt;br /&gt;
    public static function doAdd() {&lt;br /&gt;
        global $wgOut, $wgHooks, $wgUser;&lt;br /&gt;
        // some code&lt;br /&gt;
        $form = self::getFormHtml(); &lt;br /&gt;
        $wgOut-&amp;gt;addHtml($form); &lt;br /&gt;
        return true; &lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt; [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 00:19, 5 March 2012 (UTC)&lt;br /&gt;
::Thank you so much, it works now. [[User:Lucy Tech|Tech ]] ([[User talk:Lucy Tech|talk]]) 07:10, 5 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== filter recent changes ==&lt;br /&gt;
&lt;br /&gt;
Is it possible to filter &amp;quot;recent changes&amp;quot;?&lt;br /&gt;
&lt;br /&gt;
For instance, &lt;br /&gt;
* &amp;quot;I only want to see changes to pages beginning with &#039;A&#039;&amp;quot;&lt;br /&gt;
* &amp;quot;I only want to see changes to pages belonging to the American Civil War portal&amp;quot;&lt;br /&gt;
* &amp;quot;I only want to see changes to pages from the XYZ category&amp;quot;&lt;br /&gt;
&lt;br /&gt;
(My question applies to any wiki site, such as Wikipedia or editthis.info)&lt;br /&gt;
&lt;br /&gt;
I browsed Wikipedia&#039;s help on this, including the linked MediaWiki page, but no luck. Thanks [[Special:Contributions/213.112.128.96|213.112.128.96]] 08:21, 4 March 2012 (UTC)&lt;br /&gt;
:Sort of... See [[special:recentchangeslinked]]. It can definitely do the third option, and possibly the second option depending on how you define things belonging to a portal. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 18:53, 4 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Wiki family ==&lt;br /&gt;
&lt;br /&gt;
Hello!&lt;br /&gt;
&lt;br /&gt;
I want to have some wikis in different languages, sharing the same media-files in another, single wiki. When all wikis are on one server all works. I use such code for language-wikis:&lt;br /&gt;
&lt;br /&gt;
 $wgUploadNavigationUrl = &amp;quot;http://commons.mydomen.org/index.php/Special:Upload&amp;quot;;&lt;br /&gt;
 $wgUseSharedUploads = true;&lt;br /&gt;
 $wgSharedUploadPath = &#039;http://commons.mydomen.org/images&#039;;&lt;br /&gt;
 $wgSharedUploadDirectory = &#039;/volume1/web/commons/images/&#039;;&lt;br /&gt;
 $wgHashedSharedUploadDirectory = true;&lt;br /&gt;
 &lt;br /&gt;
And everything works like with commons.wikimedia.org. But when language-wikis are on different server and have own IP, this code doesn&#039;t work. I undestand that problem is in $wgSharedUploadDirectory. But how to overcome this? Thanks for any help! [[User:ZelChief|ZelChief]] ([[User talk:ZelChief|talk]]) 10:33, 4 March 2012 (UTC)&lt;br /&gt;
:Have a look at [[manual:$wgForeignFileRepos]]. If you want to use ForeignDBRepo/ForeignDBRepoViaLB (the most efficient option) you still need to have the upload directory locally accessible from each server. You can do something like nfs for that. (ForeignAPIRepo doesn&#039;t have that requirement, but is inefficient) [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 18:51, 4 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Search problem ==&lt;br /&gt;
&lt;br /&gt;
MediaWiki	1.18.1&lt;br /&gt;
PHP	5.2.17 (apache2handler)&lt;br /&gt;
SQLite	3.3.7undefined&lt;br /&gt;
&lt;br /&gt;
How can I enable fulltext search? [[User:Tree1891|Tree1891]] ([[User talk:Tree1891|talk]]) 11:00, 4 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Problem with {{languages}} ==&lt;br /&gt;
&lt;br /&gt;
Hi!&lt;br /&gt;
I want to add multilanguage articles, but when I add &amp;lt;nowiki&amp;gt;{{Languages}}&amp;lt;/nowiki&amp;gt; to my article, it appears as &amp;quot;Template:Languages&amp;quot; instead of available languages... How to fix it? [[Special:Contributions/79.186.81.132|79.186.81.132]] ([[User talk:79.186.81.132|talk]]) 18:44, 4 March 2012 (UTC)&lt;br /&gt;
:Can you help me? [[Special:Contributions/79.186.75.47|79.186.75.47]] 20:30, 4 March 2012 (UTC)&lt;br /&gt;
:Sounds like you don&#039;t have a Languages template. Templates have to exist before they can be used. You can create Template:Languages yourself or import one from a wiki that has it. [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 23:56, 4 March 2012 (UTC)&lt;br /&gt;
::Where can I import one? I really like this from mediawiki.org (here). [[Special:Contributions/79.186.75.47|79.186.75.47]] 17:02, 5 March 2012 (UTC)&lt;br /&gt;
:::You can use [[special:Export]] here (make sure to check the include templates button). Then use [[special:import]] on your own wiki.&lt;br /&gt;
:::You may also need to have the [[extension:ParserFunctions|ParserFunctions]] extension installed for most templates here to work. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 19:57, 5 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Mediawiki Templates ==&lt;br /&gt;
&lt;br /&gt;
I created a new wiki over the weekend but HATE the template I chose!!&lt;br /&gt;
Is there ANY way to change the template to something more simple ... like the template used here at mediawiki.org ... or at Wikipedia?&lt;br /&gt;
Both of the mentioned sites are &amp;quot;cleaner&amp;quot; and simpler ... &lt;br /&gt;
&lt;br /&gt;
My wiki is at:  &lt;br /&gt;
http://raogk.wikia.com/wiki/Random_Acts_of_Genealogical_Kindness_Wiki&lt;br /&gt;
&lt;br /&gt;
Also ... I created the wiki with the same logon I use here ... is there any way to transfer &amp;quot;ownership&amp;quot; to another username so that I can receive all RAOGK emails at raogk_mcowan@yahoo.com vs. being indundated at my mcowan@erols.com email??&lt;br /&gt;
&lt;br /&gt;
Could you also look at the questions I put on the talk page at the above wiki ... and reply to me at raogk_mcowan@yahoo.com&lt;br /&gt;
&lt;br /&gt;
Is there any way to suppress the &amp;quot;Latest Activity&amp;quot; panel that persists on my wiki pages? [[User:Cowantex|Cowantex]] ([[User talk:Cowantex|talk]]) 22:26, 4 March 2012 (UTC)&lt;br /&gt;
:You should really ask at wikia&#039;s help. This place is more for generic mediawiki questions (aka if you were hosting the site yourself I&#039;d be able to tell you that you have to change [[manual:$wgDefaultSkin|$wgDefaultSkin]] in LocalSettings.php - but the procedure is different for a wikia wiki).&lt;br /&gt;
:As for email. Generally you can change your email in the page [[special:Preferences]] page on the relavent wiki. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 20:30, 5 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== passing values in editform hook ==&lt;br /&gt;
&lt;br /&gt;
I&#039;ve created a hook extension so when you edit a page there is a button &#039;add images&#039; and a popup with a form comes up. &lt;br /&gt;
$wgHooks[&#039;EditPage::showEditForm:fields&#039;][] = &#039;AddImagesHooks::fnAddImages&#039;;&lt;br /&gt;
&lt;br /&gt;
There are radio buttons &#039;upload image&#039; or &#039;choose from existing&#039;. However when I submit the form and look at the source code it only works for the id=editform and I can&#039;t pass any information though the form. It seems the hook &#039;editform&#039; is overriding my form actions and method. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;form id=&amp;quot;editform&amp;quot; name=&amp;quot;editform&amp;quot; method=&amp;quot;post&amp;quot; action=&amp;quot;index.php?title=I_want_a_new_page&amp;amp;amp;amp;action=submit&amp;quot; enctype=&amp;quot;multipart/form-data&amp;quot;&amp;gt;&amp;lt;form id=&amp;quot;popup&amp;quot; action=&amp;quot;index.php?title=I_want_a_new_page&amp;quot; method=&amp;quot;get&amp;quot;&amp;gt;&amp;lt;input name=&amp;quot;addimage&amp;quot; type=&amp;quot;radio&amp;quot; value=&amp;quot;hello&amp;quot; /&amp;gt;Choose from Exisiting&amp;lt;br /&amp;gt;&amp;lt;input name=&amp;quot;addimage&amp;quot; type=&amp;quot;radio&amp;quot; value=&amp;quot;go&amp;quot; /&amp;gt;Upload Image&amp;lt;br /&amp;gt;&amp;lt;/form&amp;gt;&amp;lt;button id=&amp;quot;addImage&amp;quot;&amp;gt;Add Image&amp;lt;/button&amp;gt;&lt;br /&gt;
How do I pass my values, overriding the &#039;editform&#039; action? &lt;br /&gt;
Also I get the message &#039;Remember that this is only a preview. Your changes have not yet been saved!&#039;&lt;br /&gt;
and &#039;Warning: This page was deleted after you started editing!&#039; and everything is deleted. &lt;br /&gt;
What is going on? Thanks [[User:Lucy Tech|LTech]] ([[User talk:Lucy Tech|talk]]) 07:55, 5 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== from action = submit to same page ==&lt;br /&gt;
&lt;br /&gt;
I am creating an XML from to submit in an extension. &lt;br /&gt;
I want to set action  as &#039;action&#039; =&amp;gt; self::getTitle()-&amp;gt;getLocalURL( &#039;action=submit&#039; ),&lt;br /&gt;
but I get the error: Call to undefined method className::getTitle() &lt;br /&gt;
How do I submit to the same page? [[User:Lucy Tech|LTech]] ([[User talk:Lucy Tech|talk]]) 08:17, 5 March 2012 (UTC)&lt;br /&gt;
:You can&#039;t call getTitle statically. Try $this-&amp;gt;getTitle() instead of self::getTitle(). [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 14:42, 5 March 2012 (UTC)&lt;br /&gt;
:This would depend on the context of where this code is running. If its from a hook, it is very unlikely self::getTitle() (or $this-&amp;gt;getTitle() for that matter) is the right thing to do in order to get the title. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 20:03, 5 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== SMW Result Formats Timeline: Data range &amp;lt; 1900 doesn&#039;t appear ==&lt;br /&gt;
&lt;br /&gt;
Hello, &amp;lt;br /&amp;gt;&lt;br /&gt;
I already have posted this query on the SMW Result Formats talk page, but it might be related to the general Mediawiki code - therefore here we go:&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I recently have installed the latest revision of Mediawiki (1.18.1) and created my own wiki. I also installed the lates version of SMW (1.7.0.2) and Semantic Result Formats (1.7.0) in order to create a timeline with historic data from the village where I live. It all works perfectly well - except the fact that all dates prior to 1900 are not displayed in the timeline. In the documentation of the SMW Extension it says that dates back to the beginning of time are supported. However, somewhere inside the Mediawiki forums I read a hint that Mediawiki might only support dates back to approx. 1900 and not further back. Is this true and is there any workaround? I actually can&#039;t believe that there isn&#039;t one... Furthermore, I&#039;ve seen other Mediawiki timeline extensions like EasyTimeline that show up historic data back to stoneages, therefore it&#039;s hard to believe that the reason for this behavour is Mediawiki. &amp;lt;br /&amp;gt;&lt;br /&gt;
URL of my page is: http://hvg-wiki.heimatverein-gymnich.de/index.php/Zeitleiste.&amp;lt;br /&amp;gt;&lt;br /&gt;
Versions:&amp;lt;br /&amp;gt;&lt;br /&gt;
PHP: 5.2.12-nmm2 (apache2handler)&amp;lt;br /&amp;gt;&lt;br /&gt;
MySQL: 5.1.43-nmm4-log&amp;lt;br /&amp;gt;&lt;br /&gt;
Could anybody please give me a hint? &amp;lt;br /&amp;gt;&lt;br /&gt;
Many thanks!&amp;lt;br /&amp;gt; [[User:Sochin67|Sochin67]] ([[User talk:Sochin67|talk]]) 09:22, 5 March 2012 (UTC)&lt;br /&gt;
:Depending on how SMW is programmed, there may be issues with dates before Fri, 13 Dec 1901 20:45:54 UTC when using 32 bit php. (Some of MW&#039;s core date functions have issues [mostly because php has issues], so it depends on if SMW uses them or not).&lt;br /&gt;
:p.s. These issues are not present if using 64-bit php. The issue is basically the reverse [//en.wikipedia.org/wiki/Year_2038_problem w:Year_2038_problem] [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 20:24, 5 March 2012 (UTC)&lt;br /&gt;
::Dear Bawolff,&amp;lt;br /&amp;gt;&lt;br /&gt;
::many thanks for your note, at  least it&#039;s a first indication! That date you&#039;re mentioning in your post does correlate to the date where the issue appears in my timeline.&lt;br /&gt;
::&amp;lt;br /&amp;gt;&lt;br /&gt;
::However, I spoke to my web hoster and he confirmed that their environment is running on 64 Bit. When checking the phpinfo I saw that the System is a 64 Bit one (Linux dd6904 2.6.32-38-server #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012 x86_64), but is this what you mean? Or did you mean that the php installation as such needs to be a 64 Bit version? The PHP API listed in phpinfo is &amp;quot;20041225&amp;quot; and PHP Extension is &amp;quot;20060613&amp;quot;.&amp;lt;br /&amp;gt;&lt;br /&gt;
::Many thanks for another hint =;-)&amp;lt;br /&amp;gt;&lt;br /&gt;
::Cheers!&amp;lt;br /&amp;gt; [[User:Sochin67|Sochin67]] ([[User talk:Sochin67|talk]]) 09:24, 6 March 2012 (UTC)&lt;br /&gt;
:::I believe both the OS and the php version would have to both be 64 bit, but it would be very odd to run 32 bit php on a 64bit host, so if the host is 64bit, there is a very good chance that the php version is 64 bit.&lt;br /&gt;
:::However, I&#039;m at a loss as to how this could happen on a 64bit host... [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 15:01, 6 March 2012 (UTC)&lt;br /&gt;
::::Too bad - but many thanks anyway!!! [[User:Sochin67|Sochin67]] ([[User talk:Sochin67|talk]]) 20:29, 6 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== uploaded image are not getting saved to page ==&lt;br /&gt;
&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
I am new to wiki. I have uploaded image but when I add it to page and click on &#039;show preview&#039; it shows it.&lt;br /&gt;
&lt;br /&gt;
but once clicked on &#039;save page&#039;, image will not be displayed.&lt;br /&gt;
&lt;br /&gt;
I have tried adding image to page as &amp;lt;span class=&amp;quot;mw-default-size&amp;quot;&amp;gt;[[File:filename.jpg|350x350px]]&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I am using &lt;br /&gt;
mediawiki 1.17&lt;br /&gt;
Php 5.2+&lt;br /&gt;
Mysql 5.1+&lt;br /&gt;
&lt;br /&gt;
Thanks in advance! [[Special:Contributions/203.201.62.202|203.201.62.202]] ([[User talk:203.201.62.202|talk]]) 14:18, 5 March 2012 (UTC)&lt;br /&gt;
:It&#039;d be helpful to have a link to your wiki. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 20:04, 5 March 2012 (UTC)&lt;br /&gt;
::hey , my link is on local LAN , it is not public yet. [[Special:Contributions/122.181.146.157|122.181.146.157]] 10:46, 6 March 2012 (UTC)&lt;br /&gt;
:::issue fixed!&lt;br /&gt;
:::just removed this line and deleted existing images and re uploaded.&lt;br /&gt;
:::$wgUploadDirectory  = true;&lt;br /&gt;
:::It worked like a charm! [[Special:Contributions/122.181.146.157|122.181.146.157]] 11:55, 6 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Cannot seem to secure my wiki from unauthorized account creations, edits, etc. ==&lt;br /&gt;
&lt;br /&gt;
MediaWiki 	1.15.2&lt;br /&gt;
PHP 	5.3.5 (apache2handler)&lt;br /&gt;
MySQL 	5.1.54-log&lt;br /&gt;
&lt;br /&gt;
I have a Mediawiki installation at Climatewiki.org. Over the past several months, we&#039;ve had many occasions of unwanted spam entries, even edits to existing pages. After each episode, I would discover the LocalSettings.php had been modified back to less-secure settings. I&#039;d replace it with my more-secure version and things would be fine again for awhile.&lt;br /&gt;
&lt;br /&gt;
This episode is different. I&#039;ve pasted my LocalSettings.php below. But it hasn&#039;t made a difference -- account creation is still being permitted, even though I&#039;m fairly sure it shouldn&#039;t be. I&#039;m wondering now if someone who knows more about this stuff than I do has somehow over-ridden the localsettings.php. How would they do that?&lt;br /&gt;
&lt;br /&gt;
Any help would be appreciated. LocalSettings.php currently is (I&#039;ve replaced with xxxxx passwords and other information I&#039;d rather not share); relevant settings at the bottom of the file:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
# This file was automatically generated by the MediaWiki installer.&lt;br /&gt;
# If you make manual changes, please keep track in case you need to&lt;br /&gt;
# recreate them later.&lt;br /&gt;
#&lt;br /&gt;
# See includes/DefaultSettings.php for all configurable settings&lt;br /&gt;
# and their default values, but don&#039;t forget to make changes in _this_&lt;br /&gt;
# file, not there.&lt;br /&gt;
&lt;br /&gt;
# If you customize your file layout, set $IP to the directory that contains&lt;br /&gt;
# the other MediaWiki files. It will be used as a base to locate files.&lt;br /&gt;
if( defined( &#039;MW_INSTALL_PATH&#039; ) ) {&lt;br /&gt;
	$IP = MW_INSTALL_PATH;&lt;br /&gt;
} else {&lt;br /&gt;
	$IP = dirname( __FILE__ );&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
$path = array( $IP, &amp;quot;$IP/includes&amp;quot;, &amp;quot;$IP/languages&amp;quot; );&lt;br /&gt;
set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );&lt;br /&gt;
&lt;br /&gt;
require_once( &amp;quot;$IP/includes/DefaultSettings.php&amp;quot; );&lt;br /&gt;
&lt;br /&gt;
# If PHP&#039;s memory limit is very low, some operations may fail.&lt;br /&gt;
# ini_set( &#039;memory_limit&#039;, &#039;20M&#039; );&lt;br /&gt;
&lt;br /&gt;
if ( $wgCommandLineMode ) {&lt;br /&gt;
	if ( isset( $_SERVER ) &amp;amp;&amp;amp; array_key_exists( &#039;REQUEST_METHOD&#039;, $_SERVER ) ) {&lt;br /&gt;
		die( &amp;quot;This script must be run from the command line\n&amp;quot; );&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
## Uncomment this to disable output compression&lt;br /&gt;
# $wgDisableOutputCompression = true;&lt;br /&gt;
&lt;br /&gt;
$wgSitename         = &amp;quot;ClimateWiki&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
## The URL base path to the directory containing the wiki;&lt;br /&gt;
## defaults for all runtime URL paths are based off of this.&lt;br /&gt;
$wgScriptPath       = &#039;.&#039; == &#039;.&#039; ? &#039;&#039; : &amp;quot;/.&amp;quot;;&lt;br /&gt;
$wgScriptExtension  = &amp;quot;.php&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
## For more information on customizing the URLs please see:&lt;br /&gt;
## http://www.mediawiki.org/wiki/Manual:Short_URL&lt;br /&gt;
&lt;br /&gt;
$wgEnableEmail      = true;&lt;br /&gt;
$wgEnableUserEmail  = true;&lt;br /&gt;
&lt;br /&gt;
$wgEmergencyContact = &amp;quot;xxxxxxxxxx&amp;quot;;&lt;br /&gt;
$wgPasswordSender = &amp;quot;xxxxxxxxxx&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
## For a detailed description of the following switches see&lt;br /&gt;
## http://www.mediawiki.org/wiki/Extension:Email_notification &lt;br /&gt;
## and http://www.mediawiki.org/wiki/Extension:Email_notification&lt;br /&gt;
## There are many more options for fine tuning available see&lt;br /&gt;
## /includes/DefaultSettings.php&lt;br /&gt;
## UPO means: this is also a user preference option&lt;br /&gt;
$wgEnotifUserTalk = true; # UPO&lt;br /&gt;
$wgEnotifWatchlist = true; # UPO&lt;br /&gt;
$wgEmailAuthentication = true;&lt;br /&gt;
&lt;br /&gt;
$wgDBtype           = &amp;quot;mysql&amp;quot;;&lt;br /&gt;
$wgDBserver         = &amp;quot;localhost&amp;quot;;&lt;br /&gt;
$wgDBname           = &amp;quot;xxxxxxxx&amp;quot;;&lt;br /&gt;
$wgDBuser           = &amp;quot;xxxxxxxx&amp;quot;;&lt;br /&gt;
$wgDBpassword       = &amp;quot;xxxxxxxx&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# MySQL specific settings&lt;br /&gt;
$wgDBprefix         = &amp;quot;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# MySQL table options to use during installation or update&lt;br /&gt;
$wgDBTableOptions   = &amp;quot;TYPE=InnoDB&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# Experimental charset support for MySQL 4.1/5.0.&lt;br /&gt;
$wgDBmysql5 = false;&lt;br /&gt;
&lt;br /&gt;
# Postgres specific settings&lt;br /&gt;
$wgDBport           = &amp;quot;5432&amp;quot;;&lt;br /&gt;
$wgDBmwschema       = &amp;quot;mediawiki&amp;quot;;&lt;br /&gt;
$wgDBts2schema      = &amp;quot;public&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
## Shared memory settings&lt;br /&gt;
$wgMainCacheType = CACHE_ACCEL;&lt;br /&gt;
$wgMemCachedServers = array();&lt;br /&gt;
&lt;br /&gt;
## To enable image uploads, make sure the &#039;images&#039; directory&lt;br /&gt;
## is writable, then set this to true:&lt;br /&gt;
$wgEnableUploads       = true;&lt;br /&gt;
# $wgUseImageMagick = true;&lt;br /&gt;
# $wgImageMagickConvertCommand = &amp;quot;/usr/bin/convert&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
## If you want to use image uploads under safe mode,&lt;br /&gt;
## create the directories images/archive, images/thumb and&lt;br /&gt;
## images/temp, and make them all writable. Then uncomment&lt;br /&gt;
## this, if it&#039;s not already uncommented:&lt;br /&gt;
# $wgHashedUploadDirectory = false;&lt;br /&gt;
&lt;br /&gt;
## If you have the appropriate support software installed&lt;br /&gt;
## you can enable inline LaTeX equations:&lt;br /&gt;
$wgUseTeX           = false;&lt;br /&gt;
&lt;br /&gt;
$wgLocalInterwiki   = $wgSitename;&lt;br /&gt;
&lt;br /&gt;
$wgLanguageCode = &amp;quot;en&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
$wgProxyKey = &amp;quot;xxxxxxxxxx&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
## Default skin: you can change the default skin. Use the internal symbolic&lt;br /&gt;
## names, ie &#039;standard&#039;, &#039;nostalgia&#039;, &#039;cologneblue&#039;, &#039;monobook&#039;:&lt;br /&gt;
$wgDefaultSkin = &#039;monobook&#039;;&lt;br /&gt;
&lt;br /&gt;
## For attaching licensing metadata to pages, and displaying an&lt;br /&gt;
## appropriate copyright notice / icon. GNU Free Documentation&lt;br /&gt;
## License and Creative Commons licenses are supported so far.&lt;br /&gt;
# $wgEnableCreativeCommonsRdf = true;&lt;br /&gt;
$wgRightsPage = &amp;quot;&amp;quot;; # Set to the title of a wiki page that describes your license/copyright&lt;br /&gt;
$wgRightsUrl = &amp;quot;&amp;quot;;&lt;br /&gt;
$wgRightsText = &amp;quot;&amp;quot;;&lt;br /&gt;
$wgRightsIcon = &amp;quot;&amp;quot;;&lt;br /&gt;
# $wgRightsCode = &amp;quot;&amp;quot;; # Not yet used&lt;br /&gt;
&lt;br /&gt;
$wgDiff3 = &amp;quot;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# When you make changes to this configuration file, this will make&lt;br /&gt;
# sure that cached pages are cleared.&lt;br /&gt;
$wgCacheEpoch = max( $wgCacheEpoch, gmdate( &#039;YmdHis&#039;, @filemtime( __FILE__ ) ) );&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$wgLogo             = &amp;quot;/skins/monobook/climatewiki-logo.png&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
# Prevent new user registrations except by sysops&lt;br /&gt;
$wgGroupPermissions[&#039;*&#039;][&#039;createaccount&#039;] = false;&lt;br /&gt;
&lt;br /&gt;
$wgGroupPermissions[&#039;*&#039;][&#039;edit&#039;] = false;&lt;br /&gt;
&lt;br /&gt;
# Anonymous users can&#039;t create pages or talk&lt;br /&gt;
$wgGroupPermissions[&#039;*&#039;][&#039;createpage&#039;] = false;&lt;br /&gt;
$wgGroupPermissions[&#039;*&#039;][&#039;createtalk&#039;] = false;&lt;br /&gt;
&lt;br /&gt;
require_once( &amp;quot;$IP/extensions/googleAnalytics/googleAnalytics.php&amp;quot; );&lt;br /&gt;
&amp;lt;/source&amp;gt; [[User:Dbast|Dbast]] ([[User talk:Dbast|talk]]) 14:43, 5 March 2012 (UTC)&lt;br /&gt;
:&amp;quot;After each episode, I would discover the LocalSettings.php had been modified back to less-secure settings.&amp;quot; Let&#039;s talk about this first. Was it modified by someone authorized to do so, or have you been hacked? If it&#039;s the latter, further modifications to LocalSettings.php are unlikely to be of any help whatsoever. Sorry. [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 14:58, 5 March 2012 (UTC)&lt;br /&gt;
::I definitely agree the question of who has been modifying these settings is the important one! Of five authorized users, only one besides me would have a clue as to how to do this. Hacking would seem to be a possibility, which I guess means the security issues run deeper than I feared. Thanks ... I think! [[User:Dbast|Dbast]] ([[User talk:Dbast|talk]]) 15:08, 5 March 2012 (UTC)&lt;br /&gt;
:::Well, if you have five people who &#039;&#039;could&#039;&#039; have done it, you could try asking them. If they all say they haven&#039;t done it, then definitely look into improving your security. [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 15:45, 5 March 2012 (UTC)&lt;br /&gt;
::::&amp;quot;Try asking them&amp;quot; -- why didn&#039;t I think of that? Oh, I did, and they all didn&#039;t. There is work to be done, for sure. [[User:Dbast|Dbast]] ([[User talk:Dbast|talk]]) 16:32, 5 March 2012 (UTC)&lt;br /&gt;
:::::Try setting:&lt;br /&gt;
:::::&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgGroupPermissions[&#039;user&#039;][&#039;createaccount&#039;]=false;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
:::::Try securing your server/webhost, maybe try a better password. [[User:Jasper Deng|Jasper Deng]] ([[User talk:Jasper Deng|talk]]) 03:57, 8 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Mediawiki not working properly when installed under proxied zone ==&lt;br /&gt;
&lt;br /&gt;
Our MediaWiki is set up on a zone that is sitting behind a proxy:   &amp;quot;https://domainname.com/wiki&amp;quot;&lt;br /&gt;
It is installed under /etc/opt/csw/apache2/share/htdocs/mediawiki/.&lt;br /&gt;
&lt;br /&gt;
For some reason, it has problems with the path (&amp;quot;https://domainname.com/wiki/mediawiki&amp;quot;).  We have tried combinations of the following paths in LocalSettings.php, but nothing is working.&lt;br /&gt;
&lt;br /&gt;
$wgScriptPath = &amp;quot;/mediawiki&amp;quot;   or   &amp;quot;/wiki/mediawiki&amp;quot;&lt;br /&gt;
$wgServer = &amp;quot;http://zonename&amp;quot;   or   &amp;quot;https://domainname.com/wiki&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Any advises or suggestions?  Thanks for your help.&lt;br /&gt;
&lt;br /&gt;
MediaWiki 1.18.1&lt;br /&gt;
PHP Version 5.3.10&lt;br /&gt;
MySql Ver 8.41 Distrib 5.0.95, for sun-solaris2.9 on sparc [[User:Sierrawiki|Sierrawiki]] ([[User talk:Sierrawiki|talk]]) 20:32, 5 March 2012 (UTC)&lt;br /&gt;
:$wgServer should definitely have only the protocol and the host. It should not have any of the path (aka not the /wiki ), and it should contain the server name as the outside world sees it. $wgScriptPath needs to point actually to the directory containing the file index.php for your wiki.&lt;br /&gt;
:If /etc/opt/csw/apache2/share/htdocs corresponds for the outside world to something like http://domainname.com/ and your wikis php files (index.php, load.php etc) are in the directory /etc/opt/csw/apache2/share/htdocs/mediawiki then your config would probably look like:&lt;br /&gt;
:&amp;lt;syntaxhighlight lang=&#039;text&#039;&amp;gt;$wgScriptPath = &#039;/mediawiki&#039;;&lt;br /&gt;
$wgServer = &#039;http://domainname.com&#039;;&lt;br /&gt;
// if you wanted both http and https to work, you might try $wgServer = &#039;//domainname.com&#039;; . If using squid caching, that might require some additional set up to make it purge things correctly for both http and https.&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:I can&#039;t really make suggestions any more specific then that without knowing fully how your wiki is configured. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 20:47, 5 March 2012 (UTC)&lt;br /&gt;
::Thanks for your help Bawolff.&lt;br /&gt;
::#uname -a&lt;br /&gt;
::SunOS wiki-zone 5.10 Generic_147440-09 sun4u sparc SUNW,SPARC-Enterprise&lt;br /&gt;
::We have created a Solaris zone called &#039;wiki-zone&#039; and configured the proxy so that the url for the zone is &#039;https://domainname.com/wiki/&#039;.  What we are trying to find out is if this type of setup is allowed and if so, what the workaround is.&lt;br /&gt;
::As I mentioned in my original post, we have tried different combinations of:&lt;br /&gt;
::$wgScriptPath = &amp;quot;/mediawiki&amp;quot; or &amp;quot;/wiki/mediawiki&amp;quot;&lt;br /&gt;
::$wgServer = &amp;quot;http://wiki-zone&amp;quot; or &amp;quot;https://domainname.com/wiki&amp;quot;&lt;br /&gt;
::Please let me know if you need any other information.  Thanks. [[User:Sierrawiki|Sierrawiki]] ([[User talk:Sierrawiki|talk]]) 22:41, 5 March 2012 (UTC)&lt;br /&gt;
:::Well basically those configuration variables need to be set in such a way that the following would give an edit page url &amp;lt;code&amp;gt;$wgServer . $wgScriptPath . &#039;/index.php?title=Some_Page&amp;amp;action=edit&#039;&amp;lt;/code&amp;gt; that would, if you directly typed it into your web browser, actually go to the edit page. (That&#039;s a bit of a white lie, the construction of such urls is actually a bit more complicated, but that&#039;s the basic version of how those variables work)&lt;br /&gt;
:::Note, all these variables are for how the web browser sees the url (and not how the web server sees the url), so even if https://domainname.com/wiki maps to some sort of virtual server, as far as the web browser is concerned, the actual server is https://domainname.com and the /wiki part is part of the $wgScriptPath.&lt;br /&gt;
:::(MediaWiki has other variables for internal server names - [[manual:$wgInternalServer]] - but its unlikely you would need those unless you have a caching web proxy in front of your web server you need to purge cached pages out of) [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 23:25, 5 March 2012 (UTC)&lt;br /&gt;
::::Thanks again.&lt;br /&gt;
::::This is the version of Apache we are currently running on the host:&lt;br /&gt;
::::Server version: Apache/2.2.21 (Unix)&lt;br /&gt;
::::Server built:   Jan 13 2012 04:40:42&lt;br /&gt;
::::And this is how the proxy is set up:&lt;br /&gt;
::::&amp;lt;Location /wiki/ &amp;gt;&lt;br /&gt;
::::&amp;lt;code&amp;gt; ProxyPass http://wiki-zone:80/&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;code&amp;gt; ProxyPassReverse http://wiki-zone:80/&amp;lt;/code&amp;gt;&lt;br /&gt;
::::&amp;lt;/Location&amp;gt;&lt;br /&gt;
::::With $wgScripPath = &amp;quot;/wiki/mediawiki&amp;quot; and $wgserver = &amp;quot;http://wiki-zone&amp;quot;, the main wiki page looks fine, but it&#039;s not the case for subsequent pages including the login page.  The login page would not come up at all.&lt;br /&gt;
::::Main Page:  https://domainname.com/wiki/mediawiki/index.php&lt;br /&gt;
::::Login Page: https://domainname.com/wiki/mediawiki/index.php/Special:UserLogin&lt;br /&gt;
::::Is this because of the /wiki in the url or /Special:UserLogin at the end of the link?  I&#039;m just trying to see if anyone has done this type of installation and what the workaround is. [[User:Sierrawiki|Sierrawiki]] ([[User talk:Sierrawiki|talk]]) 19:23, 6 March 2012 (UTC)&lt;br /&gt;
:::::&amp;gt;The login page would not come up at all.&lt;br /&gt;
:::::Do you mean it was a total blank page? This could indicate some other issue (Blank page is usually a PHP fatal error if error reporting is disabled. It&#039;d be a good idea to enable error reporting just to rule out this case).&lt;br /&gt;
:::::Generally if the $wgScriptPath related variables are wrong, you&#039;re more likely to get 404 pages and urls constructed incorrectly, the worse case that could possibly happen is a redirect loop.&lt;br /&gt;
:::::https://domainname.com/wiki/mediawiki/index.php/Special:UserLogin generally looks like a correct url. It could be something about your set up interferes with path info stuff. You can try just setting [[manual:$wgUsePathInfo|$wgUsePathInfo]] to false at the bottom of your LocalSettings.php (This changes the url from https://domainname.com/wiki/mediawiki/index.php/Special:UserLogin to https://domainname.com/wiki/mediawiki/index.php?title=Special:UserLogin which works better on some webservers. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 20:26, 6 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Retrieve password... safe mode problem. ==&lt;br /&gt;
&lt;br /&gt;
Hi, I created a new user account in my MW, but forgot the password. When I try to change it (or when the user himself tries to) the following message appears:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE&amp;quot;&lt;br /&gt;
&lt;br /&gt;
How can I:&lt;br /&gt;
&lt;br /&gt;
1) delete the fifth parameter OR&lt;br /&gt;
2) disable the safe mode?&lt;br /&gt;
&lt;br /&gt;
Sorry but I only found people asking why they can&#039;t upload files due to safe mode, but nobody having problems with resetting/retrieving passwords. Thanks for your help!! [[User:Si-co|Si-co]] ([[User talk:Si-co|talk]]) 21:41, 5 March 2012 (UTC)&lt;br /&gt;
:We really recommend avoiding using safe mode if possible. It doesn&#039;t actually make anything &amp;quot;safer&amp;quot; but is a giant pain.&lt;br /&gt;
:This particular message seems to be related to sending email. This particular issue has been fixed on the unstable version MediaWiki. The ways around this problem are:&lt;br /&gt;
:*Use MediaWiki 1.19 or higher. This isn&#039;t officially released yet, so you&#039;d need to download from svn, etc. Should be out in a month or 2 though.&lt;br /&gt;
:*Find the file includes/UserMailer.php in your mediawiki install, and make the change described by the diff at [//www.mediawiki.org/wiki/Special:Code/MediaWiki/99411 rev:99411]&lt;br /&gt;
:*Use [[manual:$wgSMTP]] to send mail (may or may not be possible on your set up)&lt;br /&gt;
:*Use one of the alternative methods that don&#039;t require email support to reset the password (there&#039;s a list of methods at [[Manual:Resetting_passwords]])&lt;br /&gt;
:Hope that helps. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 03:45, 6 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== how the download image files link to the local wikipedia? ==&lt;br /&gt;
&lt;br /&gt;
I mirror a wikipedia in local computer.and I also had download all the images(about 50G) from the &amp;quot;http://zh.wikipedia.org&amp;quot; using Wikix. how the local wikipedia can link the download images? and make the local wikipedia can dispaly the images and being a complex similar with the offical website &amp;quot;http://zh.wikipedia.org&amp;quot;.Thank you! [[User:Jxjadzl|Jxjadzl]] ([[User talk:Jxjadzl|talk]]) 02:08, 6 March 2012 (UTC)&lt;br /&gt;
:I&#039;m not sure if i understand your question - but maybe [[manual:ImportImages.php]] might help you. It takes images from a local directory and makes it so a local mediawiki install can use them.&lt;br /&gt;
:(Also note that zhwikipedia uses images from [//commons.wikimedia.org/wiki/ Commons] in addition to the local images. You can also check out [[manual:$wgForeignFileRepos]] for info on how to make mediawiki dynamically use images from another wiki without downloading all of them all at once). [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 03:34, 6 March 2012 (UTC)&lt;br /&gt;
::yes,you are right!thank you very much. [[User:Jxjadzl|Jxjadzl]] ([[User talk:Jxjadzl|talk]]) 05:54, 6 March 2012 (UTC)&lt;br /&gt;
:Instead of configuring {{wg|ForeignFileRepos}} manually to get images from Wikimedia Commons, you can also set &amp;lt;code&amp;gt;{{wg|UseInstantCommons}} = true;&amp;lt;/code&amp;gt; which does it automatically. [[User:Krinkle|Krinkle]] ([[User talk:Krinkle|talk]]) 05:51, 9 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Show always TOC on 2 or more headings? ==&lt;br /&gt;
&lt;br /&gt;
There is [[Manual:$wgMaxTocLevel|$wgMaxTocLevel]], but is there a min level? I want to force TOCs whenever there are 2 or more headlines without using &amp;lt;nowiki&amp;gt;__FORCETOC__&amp;lt;/nowiki&amp;gt;. [[User:Subfader|Subfader]] ([[User talk:Subfader|talk]]) 11:34, 6 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== How can I have a thumbnail without a link to the image page? ==&lt;br /&gt;
&lt;br /&gt;
I can do this to just display an image in it&#039;s orignal size without the image having a link to the image page&amp;lt;nowiki&amp;gt;[[Image:ImageName.png|link=|caption]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
However if I add &amp;quot;thumb&amp;quot; to it, it then has a link to the image page again even though I told it to not have a link like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;[[Image:ImageName.png|thumb|link=|caption]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
How can I get a thumbnail to NOT link to the image page? [[User:Holygamer|Holygamer]] ([[User talk:Holygamer|talk]]) 16:58, 6 March 2012 (UTC)&lt;br /&gt;
:Use search please! [[Help:Images]] [[User:Subfader|Subfader]] ([[User talk:Subfader|talk]]) 18:04, 6 March 2012 (UTC)&lt;br /&gt;
::I already looked at that page before I posted my question. That page didn&#039;t have a solution. I&#039;ve re-edited my question as it didn&#039;t appear properly before. [[User:Holygamer|Holygamer]] ([[User talk:Holygamer|talk]]) 18:08, 6 March 2012 (UTC)&lt;br /&gt;
:::Works as advertised: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[File:example.jpg|link=|thumb|150px|caption]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; [[User:Subfader|Subfader]] ([[User talk:Subfader|talk]]) 10:13, 7 March 2012 (UTC)&lt;br /&gt;
::::That picture still has a link to the file description page when I hover over the square in the bottom right corner. [[User:Holygamer|Holygamer]] ([[User talk:Holygamer|talk]]) 10:33, 7 March 2012 (UTC)&lt;br /&gt;
:::::The link parameter only affects the link on the image itself. The icon below &#039;&#039;always&#039;&#039; goes to the image description page regardless of where the image links to. That is its purpose, and I don&#039;t know if it&#039;s possible to change that behaviour. [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 14:53, 7 March 2012 (UTC)&lt;br /&gt;
::::::The best you can do &amp;lt;nowiki&amp;gt;[[File:example.jpg|link=|frame|caption]]&amp;lt;/nowiki&amp;gt; - however then the image isn&#039;t scaled. (I suppose alternative is hide the magnification icon with css...) [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 14:59, 7 March 2012 (UTC)&lt;br /&gt;
:::::::It&#039;s an SEO issue. The search engines still see the link in the code even if you hide it with CSS. Even if I don&#039;t have a caption there is still an &amp;quot;enlarge&amp;quot; link. Is there any way to hack the code to remove the enlarge link? [[User:Holygamer|Holygamer]] ([[User talk:Holygamer|talk]]) 15:18, 7 March 2012 (UTC)&lt;br /&gt;
::::::::/me believes all that SEO stuff is a bunch of hocus pocus ;)&lt;br /&gt;
::::::::Note, you can make a template (lets call it template:thumb) that would do something like:&lt;br /&gt;
::::::::&amp;lt;syntaxhighlight lang=&#039;text&#039;&amp;gt;&amp;lt;div class=&amp;quot;thumb tright&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;width: {{#expr:{{{2}}}+2}}px;&amp;quot; class=&amp;quot;thumbinner&amp;quot;&amp;gt;[[file:{{{1}}}|{{{2}}}px|link=]]&lt;br /&gt;
&amp;lt;div class=&amp;quot;thumbcaption&amp;quot;&amp;gt;&lt;br /&gt;
{{{caption}}}&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
::::::::And then you could call like &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{thumb|Example.png|120|caption=An Example}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, which would make:&lt;br /&gt;
::::::::&amp;lt;div class=&amp;quot;thumb tright&amp;quot;&amp;gt;&lt;br /&gt;
::::::::&amp;lt;div style=&amp;quot;width: {{#expr:{{{2|120}}}+2}}px;&amp;quot; class=&amp;quot;thumbinner&amp;quot;&amp;gt;[[file:{{{1|Example.png}}}|{{{2|120}}}px|link=]]&lt;br /&gt;
::::::::&amp;lt;div class=&amp;quot;thumbcaption&amp;quot;&amp;gt;&lt;br /&gt;
::::::::{{{caption|An Example}}}&amp;lt;/div&amp;gt;&lt;br /&gt;
::::::::&amp;lt;/div&amp;gt;&lt;br /&gt;
::::::::&amp;lt;/div&amp;gt;&lt;br /&gt;
::::::::{{clear}}&lt;br /&gt;
::::::::Officially we discourage people from making custom patches to MW. Things tend to break when people do that, especially on upgrade, and then they blame us ;). However, I will note the relavent code is in the Linker::makeThumbLink2 method (in includes/Linker.php), specifically the $zoomIcon variable. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 03:10, 8 March 2012 (UTC)&lt;br /&gt;
:::::::::Hi, I tried to make that template but I get the following error message: Expression error: Unrecognised punctuation character &amp;quot;{&amp;quot; [[User:Holygamer|Holygamer]] ([[User talk:Holygamer|talk]]) 11:36, 8 March 2012 (UTC)&lt;br /&gt;
:::::or use CSS: put the image code in a  span with some classname [[User:Subfader|Subfader]] ([[User talk:Subfader|talk]]) 09:07, 8 March 2012 (UTC)&lt;br /&gt;
::::::Bawolff, Am I just supposed to use that first lot of code you gave me in a template? I created that template but I get the following error message when I save the template: Expression error: Unrecognised punctuation character &amp;quot;{&amp;quot;&lt;br /&gt;
::::::You also mentioned the Linker::makeThumbLink2 method but I&#039;ve no idea what I&#039;m supposed to do. I&#039;m not familiar with code.&lt;br /&gt;
::::::Subfader, could you please suggest what CSS I could use? [[User:Holygamer|Holygamer]] ([[User talk:Holygamer|talk]]) 23:01, 10 March 2012 (UTC)&lt;br /&gt;
:::::::The template may have an error on the template page, but it should work when you actually use it I think (The error more comes from it not having an image width to substitute in). I strongly suggest you avoid modifying Linker::makeThumbLink2 unless you absolutely have to, and if you do, that you know what you&#039;re doing - since custom patches make things rather complicated. I only mentioned it because if push comes to shove you can do that as a last resort. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 01:54, 12 March 2012 (UTC)&lt;br /&gt;
:Change where the link goes with &amp;quot;link=&amp;quot; parameter. [[User:Dave88008|DaveL]] ([[User talk:Dave88008|talk]]) 02:05, 12 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Importing non allowed media ==&lt;br /&gt;
&lt;br /&gt;
I&#039;m looking for a method to import files that are not on the allowed file extensions list, like allowing sysops to upload any type of media, there doesn&#039;t seem to be a extension that allows this anywhere, tried hacking a solution into localsettings, but the user class isnt loaded that early (Or Im doing it flat out wrong) [[Special:Contributions/69.171.162.76|69.171.162.76]] ([[User talk:69.171.162.76|talk]]) 23:34, 6 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== WikiEditor problem ==&lt;br /&gt;
&lt;br /&gt;
Hi, i&#039;m from italy, so I have a custom skin &amp;quot;MistyLook&amp;quot; (downloaded from here, but not official skin)&lt;br /&gt;
this skin works fine, but when I edit a page, I can&#039;t see any toolbar.&lt;br /&gt;
&lt;br /&gt;
From preference everything fine, from &amp;quot;versione&amp;quot; it&#039;s all ok, if I use another skin, wikieditor works great, the problem are only with this skin, can everybody help me with that? &lt;br /&gt;
&lt;br /&gt;
http://www.hogwartsexpress.it/wiki this is the page &lt;br /&gt;
&lt;br /&gt;
&amp;quot;Admin&amp;quot; &amp;quot;test&amp;quot; for login [[Special:Contributions/95.238.103.133|95.238.103.133]] ([[User talk:95.238.103.133|talk]]) 05:08, 7 March 2012 (UTC)&lt;br /&gt;
:Short version: The skin isn&#039;t fully compatible with 1.18&lt;br /&gt;
:Long version: The skin hard coded some stuff relating to how js is loaded. However, the way js is loaded has changed over time (especially with RL being introduced). As a result, the skin isn&#039;t properly loading all of MediaWiki&#039;s js, which is breaking some functionality, most noticeably the edit toolbar.&lt;br /&gt;
:You should ask whomever the author of the skin is to update the skin. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 07:01, 7 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== PHP not working ==&lt;br /&gt;
&lt;br /&gt;
The PHP is not running! It&#039;s instead displaying the source code. What went wrong? How do I fix it? Does my browser (Safari 4.0.3) not support PHP? Or do I need to re-install PHP? Mac OS X 10.6.2 [[Special:Contributions/187.126.116.166|187.126.116.166]] ([[User talk:187.126.116.166|talk]]) 06:39, 7 March 2012 (UTC)&lt;br /&gt;
:Most likely your webserver (apache in all probability) isn&#039;t configured properly. Refer to the install documentation for php [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 06:57, 7 March 2012 (UTC)&lt;br /&gt;
:If you have already set up your wiki, immediately move LocalSettings.php to a location that is not Web-accessible until you get this fixed. [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 14:47, 7 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Permanent deletion? ==&lt;br /&gt;
&lt;br /&gt;
Okay, so here is an example vandalism scene I replayed in a test installation of MediaWiki:&lt;br /&gt;
#127.0.0.1 replaces the Main Page with nonsense&lt;br /&gt;
#Administrator reverts the edit&lt;br /&gt;
#127.0.0.1 replaces the Main Page with nonsense again&lt;br /&gt;
#Administrator reverts the edit&lt;br /&gt;
#Administrator protects the Main Page&lt;br /&gt;
#127.0.0.1 copies off the article about MediaWiki on Wikipedia (a copyrighted source) and pastes it on Test Wiki&lt;br /&gt;
#Administrator deletes the &amp;quot;MediaWiki&amp;quot; page&lt;br /&gt;
#127.0.0.1 pastes Wikipedia&#039;s article about MediaWiki on Test Wiki again&lt;br /&gt;
#Administrator deletes the &amp;quot;MediaWiki&amp;quot; page again&lt;br /&gt;
&lt;br /&gt;
However, the pages with their content, revision entries and so on remain in the database.&lt;br /&gt;
&lt;br /&gt;
Therefore, the database size unnessecarily increases nearly 1MB and, if the full database is available publicly, especially speaking for the copyright violation, anyone can look at the database dump to see the page which violated copyright law.&lt;br /&gt;
&lt;br /&gt;
Will there ever be a way to permanently delete pages along with the regular way to delete pages in MediaWiki (completely remove them from the database, although the permanently-deleted pages cannot be restored) and solve any of the problems with &#039;&#039;deleted pages remaining in the database just so another administrator can restore it&#039;&#039;? --[[Special:Contributions/218.186.15.10|218.186.15.10]] 07:22, 7 March 2012 (UTC)&lt;br /&gt;
:Hi,&lt;br /&gt;
:I think no one should have to care, if the DB is an MB bigger or smaller. If DB size is a problem for you, you should maybe change to a hoster, which offers more ressources there. For permanently deleting pages try the [[Extension:Nuke]], which comes with MediaWiki 1.18 by default. It can delete pages permanently. [[Special:Contributions/88.130.75.113|88.130.75.113]] 12:00, 7 March 2012 (UTC)&lt;br /&gt;
::No it doesn&#039;t. Nuke allows mass deletion of pages created by a specific user. The deletions are done the same way as a normal deletion, it just lets you do a bunch of them at once. [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 14:43, 7 March 2012 (UTC)&lt;br /&gt;
::Telling someone they &amp;quot;shouldn&#039;t care&amp;quot; and &amp;quot;get a better host&amp;quot; in response to a feature request is non productive.&lt;br /&gt;
::I would love to see a way to delete old revisions on a per-article or per-revision basis. Currently, since I don&#039;t care about saving old revisions in my implementation, I run deleteOldRevisions on occasion to throw out the junk. I would prefer a way to do it in a more limited way, and was surprised that mediawiki doesn&#039;t provide one. [[Special:Contributions/209.29.183.172|209.29.183.172]] 18:45, 8 March 2012 (UTC)&lt;br /&gt;
:::Where exactly did I tell him that he shouldn&#039;t care? I told him that in my opinion he should not &#039;&#039;&#039;have&#039;&#039;&#039; to care about the available DB size. This is something completely different. But obviously some guys could misunderstand that; let me make this more clear: Today you can purchase harddisks with some terrabytes in size. Depending on usage, MediaWiki databases can grow quickly up to a few hundred megabytes or more. There it sounds like a joke to tell us that you had to care for &amp;quot;nearly one megabyte&amp;quot;. If you cannot save new data in your database, you won&#039;t be able to run MediaWiki correctly. In the worst case you will even break your system. You need free space just to continue running the system; any changes on pages and such will need even more space. If you have to worry about a single megabyte, you should really change to a hosting package or even to another hoster, where you have more space available. [[Special:Contributions/88.130.66.109|88.130.66.109]] 22:24, 8 March 2012 (UTC)&lt;br /&gt;
:You can use [[manual:RevisionDelete]] to add another level of &amp;quot;deletion&amp;quot; where certain users can&#039;t see the deleted things.&lt;br /&gt;
:You can also try the [[manual:deleteArchivedRevisions.php]] maintenance script. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 15:02, 7 March 2012 (UTC)&lt;br /&gt;
:You may want to see [{{fullurl:Thread:Project:Support_desk/Permanent_deletion|lqt_oldid=16678}} the original revision of the first post] to see the actual archived revision that remained in the database for technical details, which was removed from the post by [[Special:Contributions/88.130.75.113|88.130.75.113]]&amp;lt;br /&amp;gt;&lt;br /&gt;
:&amp;quot;You can also try the [[Manual:deleteArchivedRevisions.php|deleteArchivedRevisions.php]] maintenance script.&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
:However, some versions of SQL servers also only archive tables with &amp;quot;DELETE FROM&amp;quot; queries instead of permenantly deleting them. [[Special:Contributions/218.186.15.10|218.186.15.10]] 09:05, 9 March 2012 (UTC)&lt;br /&gt;
::&amp;lt;blockquote&amp;gt;&lt;br /&gt;
::However, some versions of SQL servers also only archive tables with &amp;quot;DELETE FROM&amp;quot; queries instead of permenantly deleting them.&lt;br /&gt;
::&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
::I was not aware of that, however at that point it really becomes a database administration issue and not a MediaWiki issue. Its unlikey there exists a pre-built mediawiki tool that will take into account the db possibly archiving things in its own way that are deleted from the tables. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 01:50, 12 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== The word &#039;from&#039; causes fatal errors (sometimes)! ==&lt;br /&gt;
&lt;br /&gt;
So I have an installation of MediaWiki.  When editing the content of an article, sometimes the presence of the word &#039;from&#039; will cause the server to throw a 500 error.  If I substitute the instances of that word with something else--say, &#039;DERP&#039;--the article saves and displays no problem.&lt;br /&gt;
&lt;br /&gt;
Anyone have ideas on what causes this, or what I can do to fix it?  I&#039;m on a shared hosting account, so I can&#039;t see the PHP error log--just the one linked to in cpanel.:&amp;lt; [[Special:Contributions/66.66.190.94|66.66.190.94]] ([[User talk:66.66.190.94|talk]]) 09:25, 7 March 2012 (UTC)&lt;br /&gt;
:I recommend contacting your hosting provider. It is unlikely that anyone else could fix this problem. [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 14:36, 7 March 2012 (UTC)&lt;br /&gt;
:Sometimes apache&#039;s mod_security has been known to cause really weird stupid issues like that (however, if that was the case there would be relavent messages in the apache error log). [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 15:03, 7 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Template display not right! ==&lt;br /&gt;
&lt;br /&gt;
hello, i mirror a local wikipedia.all is right.but the Template dispaly not very good, It has not the &amp;quot;display &amp;quot; and &amp;quot;Hidden&amp;quot; button.So all the Template  have displayed.How to solve it? Thank you !&lt;br /&gt;
I have set &amp;quot;$wgUseTidy=true&amp;quot;. [[User:Jxjadzl|Jxjadzl]] ([[User talk:Jxjadzl|talk]]) 03:51, 8 March 2012 (UTC)&lt;br /&gt;
:What is your MediaWiki version and what extensions have you installed? [[User:Jasper Deng|Jasper Deng]] ([[User talk:Jasper Deng|talk]]) 03:54, 8 March 2012 (UTC)&lt;br /&gt;
::mediawiki1.18.&lt;br /&gt;
::&amp;lt;syntaxhighlight lang=&#039;text&#039;&amp;gt;require_once( &amp;quot;$IP/extensions/Renameuser/Renameuser.php&amp;quot; );&lt;br /&gt;
require_once( &amp;quot;$IP/extensions/WikiEditor/WikiEditor.php&amp;quot; );&lt;br /&gt;
require_once( &amp;quot;$IP/extensions/ParserFunctions/ParserFunctions.php&amp;quot; );&lt;br /&gt;
require_once( &amp;quot;$IP/extensions/Cite/Cite.php&amp;quot; );&lt;br /&gt;
require_once( &amp;quot;$IP/extensions/Gadgets/Gadgets.php&amp;quot; );&lt;br /&gt;
require_once( &amp;quot;$IP/extensions/CategoryTree/CategoryTree.php&amp;quot; );&lt;br /&gt;
require_once( &amp;quot;$IP/extensions/Nuke/Nuke.php&amp;quot; );&lt;br /&gt;
require_once( &amp;quot;$IP/extensions/Vector/Vector.php&amp;quot; );&lt;br /&gt;
require_once( &amp;quot;$IP/extensions/Math/Math.php&amp;quot; );&lt;br /&gt;
require_once( &amp;quot;$IP/extensions/ConfirmEdit/ConfirmEdit.php&amp;quot; );&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; [[User:Jxjadzl|Jxjadzl]] ([[User talk:Jxjadzl|talk]]) 05:45, 8 March 2012 (UTC)&lt;br /&gt;
:::OK, nothing should be awry with those. [[User:Jasper Deng|Jasper Deng]] ([[User talk:Jasper Deng|talk]]) 06:05, 8 March 2012 (UTC)&lt;br /&gt;
:Sounds like you&#039;re probably missing the project&#039;s local JavaScript that makes those links work. Take a look at MediaWiki:Common.js. [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 05:45, 8 March 2012 (UTC)&lt;br /&gt;
::where is the Common.js file? I can&#039;t search it in the &amp;quot;var/www/html/w&amp;quot; [[User:Jxjadzl|Jxjadzl]] ([[User talk:Jxjadzl|talk]]) 05:58, 8 March 2012 (UTC)&lt;br /&gt;
:::It&#039;s on your wiki, like [[MediaWiki:Common.js|on this wiki]]. [[User:Jasper Deng|Jasper Deng]] ([[User talk:Jasper Deng|talk]]) 06:04, 8 March 2012 (UTC)&lt;br /&gt;
::::yes, i can see.so? after i should do what? [[User:Jxjadzl|Jxjadzl]] ([[User talk:Jxjadzl|talk]]) 06:33, 8 March 2012 (UTC)&lt;br /&gt;
:::http://127.0.0.1/w/index.php/MediaWiki:Common.js? [[User:Jxjadzl|Jxjadzl]] ([[User talk:Jxjadzl|talk]]) 06:20, 8 March 2012 (UTC)&lt;br /&gt;
::::Yes, that&#039;s the page. Locate the relevant part on Wikipedia&#039;s version, and copy it to yours. The comments should help guide you.&lt;br /&gt;
::::Or just copy the whole thing. [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 17:26, 8 March 2012 (UTC)&lt;br /&gt;
:::::Thank you! But I don&#039;t know how to solve this problem.   are these JavaScrip will auto load?&lt;br /&gt;
:::::&amp;lt;nowiki&amp;gt;=====&amp;lt;/nowiki&amp;gt; [[User:Jxjadzl|Jxjadzl]] ([[User talk:Jxjadzl|talk]]) 04:14, 13 March 2012 (UTC)&lt;br /&gt;
::::::Not all of them, especially since the WMF wikis are like 90% of the world&#039;s wiki space. [[User:Jasper Deng|Jasper Deng]] ([[User talk:Jasper Deng|talk]]) 05:01, 13 March 2012 (UTC)&lt;br /&gt;
::help! [[User:Jxjadzl|Jxjadzl]] ([[User talk:Jxjadzl|talk]]) 06:08, 13 March 2012 (UTC)&lt;br /&gt;
:::Can you please give us more details? [[User:Jasper Deng|Jasper Deng]] ([[User talk:Jasper Deng|talk]]) 19:31, 13 March 2012 (UTC)&lt;br /&gt;
::::The key problem is the template and menu don&#039;t have the &amp;quot;Hide &amp;quot; or &amp;quot;Show&amp;quot; button（triangle），so the page dispaly not  pretty!Other information is on the top talk! yhank you! [[User:Jxjadzl|Jxjadzl]] ([[User talk:Jxjadzl|talk]]) 07:16, 14 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Tag hook: recursiveTagParse() - TOC not loaded ==&lt;br /&gt;
&lt;br /&gt;
I&#039;m using tags like&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;foo&amp;gt;&lt;br /&gt;
== Heading 1 ==&lt;br /&gt;
Text&lt;br /&gt;
&lt;br /&gt;
== Heading 2 ==&lt;br /&gt;
Text&lt;br /&gt;
&lt;br /&gt;
== Heading 3 ==&lt;br /&gt;
Text&lt;br /&gt;
&amp;lt;/foo&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
To create a div around the content:&lt;br /&gt;
&amp;lt;pre&amp;gt;function efMoreMarkup( &amp;amp;$parser ) {&lt;br /&gt;
      $parser-&amp;gt;setHook( &#039;foo&#039;, &#039;efFoo&#039; );&lt;br /&gt;
      return true;&lt;br /&gt;
}&lt;br /&gt;
function efFoo( $input , $args , $parser )	{&lt;br /&gt;
      $input = $parser-&amp;gt; recursiveTagParse( $input );&lt;br /&gt;
      return &#039;&amp;lt;div class=&amp;quot;foo&amp;quot;&amp;gt;&#039; . $input . &#039;&amp;lt;/div&amp;gt;&#039;;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But then tag doesn&#039;t work and the TOC is not loaded (forcing it via &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__TOC__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; doesn&#039;t help). Is there a solution to it so the tag doesn&#039;t need to be set below each heading? [MW 1.18.0] [[User:Subfader|Subfader]] ([[User talk:Subfader|talk]]) 15:19, 8 March 2012 (UTC)&lt;br /&gt;
:I have the same Problem.&lt;br /&gt;
:Have someone any solution ? [[Special:Contributions/80.156.43.136|80.156.43.136]] 06:20, 14 March 2012 (UTC)&lt;br /&gt;
:I suppose use a parser function instead of a tag extension is not considered a valid solution? (It would probably fix the issue).&lt;br /&gt;
:Placing &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;__TOC__&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; inside the &amp;amp;lt;foo&amp;amp;gt; seems to work in my tests. For example:&lt;br /&gt;
:&amp;lt;syntaxhighlight lang=&#039;text&#039;&amp;gt;&amp;lt;foo&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
== Heading 1 ==&lt;br /&gt;
Text&lt;br /&gt;
== Heading 2 ==&lt;br /&gt;
Text&lt;br /&gt;
== Heading 3 ==&lt;br /&gt;
Text&lt;br /&gt;
&amp;lt;/foo&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:produces a toc on my test wiki.&lt;br /&gt;
:Note, using parser tags in this manner has some other limitations. Namely &amp;amp;lt;foo&amp;amp;gt; cannot be nested, and PST (processing subst:, pipe trick, and &amp;lt;nowiki&amp;gt;~~~~&amp;lt;/nowiki&amp;gt;) is not done on the contents of foo [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 01:51, 15 March 2012 (UTC)&lt;br /&gt;
::The fun part of this is:&lt;br /&gt;
::&amp;lt;syntaxhighlight lang=&#039;text&#039;&amp;gt;__TOC__&lt;br /&gt;
==header==&lt;br /&gt;
&amp;lt;foo&amp;gt;&lt;br /&gt;
__TOC__&lt;br /&gt;
==header 2==&lt;br /&gt;
&amp;lt;/foo&amp;gt;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
::produces 2 ToC&#039;s. I guess its an artifact of when recursiveTagParse happens vs normal header/TOC magic happens. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 01:53, 15 March 2012 (UTC)&lt;br /&gt;
:::btw, this should probably be filed as a bug. It probably wouldn&#039;t be a trivial fix, so it might languish in bugzilla like many non-trivial parser changes tend to, but its probably somewhat do-able, after all it already has $isMain argument to determine if its coming from a recursiveTagParse [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 02:12, 15 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== [RESOLVED] Cannot Login or Register. Enable Cookies ==&lt;br /&gt;
&lt;br /&gt;
I&#039;ve been getting this error today when I tried working on my Wiki. I just installed MediaWiki about a week ago and have been edited every single day with no issues at all... until today. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;Darksiders Wiki uses cookies to log in users. You have cookies disabled. Please enable them and try again.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
How do I assure that cookies are enabled? I did some basic research online, and I was told to edit the session.save_path... I don&#039;t have that. I have no idea where to find my php directory that has these files. I&#039;ve looked everywhere and it&#039;s quite frustrating. [[User:Mases|Mases]] ([[User talk:Mases|talk]]) 20:13, 8 March 2012 (UTC)&lt;br /&gt;
:I have fixed this error. It turns out that my PHP&#039;s session folder wasn&#039;t writable. The issue was that I couldn&#039;t see this folder via FTP and I needed to login via root SSH access to fix it. All is good now. [[User:Mases|Mases]] ([[User talk:Mases|talk]]) 07:27, 9 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== How to customize list numbering ==&lt;br /&gt;
&lt;br /&gt;
I want to have a numbered list, but on the next level, I want letters instead of numbers.  How do I do that?&lt;br /&gt;
&lt;br /&gt;
#Basketball&lt;br /&gt;
## Blazers&lt;br /&gt;
### Lamarcus&lt;br /&gt;
### Felton&lt;br /&gt;
## Lakers&lt;br /&gt;
## Clippers&lt;br /&gt;
#Football&lt;br /&gt;
## Broncos&lt;br /&gt;
## Cowboys&lt;br /&gt;
## Cardinals&lt;br /&gt;
&lt;br /&gt;
Here is what I want:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Basketball&lt;br /&gt;
   a. Blazers&lt;br /&gt;
      1. Lamarcus&lt;br /&gt;
      2. Felton&lt;br /&gt;
   b. Lakers&lt;br /&gt;
   c. Clippers&lt;br /&gt;
2. Football&lt;br /&gt;
   a. Broncos&lt;br /&gt;
   b. Cowboys&lt;br /&gt;
   c. Cardinals [[Special:Contributions/67.139.76.194|67.139.76.194]] ([[User talk:67.139.76.194|talk]]) 21:25, 8 March 2012 (UTC)&lt;br /&gt;
:Use CSS list-style-type for ol-tags [[User:Subfader|Subfader]] ([[User talk:Subfader|talk]]) 10:14, 9 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== erros with wiki page, appears to be some sort of spam like attack ==&lt;br /&gt;
&lt;br /&gt;
please check out this link and advise on what is happening&lt;br /&gt;
&lt;br /&gt;
http://lohere.net/kulkapedia/samuel/I_Nyoman_Masriadi&lt;br /&gt;
&lt;br /&gt;
this is the original wiki page : http://en.wikipedia.org/wiki/Nyoman_Masriadi [[User:Roeshini|Roeshini]] ([[User talk:Roeshini|talk]]) 08:39, 9 March 2012 (UTC)&lt;br /&gt;
:None of your links are working (also &amp;quot;static&amp;quot; links like to the RecentChanges page), because they miss the base URL. Having a look at the Recent Changes page for example you have spam in that page at places, where it cannot be put, if the attacker was just using the web interface. &lt;br /&gt;
:This is not only a spam attack, where people create (or edit) pages to add spam. Your wiki seems to have been hacked.&lt;br /&gt;
:You should disable access from the web and check the situation. Then you must close the whole through which the attacker came in. This whole can also be some other software on the server (it must not necessarily be MediaWiki). Server logs (Apache Logs/FTP Logs) might be helpful to find out what went on. Having a look at the symptoms I guess that someone is able to manipulate the files on your server, e.g. the PHP files. A common place where you might find malicious code is in LocalSettings.php, maybe in some obscure way like decode(base64(...)). But it can be placed basically anywhere. [[Special:Contributions/88.130.104.171|88.130.104.171]] 11:29, 9 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Warning and Fatal error when running web update for 1.18 ==&lt;br /&gt;
&lt;br /&gt;
We are currently runnning MW 1.14.0 and we are trying to upgrade to 1.18.&lt;br /&gt;
&lt;br /&gt;
When I go to do the web updater I get the following errors&lt;br /&gt;
&lt;br /&gt;
Warning: call_user_func(Installer::overrideConfig) [function.call-user-func]: First argument is expected to be a valid callback in D:\xampp\htdocs\XXXXXXXX\includes\WebStart.php on line 101&lt;br /&gt;
&lt;br /&gt;
Fatal error: Class &#039;WebInstaller&#039; not found in D:\xampp\htdocs\XXXXXXXX\mw-config\index.php on line 23 [[Special:Contributions/64.206.79.221|64.206.79.221]] ([[User talk:64.206.79.221|talk]]) 16:22, 9 March 2012 (UTC)&lt;br /&gt;
:Try installing version 1.18 into a new folder, copy your extensions/, images/ and skins/ folder and your LocalSettings.php there and then try again. When updating to 1.18 there sometimes are problems with leftovers from older versions. [[Special:Contributions/88.130.104.171|88.130.104.171]] 18:59, 9 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== 1.18.1 archive corrupt ==&lt;br /&gt;
&lt;br /&gt;
&amp;amp;lt;pre&amp;amp;gt;tar -xzvf mediawiki-1.18.1.tar.gz&lt;br /&gt;
...&lt;br /&gt;
mediawiki-1.18.1/extensions/ParserFunctions/funcsParserTests.txt&lt;br /&gt;
mediawiki-1.18.1/extensions/ParserFunctions/ParserFunctions.php&lt;br /&gt;
mediawiki-1.18.1/extensions/ParserFunctions/COPYING&lt;br /&gt;
mediawiki-1.18.1/extensions/ParserFunctions/ParserFunctions.i18n.magic.php&lt;br /&gt;
mediawiki-1.18.1/extensions/Gadgets/&lt;br /&gt;
mediawiki-1.18.1/extensions/Gadgets/Gadgets_body.php&lt;br /&gt;
mediawiki-1.18.1/extensions/Gadgets/install.settings&lt;br /&gt;
mediawiki-1.18.1/extensions/Gadgets/Gadgets.alias.php&lt;br /&gt;
&lt;br /&gt;
gzip: stdin: unexpected end of file&lt;br /&gt;
mediawiki-1.18.1/extensions/Gadgets/ApiQueryGadgetCategories.php&lt;br /&gt;
mediawiki-1.18.1/extensions/Gadgets/Gadgets.i18n.php&lt;br /&gt;
tar: Unexpected EOF in archive&lt;br /&gt;
tar: Unexpected EOF in archive&lt;br /&gt;
tar: Error is not recoverable: exiting now&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Downloaded it twice. Linux. [[Special:Contributions/216.82.241.35|216.82.241.35]] ([[User talk:216.82.241.35|talk]]) 18:48, 9 March 2012 (UTC)&lt;br /&gt;
:Hmm, works for me. If you can&#039;t get it to work, you can still [https://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_18/extensions/ParserFunctions/ download the files from here]. [[Special:Contributions/88.130.104.171|88.130.104.171]] 18:57, 9 March 2012 (UTC)&lt;br /&gt;
:Did you download it from the official source ( http://download.wikimedia.org/mediawiki/1.18/mediawiki-1.18.1.tar.gz )?&lt;br /&gt;
:If you know how to, check if you can verify the download with its PGP signature - http://download.wikimedia.org/mediawiki/1.18/mediawiki-1.18.1.tar.gz.sig [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 02:56, 13 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== What document is $WgLogo ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;I Need to edit the picture for my wiki&#039;&#039;&#039;&lt;br /&gt;
&#039;&#039;But where is $WgLogo?&#039;&#039; [[Special:Contributions/82.34.175.220|82.34.175.220]] ([[User talk:82.34.175.220|talk]]) 19:20, 9 March 2012 (UTC)&lt;br /&gt;
:In [[Manual:LocalSettings.php|LocalSettings.php]]. If it isn&#039;t in LocalSettings.php, you need to add in manually to the bottom. See [[Manual:$wgLogo]] and [[Manual:FAQ#How_do_I_change_the_logo.3F|How do I change the logo?]] for more information. [[User:MrBlueSky|MrBlueSky]] ([[User talk:MrBlueSky|talk]]) 00:09, 10 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== where i find title-to-url rewriting function? ==&lt;br /&gt;
&lt;br /&gt;
I want to study PHP code of function used to rewrite the title to SEF URLs.&lt;br /&gt;
&lt;br /&gt;
Where i find this function in mediawiki-1.18.1?&lt;br /&gt;
I need file&#039;s path and function name.&lt;br /&gt;
&lt;br /&gt;
Thanks!!!!! [[Special:Contributions/151.42.186.204|151.42.186.204]] ([[User talk:151.42.186.204|talk]]) 01:13, 10 March 2012 (UTC)&lt;br /&gt;
:What you search is done in includes/Title.php. The results are available in MediaWiki in the Title object. [[Special:Contributions/88.130.76.58|88.130.76.58]] 13:58, 10 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Nesting tags from tag extension ==&lt;br /&gt;
&lt;br /&gt;
I have been trying to write an extension including some tags like &#039;section&#039;.&lt;br /&gt;
However, when trying to nest these, I cannot do anything but conclude that MW&#039;s tag detection does not support nested tags.&lt;br /&gt;
&lt;br /&gt;
Suppose I use the following code:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;section name=&amp;quot;name&amp;quot;&amp;gt;This is a test&lt;br /&gt;
&amp;lt;section name=&amp;quot;sub&amp;quot;&amp;gt;What should be a subsection&amp;lt;/section&amp;gt;&lt;br /&gt;
Some further text&lt;br /&gt;
&amp;lt;/section&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The output generated then becomes of the following kind&lt;br /&gt;
&amp;lt;pre&amp;gt;start sample output&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
== Section ==&lt;br /&gt;
&lt;br /&gt;
This is a test&lt;br /&gt;
&lt;br /&gt;
== Section ==&lt;br /&gt;
&lt;br /&gt;
What should be a subsection&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Some further text&amp;lt;labeledsectiontransclusion /&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;end sample output&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
I am using calls to recursiveTagParse to support this kind of tag nesting, but it appears (also when checking with the PHP function print_r the text that is sent to the parsing function) that the detection of tags is fundamentally flawed.&lt;br /&gt;
&lt;br /&gt;
The current versions used are:&lt;br /&gt;
* MW: 1.18.1&lt;br /&gt;
* PHP: 5.3.10&lt;br /&gt;
* MySQL: 5.5.20 [[User:Lord Farin|Lord_Farin]] ([[User talk:Lord Farin|talk]]) 18:30, 10 March 2012 (UTC)&lt;br /&gt;
:Its not supported (see [[bugzilla:1310]]). If you need nesting, you have to use a parser function (if you have an existing parser tag, you can use #tag syntax as well). [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 02:52, 13 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== How to prevent links to external Files? ==&lt;br /&gt;
&lt;br /&gt;
My Versions: MediaWiki: 1.16.5, PHP: 5.2.17, MySQL: 5.1.61&lt;br /&gt;
&lt;br /&gt;
I have a music wiki but I also have links within the wiki to MP3s on the site (not stored within the wiki). For security reasons I want to block people from adding external links. &lt;br /&gt;
&lt;br /&gt;
With SpamRegex I can block external links like below, however it also blocks admins such as myself. Is there any way via an extension or a spam filter or otherwise that I can allow myself to add external links? &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;# Block ALL external links&lt;br /&gt;
$wgSpamRegex = &amp;quot;/http:\/\//&amp;quot;;&amp;amp;lt;/pre&amp;amp;gt; [[User:Holygamer|Holygamer]] ([[User talk:Holygamer|talk]]) 23:12, 10 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Add Background (File) to Vector Skin ==&lt;br /&gt;
&lt;br /&gt;
Hey!&lt;br /&gt;
&lt;br /&gt;
Is it possible to add a background in vector skin? I mean a file (jpg etc.) as a background.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Seriana [[User:Seriana|Seriana]] ([[User talk:Seriana|talk]]) 14:51, 11 March 2012 (UTC)&lt;br /&gt;
:You can modify the Vector skin by editing [[MediaWiki:Vector.css]] in your wiki. Styles, which you define there, will override the ones, which come with Vector by default. [[Special:Contributions/88.130.110.94|88.130.110.94]] 15:11, 11 March 2012 (UTC)&lt;br /&gt;
::The background I have now changed, but the header is still displayed.&lt;br /&gt;
::I have no idea how I can now hide this. [[User:Seriana|Seriana]] ([[User talk:Seriana|talk]]) 17:42, 11 March 2012 (UTC)&lt;br /&gt;
:::You can hide elements with CSS by defining &amp;lt;tt&amp;gt;display: none;&amp;lt;/tt&amp;gt; for the element you don&#039;t want to see. Check the sourcecode of the wiki page to see, how you can address the element (e.g. with its id attribute if it has one). [[Special:Contributions/88.130.110.94|88.130.110.94]] 18:07, 11 March 2012 (UTC)&lt;br /&gt;
::::I don&#039;t find any sourcecode for the header,the only i find was &amp;quot;div id=mw-head class=noprint&amp;quot; with firefox...but i have no idea how i can remove them.&lt;br /&gt;
::::display: none; did not work or I did something wrong... :( [[User:Seriana|Seriana]] ([[User talk:Seriana|talk]]) 00:10, 12 March 2012 (UTC)&lt;br /&gt;
:::::can you provide a screenshot or a link? and what exactly you would like to hide [[User:Myidealh|Myidealh]] ([[User talk:Myidealh|talk]]) 07:12, 12 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== collapsible menu 1.1.8.1 ==&lt;br /&gt;
&lt;br /&gt;
Hi.&lt;br /&gt;
&lt;br /&gt;
Could You help me how can I enable collapsible menues in Mediawiki 1.18.1?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;
&lt;br /&gt;
Charles [[Special:Contributions/190.131.72.35|190.131.72.35]] ([[User talk:190.131.72.35|talk]]) 00:17, 12 March 2012 (UTC)&lt;br /&gt;
:I want to enable collapsible menu in SideBar. [[Special:Contributions/190.131.72.35|190.131.72.35]] 00:20, 12 March 2012 (UTC)&lt;br /&gt;
::Hi!&lt;br /&gt;
::Have you tried http://www.mediawiki.org/wiki/Extension:Vector? [[User:Myidealh|Myidealh]] ([[User talk:Myidealh|talk]]) 08:26, 12 March 2012 (UTC)&lt;br /&gt;
:::I´ve tried adding this to LocalSettings.php (my mediawiki 1.18.1:)&lt;br /&gt;
:::require_once( &amp;quot;$IP/extensions/Vector/Vector.php&amp;quot; );&lt;br /&gt;
:::But nothing happens. I can&#039;t get the collapsible menus. Should I use some special tag in the MediaWiki:SideBar ? [[Special:Contributions/157.100.80.156|157.100.80.156]] 00:29, 13 March 2012 (UTC)&lt;br /&gt;
::::Verify the vector extension is installed correctly by checking for it being listed at Special:Version on your wiki. Also check for any js errors in your browsers javascript console, which could potentially interfere with the extension.&lt;br /&gt;
::::You do not need any special tag in MediaWiki:Sidebar, the collapse feature should happen automatically upon enabling that extension. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 02:29, 13 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== external link in footer? ==&lt;br /&gt;
&lt;br /&gt;
In verson 1.18.1, I&#039;m trying to use this hook to add an external link in the footer:&lt;br /&gt;
$wgHooks[&#039;SkinTemplateOutputPageBeforeExec&#039;][] = &#039;lfTOSLink&#039;;&lt;br /&gt;
function lfTOSLink( $sk, &amp;amp;$tpl ) {&lt;br /&gt;
        $tpl-&amp;gt;set( &#039;termsofservice&#039;, $sk-&amp;gt;footerLink( &#039;linktexthere&#039;, &#039;termsofservicepage&#039; ) );&lt;br /&gt;
        $tpl-&amp;gt;data[&#039;footerlinks&#039;][&#039;places&#039;][] = &#039;termsofservice&#039;;&lt;br /&gt;
        return true;&lt;br /&gt;
}&lt;br /&gt;
Where does the link URL go? Thanks. [[Special:Contributions/70.108.249.43|70.108.249.43]] ([[User talk:70.108.249.43|talk]]) 15:31, 12 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== не работает загрузка картинок ==&lt;br /&gt;
&lt;br /&gt;
перенесли wiki на соседний сервер и теперь страница&lt;br /&gt;
http://www.e-xecutive.ru/wiki/index.php/Служебная:Upload&lt;br /&gt;
вместо загрузки просто перезагружается но загрузки картинки не происходит, может кто сталкивался подскажите куда копать?&lt;br /&gt;
на старом сервере всё работает &amp;quot;на ура&amp;quot; те же файлы один в один [[User:VictorFX|VictorFX]] ([[User talk:VictorFX|talk]]) 16:49, 12 March 2012 (UTC)&lt;br /&gt;
:Hi!&lt;br /&gt;
:As far as I understand your images are not getting uploaded. If this is right, then try checking $wgEnableUploads  = true; in your LocalSettings file. [[User:Myidealh|Myidealh]] ([[User talk:Myidealh|talk]]) 10:58, 13 March 2012 (UTC)&lt;br /&gt;
::$wgUploadDirectory = &#039;{$IP}/images/&#039;;&lt;br /&gt;
::$wgEnableUploads = true; [[User:VictorFX|VictorFX]] ([[User talk:VictorFX|talk]]) 14:21, 13 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== External image as text not image ==&lt;br /&gt;
&lt;br /&gt;
I have enabled external images to work by directly pasting the URL&lt;br /&gt;
&lt;br /&gt;
How can I do if I need one specific to show as text?&lt;br /&gt;
&lt;br /&gt;
I need to show something like&lt;br /&gt;
&lt;br /&gt;
[img]the_url_here[/img]&lt;br /&gt;
&lt;br /&gt;
and Im getting&lt;br /&gt;
&lt;br /&gt;
[img](the image displayed)[/img]&lt;br /&gt;
&lt;br /&gt;
Thanks. [[Special:Contributions/190.138.76.138|190.138.76.138]] ([[User talk:190.138.76.138|talk]]) 17:44, 12 March 2012 (UTC)&lt;br /&gt;
:I think wrapping the URL in a &amp;lt;nowiki&amp;gt;&amp;amp;lt;nowiki&amp;amp;gt;&amp;lt;/nowiki&amp;gt; tag should do the trick.&lt;br /&gt;
:Like this:&lt;br /&gt;
:&amp;lt;syntaxhighlight lang=&#039;text&#039;&amp;gt;[img]&amp;amp;lt;nowiki&amp;gt;the_url_here&amp;lt;/nowiki&amp;gt;[/img] &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt; [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 21:20, 12 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== css for extension overriding site css ==&lt;br /&gt;
&lt;br /&gt;
I have created an extension with css for a table:&lt;br /&gt;
&amp;lt;pre&amp;gt;        $wgOut-&amp;gt;addHtml(&#039;&amp;lt;div class=&amp;quot;exsitingimage&amp;quot;&amp;gt;&#039;);&lt;br /&gt;
   	$wgOut-&amp;gt;addHtml(&#039;&amp;lt;table&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;th&amp;gt;&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Name&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Thumbnail&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Dimensions&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;User&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Comment&amp;lt;/th&amp;gt;       &amp;lt;/tr&amp;gt;&#039;); 	&lt;br /&gt;
   	foreach($uploaded as $upload){&lt;br /&gt;
   		 &lt;br /&gt;
   	$wgOut-&amp;gt;addHTML(&#039;&amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;button class=&amp;quot;imageSetting&amp;quot;&amp;gt;Add&amp;lt;/button&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&#039;); 	&lt;br /&gt;
   	$wgOut-&amp;gt;addHTML($upload[0]);&lt;br /&gt;
 	$wgOut-&amp;gt;addHtml(&#039;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&#039;); &lt;br /&gt;
 	$wgOut-&amp;gt;addHtml(&#039;&amp;lt;img src=&amp;quot;images/thumb/&#039;.$upload[0].&#039;/120px-&#039;.$upload[0].&#039;&amp;quot; /&amp;gt;&#039;); &lt;br /&gt;
 	$wgOut-&amp;gt;addHtml(&#039;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&#039;); &lt;br /&gt;
 	$wgOut-&amp;gt;addHTML($upload[1]); &lt;br /&gt;
 	$wgOut-&amp;gt;addHTML(&#039;x&#039;); &lt;br /&gt;
 	$wgOut-&amp;gt;addHTML($upload[2]); &lt;br /&gt;
 	$wgOut-&amp;gt;addHtml(&#039;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&#039;);&lt;br /&gt;
 	$wgOut-&amp;gt;addHTML($upload[3]); &lt;br /&gt;
 	$wgOut-&amp;gt;addHtml(&#039;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&#039;);&lt;br /&gt;
 	$wgOut-&amp;gt;addHtml($upload[4]);&lt;br /&gt;
 	$wgOut-&amp;gt;addHtml(&#039;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&#039;); &lt;br /&gt;
 	}&lt;br /&gt;
 	$wgOut-&amp;gt;addHtml(&#039;&amp;lt;/table&amp;gt;&#039;);&lt;br /&gt;
	$wgOut-&amp;gt;addHtml(&#039;&amp;lt;/div&amp;gt;&#039;);&lt;br /&gt;
	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I only want the class to be change what is within the &amp;lt;div&amp;gt; but it is effected all tables on the site. &lt;br /&gt;
What is going on? How do I customise css for extensions? [[User:Lucy Tech|LTech]] ([[User talk:Lucy Tech|talk]]) 19:26, 12 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== PHP/libxml2 combination error when installing 1.18.1; any workarounds? ==&lt;br /&gt;
&lt;br /&gt;
So when I try to install MediaWiki 1.18.1 I get the following error:&lt;br /&gt;
&amp;quot;Your system has a combination of PHP and libxml2 versions which is buggy and can cause hidden data corruption in MediaWiki and other web applications. Upgrade to PHP 5.2.9 or later and libxml2 2.7.3 or later (bug filed with PHP). Installation aborted.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
My host is running PHP 5.2.17, so I&#039;m okay there. However, it&#039;s only running libxml2 2.6.30, and they&#039;ve not given me any indication as to when they&#039;ll be upgrading. Is there any workaround for this error that I can use? [[User:Dark T Zeratul|Dark T Zeratul]] ([[User talk:Dark T Zeratul|talk]]) 21:42, 12 March 2012 (UTC)&lt;br /&gt;
:No, there&#039;s not really a non-upgrade related work around.&lt;br /&gt;
:As an aside, MediaWiki actually checks for the bug being present, not the version numbers - so if you get the error its because the issue is actually present, not because a version number was blacklisted. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 02:36, 13 March 2012 (UTC)&lt;br /&gt;
::In that case, what&#039;s the newest version of MediaWiki that doesn&#039;t have this problem that I can try and revert to? [[User:Dark T Zeratul|Dark T Zeratul]] ([[User talk:Dark T Zeratul|talk]]) 02:28, 14 March 2012 (UTC)&lt;br /&gt;
:::Probably around 1.15. But note that&#039;s just when we started giving warnings, things will still be subtly broken in confusing ways, there just won&#039;t be any warnings about. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 02:35, 14 March 2012 (UTC)&lt;br /&gt;
::::Guess I&#039;ll just start e-mailing them once a week until they update libxml2, then. [[User:Dark T Zeratul|Dark T Zeratul]] ([[User talk:Dark T Zeratul|talk]]) 02:46, 14 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== URLs are rewritten, but not redirecting ==&lt;br /&gt;
&lt;br /&gt;
I&#039;m having difficulty with the directions [[Manual:Short_URL/wiki/Page_title_--_no_root_access|here]] to rewrite URLs. In LocalSettings I set:&lt;br /&gt;
&lt;br /&gt;
$wgScriptPath = &amp;quot;/w&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
$wgArticlePath = &amp;quot;/wiki/$1&amp;quot;; &lt;br /&gt;
&lt;br /&gt;
And this is my .htaccess file in the web root:&lt;br /&gt;
&lt;br /&gt;
RewriteEngine On&lt;br /&gt;
&lt;br /&gt;
RewriteBase / &lt;br /&gt;
&lt;br /&gt;
RewriteRule ^/?wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA]&lt;br /&gt;
&lt;br /&gt;
RewriteRule ^/?wiki/*$ /w/index.php [L,QSA]&lt;br /&gt;
&lt;br /&gt;
RewriteRule ^/*$ /w/index.php [L,QSA]&lt;br /&gt;
&lt;br /&gt;
(My host, Laughing Squid, suggested I add the RewriteBase line.)&lt;br /&gt;
&lt;br /&gt;
The rewritten URLs are accessible (http://ilaisu.org/wiki/Test), which suggests I did SOMETHING right, but when I do anything like edit a page or use the logo to go back to the main page, it keeps going back to the long form of the URL (http://ilaisu.org/w/index.php/Test). All the links such as preferences, contributions, etc. also use the long forms. What am I doing wrong?&lt;br /&gt;
&lt;br /&gt;
-Joey [[Special:Contributions/50.137.113.187|50.137.113.187]] ([[User talk:50.137.113.187|talk]]) 23:49, 12 March 2012 (UTC)&lt;br /&gt;
:You have $wgArticlePath set incorrectly somehow. MediaWiki thinks it is set to $wgArticlePath = &amp;quot;/w/index.php/$1&amp;quot;; . Double check you don&#039;t have conflicting settings in LocalSettings.php or something like that. Try moving the $wgArticlePath = &amp;quot;/wiki/$1&amp;quot;; to the very end of the file.&lt;br /&gt;
:You can check what mediawiki thinks the setting is by looking at: http://ilaisu.org/w/api.php?action=query&amp;amp;meta=siteinfo&amp;amp;siprop=general&amp;amp;format=txtfm [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 02:33, 13 March 2012 (UTC)&lt;br /&gt;
::Moving that line to the very end did the trick. Thanks for your help.&lt;br /&gt;
::-Joey [[Special:Contributions/50.137.113.187|50.137.113.187]] 03:14, 13 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== update local wikipedia database ==&lt;br /&gt;
&lt;br /&gt;
hi,I want to update my local wikipedia database,but the wikipedia didn&#039;t support the increment dump.Is someone have research this problem?Thank you very much! [[User:Jxjadzl|Jxjadzl]] ([[User talk:Jxjadzl|talk]]) 06:13, 13 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Warning: This page was deleted after you started editing!  Read more: I want a new page - TestMediaWiki ==&lt;br /&gt;
&lt;br /&gt;
I have an extension which creates a form when you edit a page. When I submit the form I get the error &lt;br /&gt;
Warning: This page was deleted after you started editing!&lt;br /&gt;
and the page is deleted! Does anyone know why this is happening and how I can send $post variables without this taking place. thanks [[User:Lucy Tech|LTech]] ([[User talk:Lucy Tech|talk]]) 09:07, 13 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Force display of navbar elements ==&lt;br /&gt;
&lt;br /&gt;
First, I&#039;m sorry if this is the wrong place to ask my question. In case, please tell where to go...&amp;lt;br /&amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I display two Wikipedia pages within an iframe on my website. I hide some elements (e.g. #mw-head, #mw-panel, ...) using CSS.&lt;br /&gt;
&lt;br /&gt;
My problem: I want to &#039;&#039;&#039;force&#039;&#039;&#039; the display of those collapsable/expandable &amp;quot;navbar/NavFrame&amp;quot; (English/German Wikipedia) elements.&amp;lt;br /&amp;gt;&lt;br /&gt;
This works great with the German wikipedia page using this injected js-code: &amp;quot;&#039;&#039;&#039;var NavigationBarShowDefault=99;var autoCollapse=99;&#039;&#039;&#039;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
It does not work with the English version of the page :-(&lt;br /&gt;
&lt;br /&gt;
For reference (please check the tables at the end of the page, listing the available Yamaha motorbikes):&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;*OK*:&#039;&#039;&#039; http://www.tr1.de/pages/misc_wikipedia_german.php&amp;lt;br /&amp;gt;&lt;br /&gt;
&#039;&#039;&#039;*NOT OK*:&#039;&#039;&#039; http://www.tr1.de/pages/misc_wikipedia_english.php&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note: Both links work now, since I used the solution from the first reply to this post&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In general. Any idea why the English Wikipedia is implemented different to the German (or vice versa)?&lt;br /&gt;
&lt;br /&gt;
Thanks for any help on this and many greetings from Bavaria&amp;lt;br /&amp;gt;&lt;br /&gt;
Manfred [[Special:Contributions/84.145.11.17|84.145.11.17]] ([[User talk:84.145.11.17|talk]]) 09:14, 13 March 2012 (UTC)&lt;br /&gt;
:Found a &amp;quot;dirty&amp;quot; solution. If I remove the class &amp;quot;&#039;&#039;&#039;autocollapse&#039;&#039;&#039;&amp;quot; (parse HTML before display in iframe) from&amp;lt;br /&amp;gt;&lt;br /&gt;
:all class definitions, all elements are shown expanded on initial display of the above English Wikipedia page.&amp;lt;br /&amp;gt;&lt;br /&gt;
:But I guess this is not the proper way to achive my request...&lt;br /&gt;
:Manfred [[Special:Contributions/84.145.11.17|84.145.11.17]] 11:54, 13 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Editing &amp;quot;Login Required&amp;quot; Page. ==&lt;br /&gt;
&lt;br /&gt;
I currently have my company Wiki setup so that only registered users can view the pages. If they are not registered (or logged in) the standard &amp;quot;Login Required&amp;quot; page shows up. I would like to edit that page so that it gives an explanation of why the wiki is locked and who they can contact to get approval to join. I cannot for the life of me figure out how to do this!! Any tips would be helpful. [[User:Zackmann08|Zackmann08]] ([[User talk:Zackmann08|talk]]) 17:58, 14 March 2012 (UTC)&lt;br /&gt;
:Try editing the page [[mediawiki:loginreqpagetext]] on your wiki ($1 is the link to special:userlogin using the title text at [[mediawiki:loginreqlink]]).&lt;br /&gt;
:(Note: on newer mediawiki, you can see where the system messages come from by appending ?uselang=qqx to a url) [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 22:45, 14 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== 1062: Duplicate entry &#039;1&#039; for key &#039;ss_row_id&#039; (1.18.1) ==&lt;br /&gt;
&lt;br /&gt;
Guest visitors of my wiki get 1062: Duplicate entry &#039;1&#039; for key &#039;ss_row_id&#039; every time site_stat table refreshing (SiteStatsInit::refresh). Login user do not see this error, and if I put ?action=purge to main page all be okay. File cache is turn on. Please, help!&lt;br /&gt;
&lt;br /&gt;
My db looks like:&lt;br /&gt;
&amp;lt;pre&amp;gt;CREATE TABLE IF NOT EXISTS `site_stats` (&lt;br /&gt;
  `ss_row_id` int(8) unsigned NOT NULL,&lt;br /&gt;
  `ss_total_views` bigint(20) unsigned DEFAULT &#039;0&#039;,&lt;br /&gt;
  `ss_total_edits` bigint(20) unsigned DEFAULT &#039;0&#039;,&lt;br /&gt;
  `ss_good_articles` bigint(20) unsigned DEFAULT &#039;0&#039;,&lt;br /&gt;
  `ss_total_pages` bigint(20) DEFAULT &#039;-1&#039;,&lt;br /&gt;
  `ss_users` bigint(20) DEFAULT &#039;-1&#039;,&lt;br /&gt;
  `ss_active_users` bigint(20) DEFAULT &#039;-1&#039;,&lt;br /&gt;
  `ss_admins` int(10) DEFAULT &#039;-1&#039;,&lt;br /&gt;
  `ss_images` int(10) DEFAULT &#039;0&#039;,&lt;br /&gt;
  UNIQUE KEY `ss_row_id` (`ss_row_id`)&lt;br /&gt;
) ENGINE=MyISAM DEFAULT CHARSET=utf8;&lt;br /&gt;
&lt;br /&gt;
INSERT INTO `site_stats` &lt;br /&gt;
(`ss_row_id`, `ss_total_views`, `ss_total_edits`, `ss_good_articles`, `ss_total_pages`, `ss_users`, `ss_active_users`, `ss_admins`, `ss_images`) &lt;br /&gt;
VALUES (1, 50, 11920, 1134, 2816, 314, -1, -1, 829);&lt;br /&gt;
&amp;lt;/pre&amp;gt; [[Special:Contributions/178.204.14.199|178.204.14.199]] ([[User talk:178.204.14.199|talk]]) 21:18, 14 March 2012 (UTC)&lt;br /&gt;
:Possibly only happened once, but that one time it happened it somehow got cached in file cache, and then shown to all subsequent anon users (logged in users don&#039;t get the file cache).&lt;br /&gt;
:In theory file cache isn&#039;t supposed to cache errors, but maybe there&#039;s something wrong with it (If you&#039;re using an older version of MediaWiki, try upgrading. I think some earlier versions of MediaWiki&#039;s file cache support was less good then more modern versions of MediaWiki [but don&#039;t quote me on that, that could be wrong]) [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 01:40, 15 March 2012 (UTC)&lt;br /&gt;
::I use latest stable version (1.18.1) but thank you. [[Special:Contributions/178.213.240.2|178.213.240.2]] 10:42, 15 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== How to remove Category Links but keep their Functionality? ==&lt;br /&gt;
&lt;br /&gt;
My Versions: MediaWiki: 1.16.5, PHP: 5.2.17, MySQL: 5.1.61&lt;br /&gt;
&lt;br /&gt;
Basically I don&#039;t like the way MediaWiki displays categories. The page name looks ugly like this: &amp;quot;Category:List of Playstation Games&amp;quot; instead of this &amp;quot;List of Playstation Games&amp;quot;. Also I don&#039;t like the way categories are displayed, they are displayed in columns which doesn&#039;t allow long page names to display on 1 line.&lt;br /&gt;
&lt;br /&gt;
I prefer to create a page with any name I want and then use the Nice Category List extension to show all the pages tagged with a category so I get a list like this:&lt;br /&gt;
&lt;br /&gt;
* Page 1&lt;br /&gt;
* Page 2&lt;br /&gt;
&lt;br /&gt;
Unfortunately in articles I then have lots of links to useless category pages which I don&#039;t want as I&#039;ve added tags to the articles. Is there any way to keep the functionality of the tags but to not have the Category links display at the bottom of articles as it&#039;s hurtful to Search Engine Optimization? I know I can hide them with CSS but the search engines still see the links. [[User:Holygamer|Holygamer]] ([[User talk:Holygamer|talk]]) 23:46, 14 March 2012 (UTC)&lt;br /&gt;
:Note: A page&#039;s name can be changed using displaytitle if [[manual:$wgRestrictDisplayTitle|$wgRestrictDisplayTitle]] is set to false. Note, that the format of a category page can be customized by extensions (of course that would actually require someone to write an extension that meets your needs).&lt;br /&gt;
:In order to remove the list of categories the current page is in from the bottom of a page, put the following at the bottom of LocalSettings.php (note: only tested on svn [1.20alpha], so ymmv. If it doesn&#039;t work let me know).&lt;br /&gt;
:&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
$wgHooks[&#039;OutputPageMakeCategoryLinks&#039;][] = &#039;wfKillCatLinks&#039;;&lt;br /&gt;
function wfKillCatLinks( $out, $categories, &amp;amp;$catLinks ) {&lt;br /&gt;
                        global $wgContLang;&lt;br /&gt;
                        #Stops categorylinks from appearing at bottom of page&lt;br /&gt;
                        foreach ( $categories as $category =&amp;gt; $type ) {&lt;br /&gt;
                                $origcategory = $category;&lt;br /&gt;
                                $title = Title::makeTitleSafe( NS_CATEGORY, $category );&lt;br /&gt;
                                $wgContLang-&amp;gt;findVariantLink( $category, $title, true );&lt;br /&gt;
                                if ( $category != $origcategory ) {&lt;br /&gt;
                                        if ( array_key_exists( $category, $categories ) ) {&lt;br /&gt;
                                                continue;&lt;br /&gt;
                                        }&lt;br /&gt;
                                }&lt;br /&gt;
                                #this part is still needed so that&lt;br /&gt;
                                # js can see what categories are on a page&lt;br /&gt;
                                $out-&amp;gt;mCategories[] = $title-&amp;gt;getText();&lt;br /&gt;
                        }&lt;br /&gt;
           return false;&lt;br /&gt;
            }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
:p.s. I still think that SEO is a bunch of hocus pocus, and this stuff doesn&#039;t really matter. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 01:31, 15 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== upgrading MediaWiki to Version 1.17.2 ==&lt;br /&gt;
&lt;br /&gt;
Hi, &lt;br /&gt;
&lt;br /&gt;
we are using MediaWiki for 6 years (version 1.8.2) now and currently we run into many problems.&lt;br /&gt;
So I decided to upgrade to version 1.17.2, I checked all the requirements and also the manual for updating.&lt;br /&gt;
After the 4th unsuccessful try to update I would need some help, what&#039;s currently the problem.&lt;br /&gt;
&lt;br /&gt;
Here some info:&lt;br /&gt;
&lt;br /&gt;
Virtual Windows Server&lt;br /&gt;
Apache WebServer 2.2.21,&lt;br /&gt;
PHP              5.2.17,&lt;br /&gt;
MySQL            5.0.51a,&lt;br /&gt;
MW               1.8.2&lt;br /&gt;
&lt;br /&gt;
The PHP update command runs 3 seconds and that&#039;s it, no errors showing. The only error we find was in the PHP logs&lt;br /&gt;
[15-Mar-2012 12:26:02] PHP Fatal error:  Call to a member function setCacheTime() on a non-object in D:\Websrv\Apache2\WebSites\...\wiki\includes\parser\Parser.php on line 4771&lt;br /&gt;
&lt;br /&gt;
Please could you help me in this case&lt;br /&gt;
&lt;br /&gt;
kind regards &lt;br /&gt;
Mike [[Special:Contributions/81.223.23.58|81.223.23.58]] ([[User talk:81.223.23.58|talk]]) 12:36, 15 March 2012 (UTC)&lt;br /&gt;
:&amp;lt;syntaxhighlight lang=&#039;text&#039;&amp;gt;The PHP update command runs 3 seconds and that&#039;s it, no errors showing. The only error we find was in the PHP logs [15-Mar-2012 12:26:02] PHP Fatal error: Call to a member function setCacheTime() on a non-object in D:\Websrv\Apache2\WebSites\...\wiki\includes\parser\Parser.php on line 4771&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:Most likely an extension doing something like &amp;lt;code&amp;gt;$wgParser-&amp;gt;disableCache()&amp;lt;/code&amp;gt; while not parsing anything. (Some older extensions seem to make weird assumptions about if stuff is currently being parsed which don&#039;t make a lot of sense. Starting in 1.19 with [//www.mediawiki.org/wiki/Special:Code/MediaWiki/106310 r106310] a much more informative error would be given for this situation).&lt;br /&gt;
:Try disabling all extensions, and see if it works. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 01:19, 16 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Extensions do not load ==&lt;br /&gt;
&lt;br /&gt;
Hello.&lt;br /&gt;
I have downloaded the widgets extension to $ip/extensions and un-zipped it, but i still can&#039;t get it to work.&lt;br /&gt;
my wiki is at www.eno.x10.mx/wiki. I have tried EVERYTHING I can and it still dosen&#039;t work.&lt;br /&gt;
p.s. - Once I tried to make my own special page using the guide on this site, and it did not work either.&lt;br /&gt;
Thanks- Htmlguy999 [[User:Vanished user 999214|Vanished user 999214]] ([[User talk:Vanished user 999214|talk]]) 21:51, 15 March 2012 (UTC)&lt;br /&gt;
:Sorry i posted that twice - my bworser wasn&#039;t responding. [[User:Htmlguy999|Htmlguy999]] ([[User talk:Htmlguy999|talk]]) 21:53, 15 March 2012 (UTC)&lt;br /&gt;
:Did you follow the installation instructions? http://eno.x10.mx/wiki/index.php/Special:Version shows that the only extension running on yohr wiki is ParserFunctions. [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 21:56, 15 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== [RESOLVED] Can&#039;t run Update with Semantic MediaWiki ==&lt;br /&gt;
&lt;br /&gt;
I&#039;ve tried to install two extensions that require an update to the database tables (Liquid Thrheads &amp;amp; Advancedmeta) and the [http://www.mediawiki.org/wiki/Upgrading#Web_updater update] fails with the following error messages for each.&lt;br /&gt;
Warning: include_once(languages/SMW_LanguageEn.php) [function.include-once]: failed to open stream: No such file or directory in /home/content/65/6092565/html/scientolipedia/extensions/SemanticMediaWiki/includes/SMW_Setup.php on line 508&lt;br /&gt;
&lt;br /&gt;
Warning: include_once() [function.include]: Failed opening &#039;languages/SMW_LanguageEn.php&#039; for inclusion (include_path=&#039;.:/usr/local/php5/lib/php&#039;) in /home/content/65/6092565/html/scientolipedia/extensions/SemanticMediaWiki/includes/SMW_Setup.php on line 508&lt;br /&gt;
&lt;br /&gt;
Fatal error: Class &#039;SMWLanguageEn&#039; not found in /home/content/65/6092565/html/scientolipedia/extensions/SemanticMediaWiki/includes/SMW_Setup.php on line 512&lt;br /&gt;
&lt;br /&gt;
I posted this on the Semantic Bundle page and Yaron Koren said he didn&#039;t know what was causing it but suggested I install the newest version of Semantic Bundle, which I did, but still get the above.&lt;br /&gt;
Any help is appreciated.&lt;br /&gt;
&lt;br /&gt;
MediaWiki 1.18.0,PHP 5.2.17 (cgi-fcgi),MySQL 5.0.92-log, Semantic Bundle (Version 20120308) DaveL&amp;lt;sup&amp;gt;MW 1.25.1, PHP 5.4.37, MySQL5.1.73-cll SMW 2.2&amp;lt;/sup&amp;gt; 23:47, 15 March 2012 (UTC)&lt;br /&gt;
:This is probably a SMW bug, using a relative path in a place where it should not (That would be my guess anyways, I don&#039;t know for sure).&lt;br /&gt;
:One possibility is to temp disable SMW, run update.php, and then re-enable SMW. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 01:13, 16 March 2012 (UTC)&lt;br /&gt;
::Bawolff, you are brilliant! That worked. Must be a bug but I&#039;ve never reported a bug before. Will look to find out how. Thank You so much. [[User:Dave88008|DaveL]] ([[User talk:Dave88008|talk]]) 04:26, 16 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Not working in 1.16.2? ==&lt;br /&gt;
&lt;br /&gt;
Is this a new feature?&lt;br /&gt;
&lt;br /&gt;
I put some JavaScript on this page and force-reloaded the browser. Looking at the source returned, I expected to see either my JavaScript in the head or a &amp;quot;script src&amp;quot; call to Common.js. I see neither.&lt;br /&gt;
&lt;br /&gt;
I have been putting off upgrading because (I know, bad) I&#039;ve changed some of the files, and 1.16 was working well for me. But I need to do some JavaScript on pages now. 02:32, 16 March 2012 (UTC)&lt;br /&gt;
:1.16 is end of life; we are not releasing security updates for it any longer. See [[Version lifecycle]] for details. And when you upgrade, you should consider keeping your customizations separate from core MediaWiki as [[Manual:Extensions|MediaWiki extensions]] for easier maintenance.&lt;br /&gt;
:That said, putting your code at MediaWiki:Common.js should work, provided that your customizations did not break it. Putting it at User:Bytesmiths/common.js will not work on your old version, and putting it at User:Bytesmiths/monobook.js (if you use the Monobook skin) will only work if you have &amp;lt;code&amp;gt;$wgAllowUserJs = true;&amp;lt;/code&amp;gt; in your LocalSettings.php file.&lt;br /&gt;
:You may need to bypass or clear your web browser&#039;s cache (instructions are at the top of the JavaScript page) to see the effect. [[User:PleaseStand|&#039;&#039;Please&#039;&#039;&#039;&#039;&#039;Stand&#039;&#039;&#039;]] ([[User talk:PleaseStand|talk]]) 04:24, 16 March 2012 (UTC)&lt;br /&gt;
:Note, on 1.16 MediaWiki:Common.js is loaded from a very misleading named page that has a url that looks something like ?title=-&amp;amp;aaction=raw&amp;amp;ctype=text/javascript&amp;amp;gen=js  This should be somewhere in your &amp;amp;lt;head&amp;amp;gt;.&lt;br /&gt;
:(Starting with 1.17 the way js was loaded totally changed) [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 19:23, 16 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Namespace localization ==&lt;br /&gt;
&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
I&#039;m having trouble localizing namespaces in a Custom extension. You&#039;ll find a simplified version of the Custom extension code supposed to deal with namespace declaration and localization :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;php&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
/**&lt;br /&gt;
 * extensions/Custom/Custom.php&lt;br /&gt;
 */&lt;br /&gt;
define(&#039;NS_XXXX&#039;, 10000);&lt;br /&gt;
 &lt;br /&gt;
$wgExtraNamespaces[NS_XXXX] = &amp;quot;XXXX&amp;quot;;&lt;br /&gt;
$wgExtraNamespaces[NS_XXXX + 1] = &amp;quot;XXXX_talk&amp;quot;;   # underscore required&lt;br /&gt;
&lt;br /&gt;
$wgContentNamespaces[] = NS_XXXX;&lt;br /&gt;
 &lt;br /&gt;
$wgNamespacesToBeSearchedDefault[NS_XXXX] = true;&lt;br /&gt;
 &lt;br /&gt;
$wgExtensionMessagesFiles[&#039;CustomNamespaces&#039;] = dirname( __FILE__ ) . &#039;/Custom.namespaces.php&#039;;&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
/**&lt;br /&gt;
 * extensions/Custom/Custom.namespaces.php&lt;br /&gt;
 */&lt;br /&gt;
$namespaceNames = array();&lt;br /&gt;
 &lt;br /&gt;
if( !defined( &#039;NS_XXXX&#039; ) ) {&lt;br /&gt;
        define(&#039;NS_XXXX&#039;, 10000);&lt;br /&gt;
}&lt;br /&gt;
 &lt;br /&gt;
/** English */&lt;br /&gt;
$namespaceNames[&#039;en&#039;] = array(&lt;br /&gt;
                NS_XXXX =&amp;gt; &#039;YYYY&#039;,&lt;br /&gt;
                NS_XXXX + 1 =&amp;gt; &#039;YYYY_talk&#039;&lt;br /&gt;
);&lt;br /&gt;
 &lt;br /&gt;
/** French (Français) */&lt;br /&gt;
$namespaceNames[&#039;fr&#039;] = array(&lt;br /&gt;
                NS_XXXX =&amp;gt; &#039;ZZZZ&#039;,&lt;br /&gt;
                NS_XXXX + 1 =&amp;gt; &#039;Discussion_ZZZZ&#039;&lt;br /&gt;
);&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
With this code, I can only find the namespaces named XXXX and XXXX_talk, no way to have it being localized. Am I missing the point ?&lt;br /&gt;
&lt;br /&gt;
MediaWiki	1.18.1&lt;br /&gt;
&lt;br /&gt;
PHP	5.2.11 (cgi-fcgi)&lt;br /&gt;
&lt;br /&gt;
MySQL	5.1.57-community-log [[Special:Contributions/82.234.132.251|82.234.132.251]] ([[User talk:82.234.132.251|talk]]) 10:11, 16 March 2012 (UTC)&lt;br /&gt;
:Well for namespaces, only the language that is the content language of your wiki is used. So if your wiki has a content language (content language is defined in LocalSettings.php) of &amp;quot;en&amp;quot;, then only the english namespace names would be visible. [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 19:28, 16 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Installation problem, session data loss ==&lt;br /&gt;
&lt;br /&gt;
I have installed mediaWiki, version 1.18.1 on a Windows 2008 R2 server under IIS. I am running PHP v 5.3.8&lt;br /&gt;
No matter what I do, I get &amp;quot;Your session data was lost! Check your php.ini and make sure session.save_path is set to an appropriate directory&amp;quot; error.&lt;br /&gt;
The path is fine, the IUSR can read and write, it work fin with other php-applications we have installed.&lt;br /&gt;
I have tried every possible modification in php.ini to make it work, but nothing.&lt;br /&gt;
&lt;br /&gt;
Anyone have an idea? [[Special:Contributions/193.10.63.101|193.10.63.101]] ([[User talk:193.10.63.101|talk]]) 10:20, 16 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Watchlist error after upgrade to 1.18.1 ==&lt;br /&gt;
&lt;br /&gt;
After upgrading from 1.10.1. to 1.18.1 the change of the watchlist using the link on the page does not work, instead the message [[MediaWiki:Watcherrortext]] turns up. [[Special:Watchlist]] works fine. I detected, that the target address generated by the link after &#039;&#039;action=watch&amp;amp;token=&#039;&#039; contains a different &#039;&#039;token&#039;&#039; as in [[Special:Preferences#mw-prefsection-watchlist]], if that matters.&lt;br /&gt;
* MediaWiki 	1.18.1&lt;br /&gt;
* PHP 	5.2.14 (apache2handler)&lt;br /&gt;
* MySQL 	5.0.26&lt;br /&gt;
Any piece of advice is welcome. [[User:ThT|ThT]] ([[User talk:ThT|talk]]) 11:04, 16 March 2012 (UTC)&lt;br /&gt;
:They&#039;re different tokens, with different purposes. [[User:Reach Out to the Truth|Reach Out to the Truth]] ([[User talk:Reach Out to the Truth|talk]]) 15:11, 16 March 2012 (UTC)&lt;br /&gt;
::Thanks, I assumed so, but wasn&#039;t sure. Meanwhile I also checked the template &amp;quot;watch&amp;quot;, which we copied from [//en.wikipedia.org/wiki/en:template:watch w:en:template:watch]. The template generates &#039;&#039;&amp;amp;action=watch&#039;&#039;, i.e. without a token, and it works fine. So the token seems to be the reason of the watchlist error, but I don&#039;t know how to fix it yet. [[User:ThT|ThT]] ([[User talk:ThT|talk]]) 16:35, 16 March 2012 (UTC)&lt;br /&gt;
:::&amp;lt;syntaxhighlight lang=&#039;text&#039;&amp;gt;After upgrading from 1.10.1. to 1.18.1 the change of the watchlist using the link on the page does not work&amp;amp;lt;/pre&amp;amp;gt;&lt;br /&gt;
You mean the link that&#039;s part of the skin? If you&#039;re using a non-standard skin it could be a bug in that skin.&lt;br /&gt;
Wikipedia is using 1.19 which may account for the differences in behavior. (I&#039;m not at my home computer so I can&#039;t easily check how/if the behavior changed between versions) [[User:Bawolff|Bawolff]] ([[User talk:Bawolff|talk]]) 19:21, 16 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Table column unsortable when fields begin with $ ==&lt;br /&gt;
&lt;br /&gt;
I&#039;ve got a table with 3 columns that I want to be able to sort. The first and second columns list a bunch of values that all begin with the $ character, followed by a single letter. I cannot seem to get them to sort (i.e., nothing happens when I press the sorting arrows), although the third column (simple text) sorts just fine. Is there a way to solve this?&lt;br /&gt;
&lt;br /&gt;
* Mediawiki 1.15.1&lt;br /&gt;
* PHP 5.1.6&lt;br /&gt;
* MySQL 5.0.22&lt;br /&gt;
&lt;br /&gt;
Below is the table:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{|  class=&amp;quot;wikitable sortable&amp;quot; cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;5&amp;quot; &lt;br /&gt;
! Token&lt;br /&gt;
! Alt&lt;br /&gt;
! Description&lt;br /&gt;
|-&lt;br /&gt;
| $C &lt;br /&gt;
| $c &lt;br /&gt;
| Cost&lt;br /&gt;
|-&lt;br /&gt;
| $P &lt;br /&gt;
| $p &lt;br /&gt;
| CPS&lt;br /&gt;
|-&lt;br /&gt;
| $H &lt;br /&gt;
| $h &lt;br /&gt;
| Percent chance&lt;br /&gt;
|-&lt;br /&gt;
| $N &lt;br /&gt;
| $n &lt;br /&gt;
| Number&lt;br /&gt;
|-&lt;br /&gt;
| $U &lt;br /&gt;
| $u &lt;br /&gt;
| Cumulative &lt;br /&gt;
|-&lt;br /&gt;
| $Z &lt;br /&gt;
| $z &lt;br /&gt;
| Current location&lt;br /&gt;
|-&lt;br /&gt;
| $I &lt;br /&gt;
| $i &lt;br /&gt;
| Max &lt;br /&gt;
|-&lt;br /&gt;
| $V &lt;br /&gt;
| $v &lt;br /&gt;
| Max TL&lt;br /&gt;
|-&lt;br /&gt;
| $W &lt;br /&gt;
| $w &lt;br /&gt;
| Current value&lt;br /&gt;
|-&lt;br /&gt;
| $@ &lt;br /&gt;
|  &lt;br /&gt;
| Multicharacter&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/pre&amp;gt; [[User:Jcseely|Jcseely]] ([[User talk:Jcseely|talk]]) 19:27, 16 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Possible bug in the search API ==&lt;br /&gt;
&lt;br /&gt;
Hi&lt;br /&gt;
&lt;br /&gt;
i&#039;m trying to use the API to perform searches on the french wiktionnary (letter may have accents). I wanted to make a case-insensitive search for CREE :&lt;br /&gt;
&lt;br /&gt;
http://fr.wiktionary.org/w/api.php?action=opensearch&amp;amp;search=%22CREE%22&amp;amp;format=json&lt;br /&gt;
&lt;br /&gt;
It returns :&lt;br /&gt;
&lt;br /&gt;
[&amp;quot;\&amp;quot;CREE\&amp;quot;&amp;quot;,[&amp;quot;cr\u00e9er&amp;quot;,&amp;quot;Cree&amp;quot;,&amp;quot;cr\u00e9\u00e9&amp;quot;,&amp;quot;cr\u00e9\u00e9e&amp;quot;,&amp;quot;creek&amp;quot;,&amp;quot;cr\u00e9eras&amp;quot;,&amp;quot;creer&amp;quot;,&amp;quot;creed&amp;quot;,&amp;quot;creep&amp;quot;,&amp;quot;cr\u00e9ent&amp;quot;]]&lt;br /&gt;
&lt;br /&gt;
But &amp;quot;cr\u00e9e&amp;quot; seems to be missing (this page exists : http://fr.wiktionary.org/wiki/cr%C3%A9e)&lt;br /&gt;
&lt;br /&gt;
Am I missing someting ?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
BTW is it possible to user meta characters such as &#039;^&#039; and &#039;$&#039; [[User:Apc005|Apc005]] ([[User talk:Apc005|talk]]) 20:57, 16 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== question about php code ==&lt;br /&gt;
&lt;br /&gt;
Hi,&lt;br /&gt;
If I change &lt;br /&gt;
 require_once( &amp;quot;$IP/extensions/Gadgets/Gadgets.php&amp;quot; );&lt;br /&gt;
 require_once( &amp;quot;$IP/extensions/WikiEditor/WikiEditor.php&amp;quot; );&lt;br /&gt;
 require_once( &amp;quot;$IP/extensions/ConfirmEdit/ConfirmEdit.php&amp;quot; );&lt;br /&gt;
 require_once( &amp;quot;$IP/extensions/ParserFunctions/ParserFunctions.php&amp;quot; );&lt;br /&gt;
 require_once( &amp;quot;$IP/extensions/Nuke/Nuke.php&amp;quot; );&lt;br /&gt;
 require_once( &amp;quot;$IP/extensions/Renameuser/Renameuser.php&amp;quot; );&lt;br /&gt;
 require_once( &amp;quot;$IP/extensions/Vector/Vector.php&amp;quot; );&lt;br /&gt;
 require_once( &amp;quot;$IP/extensions/Cite/Cite.php&amp;quot; );&lt;br /&gt;
to &lt;br /&gt;
 $extensions_array = array (&#039;Gadgets&#039;, &#039;WikiEditor&#039;, &#039;Cite&#039;, &#039;ConfirmEdit&#039;, &#039;ParserFunctions&#039;, &#039;Nuke&#039;,  &#039;Renameuser&#039;, &#039;Vector&#039;);&lt;br /&gt;
 &lt;br /&gt;
 for($i=0;$i&amp;lt;sizeof($extensions_array);$i++){&lt;br /&gt;
      require_once( &amp;quot;$IP/extensions/$extensions_array[$i]/$extensions_array[$i].php&amp;quot; );		&lt;br /&gt;
 }&lt;br /&gt;
(make it easier to add new extensions)&lt;br /&gt;
will be the additional load on the server or not? Thanks in advance. P.S. Perhaps this question is stupid, just I don&#039;t understand why it has not been done by default. [[User:0x0F|0x0F]] ([[User talk:0x0F|talk]]) 12:28, 17 March 2012 (UTC)&lt;br /&gt;
:first, does it work? maybe this is better to read:&lt;br /&gt;
:&amp;lt;syntaxhighlight lang=&#039;text&#039;&amp;gt;     require_once( &amp;quot;$IP/extensions/{$extensions_array[$i]}/{$extensions_array[$i]}.php&amp;quot; );          &lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
:i think it&#039;s because this is only the recommended naming for extensions. some very simple do only have a single file in the extension-directory. [[User:Cembon|Cembon]] ([[User Talk:Cembon|Talk]] | [[Special:Contributions/Cembon|Contributions]]) 13:45, 17 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Duplicate Page Entries ==&lt;br /&gt;
&lt;br /&gt;
Hi,&lt;br /&gt;
I am trying to use the Page &amp;amp; PageLinks tables for my Page Rank project. I am using the mysqldump files available for download.&lt;br /&gt;
&lt;br /&gt;
I have noticed that there are a few entries in the Page table that have the same Page Title.&lt;br /&gt;
&lt;br /&gt;
How do I resolve a PageLink Record that is pointing to a Page Title with a duplicate Page ID.&lt;br /&gt;
&lt;br /&gt;
Any help will be greatly appreciated.&lt;br /&gt;
&lt;br /&gt;
Thank You,&lt;br /&gt;
Venkata (Ravi) Adusumilli [[Special:Contributions/136.237.60.105|136.237.60.105]] ([[User talk:136.237.60.105|talk]]) 16:05, 17 March 2012 (UTC)&lt;/div&gt;</summary>
		<author><name>136.237.60.105</name></author>
	</entry>
	<entry>
		<id>https://www.mediawiki.org/w/index.php?title=Thread:Project:Support_desk/Duplicate_Page_Entries&amp;diff=512033</id>
		<title>Thread:Project:Support desk/Duplicate Page Entries</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.org/w/index.php?title=Thread:Project:Support_desk/Duplicate_Page_Entries&amp;diff=512033"/>
		<updated>2012-03-17T16:05:56Z</updated>

		<summary type="html">&lt;p&gt;136.237.60.105: New thread: Duplicate Page Entries&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi,&lt;br /&gt;
I am trying to use the Page &amp;amp; PageLinks tables for my Page Rank project. I am using the mysqldump files available for download.&lt;br /&gt;
&lt;br /&gt;
I have noticed that there are a few entries in the Page table that have the same Page Title.&lt;br /&gt;
&lt;br /&gt;
How do I resolve a PageLink Record that is pointing to a Page Title with a duplicate Page ID.&lt;br /&gt;
&lt;br /&gt;
Any help will be greatly appreciated.&lt;br /&gt;
&lt;br /&gt;
Thank You,&lt;br /&gt;
Venkata (Ravi) Adusumilli&lt;/div&gt;</summary>
		<author><name>136.237.60.105</name></author>
	</entry>
</feed>