<?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=122.181.146.157</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=122.181.146.157"/>
	<link rel="alternate" type="text/html" href="https://www.mediawiki.org/wiki/Special:Contributions/122.181.146.157"/>
	<updated>2026-08-23T01:50:21Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.47.0-wmf.16</generator>
	<entry>
		<id>https://www.mediawiki.org/w/index.php?title=Topic:Qh7kyy37r1ow1nn5&amp;topic_postId=qh9l7ddihnvz8rmg&amp;topic_revId=qh9l7ddihnvz8rmg&amp;action=single-view</id>
		<title>Topic:Qh7kyy37r1ow1nn5</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.org/w/index.php?title=Topic:Qh7kyy37r1ow1nn5&amp;topic_postId=qh9l7ddihnvz8rmg&amp;topic_revId=qh9l7ddihnvz8rmg&amp;action=single-view"/>
		<updated>2012-03-06T11:55:55Z</updated>

		<summary type="html">&lt;span class=&quot;plainlinks&quot;&gt;&lt;a href=&quot;/wiki/Special:Contributions/122.181.146.157&quot; class=&quot;mw-userlink mw-anonuserlink&quot; title=&quot;Special:Contributions/122.181.146.157&quot;&gt;&lt;bdi&gt;122.181.146.157&lt;/bdi&gt;&lt;/a&gt; &lt;span class=&quot;mw-usertoollinks&quot;&gt;(&lt;a href=&quot;/w/index.php?title=User_talk:122.181.146.157&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;mw-usertoollinks-talk new&quot; title=&quot;User talk:122.181.146.157 (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:Qh7kyy37r1ow1nn5&amp;amp;topic_showPostId=qh9l7ddihnvz8rmg#flow-post-qh9l7ddihnvz8rmg&quot; href=&quot;https://www.mediawiki.org/w/index.php?title=Topic:Qh7kyy37r1ow1nn5&amp;amp;topic_showPostId=qh9l7ddihnvz8rmg#flow-post-qh9l7ddihnvz8rmg&quot;&gt;commented&lt;/a&gt; on &quot;uploaded image are not getting saved to page&quot; (&lt;em&gt;issue fixed! just removed this line and deleted existing images and re uploaded. $wgUploadDirectory = true; It worked like a charm!&lt;/em&gt;)&lt;/span&gt;</summary>
		<author><name>122.181.146.157</name></author>
	</entry>
	<entry>
		<id>https://www.mediawiki.org/w/index.php?title=Thread:Project:Support_desk/uploaded_image_are_not_getting_saved_to_page/reply_(3)&amp;diff=507019</id>
		<title>Thread:Project:Support desk/uploaded image are not getting saved to page/reply (3)</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.org/w/index.php?title=Thread:Project:Support_desk/uploaded_image_are_not_getting_saved_to_page/reply_(3)&amp;diff=507019"/>
		<updated>2012-03-06T11:55:55Z</updated>

		<summary type="html">&lt;p&gt;122.181.146.157: Reply to uploaded image are not getting saved to page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;issue fixed!&lt;br /&gt;
&lt;br /&gt;
just removed this line and deleted existing images and re uploaded.&lt;br /&gt;
$wgUploadDirectory  = true;&lt;br /&gt;
&lt;br /&gt;
It worked like a charm!&lt;/div&gt;</summary>
		<author><name>122.181.146.157</name></author>
	</entry>
	<entry>
		<id>https://www.mediawiki.org/w/index.php?title=Topic:Qh7kyy37r1ow1nn5&amp;topic_postId=qh9hbiylkil45vta&amp;topic_revId=qh9hbiylkil45vta&amp;action=single-view</id>
		<title>Topic:Qh7kyy37r1ow1nn5</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.org/w/index.php?title=Topic:Qh7kyy37r1ow1nn5&amp;topic_postId=qh9hbiylkil45vta&amp;topic_revId=qh9hbiylkil45vta&amp;action=single-view"/>
		<updated>2012-03-06T10:46:10Z</updated>

		<summary type="html">&lt;span class=&quot;plainlinks&quot;&gt;&lt;a href=&quot;/wiki/Special:Contributions/122.181.146.157&quot; class=&quot;mw-userlink mw-anonuserlink&quot; title=&quot;Special:Contributions/122.181.146.157&quot;&gt;&lt;bdi&gt;122.181.146.157&lt;/bdi&gt;&lt;/a&gt; &lt;span class=&quot;mw-usertoollinks&quot;&gt;(&lt;a href=&quot;/w/index.php?title=User_talk:122.181.146.157&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;mw-usertoollinks-talk new&quot; title=&quot;User talk:122.181.146.157 (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:Qh7kyy37r1ow1nn5&amp;amp;topic_showPostId=qh9hbiylkil45vta#flow-post-qh9hbiylkil45vta&quot; href=&quot;https://www.mediawiki.org/w/index.php?title=Topic:Qh7kyy37r1ow1nn5&amp;amp;topic_showPostId=qh9hbiylkil45vta#flow-post-qh9hbiylkil45vta&quot;&gt;commented&lt;/a&gt; on &quot;uploaded image are not getting saved to page&quot; (&lt;em&gt;hey , my link is on local LAN , it is not public yet.&lt;/em&gt;)&lt;/span&gt;</summary>
		<author><name>122.181.146.157</name></author>
	</entry>
	<entry>
		<id>https://www.mediawiki.org/w/index.php?title=Project:Support_desk/Flow/2012/03&amp;diff=7360097</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=7360097"/>
		<updated>2012-03-06T10:46:10Z</updated>

		<summary type="html">&lt;p&gt;122.181.146.157: /* uploaded image are not getting saved to page */ Added reply&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?&lt;br /&gt;
&lt;br /&gt;
[[User:Cowantex|Cowantex]] ([[User talk:Cowantex|talk]]) 22:26, 4 March 2012 (UTC)&lt;br /&gt;
&lt;br /&gt;
[[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;
&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;
&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;
&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;
&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;/div&gt;</summary>
		<author><name>122.181.146.157</name></author>
	</entry>
	<entry>
		<id>https://www.mediawiki.org/w/index.php?title=Thread:Project:Support_desk/uploaded_image_are_not_getting_saved_to_page/reply_(2)&amp;diff=507014</id>
		<title>Thread:Project:Support desk/uploaded image are not getting saved to page/reply (2)</title>
		<link rel="alternate" type="text/html" href="https://www.mediawiki.org/w/index.php?title=Thread:Project:Support_desk/uploaded_image_are_not_getting_saved_to_page/reply_(2)&amp;diff=507014"/>
		<updated>2012-03-06T10:46:10Z</updated>

		<summary type="html">&lt;p&gt;122.181.146.157: Reply to uploaded image are not getting saved to page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;hey , my link is on local LAN , it is not public yet.&lt;/div&gt;</summary>
		<author><name>122.181.146.157</name></author>
	</entry>
</feed>