Project:Support desk

From MediaWiki.org
(Redirected from Support desk)
Jump to: navigation, search
vde   This page is for questions relating to the MediaWiki software.

Welcome to MediaWiki.org's Support desk, the central on-wiki place to ask MediaWiki questions!

The greater purpose of this page is to make our Manual and other available help so good that you do not have to come here to ask questions, or making them easier to find.

There are other ways for of communication as well (IRC, mailing lists etc.). Read more here.

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using:
    • MediaWiki (reported by your wiki's Special:Version page)
    • PHP (likewise)
    • Database (likewise, e.g. MySQL 5.5)
  2. Please include the URL of your wiki unless you absolutely can't. It's often a lot easier for us to identify the source of the problem if we can look for ourselves.
  3. To start a new thread, click "Start a new discussion".

Archiving topics

Topics are automatically archived when they have been inactive for three weeks. If a question you have asked is approaching this limit and still has not been answered, please 'bump' it to prevent it being archived. However do not 'bump' for other reasons.

Start a new discussion
First page
First page
Previous page
Previous page
Last page
Last page

"Error creating thumbnail: Error code: 2"

Edited by another user.
Last edit: 10:32, 20 November 2014

G'day,

I recently moved my MediaWiki from one server to another. Everything seems to work well except thumbnail generation: I receive "Error creating thumbnail: Error code: 2"

I have reviewed and tried the various documented online solutions without success. My LocalSettings.php is

$wgEnableUploads = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";

I can confirm that ImageMagick is installed (version 6.7.7-10) and the convert command path works when I try it from the Mediawiki directory prompt. . MediaWiki is looking into the right place for images (full images upload and display fine). I temporarily changed permissions to 777 on /images and on /images/temp just to see if that solved a problem. It didn't. I tried specifying

$wgMaxShellMemory = 512 000; 
$wgMaxShellFileSize = unlimited;

But that didn't solve the problem. I tried specifying the /images/temp directory with $wgTmpDirectory = "$IP/images/temp"; but that didn't solve the problem either. For kicks I tried using /etc/alternatives/convert but that didn't work either. I logged out of the wiki after each change and 'hard' refreshed my browser just to make sure that I was looking at the new settings effects. My MediaWiki is in /var/www/html/wikiname. It is version 1.23.2.

Convinced that imagemagick isn't being called or exiting properly I followed the links and got:

me@star:/usr/bin$ ls -l /usr/bin/convert
lrwxrwxrwx 1 root root 25 Nov  3 17:39 /usr/bin/convert -> /etc/alternatives/convert
me@star:/usr/bin$ ls -l /etc/alternatives/convert
lrwxrwxrwx 1 root root 20 Nov  3 17:39 /etc/alternatives/convert -> /usr/bin/convert.im6
me@star:/usr/bin$ ls -l /usr/bin/convert.im6
-rwxr-xr-x 1 root root 6320 Mar  6  2014 /usr/bin/convert.im6
me@star:/usr/bin$ dpkg -S /usr/bin/convert.im6
imagemagick: /usr/bin/convert.im6

I tried changing the LocalSettings command path to /usr/bin/convert/im6 but it didn't help. I'm out of troubleshooting ideas. Any suggestions?

129.65.56.9602:57, 20 November 2014

You say you have this:

$wgMaxShellMemory = 512 000; 
$wgMaxShellFileSize = unlimited;

But Manual:$wgMaxShellFileSize doesn't mention "unlimited" as a valid value, and also I think "512 000" is not a valid number in PHP. It should generate a parse error. Could you please verify that?

Ciencia Al Poder (talk)10:43, 20 November 2014

G'day, I was following (http://www.mediawiki.org/wiki/Manual_talk:Image_administration) suggestion and similar posts elsewhere reporting that this solved their similar problem even when no memory limitation was expected. I did not receive a parser error in MediWiki responses, looking in ~/apache2/error I don't see one, but I also commented out this trial after it did not resolve the problem.

129.65.56.9616:54, 20 November 2014

The fact that you didn't get a parser error with that invalid code suggests that your LocalSettings.php file is being ignored altogether...

This, that and the other (talk)00:47, 21 November 2014
 
 
 

External images: additional parameters

I allowed external images by setting $wgAllowExternalImages. Now I'm able to display images by: http://www.example.com/image.jpg

What if I want to add additional parameters, like size or align?

Doing: [File: http://www. example. com/image.jpg|left|100px|caption] doesn't work.

Kavuch (talk)22:25, 20 November 2014

I think what $wgAllowExternalImages enables might be completely different code compared to how the usual [] and [[]] links are created. To verify this you migh want to search the MediaWiki source code for $wgAllowExternalImages and then read the code to see, what it actually does.

88.130.125.3322:56, 20 November 2014

So is it possible to specify parameters, like size and alignment for external images?

Kavuch (talk)23:10, 20 November 2014

No, it isn't supported with $wgAllowExternalImages. You could try using $wgAllowImageTag instead.

This, that and the other (talk)00:45, 21 November 2014
 
 
 

Upgrade from MW 1.18.1 to 1.23.5 broke sysop and Bureaucrat users functionality

Upgrade from MW 1.18.1 to 1.23.5 broke sysop and Bureaucrat users functionality

User listed in sysop and Bureaucrats MediaWiki Output receives Permission error when clicking on restricted links.

/index.php/Special:ConfirmAccounts
Permission error You do not have permission to <action-confirmaccount>, for the following reason: The action you have requested is limited to users in the group: Bureaucrats.

/index.php/Special:UserLogin/signup
Permission error You do not have permission to create this user account, for the following reason: The action you have requested is limited to users in the group: Administrators.

/index.php?title=Special:ListUsers&group=bureaucrat
Displays user.

/index.php?title=Special:ListUsers&group=sysop
Displays user.

/index.php/Main_Page

Product Version MediaWiki 1.23.5 PHP 5.3.17 (apache2handler) MySQL 5.6.20-log

Thank you

Tcaton-nm (talk)21:54, 20 November 2014

Hi!

Two things: On Special:ConfirmAccounts, does it really contain the text <action-confirmaccount> at that place? This points to a missing language label. Anyway, since the special page itself is there, the extension obviously is installed in some way.

If I remember correctly, the usernames on Special:ListUsers are not cached, but displayed "live". Anyway, have a look at the database table user_group. Are there rows for the according user? User_id in ug_user and the name of the group written as a word in ug_group?

88.130.125.3323:03, 20 November 2014

I used links off: /index.php/Special:ListGroupRights under Groups: Bureaucrats & Administrators to test my Permissions.


These all gave me Permission Error:

index.php/Special:Maintenance

index.php/Special:UserCredentials

index.php/Special:ConfirmAccounts

index.php/Special:UserLogin/signup


Once again these URLs do display my username:

index.php?title=Special:ListUsers&group=sysop

index.php?title=Special:ListUsers&group=bureaucrat




My USERID is listed twice: from user:user_id in user_groups:ug_user.

Confusingly all user_groups:ug_groups are displayed as BLOB.

Thanks for helping!!!

Tcaton-nm (talk)00:04, 21 November 2014
 
 

PDF export

My Wiki is running on a remote hoster (Strato). Now I want to enable PDF export, e.g. using this extension: PdfBook.

In the installation section it reads, I have to install additional software (Htmldoc). Is it even possible on a remote host?

I know how to install extensions in general, but I'm not sure about PdfBook.

Kavuch (talk)20:59, 20 November 2014

On a webspace: No.

On a server: yes (if you can install additional programs)

In your case you should clarify, if you can access your server via a remote shell (on webspace, this isn't possible). It's unclear, what you mean with "remote hoster" :)

Florianschmidtwelzow (talk)21:09, 20 November 2014
 

Changing sidebar links?

How do I change sidebar menu links? the url below does not work.

http://www.solidarity.coop/wiki/MediaWiki:Sidebar Wiki Sidebar

Wiki

210.56.88.22418:53, 20 November 2014

Hello!

Use this one: http://www.solidarity.coop/wiki/index.php/MediaWiki:Sidebar

(background: You haven't set up short url to understand wiki/$1 as Articles.)

Florianschmidtwelzow (talk)21:06, 20 November 2014
 

How to Translate URLs (Main Page, Special:Categories, etc...)

Hi,

I am using mediawiki in portuguese, but the urls of the special pages, main page and etc are carrying the english equivalents.

How to translate these urls?

thanks!

189.18.252.3320:22, 20 November 2014

The urls are already translated. In which language the special pages (and other interface messages) are visible in, you can control with Manual:$wgLanguageCode in your LocalSettings.php. E.g. change the value (for you actually "en" i think) to "pt" (Portugese).

Florianschmidtwelzow (talk)21:05, 20 November 2014
 

How to hide revisions for a certain namespace from RC?

I have an Admin: namespace on my wiki for administrator related forums, and I've used lockdown to set edit and read for the namespace to admins only. However, revisions still appear in RecentChanges? How can I stop this?

88.81.114.7114:27, 9 November 2014

Incase you are wondering, I'm using MW 23.6

88.81.114.7117:18, 9 November 2014
 

MediaWiki isn't a plattform made for per-site-acces-rights. I see no easy way to prevent edits to a specific namespace not appear in RC feed. Maybe you can write an extension.

Florianschmidtwelzow (talk)18:21, 9 November 2014
 

I only have a very basic understanding of PHP, so probably not. Anyway, thanks for the reply.

88.81.114.7115:53, 10 November 2014
 

Not without hacking into core. ALso it would appear on search etc. Maybe Extension:ProtectSource can help.

93.184.128.1716:08, 10 November 2014

Will need to look at that. Thanks :)

88.81.114.7117:00, 20 November 2014
 
 

page loading slow speed

bump

1. MediaWiki 1.23.5

PHP 5.4.26 (apache2handler)

MySQL 5.5.36

2. Can't provide URL as it is a local install on my windows 8.1 machine (using Bitnami)


I upgraded from 22.6 to 23.5 yesterday and now my wiki loads much slower (again, this is a local install on my c: drive - internet is not (supposed to be) involved)

How can I profile what's going on and where the slowdown occurs? I've learned how to add a log file to LocalSettings.php and now I get output like this:

Start request GET /mediawiki/index.php/my page name
HTTP HEADERS:
ACCEPT: */*
REFERER: http://<my computer name here>:1070/mediawiki/index.php?search=<my page name>&title=Special%3ASearch&fulltext=Search
ACCEPT-LANGUAGE: en-US
USER-AGENT: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; Tablet PC 2.0; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)
ACCEPT-ENCODING: gzip, deflate
HOST: <my computer name here>:1070
DNT: 1
CONNECTION: Keep-Alive
COOKIE: my_wikiUserID=1; my_wikiUserName=<my name>; my_wikiToken=<deleting just in case>; mediawiki_bitnamiUserID=1; mediawiki_bitnamiUserName=<my name>; mediawiki_bitnamiToken=<deleting just in case>;
mediawiki_bitnami_session=<deleting>
[caches] main: EmptyBagOStuff, message: SqlBagOStuff, parser: SqlBagOStuff
[caches] LocalisationCache: using store LCStoreDB
Unstubbing $wgParser on call of $wgParser::setHook from registerFileProtocolLinksSMB
Parser: using preprocessor: Preprocessor_DOM
Fully initialised
Connected to database 0 at localhost
Title::getRestrictionTypes: applicable restrictions to [[<my page name>]] are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
User: cache miss for user 1
User: loading options for user 1 from database.
User: logged in from session
User: loading options for user 1 from override cache.
Connected to database 0 at localhost
MessageCache::load: Loading en... got from global cache
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions::__construct
OutputPage::checkLastModified: CACHE DISABLED
Article::view using parser cache: no
Article::view: doing uncached parse
Parser cache options found.
Title::getRestrictionTypes: applicable restrictions to [[<my page name>]] are {edit,move}
Title::getRestrictionTypes: applicable restrictions to [[<my page name>]] are {edit,move}
Title::getRestrictionTypes: applicable restrictions to [[<my page name>]] are {edit,move}
DatabaseBase::query: Writes done: REPLACE INTO `msg_resource` (mr_resource,mr_lang,mr_blob,mr_timestamp) VALUES ('user.options','en','{}','20141003142034')
OutputPage::sendCacheControl: private caching;  **
LoadBalancer::reuseConnection: this connection was not opened as a foreign connection
Request ended normally

I have tried disabling extensions. I have tried loading different pages. Everything is loading slowly for whatever reason.

The above log doesn't tell me anything. Maybe there is a way to time stamp every line on the log, so that I can see where the slowdown occurs?

Thanks.

p.s. I am not a mediawiki genius, more of a user, so assume I know nothing about "behind the scenes" workings of my "stack". I know where LocalSettings.php is and some other "important files".

A1s2d3f4 (talk)14:38, 3 October 2014

See Manual:Profiling

Ciencia Al Poder (talk)09:33, 7 October 2014

I have tried following directions on Manual:Profiling page.

I created StartProfiler.php with $wgProfiler['class'] = 'Profiler'; line.

I pasted

// Only record profiling info for pages that took longer than this
$wgProfileLimit = 0.0;
// Don't put non-profiling info into log file
$wgProfileOnly = true;
// Log sums from profiling into "profiling" table in db
$wgProfileToDatabase = false;
// If true, print a raw call tree instead of per-function report
$wgProfileCallTree = false;
// Should application server host be put into profiling table
$wgProfilePerHost = false;
 
// Settings for UDP profiler
$wgUDPProfilerHost = '127.0.0.1';
$wgUDPProfilerPort = '1070';
 
// Detects non-matching wfProfileIn/wfProfileOut calls
$wgDebugProfiling = false;
// Output debug message on every wfProfileIn/wfProfileOut
$wgDebugFunctionEntry = 0;
// Lots of debugging output from SquidUpdate.php
$wgDebugSquid = false;

at the bottom of LocalSettings.php.


what I am getting in the debug file is still the same as what I had in my OP.

What am I doing wrong?

A1s2d3f4 (talk)03:21, 14 November 2014

Strange, I've tried the same configuration as yours and the debug log generates an additional table with an aggregate time of the time spent on each part.

Be sure you named it StartProfiler.php and that it's placed in the MediaWiki root directory (the same as LocalSettings.php)

Ciencia Al Poder (talk)17:22, 14 November 2014

I was an idiot, in my StartProfiler the $wgProfiler['class'] = 'Profiler'; line was inside /* */ comment block!

So, here is the table, below. I am utterly confused by it, because "the percentages don't add up". (e.g. MediaWiki::main = 90.795%, then LoadBalancer::getConnection is 68%; 90+68 > 100... but clearly this table works differently). Seems like there are "too many calls" to a couple of items. I wish I knew what it all meant.

(All I did was click on the link to the Main page - it took a long time, as usual, maybe around 7-8 seconds to get there.)

Name                                                                         Calls         Total          Each             %       Mem
-total                                                                           1      3075.039      3075.039       100.000%  12618823  (     3075.039 -     3075.039) [2181]
MediaWiki::main                                                                  1      2791.980      2791.980        90.795%   7623413  (     2791.980 -     2791.980) [2133]
LoadBalancer::getConnection                                                    123      2116.834        17.210        68.839%    308199  (        0.004 -     1102.039) [127]
LoadBalancer::openConnection                                                   123      2115.470        17.199        68.795%    303705  (       -0.001 -     1102.015) [4]
DatabaseMysqlBase::open                                                          2      2097.257      1048.628        68.203%      2720  (     1012.983 -     1084.274) [2]
dbconnect-localhost                                                              2      2076.422      1038.211        67.525%      2416  (     1009.225 -     1067.197) [0]
DatabaseBase::query                                                            136       233.901         1.720         7.606%    133787  (        0.230 -       43.661) [136]
OutputPage::output                                                               1       218.776       218.776         7.115%   1903731  (      218.776 -      218.776) [1385]
MediaWiki::performRequest                                                        1       214.171       214.171         6.965%   3498009  (      214.171 -      214.171) [683]
Output-skin                                                                      1       212.175       212.175         6.900%   1874313  (      212.175 -      212.175) [1380]
SkinTemplate::outputPage                                                         1       212.098       212.098         6.897%   1918640  (      212.098 -      212.098) [1379]
MediaWiki::performAction                                                         1       187.030       187.030         6.082%   2887519  (      187.030 -      187.030) [655]
Article::view                                                                    1       186.950       186.950         6.080%   2888598  (      186.950 -      186.950) [653]
SkinTemplate::prepareQuickTemplate                                               1       159.695       159.695         5.193%   1866804  (      159.695 -      159.695) [711]
Setup.php                                                                        1       157.826       157.826         5.132%   3765661  (      157.826 -      157.826) [15]
SkinTemplate::prepareQuickTemplate-stuff5                                        1       111.512       111.512         3.626%   1183149  (      111.512 -      111.512) [543]
query: SELECT lc_value FROM `lNn_cache` WHERE lc_lang = 'X' LIMIT N            103       102.063         0.991         3.319%    112768  (        0.232 -       17.007) [0]
MessageCache::get                                                              227        92.622         0.408         3.012%    122359  (        0.020 -        5.770) [889]
Setup.php-globals                                                                1        81.238        81.238         2.642%   2399952  (       81.238 -       81.238) [2]
LocalisationCache::getSubitem-load                                              87        81.044         0.932         2.636%    106715  (        0.379 -        5.724) [348]
Parser::parse                                                                    1        71.071        71.071         2.311%    663663  (       71.071 -       71.071) [379]
Parser::parse-WikitextContent::getParserOutput                                   1        71.071        71.071         2.311%    663678  (       71.071 -       71.071) [378]
User::load                                                                       2        65.270        32.635         2.123%    235899  (        3.292 -       61.978) [30]
LocalisationCache::getItem-load                                                 14        62.157         4.440         2.021%    113562  (        0.640 -       49.182) [69]
SkinTemplate::outputPage-execute                                                 1        48.840        48.840         1.588%     26904  (       48.840 -       48.840) [658]
Parser::transformMsg                                                            10        47.319         4.732         1.539%    508919  (        0.443 -       34.508) [233]
Parser::preprocess                                                              10        47.280         4.728         1.538%    509100  (        0.440 -       34.503) [223]
-overhead-total                                                               2182        44.620         0.020         1.451%   1500392  (       44.620 -       44.620) [2182]
query: SELECT page_id,page_namespace,page_title,page_restrictions,page_coun      1        43.641        43.641         1.419%      1192  (       43.641 -       43.641) [0]
Parser::internalParse                                                            1        43.513        43.513         1.415%    609284  (       43.513 -       43.513) [119]
Parser::replaceVariables                                                        11        39.927         3.630         1.298%    307903  (        0.345 -       25.164) [169]
SkinTemplate::prepareQuickTemplate-stuff4                                        1        37.771        37.771         1.228%    669832  (       37.771 -       37.771) [106]
Linker::titleAttrib                                                             32        36.673         1.146         1.193%     43795  (        0.058 -        5.119) [518]
-setup                                                                           1        36.419        36.419         1.184%         0  (       36.419 -       36.419) [0]
WebStart.php-conf                                                                1        34.814        34.814         1.132%    471920  (       34.814 -       34.814) [0]
ResourceLoader::makeModuleResponse                                               2        34.083        17.042         1.108%    748198  (        4.711 -       29.372) [17]
MediaWiki::triggerJobs                                                           1        30.961        30.961         1.007%    272588  (       30.961 -       30.961) [13]
Parser::replaceInternalLinks2                                                    1        30.277        30.277         0.985%    591063  (       30.277 -       30.277) [41]
Parser::replaceInternalLinks2-always_known                                       1        26.500        26.500         0.862%    575114  (       26.500 -       26.500) [29]
MediaWiki::initializeArticle                                                     1        24.098        24.098         0.784%    578230  (       24.098 -       24.098) [16]
Setup.php-includes                                                               1        23.028        23.028         0.749%    366496  (       23.028 -       23.028) [0]
Setup.php-extensions                                                             1        22.540        22.540         0.733%    697200  (       22.540 -       22.540) [2]
Setup.php-extensions-registerFileProtocolLinksSMB                                1        22.520        22.520         0.732%    696840  (       22.520 -       22.520) [1]
StubObject::_unstub-wgParser                                                     1        22.467        22.467         0.731%    697336  (       22.467 -       22.467) [0]
ParserOutput::getText                                                            1        21.068        21.068         0.685%    604117  (       21.068 -       21.068) [35]
ResourceLoader::makeModuleResponse-user.tokens                                   1        20.665        20.665         0.672%    689208  (       20.665 -       20.665) [0]
RequestContext::getSkin-createskin                                               1        19.961        19.961         0.649%    600408  (       19.961 -       19.961) [2]
query: SELECT keyname,value,exptime FROM `objectcache` WHERE keyname = 'X'      10        19.579         1.958         0.637%     11032  (        0.285 -       10.201) [0]
Parser::firstCallInit                                                            1        18.712        18.712         0.608%    427132  (       18.712 -       18.712) [76]
-overhead-internal                                                            2182        18.489         0.008         0.601%    488776  (        0.006 -        0.050) [0]
PPFrame_DOM::expand                                                             34        17.304         0.509         0.563%    126103  (        0.012 -        6.613) [126]
Preprocessor_DOM::preprocessToObj                                               12        15.565         1.297         0.506%     13753  (        0.118 -       10.480) [24]
query: SELECT rev_id,rev_page,rev_text_id,rev_timestamp,rev_comment,rev_use      1        15.076        15.076         0.490%      1256  (       15.076 -       15.076) [0]
query: DELETE FROM `objectcache` WHERE keyname = 'X'                             3        13.679         4.560         0.445%       672  (        1.822 -        6.373) [0]
Preprocessor_DOM::preprocessToObj-loadXML                                       12        12.247         1.021         0.398%      7696  (        0.035 -        9.509) [0]
Linker::accesskey                                                               30        11.765         0.392         0.383%     27316  (        0.038 -        1.171) [161]
Linker::link                                                                     6        11.576         1.929         0.376%    184197  (        0.128 -       10.265) [57]
SkinTemplate::buildContentNavigationUrls                                         1        11.450        11.450         0.372%     83557  (       11.450 -       11.450) [121]
Parser::clearState                                                              11        10.308         0.937         0.335%    217568  (        0.076 -        9.302) [22]
MagicWord::load                                                                129         9.630         0.075         0.313%     95650  (        0.004 -        4.871) [7]
SkinTemplate::buildNavUrls                                                       1         9.578         9.578         0.311%    207510  (        9.578 -        9.578) [39]
Parser::braceSubstitution                                                       11         9.310         0.846         0.303%     86858  (        0.139 -        5.061) [112]
SkinTemplate::buildPersonalUrls                                                  1         9.086         9.086         0.295%      8213  (        9.086 -        9.086) [56]
SkinTemplate::prepareQuickTemplate-stuff3                                        1         8.143         8.143         0.265%      4949  (        8.143 -        8.143) [36]
query: SELECT pr_type,pr_expiry,pr_level,pr_cascade FROM `page_restrictions      1         7.871         7.871         0.256%      1088  (        7.871 -        7.871) [0]
Setup.php-memcached                                                              1         6.822         6.822         0.222%    150368  (        6.822 -        6.822) [0]
ResourceLoader::filter                                                           3         6.642         2.214         0.216%     16554  (        2.052 -        2.536) [6]
JobQueue::getSiblingQueuesWithJobs                                               1         6.131         6.131         0.199%       825  (        6.131 -        6.131) [4]
Setup.php-misc1                                                                  1         5.970         5.970         0.194%     55504  (        5.970 -        5.970) [0]
query: SELECT DISTINCT job_cmd FROM `job` WHERE job_cmd IN ('X')                 1         5.787         5.787         0.188%      1080  (        5.787 -        5.787) [0]
ResourceLoader::__construct                                                      1         5.677         5.677         0.185%    169257  (        5.677 -        5.677) [3]
hook: MessageCache::get                                                        227         5.671         0.025         0.184%     50872  (        0.000 -        5.048) [0]
Parser::braceSubstitution-pfunc                                                  3         5.649         1.883         0.184%     36550  (        0.303 -        4.820) [17]
Parser::callParserFunction                                                       3         5.567         1.856         0.181%     31437  (        0.281 -        4.779) [14]
Parser::callParserFunction-pfunc-plural                                          3         5.517         1.839         0.179%     31436  (        0.266 -        4.756) [11]
Article::showPatrolFooter                                                        1         5.088         5.088         0.165%     97536  (        5.088 -        5.088) [2]
Title::getLinkURL                                                                9         4.676         0.520         0.152%     48155  (        0.049 -        3.967) [30]
Linker::linkUrl                                                                  6         4.471         0.745         0.145%     47482  (        0.049 -        3.971) [27]
Setup.php-defaults2                                                              1         4.403         4.403         0.143%       576  (        4.403 -        4.403) [1]
MessageBlobStore::get                                                            1         4.339         4.339         0.141%       929  (        4.339 -        4.339) [4]
Setup.php-exception                                                              1         4.331         4.331         0.141%     32992  (        4.331 -        4.331) [0]
hook: ParserFirstCallInit                                                        1         4.131         4.131         0.134%    125496  (        4.131 -        4.131) [1]
wfCite                                                                           1         4.110         4.110         0.134%    125096  (        4.110 -        4.110) [0]
query: INSERT IGNORE INTO `objectcache` (keyname,value,exptime) VALUES ('X'      2         4.055         2.028         0.132%       448  (        1.972 -        2.084) [0]
Title::getUserPermissionsErrorsInternal                                         12         3.805         0.317         0.124%     38465  (        0.038 -        2.891) [47]
query: SELECT mr_blob,mr_resource,mr_timestamp FROM `msg_resource` WHERE mr      1         3.801         3.801         0.124%      1128  (        3.801 -        3.801) [0]
SkinTemplate::buildContentNavigationUrls-live                                    1         3.782         3.782         0.123%      4973  (        3.782 -        3.782) [57]
Revision::loadText                                                               1         3.717         3.717         0.121%      1809  (        3.717 -        3.717) [5]
Setup.php-session                                                                1         3.522         3.522         0.115%      1976  (        3.522 -        3.522) [0]
SkinTemplate::outputPage-init                                                    1         3.510         3.510         0.114%     24362  (        3.510 -        3.510) [7]
Skin::initPage                                                                   1         3.473         3.473         0.113%     23698  (        3.473 -        3.473) [6]
query: SELECT old_text,old_flags FROM `text` WHERE old_id = 'X' LIMIT N          1         3.438         3.438         0.112%      1096  (        3.438 -        3.438) [0]
Setup.php-tempDir                                                                1         3.430         3.430         0.112%       224  (        3.430 -        3.430) [0]
query: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')           1         3.257         3.257         0.106%       224  (        3.257 -        3.257) [0]
Parser::replaceExternalLinks                                                     1         3.054         3.054         0.099%      6595  (        3.054 -        3.054) [10]
query: SELECT wl_notificationtimestamp FROM `watchlist` WHERE wl_user = 'X'      1         2.984         2.984         0.097%      1088  (        2.984 -        2.984) [0]
query: SELECT page_namespace,page_title,page_touched FROM `page` WHERE (pag      4         2.854         0.714         0.093%      4352  (        0.464 -        1.192) [0]
Parser::braceSubstitution-modifiers                                             11         2.831         0.257         0.092%     44558  (        0.044 -        1.616) [59]
query: SELECT user_id FROM `user_newtalk` WHERE user_id = 'X' LIMIT N            1         2.801         2.801         0.091%      1080  (        2.801 -        2.801) [0]
User::getEffectiveGroups                                                         1         2.701         2.701         0.088%     25769  (        2.701 -        2.701) [3]
User::getAutomaticGroups                                                         1         2.684         2.684         0.087%     25272  (        2.684 -        2.684) [1]
ResourceLoader::makeModuleResponse-user.cssprefs                                 1         2.642         2.642         0.086%     15129  (        2.642 -        2.642) [3]
Skin::getSkinNames-init                                                          1         2.524         2.524         0.082%      1576  (        2.524 -        2.524) [0]
MediaWiki_I18N::translate                                                        6         2.518         0.420         0.082%      2680  (        0.072 -        2.104) [23]
Preprocessor_DOM::preprocessToXml                                               12         2.326         0.194         0.076%    114824  (        0.074 -        0.867) [0]
Parser::replaceInternalLinks2-setup                                              1         1.907         1.907         0.062%      2666  (        1.907 -        1.907) [6]
MessageCache::load                                                               1         1.871         1.871         0.061%      1505  (        1.871 -        1.871) [4]
SkinTemplate::prepareQuickTemplate-stuff2                                        1         1.858         1.858         0.060%      5493  (        1.858 -        1.858) [14]
MessageCache::load-fromcache                                                     1         1.847         1.847         0.060%      1025  (        1.847 -        1.847) [3]
Parser::replaceInternalLinks2-title                                              1         1.825         1.825         0.059%     12680  (        1.825 -        1.825) [0]
Article::fetchContentObject                                                      1         1.776         1.776         0.058%     17624  (        1.776 -        1.776) [1]
Skin::buildSidebar                                                               1         1.668         1.668         0.054%      6551  (        1.668 -        1.668) [40]
LinkBatch::executeInto                                                           1         1.577         1.577         0.051%      2641  (        1.577 -        1.577) [5]
LinkBatch::doQuery                                                               1         1.275         1.275         0.041%      2665  (        1.275 -        1.275) [4]
ResourceLoader::register                                                         2         1.104         0.552         0.036%     13912  (        0.032 -        1.073) [0]
query: SELECT page_id,page_namespace,page_title,page_len,page_is_redirect,p      1         0.986         0.986         0.032%      1096  (        0.986 -        0.986) [0]
Parser::doDoubleUnderscore                                                       1         0.859         0.859         0.028%     12389  (        0.859 -        0.859) [14]
Sanitizer::removeHTMLtags                                                        3         0.830         0.277         0.027%     46649  (        0.057 -        0.410) [4]
Parser::braceSubstitution-setup                                                 11         0.672         0.061         0.022%      6516  (        0.030 -        0.281) [11]
query: SELECT value,exptime FROM `objectcache` WHERE keyname = 'X' LIMIT N       2         0.660         0.330         0.021%      2192  (        0.266 -        0.394) [0]
Parser::doBlockLevels                                                            1         0.632         0.632         0.021%      6213  (        0.632 -        0.632) [14]
Parser::doTableStuff                                                             1         0.470         0.470         0.015%      5120  (        0.470 -        0.470) [0]
hook: MessagesPreLoad                                                          227         0.469         0.002         0.015%     50864  (        0.000 -        0.023) [0]
query: BEGIN                                                                     1         0.436         0.436         0.014%       352  (        0.436 -        0.436) [0]
Parser::doBlockLevels-paragraph                                                 14         0.408         0.029         0.013%      3592  (        0.007 -        0.275) [0]
hook: ParserClearState                                                          11         0.408         0.037         0.013%      9596  (        0.028 -        0.059) [11]
Parser::doMagicLinks                                                             1         0.405         0.405         0.013%      3336  (        0.405 -        0.405) [0]
SkinTemplate::setupTemplateForOutput                                             1         0.403         0.403         0.013%      4146  (        0.403 -        0.403) [6]
SkinTemplate::setupTemplateForOutput-stuff                                       1         0.391         0.391         0.013%      3601  (        0.391 -        0.391) [4]
Setup.php-defaults                                                               1         0.357         0.357         0.012%      6760  (        0.357 -        0.357) [0]
Parser::doHeadings                                                               1         0.282         0.282         0.009%      2352  (        0.282 -        0.282) [0]
SkinTemplate::buildContentNavigationUrls-edit                                    1         0.252         0.252         0.008%      1163  (        0.252 -        0.252) [9]
ResourceLoader::makeModuleResponse-user.options                                  1         0.238         0.238         0.008%      3608  (        0.238 -        0.238) [0]
query: SELECT page_namespace,page_title,page_touched FROM `page` WHERE (pag      1         0.230         0.230         0.007%      1088  (        0.230 -        0.230) [0]
Cite::clearState                                                                11         0.188         0.017         0.006%      1760  (        0.013 -        0.027) [0]
Title::getPageLanguage                                                          16         0.131         0.008         0.004%      4457  (        0.002 -        0.055) [4]
Parser::doAllQuotes                                                              1         0.105         0.105         0.003%      4408  (        0.105 -        0.105) [0]
SpecialPageFactory::getList                                                      1         0.103         0.103         0.003%       864  (        0.103 -        0.103) [1]
hook: GetLocalURL::Internal                                                     39         0.098         0.003         0.003%      9048  (        0.000 -        0.013) [0]
Skin::getSiteNotice                                                              1         0.086         0.086         0.003%       330  (        0.086 -        0.086) [7]
hook: ParserCloned                                                               1         0.079         0.079         0.003%      2624  (        0.079 -        0.079) [1]
LinkCache::addLinkObj                                                            3         0.064         0.021         0.002%       848  (        0.018 -        0.023) [0]
Skin::getCachedNotice                                                            2         0.064         0.032         0.002%      1001  (       -0.001 -        0.064) [3]
StripState::unstripType                                                          8         0.060         0.007         0.002%      9592  (        0.005 -        0.010) [0]
hook: GetLocalURL::Article                                                      23         0.059         0.003         0.002%      5336  (        0.001 -        0.006) [0]
Linker::linkAttribs                                                              6         0.059         0.010         0.002%      4832  (        0.008 -        0.013) [0]
StubObject::_unstub-wgLang                                                       1         0.057         0.057         0.002%       256  (        0.057 -        0.057) [0]
hook: GetLocalURL                                                               39         0.056         0.001         0.002%      8744  (        0.000 -        0.002) [0]
ParserOptions::initialiseFromUser                                                2         0.051         0.026         0.002%       288  (        0.024 -        0.027) [0]
hook: userCan                                                                   12         0.039         0.003         0.001%      2592  (        0.001 -        0.020) [0]
hook: ParserAfterParse                                                           1         0.038         0.038         0.001%      1248  (        0.038 -        0.038) [1]
hook: TitleIsAlwaysKnown                                                         4         0.038         0.009         0.001%       928  (        0.001 -        0.032) [0]
hook: ParserGetVariableValueVarCache                                             8         0.034         0.004         0.001%      1920  (        0.002 -        0.013) [0]
Cite::cloneState                                                                 1         0.033         0.033         0.001%      1912  (        0.033 -        0.033) [0]
hook: ContentHandlerDefaultModelFor                                              2         0.032         0.016         0.001%       480  (        0.003 -        0.029) [0]
hook: TitleGetRestrictionTypes                                                   4         0.032         0.008         0.001%       928  (        0.002 -        0.027) [0]
BaseTemplate::getToolbox                                                         1         0.031         0.031         0.001%      3312  (        0.031 -        0.031) [1]
hook: ParserBeforeTidy                                                           1         0.031         0.031         0.001%      1032  (        0.031 -        0.031) [1]
hook: ParserGetVariableValueTs                                                   8         0.030         0.004         0.001%      1856  (        0.002 -        0.013) [0]
Cite::checkRefsNoReferences                                                      2         0.030         0.015         0.001%       488  (        0.012 -        0.018) [0]
Parser::initialiseVariables                                                      1         0.028         0.028         0.001%       680  (        0.028 -        0.028) [1]
hook: ParserBeforeStrip                                                         11         0.028         0.003         0.001%      2464  (        0.002 -        0.006) [0]
SkinTemplate::buildContentActionUrls                                             1         0.024         0.024         0.001%       856  (        0.024 -        0.024) [0]
hook: TitleQuickPermissions                                                      9         0.024         0.003         0.001%      2088  (        0.000 -        0.008) [0]
hook: TitleIsCssOrJsPage                                                         3         0.021         0.007         0.001%       696  (        0.002 -        0.018) [0]
hook: ParserLimitReportFormat                                                    7         0.021         0.003         0.001%      1624  (        0.002 -        0.004) [0]
hook: TitleIsWikitextPage                                                        2         0.020         0.010         0.001%       464  (        0.002 -        0.019) [0]
hook: getUserPermissionsErrors                                                  12         0.017         0.001         0.001%      2792  (        0.000 -        0.002) [0]
Parser::replaceInternalLinks2-e1                                                 1         0.016         0.016         0.001%      1624  (        0.016 -        0.016) [0]
LinkHolderArray::replaceText                                                     2         0.015         0.008         0.000%       664  (        0.006 -        0.010) [0]
hook: WebRequestPathInfoRouter                                                   1         0.015         0.015         0.000%       232  (        0.015 -        0.015) [0]
MediaWiki::checkMaxLag                                                           1         0.014         0.014         0.000%       320  (        0.014 -        0.014) [0]
LanguageGetMagic                                                                 1         0.014         0.014         0.000%       216  (        0.014 -        0.014) [1]
hook: LinkerMakeExternalLink                                                     5         0.014         0.003         0.000%      1160  (        0.002 -        0.006) [0]
hook: ParserAfterStrip                                                          11         0.013         0.001         0.000%      2464  (        0.000 -        0.002) [0]
hook: LinkEnd                                                                    6         0.013         0.002         0.000%      1296  (        0.002 -        0.003) [0]
hook: LinkBegin                                                                  6         0.013         0.002         0.000%      1296  (        0.001 -        0.005) [0]
hook: UserRetrieveNewTalks                                                       2         0.013         0.006         0.000%       464  (        0.003 -        0.009) [0]
hook: SetupAfterCache                                                            1         0.013         0.013         0.000%       288  (        0.013 -        0.013) [0]
Linker::link-checkPageExistence                                                  6         0.012         0.002         0.000%      1392  (       -0.001 -        0.007) [0]
Revision::getRevisionText                                                        1         0.012         0.012         0.000%       616  (        0.012 -        0.012) [0]
hook: ArticlePageDataAfter                                                       1         0.011         0.011         0.000%       232  (        0.011 -        0.011) [0]
hook: ResourceLoaderRegisterModules                                              1         0.011         0.011         0.000%       240  (        0.011 -        0.011) [0]
hook: UserLoadFromSession                                                        1         0.011         0.011         0.000%       232  (        0.011 -        0.011) [0]
hook: ArticlePageDataBefore                                                      1         0.011         0.011         0.000%       232  (        0.011 -        0.011) [0]
MessageCache::saveToCaches                                                       1         0.011         0.011         0.000%       336  (        0.011 -        0.011) [0]
hook: ParserSectionCreate                                                        3         0.011         0.004         0.000%       696  (        0.002 -        0.006) [0]
hook: GetNewMessagesAlert                                                        1         0.010         0.010         0.000%       232  (        0.010 -        0.010) [0]
hook: AuthPluginSetup                                                            1         0.010         0.010         0.000%       224  (        0.010 -        0.010) [0]
SkinTemplate::setupTemplateForOutput-init                                        1         0.010         0.010         0.000%       768  (        0.010 -        0.010) [0]
Parser::replaceInternalLinks2-misc                                               1         0.010         0.010         0.000%       272  (        0.010 -        0.010) [0]
hook: AjaxAddScript                                                              1         0.009         0.009         0.000%       224  (        0.009 -        0.009) [0]
hook: UserLoadOptions                                                            2         0.009         0.005         0.000%       448  (        0.002 -        0.008) [0]
hook: SkinTemplateOutputPageBeforeExec                                           1         0.008         0.008         0.000%       240  (        0.008 -        0.008) [0]
hook: SkinTemplateTabAction                                                      3         0.007         0.002         0.000%       696  (        0.002 -        0.002) [0]
hook: ArticleFromTitle                                                           1         0.007         0.007         0.000%       224  (        0.007 -        0.007) [0]
DeferredUpdates::doUpdates                                                       1         0.007         0.007         0.000%       320  (        0.007 -        0.007) [0]
hook: PageContentLanguage                                                        3         0.007         0.002         0.000%       696  (        0.001 -        0.003) [0]
hook: SkinAfterBottomScripts                                                     1         0.006         0.006         0.000%       232  (        0.006 -        0.006) [0]
hook: MagicWordwgVariableIDs                                                     1         0.006         0.006         0.000%       232  (        0.006 -        0.006) [0]
hook: OutputPageBodyAttributes                                                   1         0.006         0.006         0.000%       232  (        0.006 -        0.006) [0]
hook: LanguageGetMagic                                                           1         0.006         0.006         0.000%       224  (        0.006 -        0.006) [0]
hook: GetAutoPromoteGroups                                                       1         0.005         0.005         0.000%       232  (        0.005 -        0.005) [0]
hook: ArticleAfterFetchContentObject                                             1         0.005         0.005         0.000%       240  (        0.005 -        0.005) [0]
hook: BaseTemplateAfterPortlet                                                   2         0.005         0.002         0.000%       464  (        0.002 -        0.003) [0]
WebStart.php-ob_start                                                            1         0.005         0.005         0.000%       224  (        0.005 -        0.005) [0]
hook: CanonicalNamespaces                                                        1         0.005         0.005         0.000%       232  (        0.005 -        0.005) [0]
hook: ArticleViewFooter                                                          1         0.005         0.005         0.000%       224  (        0.005 -        0.005) [0]
hook: ParserAfterTidy                                                            1         0.005         0.005         0.000%       224  (        0.005 -        0.005) [0]
hook: MediaWikiPerformAction                                                     1         0.005         0.005         0.000%       232  (        0.005 -        0.005) [0]
Sanitizer::removeHTMLcomments                                                    3         0.005         0.002         0.000%       792  (        0.001 -        0.002) [0]
LinkHolderArray::replace                                                         1         0.004         0.004         0.000%       712  (        0.004 -        0.004) [0]
hook: LanguageGetSpecialPageAliases                                              1         0.004         0.004         0.000%       240  (        0.004 -        0.004) [0]
Article::getContentObject                                                        2         0.004         0.002         0.000%       464  (        0.002 -        0.002) [0]
hook: DoEditSectionLink                                                          2         0.004         0.002         0.000%       448  (        0.002 -        0.002) [0]
hook: GetDoubleUnderscoreIDs                                                     1         0.004         0.004         0.000%       232  (        0.004 -        0.004) [0]
hook: SkinAfterContent                                                           1         0.003         0.003         0.000%       224  (        0.003 -        0.003) [0]
hook: ParserLimitReportPrepare                                                   1         0.003         0.003         0.000%       232  (        0.003 -        0.003) [0]
hook: SpecialPage_initList                                                       1         0.003         0.003         0.000%       232  (        0.003 -        0.003) [0]
hook: NamespaceIsMovable                                                         2         0.003         0.002         0.000%       464  (        0.002 -        0.002) [0]
hook: InternalParseBeforeSanitize                                                1         0.002         0.002         0.000%       240  (        0.002 -        0.002) [0]
hook: ParserLimitReport                                                          1         0.002         0.002         0.000%       224  (        0.002 -        0.002) [0]
hook: SiteNoticeAfter                                                            1         0.002         0.002         0.000%       224  (        0.002 -        0.002) [0]
hook: UserGetDefaultOptions                                                      1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: InternalParseBeforeLinks                                                   1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: LanguageLinks                                                              1         0.002         0.002         0.000%       224  (        0.002 -        0.002) [0]
hook: OutputPageParserOutput                                                     1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: GetCanonicalURL                                                            1         0.002         0.002         0.000%       224  (        0.002 -        0.002) [0]
hook: BeforeInitialize                                                           1         0.002         0.002         0.000%       224  (        0.002 -        0.002) [0]
hook: MakeGlobalVariablesScript                                                  1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: SkinVectorStyleModules                                                     1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: SkinTemplatePreventOtherActiveTabs                                         1         0.002         0.002         0.000%       248  (        0.002 -        0.002) [0]
hook: SkinTemplateToolboxEnd                                                     1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: SkinBuildSidebar                                                           1         0.002         0.002         0.000%       224  (        0.002 -        0.002) [0]
hook: LanguageGetNamespaces                                                      1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: SearchableNamespaces                                                       1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: AfterFinalPageOutput                                                       1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: BaseTemplateToolbox                                                        1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: UserGetLanguageObject                                                      1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: ArticleViewHeader                                                          1         0.002         0.002         0.000%       224  (        0.002 -        0.002) [0]
hook: SkinSubPageSubtitle                                                        1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: SkinGetPoweredBy                                                           1         0.002         0.002         0.000%       224  (        0.002 -        0.002) [0]
hook: ArticleContentViewCustom                                                   1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: ParserBeforeInternalParse                                                  1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: RequestContextCreateSkin                                                   1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: OutputPageBeforeHTML                                                       1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: BeforePageDisplay                                                          1         0.002         0.002         0.000%       224  (        0.002 -        0.002) [0]
hook: UserLoadAfterLoadFromSession                                               1         0.002         0.002         0.000%       240  (        0.002 -        0.002) [0]
hook: SiteNoticeBefore                                                           1         0.002         0.002         0.000%       224  (        0.002 -        0.002) [0]
hook: InitializeArticleMaybeRedirect                                             1         0.002         0.002         0.000%       240  (        0.002 -        0.002) [0]
hook: UserGetRights                                                              1         0.002         0.002         0.000%       224  (        0.002 -        0.002) [0]
hook: UserEffectiveGroups                                                        1         0.002         0.002         0.000%       232  (        0.002 -        0.002) [0]
hook: PersonalUrls                                                               1         0.002         0.002         0.000%       224  (        0.002 -        0.002) [0]
hook: SkinTemplateBuildNavUrlsNav_urlsAfterPermalink                             1         0.002         0.002         0.000%       256  (        0.002 -        0.002) [0]
hook: SkinTemplateNavigation::Universal                                          1         0.002         0.002         0.000%       240  (        0.002 -        0.002) [0]
hook: PageRenderingHash                                                          1         0.001         0.001         0.000%       224  (        0.001 -        0.001) [0]
hook: getUserPermissionsErrorsExpensive                                          2         0.001         0.000         0.000%       480  (        0.000 -        0.001) [0]
hook: TitleIsMovable                                                             1         0.001         0.001         0.000%       224  (        0.001 -        0.001) [0]
hook: SkinTemplateNavigation                                                     1         0.001         0.001         0.000%       232  (        0.001 -        0.001) [0]
Parser::replaceInternalLinks2-interwiki                                          1        -0.001        -0.001        -0.000%       240  (       -0.001 -        0.000) [0]
SkinTemplate::prepareQuickTemplate-stuff-head                                    1        -0.002        -0.002        -0.000%       248  (       -0.002 -        0.000) [0]

65.190.75.20213:52, 15 November 2014

Apparently, it takes a lot of time when connecting to the database. I guess it's a local database, but I don't see why it should take so much time for this.

Ciencia Al Poder (talk)10:34, 17 November 2014
 
 
 
 
 

me I am missing the simplified edit

Looking at the expert edit vs. the simplified edit I wonder about the difference???? Apart from the fact that in the simplified edit I have no preview I cannot see any difference. IMHO someone must have forgotten to check in the coding for the simplified editor. Or am I wrong here? Did I miss something?

ps. And seriously giving feedback is as difficult as editing a page... Starting with the fact that I cannot see a decent place to do so and ending with the fact that I miss a SAVE button... Too bad.

84.245.149.5309:19, 20 November 2014

I don't know where to see "expert edit" and "simplified edit" in MediaWiki. You might want to provide steps how to reproduce and explain which MediaWiki version you are running.

AKlapper (WMF) (talk)13:10, 20 November 2014
 

How to change the default Main Page title and the URL

I'm trying to change the default Main Page title and the URL.

I only see instructions on How do I change the Main Page title.

I also would like to change the URL to reflect the new homepage title.

I would like for my URL to go from this:

http://haitipedia.org/wiki/Main_Page

to that:

http://haitipedia.org/wiki/Haitipedia

Versions:

MediaWiki version 1.16.2

PHP 5.x

MySQL 5.0.91-log

Hosting: GoDaddy Shared Linux

Techies24716:12, 4 March 2011

Hi Techies247,

You linked to the solution already: How do I change the Main Page title.

So follow the instructions ;-)

How do I change the Main Page title reads:
Simply click on the "Move" tab, and move the page to the desired page title.
Usually you also want to change which page is the main page.

So

Krinkle17:06, 4 March 2011

Great this is working fine for me.. but the problem is I am able to do this is Authoring Wiki. When I pushing the content to English Wiki its not reflecting there. Can anyone help me please.

49.205.166.10619:58, 17 April 2014
 

Great this is working fine for me.. but the problem is I am able to do this is Authoring Wiki. When I pushing the content to English Wiki its not reflecting there. Can anyone help me please.

49.205.166.10619:58, 17 April 2014
 

Great this is working fine for me.. but the problem is I am able to do this is Authoring Wiki. When I pushing the content to English Wiki its not reflecting there. Can anyone help me please.

49.205.166.10619:58, 17 April 2014
 

Hi Krinkle,

I followed up you instruction, it works on my local machine.

However, when I moved everything on to my hosting server. The main page reverted to .../index.php/Main_Page (which is supposed to be .../index.php/New_Name)

I repeat what I have done on my local machine, it just does not work on my hosting server. (in MediaWiki:mainpage, it still says New Name) The same issue happens to tab as well. (the value of MediaWiki:mainpage-nstab is ignored, and it still shows "Pages" on the main page)

Can you shed some light on this issue?

Cheers, Kevin

14.203.99.25004:45, 20 November 2014

Are there any different values in both LocalSettings.php (apart from database connection and maybe some URL)?

Ciencia Al Poder (talk)10:45, 20 November 2014
 
 
 

[RESOLVED] Editor disappeared after upgrading wiki to latest version

So I just updated my wiki to 1.23.6 version (previously 1.22.1).

I kept everything the same, same local settings and everything, uploaded the new package through FTP and ovewrote everything existent, ran the mw-config, then tested the wiki and the editor simply disappeared, there isnt even a minimalistic editor, its just the editing page with no editor at all.

The only error appearing in my error log is this one, which Im not sure has anything to do with this issue

  • PHP Fatal error: Class 'ResourceLoaderLanguageNamesModule' not found in /home/comptf/public_html/includes/resourceloader/ResourceLoader.php on line 437

I have all these lines on my localsettings

require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );
$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
$wgDefaultUserOptions['wikieditor-preview'] = 1;
$wgDefaultUserOptions['wikieditor-publish'] = 1;


Server info:

  • PHP Version 5.4.33
  • MySQL Version 5.6.21

My wiki is the following: comp.tf

Kanecow (talk)03:42, 13 November 2014

It seems you downloaded the false WikiEditor version. The required class ResourceLoaderLanguageNamesModule was added in MediaWiki 1.24, which the extension seems to be built for. So, please download WikiEditor again for REL1_23 and try again :)

Florianschmidtwelzow (talk)12:50, 13 November 2014

this doesnt seem to be the case. Just did that and it's still not working

Kanecow (talk)15:20, 13 November 2014

If that function has been added in 1.24, it will be the case. :-) Maybe you now still have a cache problem; try emptying all caches you have, e.g. on the server, maybe on a proxy in between and in your browser...

88.130.124.21917:17, 13 November 2014

but i never even installed or touched anything that has to do with 1.24

I simply updated my installation with a 1.23.6 package directly downloaded from here.

Kanecow (talk)20:24, 13 November 2014

I believe these are two different problems. I do not necessarily see a connection between the class name "ResourceLoaderLanguageNamesModule", which obviously is missing, and the missing Editor.

Does the class name error still happen? If so, you can find the source of the class name error by searching the files of your wiki installation for the text "ResourceLoaderLanguageNamesModule". This should tell you where this (wrong?) class is used.

Please make sure that you followed our manual Upgrade; especially please make sure that no old files of the old MediaWiki version have been left behind as explained in Manual:Upgrading#Files_remaining_that_may_cause_errors!

88.130.103.9922:08, 13 November 2014
 
 
 
 

Can anyone else help me out with this issue. My wiki is a big big and Im missing out on a lot of potential edits

Kanecow (talk)21:27, 18 November 2014
 

Please help, I have faced with the same problem when I had upgraded my wiki from 1.20.6 to 1.22.13

Fokebox (talk)21:58, 18 November 2014

I have just noticed that on my local wiki of the same updated wiki 1.22 all works fine. Can be a reason from hosting!?

Fokebox (talk)22:41, 18 November 2014
 

By me the problem was resolved as soon as I removed Vector extension, cause in the new version this skin is built-in

Fokebox (talk)17:11, 19 November 2014

The Vector skin is built into MediaWiki - and it also was in your old version. I guess you mean you have uninstalled the Vector extension. This extension now is included in the Vector skin or in the MediaWiki core and is no longer needed.

88.130.112.21901:50, 20 November 2014
 
 

Could not create directory mwstore://local-backend/local-public/ when Uploading.

OS Version: CentOs 7 Database: MariaDB Php Version: 5.4.16

Path to installation Sym: /var/www/mediawiki Actual: /var/www/mediawiki-1.23.6

Error Displayed on the page when trying to upload: Could not create directory "mwstore://local-backend/local-public/9/9b". Error from error_log: [:error] [pid 19457] [client 10.107.1.89:58112] PHP Warning: failed to mkdir "/var/www/mediawiki-1.23.6/images/2/22" mode 0777 [Called from wfMkdirParents in /var/www/mediawiki-1.23.6/includes/GlobalFunctions.php at line 2625] in /var/www/mediawiki-1.23.6/includes/debug/Debug.php on line 303

This is an internal wiki so I can't post a link.

Issue: Can't upload file


I've been trying to fix this for a couple days now. I've googled the issue and everyone seems to say it's a permissions issue.

at this point I'm not sure it is (I know what I've done below is very very bad practice, but... it's come to the sledge hammer approach. I will fix this AFTER I can figure out what's breaking)

I've chown'ed the entire /var/www/mediawiki to apache:apache I've chmod -R 777 the entire /var/www/mediawiki folder (At this point there should be NO permission problems whatsoever)

and just to be sure I did the same using the actual path instead of the sym... not that that matters

I've confirmed that apache is running under user apache group apache

There's nothing left for me to open up in permissions... so how can it be a permission issue?

any help would be greatly appreciated.

50.73.149.8115:00, 19 November 2014

The important line here is this one:

failed to mkdir "/var/www/mediawiki-1.23.6/images/2/22" mode 0777 

If permissions are not the issue, maybe you have SELinux or APPArmor enabled, which is preventing the creation of files/folders?

Ciencia Al Poder (talk)10:30, 20 November 2014
 

formatting issue, related to $wgServer?

MediaWiki 1.22.3 PHP 5.4.34 MySQL 5.5.40-36.1

website: opnote.net

I am having a problem with the formatting of my wiki when accessed on certain computers. When I access my page on most computers it looks fine, but when I pull it up on the computers at the hospital where I work, it has no formatting and no images. The problem is the same in internet explorer and chrome. Other wikis, including wikipedia and mediawiki, work normally on these computers.

I believe the problem is related to $wgServer, based on the help topic "The wiki appears without styles applied and images are missing" in "Manual:Errors and symptoms." From reading this, though, I couldn't figure out how to fix the problem. Would using short URLs on my wiki fix the problem?

96.47.57.13006:16, 18 November 2014

Maybe in the hospital you're accessing through a proxy, and the proxy somehow mangles or deny access to some files.

Try debugging requests as explained here: Thread:Project:Support desk/Different appearance on different computers (remote desktops)/reply (3)

Ciencia Al Poder (talk)11:18, 18 November 2014

I tried using the debugger but it did not generate any error. I also converted my mediawiki to use short URLs, and this did not fix the problem.

I browsed to load.php on the computers where the site does not work, and got this result:

Content Filter Denied Client IP: 10.252.218.242 Username: GenWksAutoLogon URL: opnote.net Categories: Hacking Your request was denied because of its content categorization: "Hacking;Technology/Internet"


Is it possible that the firewall here is blocking something about my site and that this is resulting in the formatting issue? If this were the case I could talk to the IT people here and try to get them to remove this block.

96.47.57.13009:47, 20 November 2014

Yes, it seems the firewall/proxy of the hospital is blocking those requests.

Ciencia Al Poder (talk)10:04, 20 November 2014
 
 
 

Page display without skins

Edited by 4 users.
Last edit: 09:50, 20 November 2014

Hello all,

I has just updated my mediawiki version 1.15.5-2 on Debian squeeze to mediawiki 1.23.6 before moving my wiki.


Infos from Special:Version Produit Version MediaWiki 1.23.6 PHP 5.3.3-7+squeeze19 (apache2handler) MySQL 5.1.73-1


After the update, all pages are displayed without skin (no SideBar on the left, no connexion button at the top, ...) as shown in the screenshot following capture


How can I fix it ?

Thanks

LocalSettings.php File :

<?php
 
# This file was automatically generated by the MediaWiki installer.
# If you make manual changes, please keep track in case you need to
# recreate them later.

define(MW_INSTALL_PATH,"/var/lib/mediawiki");
$IP = "/var/lib/mediawiki";
ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages" );
require_once( "includes/DefaultSettings.php" );
 
# Les extensions du package debian mediawiki-extensions.
# Les extentions activées sont dans /etc/mediawiki-extensions/extensions-enabled/
include( "/etc/mediawiki-extensions/extensions.php" );
 
 
# If PHP's memory limit is very low, some operations may fail.
ini_set( 'memory_limit', '50M' );
 
if ( $wgCommandLineMode ) {
	if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
		die( "This script must be run from the command line\n" );
	}
} elseif ( empty( $wgNoOutputBuffer ) ) {
	## Compress output if the browser supports it
	if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' );
}
 
#$wgReadOnly = 'Maintenance du site avant migrations sur le nouveau serveur';
$wgSitename         = "WikiOM";
 
$wgScriptPath	    = "/wiki";
#$wgScriptPath	    = "";
$wgScript           = "$wgScriptPath/index.php";
$wgRedirectScript   = "$wgScriptPath/redirect.php";
 
## If using PHP as a CGI module, use the ugly URLs
$wgArticlePath      = "$wgScript/$1";
# $wgArticlePath      = "$wgScript?title=$1";

$wgStylePath        = "$wgScriptPath/skins";
$wgStyleDirectory   = "$IP/skins";
#$wgLogo             = "/wiki/skins/common/images/wiki.png";
#$wgLogo             = "/wiki/images/institut_curie.png";
$wgLogo             = "/var/lib/mediawiki/images/institut_curie_logo_equipe_wiki.png";
 
$wgUploadPath       = "$wgScriptPath/images";
$wgUploadDirectory  = "$IP/images";
 
$wgEnableEmail = true;
$wgEnableUserEmail = true;
 
$wgEmergencyContact = "Elodie.Chapeaublanc@curie.fr";
$wgPasswordSender	= "Elodie.Chapeaublanc@curie.fr";
 
## For a detailed description of the following switches see
## http://meta.wikimedia.org/Enotif and http://meta.wikimedia.org/Eauthent
## There are many more options for fine tuning available see
## /includes/DefaultSettings.php
## UPO means: this is also a user preference option
$wgEnotifUserTalk = true; # UPO
$wgEnotifWatchlist = true; # UPO
$wgEmailAuthentication = true;
 
$wgDBserver         = "***";
$wgDBname           = "***";
$wgDBuser           = "***";
$wgDBpassword       = "***";
$wgDBprefix         = "***";
 
# If you're on MySQL 3.x, this next line must be FALSE:
$wgDBmysql4 = true;
 
## Shared memory settings
$wgMainCacheType = CACHE_NONE;
$wgMemCachedServers = array();
 
## To enable image uploads, make sure the 'images' directory
## is writable, then uncomment this:
$wgEnableUploads  = true;
$wgUseImageResize = true;
$wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert";
 
## If you want to use image uploads under safe mode,
## create the directories images/archive, images/thumb and
## images/temp, and make them all writable. Then uncomment
## this, if it's not already uncommented:
# $wgHashedUploadDirectory = false;

## If you have the appropriate support software installed
## you can enable inline LaTeX equations:
$wgUseTeX			= true;
#$wgMathPath         = "{$wgUploadPath}/math";
$wgMathDirectory    = "{$wgUploadDirectory}/math";
$wgTmpDirectory     = "{$wgUploadDirectory}/tmp";
 
$wgLocalInterwiki   = $wgSitename;
 
$wgLanguageCode = "fr";
 
$wgProxyKey = "be8d819d70c74c62103f34c76f7ffed79e50e8e95c9b7f97f5f4353f84150356";
 
## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
$wgDefaultSkin = 'vector';
 
## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
# $wgEnableCreativeCommonsRdf = true;
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
# $wgRightsCode = ""; # Not yet used

$wgDiff3 = "/usr/bin/diff3";
 
 
# Les anonymes sont muets.
$wgGroupPermissions['*']['edit'] = false;
 
# au moins 3 lettres dans le mdp
$wgMinimalPasswordLength = 3;
 
# This is the list of preferred extensions for uploading files. Uploading
# files with extensions not in this list will trigger a warning.
$wgFileExtensions = array( 'png', 'jpg', 'jpeg', 'ogg', 'xls', 'pdf', 'ppt','csv','txt','doc' );
 
$wgVerifyMimeType= false;
 
# This is a flag to determine whether or not to check file extensions on
# upload.
$wgCheckFileExtensions = true;
 
# If this is turned off, users may override the warning for files not
# covered by $wgFileExtensions.
$wgStrictFileExtensions = false;
 
# Warn if uploaded files are larger than this
# 20 Mo
$wgUploadSizeWarning = 1000 * 1024 * 1024;
 
$wgSiteSupportPage  = '';
$wgSiteSupport  = '';
 
/**
 * Set this to the number of authors that you want to be credited below an
 * article text. Set it to zero to hide the attribution block, and a negative
 * number (like -1) to show all authors. Note that this will require 2-3 extra
 * database hits, which can have a not insignificant impact on performance for
 * large wikis.
 */
$wgMaxCredits = 2;
 
/** If there are more than $wgMaxCredits authors, show $wgMaxCredits of them.
 * Otherwise, link to a separate credits page. */
$wgShowCreditsIfMax = true;
 
# Pour avoir le support des file://
#$wgUrlProtocols = 'http:\/\/|https:\/\/|ftp:\/\/|irc:\/\/|gopher:\/\/|news:|mailto:|file:\/\/';

$wgUrlProtocols = array(
	'http://',
	'https://',
	'ftp://',
	'irc://',
	'gopher://',
	'mailto:',
	'news:'
);
 
/**
 * Enable AJAX framework
 */
$wgUseAjax = true;
 
/**
 * Enable auto suggestion for the search bar 
 * Requires $wgUseAjax to be true too.
 * Causes wfSajaxSearch to be added to $wgAjaxExportList
 */
$wgAjaxSearch = true;
 
/**
 * Enable watching/unwatching pages using AJAX.
 * Requires $wgUseAjax to be true too.
 * Causes wfAjaxWatch to be added to $wgAjaxExportList
 */
$wgAjaxWatch = true;
 
/** Show watching users in recent changes, watchlist and page history views */
$wgRCShowWatchingUsers 				= true;
/** Show watching users in Page views */
$wgPageShowWatchingUsers 			= false;
 
$wgShowExceptionDetails = true;
 
$wgLocaltimezone = 'Europe/Paris';#
$wgDebugLogFile = "/tmp/wiki.log";
 
$wgServer = WebRequest::detectServer();
#require_once "$IP/skins/vector/vector.php";


ls -al /usr/share/mediawiki                                                                                    ──(jeu.,nov.06)─┘
total 196
drwxr-xr-x  11 root root  4096  6 nov.  13:22 .
drwxr-xr-x 213 root root  8192  5 nov.  12:32 ..
lrwxrwxrwx   1 root root    36 18 oct.   2013 AdminSettings.php -> /var/lib/mediawiki/AdminSettings.php
-rw-r--r--   1 root root  4387  6 nov.  10:47 api.php
-rw-r--r--   1 root root   933  6 nov.  10:50 api.php5
drwxr-xr-x   2 root root    22  6 nov.  10:51 cache
-rw-r--r--   1 root root   506  6 nov.  11:11 composer-example.json
lrwxrwxrwx   1 root root    25 17 avril  2008 config -> /var/lib/mediawiki/config
drwxr-xr-x   8 root root  4096  6 nov.  11:11 docs
lrwxrwxrwx   1 root root    29 17 avril  2008 extensions -> /var/lib/mediawiki/extensions
lrwxrwxrwx   1 root root    25 17 avril  2008 images -> /var/lib/mediawiki/images
-rw-r--r--   1 root root  7175  6 nov.  10:52 img_auth.php
-rw-r--r--   1 root root   943  6 nov.  10:52 img_auth.php5
drwxr-xr-x  47 root root 16384  6 nov.  10:52 includes
-rw-r--r--   1 root root  1755  6 nov.  10:53 index.php
-rw-r--r--   1 root root   937  6 nov.  10:53 index.php5
-rw-r--r--   1 root root  5839  8 mars   2010 install-utils.inc
drwxr-xr-x   7 root root  4096  6 nov.  10:53 languages
-rw-r--r--   1 root root  1766  6 nov.  10:54 load.php
-rw-r--r--   1 root root   935  6 nov.  10:54 load.php5
lrwxrwxrwx   1 root root    36 18 oct.   2013 LocalSettings.php -> /var/lib/mediawiki/LocalSettings.php
drwxr-xr-x  23 root root 12288  6 nov.  12:03 maintenance
drwxr-xr-x   2 root root    59  6 nov.  10:54 mw-config
-rw-r--r--   1 root root  3852  6 nov.  11:07 opensearch_desc.php
-rw-r--r--   1 root root   957  6 nov.  11:07 opensearch_desc.php5
-rw-r--r--   1 root root 11028  6 nov.  11:07 profileinfo.php
-rw-r--r--   1 root root   949  6 nov.  11:07 profileinfo.php5
-rw-r--r--   1 root root   383 21 mars   2009 redirect.php
-rw-r--r--   1 root root    91 31 janv.  2005 redirect.phtml
drwxr-xr-x   4 root root    46  6 nov.  11:08 resources
drwxr-xr-x   2 root root   131  6 nov.  11:09 serialized
drwxr-xr-x   8 root root  4096  6 nov.  15:25 skins
-rw-r--r--   1 root root   603  6 nov.  11:39 StartProfiler.php_old
-rw-r--r--   1 root root   405  6 nov.  11:09 StartProfiler.sample
-rw-r--r--   1 root root  1087  6 nov.  11:10 thumb_handler.php
-rw-r--r--   1 root root   971  6 nov.  11:10 thumb_handler.php5
-rw-r--r--   1 root root 17874  6 nov.  11:10 thumb.php
-rw-r--r--   1 root root   955  6 nov.  11:10 thumb.php5
-rw-r--r--   1 root root  1347  5 nov.   2008 trackback.php
-rw-r--r--   1 root root    98  6 nov.  11:10 wiki.phtml

ls -al /var/lib/mediawiki                                                                                      ──(jeu.,nov.06)─┘
total 16
drwxr-xr-x  5 root     root     4096  6 nov.  12:27 .
drwxr-xr-x 57 root     root     4096  5 nov.  12:30 ..
lrwxrwxrwx  1 root     root       32 18 oct.   2013 AdminSettings.php -> /etc/mediawiki/AdminSettings.php
lrwxrwxrwx  1 root     root       28 18 oct.   2013 api.php -> /usr/share/mediawiki/api.php
drwx------  2 www-data www-data   39 18 oct.   2013 config
drwxr-xr-x  2 root     root     4096 18 oct.   2013 extensions
drwx------ 25 www-data www-data 4096  6 nov.  15:01 images
lrwxrwxrwx  1 root     root       33 18 oct.   2013 img_auth.php -> /usr/share/mediawiki/img_auth.php
lrwxrwxrwx  1 root     root       29 17 avril  2008 includes -> /usr/share/mediawiki/includes
lrwxrwxrwx  1 root     root       30 18 oct.   2013 index.php -> /usr/share/mediawiki/index.php
lrwxrwxrwx  1 root     root       38 18 oct.   2013 install-utils.inc -> /usr/share/mediawiki/install-utils.inc
lrwxrwxrwx  1 root     root       30 17 avril  2008 languages -> /usr/share/mediawiki/languages
lrwxrwxrwx  1 root     root       32 18 oct.   2013 LocalSettings.php -> /etc/mediawiki/LocalSettings.php
lrwxrwxrwx  1 root     root       32 17 avril  2008 maintenance -> /usr/share/mediawiki/maintenance
lrwxrwxrwx  1 root     root       40 18 oct.   2013 opensearch_desc.php -> /usr/share/mediawiki/opensearch_desc.php
lrwxrwxrwx  1 root     root       36 18 oct.   2013 profileinfo.php -> /usr/share/mediawiki/profileinfo.php
lrwxrwxrwx  1 root     root       33 18 oct.   2013 redirect.php -> /usr/share/mediawiki/redirect.php
lrwxrwxrwx  1 root     root       35 18 oct.   2013 redirect.phtml -> /usr/share/mediawiki/redirect.phtml
lrwxrwxrwx  1 root     root       30  6 nov.  12:27 resources -> /usr/share/mediawiki/resources
lrwxrwxrwx  1 root     root       26 17 avril  2008 skins -> /usr/share/mediawiki/skins
lrwxrwxrwx  1 root     root       38 18 oct.   2013 StartProfiler.php -> /usr/share/mediawiki/StartProfiler.php
lrwxrwxrwx  1 root     root       30 18 oct.   2013 thumb.php -> /usr/share/mediawiki/thumb.php
lrwxrwxrwx  1 root     root       34 18 oct.   2013 trackback.php -> /usr/share/mediawiki/trackback.php
lrwxrwxrwx  1 root     root       31 18 oct.   2013 wiki.phtml -> /usr/share/mediawiki/wiki.phtml

Echapeau (talk)14:41, 6 November 2014

Notice: You should remove all of your private data from the copy of your LocalSettings.php in this thread and change all usernames/passwords you use and published to your post, they are well known for all people, now.

Florianschmidtwelzow (talk)17:21, 6 November 2014
Edited by 0 users.
Last edit: 08:33, 7 November 2014

Sorry, I forgot it.

Echapeau (talk)08:33, 7 November 2014
 
 

Automated PDF export of certain categories/pages (pdfbook/wget/curl/?)

Hi all,

We run MW 1.22 with Pdfbook & LDAP authentication and everything runs great. Lately something came up where we want to export/save a PDF file of a certain category daily or weekly or whatever. I have tried many different combinations of wget & curl commands through Googling with no luck so far. I am pretty sure it comes down to having to log in and cookies (although some of the scripts I have tried did successfully save cookies to a file, whether through Special:UserLogin or MW's API). Many of these scripts/commands have looked correct, but never any success - always just 0 byte files or ~10k byte files that are just the wiki's heading/main menu code as HTML. Has anyone successfully done something like this or have any other ideas?

TL;DR: Basically we want to hit something like this: http://hostname/wiki/index.php?title=Category:People&action=pdfbook automatically through a script and save the PDF file generated elsewhere. The problem seems to be with authentication to MW.

On a side note, has anyone successfully excluded certain pages from needing authentication when it is otherwise required site-wide?

THANKS!

Reznuh (talk)21:29, 11 November 2014

An update - I ended up using DumpHTML to dump the entire site, pulled copies of the pages containing the vendor tag, sorted them alphabetically & pulled the mw-body content using hxselect, dumped all of this into 1 html file and then used wkhtmltopdf to convert it to a PDF file and also generate a table of content. There were a few other tweaks needed (print the file name between each div for correct section labeling, etc) but all in all everyone is happy.

Reznuh (talk)20:33, 19 November 2014

Woah, sounds like a huge task! Thanks for posting the update!

88.130.112.21901:51, 20 November 2014
 
 

RESOVED Collapsing tables problems after upgrading from v.1.20.6 to v.1.22.13

Hello all I have faced some problems after upgrading my Wiki from v.1.20.6 to v.1.22.13

All tables that were collapsale stopped working, I used to do so:

{| class="standard mw-collapsible mw-collapsed" style="text-align:center; margin: 1em auto 1em auto; width: 760px;"
|-
! colspan="5" style="background-color:#f7e9d4;"|Table
|-

And now it doesn't work. I tried other options like discribed here https://www.mediawiki.org/wiki/Manual:Collapsible_elements. I did so:

{| class="mw-collapsible mw-collapsed wikitable"
! The header || remains visible
|-
| This  content || is hidden
|-
| at first || load time
|}

So and this version didn't gave me a result ( How can I fix it? So there aren't any hide/expand buttons (

Here it is the link with test page with tables: http://www.wikijournal.ru/index.php/Test

What should I change there to make a table collapsable?

Fokebox (talk)20:33, 18 November 2014

You have Extension:Vector installed, but your version is 1.22, and Extension:Vector is already part of core MediaWiki since 1.22. You should remove it because it causes JavaScript errors preventing other things to load properly (maybe related to your Editor problem).

Ciencia Al Poder (talk)10:50, 19 November 2014

Thank you! Yes it can be a reason I will remove Vector extension and let you know if it helped )

Fokebox (talk)10:57, 19 November 2014
 

You were right. This bug including problem with WikiEditor was due to Vector extension to be connected )

Fokebox (talk)17:01, 19 November 2014
 
 

Gallery tag and not existing images. Perhaps, a custom placeholder?

Hi.

Is it possible to specify how not existing images should be displayed for the <gallery> tag? Currently the tag just renders file names if the respective images are not found in my MediaWiki instance. I would like to change that placeholder to a custom one, showing something like a default image with an upload prompt (for example, a JPEG/PNG with "no image found" depicted). Is it possible or should I use another extension?

Thanks!

195.234.75.15515:03, 12 November 2014

Up.

195.234.75.15515:20, 19 November 2014
 

Custom Javascript is not loading

Edited by another user.
Last edit: 13:54, 17 November 2014

Hello There,

I am trying to load custom JavaScript file using following code.

$wgResourceModules['skins.alskin01'] = array(
	'scripts' => array('alskin01.resources.main.js','alskin01/resources/some.js'),
    'remoteBasePath' => &$GLOBALS['wgStylePath'],
	'localBasePath' => &$GLOBALS['wgStyleDirectory']  
);

The alskin01 is folder inside "skins" folder. The resources is folder inside "alskin01" folder. Where as main.js and some.js are my custom Javascript file. It will be great if you could help me understand where these files get loaded and how to access JS functions.

PrashantB (talk)11:11, 17 November 2014

Hello!

What's this?

array('alskin01.resources.main.js','alskin01/resources/some.js')

That doesn't make sense, or do you have ...main.js in your skin root folder and some.js in alskin01/resources?

Where do you load the module skins.alskin01? What does the console say?

> how to access JS functions

Where you want to access what?

Florianschmidtwelzow (talk)14:03, 17 November 2014

Hello,

The main.js and some.js files are located in alskin01/resources folder which is my custom skin folder. I want to use the main.js file as my source of interactivity for my custom skin. Currently, I am adding or laying out my design in ALSkin01.skin.php file. In ALSkin01.skin.php file I want to take a help from main.js file from interactivity functionality perspective. For that matter I am adding JS file in $wgResourceModules. Which is a part of ALSkin01.php file. FYI:

  • I followed the step mentioned in Manual Skinning
  • My MediaWiki version is 1.23.1
  • I corrected my mistake 'scripts' => array('alskin01/resources/main.js','alskin01/resources/awesome.js')
PrashantB (talk)07:13, 18 November 2014

Ok, and now check, if you load the module, like explained in this section of Manual:Skinning:

public function initPage( OutputPage $out ) {
	parent::initPage( $out );
	$out->addModules( 'skins.alskin01' );
}
Florianschmidtwelzow (talk)08:35, 18 November 2014

I already added that line of code. I am wondering, how that script get loaded and how to access the function from JS file.

PrashantB (talk)10:11, 18 November 2014

I don't understand, what you mean :) If you follow the manual, you simply can use the JS functions you defined :)

Florianschmidtwelzow (talk)13:47, 19 November 2014
 
 
 
 
 

Error: override this function

Hi there!

I have some recent problems with my mediawiki-account. I wanted to change my skin from 'monobook' to 'vector' (specific for my account) and since that I'm not able to log in anymore, because I always get the error-message "override this function".

Is it possible to change the User-preferences in some file?!

Thanks for your help

217.116.64.4812:53, 18 November 2014

Can you give the full error message? (Maybe take a screenshot?). Can you try to open the preferences page of your wiki and specify the skin: /Special:Preferences?useskin=monobook is there still an error?

Florianschmidtwelzow (talk)06:34, 19 November 2014

Hi The only message I get is a blank sheet with the message: "Override this function", just when I try to log in to my account. Unfortunately I'm able to log in and get to any sites to change my skin. This is just specific for my useraccount only. The Default skin is 'monobook' wich works, but 'vector' seems to be damaged or something

217.116.64.4808:37, 19 November 2014

It looks like you've installed some extension which hasn't implemented some method, and throws a "override this function" error.

Grep your code looking for the string "override this function" to identify the source of the problem

Ciencia Al Poder (talk)10:52, 19 November 2014
 
 
 

using CKEditor Alongside Mediawiki

A thread, Thread:Project:Support desk/using CKEditor Alongside Mediawiki, was moved from here to Extension talk:WYSIWYG. This move was made by Ciencia Al Poder (talk | contribs) on 19 November 2014 at 10:44.
First page
First page
Previous page
Previous page
Last page
Last page