MyWiki talk:Project noticeboard/Archive 1

Jump to: navigation, search
Archive 1 Archive 2 →



Mlpearc powwow 17:57, 3 August 2011 (PDT)

Need to create Semi-protection settings. Need Mediawiki pages, protec dropdown option. Oh and don't forget LocalSettings.php also. First page to adjust settings, This one !
Mlpearc powwow 18:43, 5 July 2011 (PDT)

List of pages needing semi-protection


Mlpearc powwow 17:57, 3 August 2011 (PDT)

MyWiki:List of pages needing semi-protection

Next Project

YesY DONE: All images can be called from either wiki to the other Mlpearc powwow 10:25, 4 August 2011 (PDT)

I think this is what I need to be able to use images that are on MyWiki on EFD What I want to do is use MyWiki as a image repository of all images and be able to call them at EFD Example: On EFD and MyWiki you can input this command
Which will produce the following image from en-Wikipedia:


I want to set up the same function between EFD and MyWiki. I don't know that much about programming but, I belive the following two sections are what needs to be configured to make this work.

Extension:Replace Text


Mlpearc (powwow) 19:16, 6 December 2012 (PST)

Error during first run on this site. (runs on efd so far, error free) Extension:InterwikiMap

Warning: Invalid argument supplied for foreach() in /home/wiki/public_html/MyWiki/w/extensions/InterwikiMap/InterwikiMap.classes.php on line 78 P.S. I hope there is a way to do this and retain the ability to use en-Wikipedia and Commons.

Mlpearc powwow 12:28, 31 July 2011 (PDT)

Using files from a database that you can access : ForeignDBRepo

The ForeignDBRepo class is very useful for creating wiki families. In a wiki family, each wiki will have its own database or table prefix. Using this class, you can make a family member aware of the tables of another family member. Access through ForeignDBRepo is faster than through ForeignAPIRepo. This code should be deployed to localsettings.php.

I have made suttle changes to this code but not sure if it will work as is, or needs further changes.Mlpearc powwow 18:42, 3 August 2011 (PDT)

<source lang="php">
$wgForeignFileRepos[] = array(
    'class' => 'ForeignDBRepo',
    'name' => 'MyWiki',
    'url' => '',
    'directory' => '/path/to/media',
    'hashLevels' => 2, // This must be the same for the other family member
    'dbType' => $wgDBtype,
    'dbServer' => $wgDBserver,
    'dbUser' => $wgDBuser,
    'dbPassword' => $wgDBpassword,
    'dbFlags' => DBO_DEFAULT,
    'dbName' => 'mydb',
    'tablePrefix' => 'mw_',
    'hasSharedCache' => false,
    'descBaseUrl' => '',
    'fetchDescription' => false

This is whats in EFD LS.php already

$wgForeignFileRepos[] = array(
   'class'                   => 'ForeignAPIRepo',
   'name'                    => 'shared',
   'apibase'                 => '',
   'fetchDescription'        => true, // Optional
   'descriptionCacheExpiry'  => 43200, // 12 hours, optional (values are seconds)
   'apiThumbCacheExpiry'     => 43200, // 12 hours, optional, but required for local thumb caching

This Main Page has been resolved

I have noticed that something in the changes Hazard-SJ made is messing with the main page, the header has moved up in position covering the page edit tabs, the words "Main Page" are gone. I probably be playing with that so at any given moment the changes to Common .js and .css may be edited out, as a process of elimination to try to find out what is causing the interference. Mlpearc powwow 08:43, 5 August 2011 (PDT)


Resolved: The main page issue.

Removing this fixed the problems at the main page, so we need to figure what is causing the error. So far the additions to MediaWiki:Common.js so far have no errors. Mlpearc powwow 09:36, 5 August 2011 (PDT)

OK found the problem this script is already on the .css page at EFD. So I guess having it twice was causing the main page error. Mlpearc powwow 09:57, 5 August 2011 (PDT)

EFD .css page

.collapseButton {                /* 'show'/'hide' buttons created dynamically by the               */
        float: right;               /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        font-weight: normal;        /* are styled here so they can be customised.               */
        text-align: right;
        width: auto;

en-Wikipedia .css page

.collapseButton {          /* 'show'/'hide' buttons created dynamically */
    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]] are styled here   */
    text-align: right;     /* so they can be customised.                */
    width: auto;


Resolved: Fixed and working site wide Face-smile.svg

Mlpearc powwow 09:29, 9 August 2011 (PDT)

Spoofing error on account creation

A database query syntax error has occurred. 
This may indicate a bug in the software. 
The last attempted database query was:

    (SQL query hidden)

from within function "SpoofUser::getConflicts". 
Database returned error "1146: Table 'every821_connie.spoofuser' 
doesn't exist (localhost)".
The answer to this may be that whoever installed the extension didn't run the update script. I am getting a permission error when I attempt to run the script. Not sure why. Hazard-SJ 11:33, 24 September 2011 (PDT)
I've re-loaded the extension and ran the maintenance scripts but, haven't tested it yet Face-tongue.svgMlpearc powwow 11:34, 24 September 2011 (PDT)
Okay. Hazard-SJ 12:13, 24 September 2011 (PDT)
I ran the update script. Please recheck for the error. Hazard-SJ 21:16, 24 September 2011 (PDT)

stopforumspam's IP list

This [1] seems to be a real MUST HAVE

steps that I have completed

1).YesY Done

unzip -u
cp bannedips.csv bannedips.php
vi bannedips.php

Need to find out what is meant here: ("vi bannedips.php") It has to be something to do with this: [2]

2).X mark.svg Not done

The list of spambot IP's will appear as a one million-byte long line of text, each address separated by commas. Now do a search-and-replace from




to break this huge list into one 140,000-line list of bad IP's.

3). YesY Done

Go to the top of the list and add:

$wgProxyList = array(

Go to the end of the list and add:


4). X mark.svg Not done

Alternately, the following *nix commands (issued in your extensions directory) do all of the above:

unzip -u
echo "<?php" > bannedips.php
echo \$"wgProxyList = array(" >> bannedips.php; echo -n "'" >> bannedips.php
cat bannedips.csv | awk 'gsub (",","\x27,\n\x27")' >> bannedips.php
echo "');" >> bannedips.php
rm bannedips.csv

You may want to save these commands in a file called e.g., so you can run it periodically.

5). YesY Done ((kinda) The list is uploaded to public_html/w/ ))

Once you've saved your new-found list of bad bots, simply include it from LocalSettings.php as if it were any standard MediaWiki extension:


Category fairy ?

Something is adding the "Page Name" to the page as a Category. It can be removed by manipulating it with hotcat but, re-aplies when page is refreshed. Any ideas ? Mlpearc powwow 10:12, 11 August 2011 (PDT)

Varnish ?

I have always noticed at EFD the RecentChanges takes too long to load. It has been (in the last couple days) getting longer. I have never had this problem with RC at MyWiki but, I have in the last couple days as with EFD. At first I wrote this off as having to do with either my connection or browser or computer but of late it seems to be the processing of RC that the sever is doing is causing the delay. I have skimmed through Manual:Varnish caching and it looks very complicated to implement. It also mentions Squid. I am going to start studying up on this subject. If anyone has dealt with Varnish or Squid or has better ideas please chime in please do. Thoughts, ideas welcome. Mlpearc powwow 15:40, 10 August 2011 (PDT)

Well, after reading up a little it looks like this isn't a solution because all the pages that are slow loading will be changed anyway before anyone would re-call it so saving a copy of the page for future calling would work and be faster but RC and logs probably be different. The lag remains so if anyone has an idea well go from there. Mlpearc powwow 16:27, 10 August 2011 (PDT)
It doesn't seem so slow anymore. Hazard-SJ 22:21, 25 November 2011 (CST)
I've noticed that. I've added Check Spambots which should of slowed it up a bit, but she seems OK :) Mlpearc powwow 22:30, 25 November 2011 (CST)

Everything Food & Drink:Requests for permissions/Header

YesY Done

Broken .css. While in the edit mode, the edit box expands pass the normal parameters, prolly an open "<div" statement or maybe a {{cot}} X {{cob}} needs further closure. Mlpearc powwow 11:29, 28 December 2011 (CST)

I don't see this problem. Hazard-SJ 19:24, 12 January 2012 (CST)
Yeah, I remember what I meant, I don't see it either. I prolly fixed it and forgot to remove this :P Mlpearc powwow 21:01, 13 January 2012 (CST)

Upgrade question


Mlpearc (powwow) 18:56, 13 April 2012 (CDT)

I have just upgraded one of my wiki's of a 4 wiki farm. The process I do is upload the new MediaWiki 1.18.2 files into a directory named "MediaWiki 1.18.2". The operating wiki files are in a directory named "w". I copy the LocalSettings.php from "w" to "MediaWiki 1.18.2". I delete the image directory in the new MediaWiki directory and copy the image in the "w" directory to the "MediaWiki 1.18.2" directory. I rename the new MediaWiki extensions directory to "Whatever" the copy the extensions directory from the "w" directory to the new "MediaWiki" directory. Then rename MediaWiki 1.18.2 to"w" and "w" to "OLD-w" then run php w/maintenance/update.php

each time I ran the update script using puTTY (in this instance) I got a error message about a extension not opening or something of that sort. this happened about 7 to 8 times, each time I'd go to LocalSettings.php file and edit-out the require_once statement for the extension causing the error. After getting the upgrade done I have now gone back to re-activate the extensions involved. At this time I have noticed that each extension that I need to deal with "The directory for that extension is empty" This is a copy of the extension directory that was in place and working before the upgrade. Finally my question, is this something I am doing wrong ? Does the program see particular extensions as "needing to be upgraded" and empties the directory ? IDK



Special:NewFiles access error


Files were too large

Mlpearc (powwow) 20:53, 13 April 2012 (CDT)

When trying to access Special:NewFiles gets this error,

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 20648000 bytes) in /home/every821/public_html/MyWiki/w/includes/media/Bitmap.php on line 524

Bitmap.php line 524 = " $src_image = call_user_func( $loader, $params['srcPath'] ); "

Mlpearc (powwow) 02:39, 11 April 2012 (CDT)

Error messages when calling AbuseFilter log at EFD

Seems to have stopped, we'll see

Mlpearc (powwow) 19:46, 19 July 2012 (CDT)

  1. Fatal error: Maximum execution time of 30 seconds exceeded in /home/every821/public_html/w/includes/GlobalFunctions.php on line 696
  2. Fatal error: Maximum execution time of 30 seconds exceeded in /home/every821/public_html/w/extensions/SemanticMediaWiki/includes/SMW_ParseData.php on line 316
  3. Fatal error: Maximum execution time of 30 seconds exceeded in /home/every821/public_html/w/includes/cache/MessageCache.php on line 699
  4. Fatal error: Maximum execution time of 30 seconds exceeded in /home/every821/public_html/w/includes/Hooks.php on line 110

Fine tune

YesY Done Mlpearc (powwow) 19:45, 19 July 2012 (CDT)

This message needs to be fine tuned, layout and size wise. Mlpearc (powwow) 15:38, 16 May 2012 (CDT)

Testing ChangeAuthor Extension


This edit is to test the extension, I will change the revision author of this edit from Mlpearc to Admin Mlpearc (powwow) 01:45, 21 April 2012 (CDT)

This revision: diff=4717 Mlpearc (powwow) 01:50, 21 April 2012 (CDT)
New revision: diff=4718

According to the logs this extension was running last year (I remember having it installed, don't remember using it) anyway Have to keep an eye on this, took a long time loading the logs. It works but....
Mlpearc (powwow) 02:15, 21 April 2012 (CDT)

Redirect / Replace redirect image file on GRW

File:Redirect arrow without text.svg

YesY Done

The file has been replaced via FTP with File:Redirectltr.png. The path of the file change is "public_html/GargoyleWiki/w/skins/common/images/redirectltr.png"
Mlpearc (powwow) 11:58, 5 September 2012 (CDT)

Category browser error message from GRW

Catchable fatal error: Argument 2 passed to CategoryViewer::__construct() must implement interface IContextSource, none given, called in /home/every821/public_html/GargoyleWiki/w/extensions/CategoryBrowser/CategoryBrowserView.php on line 149 and defined in /home/every821/public_html/GargoyleWiki/w/includes/CategoryViewer.php on line 61

CategoryBrowser problem

Having problem with the extension at WIZ and GRW

Start researching with this.

Also posted same on extensions talk page

  • Note: Need to find help to post bug report: Bug 35965

Mlpearc (powwow) 19:21, 13 April 2012 (CDT)

YouTube linking

Mlpearc (Talk | contribs | block) added prefix "yt" ($1) (trans: 0) (local: 1) to the interwiki table.

Any links created with this prefix are considered the same as using a non-free file and must only be used to link the exact subject of the page or section. This policy would only be different if you're linking to a file from your own YouTube account and/or are the author of that file. Mlpearc Phone (Powwow) 16:26, 16 September 2012 (CDT)

Also unless explicitly granted by me, the founder of this project the "yt" prefix shall not be used with the Special:Interwiki, this shall stay at MyWiki until such day as I feel it is aceptable to be used else where. Mlpearc (powwow) 19:56, 16 September 2012 (CDT)

Merge user error

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

(SQL query hidden)

from within function "DatabaseBase::update". Database returned error "1062: Duplicate entry '9' for key 'PRIMARY' (localhost)".

Mlpearc (powwow) 01:49, 18 July 2012 (CDT)

Error on Account Creation of User:Admin

Got this error trying to create account through Special:SpecialPages >> Special:UserLogin&type=signup

  • send by email, overide titleblack list un-checked

Fatal error: Call to a member function userCannot() on a non-object in /home/every821/public_html/MyWiki/w/extensions/TitleBlacklist/TitleBlacklist.hooks.php on line 86

  • send by email, overide titleblack list checked

Fatal error: Call to a member function userCannot() on a non-object in /home/every821/public_html/MyWiki/w/extensions/TitleBlacklist/TitleBlacklist.hooks.php on line 86

Mlpearc (powwow) 23:24, 20 April 2012 (CDT)



Need to go through and / or change as they come up templates that use fmbox to ombox. Mlpearc Phone (Powwow) 00:41, 18 August 2012 (CDT)

User rights

Re-work project user rights. Work towards a global system. Mlpearc powwow 20:44, 27 January 2012 (CST)

Time stamps


Mlpearc (powwow) 11:15, 28 November 2012 (PST)

Here on MyWiki time stamps used to be in PDT as the archives show. I didn't purposely change this maybe somone else or maybe "collateral damage" :P Prefer it set back to Pacific time. I think I tricked the server with a setting in LocalSettings.php Mlpearc (powwow) 02:23, 21 April 2012 (CDT)

Errors with Extension:TitleBlacklist


Mlpearc (powwow) 11:18, 28 November 2012 (PST)

Warning: include(__DIR__/TitleBlacklist.i18n.php) [function.include]: failed to open stream: No such file or directory in /home/every821/public_html/MlpearcWiki/w/includes/LocalisationCache.php on line 455

Warning: include(__DIR__/TitleBlacklist.i18n.php) [function.include]: failed to open stream: No such file or directory in /home/every821/public_html/MlpearcWiki/w/includes/LocalisationCache.php on line 455

Warning: include() [function.include]: Failed opening '__DIR__/TitleBlacklist.i18n.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/every821/public_html/MlpearcWiki/w/includes/LocalisationCache.php on line 455

Warning: require(/home/every821/public_html/MlpearcWiki/w/__DIR__/TitleBlacklist.hooks.php) [function.require]: failed to open stream: No such file or directory in /home/every821/public_html/MlpearcWiki/w/includes/AutoLoader.php on line 1007

Fatal error: require() [function.require]: Failed opening required '/home/every821/public_html/MlpearcWiki/w/__DIR__/TitleBlacklist.hooks.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/every821/public_html/MlpearcWiki/w/includes/AutoLoader.php on line 1007

Upgrade Semantic MediaWiki on all sites

YesY Done

Upgrade all sites to Semantic_MediaWiki_1.8.0 ASAP. Mlpearc (powwow) 12:36, 2 December 2012 (PST)

HTML code for Twitter follow botton

Need to find out how and where to install this code.