Project:Support desk

(Redirected from Project:Support)
Jump to: navigation, search
vde   Welcome to's Support desk, where you can ask MediaWiki questions!

There are also other places where to ask: IRC, mailing lists, Q&A etc.

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using (reported by your wiki's Special:Version page):
    • MediaWiki
    • PHP
    • Database
  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".
Start a new discussion
First page
First page
Previous page
Previous page
Last page
Last page

PHP update and empty pages

Hi there,

I've updated my server to the latest php and mysql versions, all my websites and scripts works well except MediaWiki which shows none of articles regularly (editor shows them properly, then they are there in DB). I read about the problem across the net, and it seems that the only solution is upgrading. The thing is my MediaWiki is widely customized (even plugins and theme), then the upgrade is a useless solution. Is there any other solution (like changing a line, adding a code, replacing a file) to solve the issue of empty pages?, 29 June 2015
Edited by author.
Last edit: 15:39, 29 June 2015

That is an issue with old MediaWiki versions and current versions of the PHP PCRE extension. Maybe you could somehow patch the MediaWiki core, but that is not what I would recommend. Instead, you should actually really do a MediaWiki upgrade., 29 June 2015

Thanks for reply, I'd prefer to change the script to prevent happening such things in future., 29 June 2015

task T60640 has the according core patch, which solves the issue., 29 June 2015

Thanks a lot, the page you've mentioned contains many revision of the file /includes/MagicWord.php, but after testing the latest revisions, one works properly and save me of a huge work and time. The file is ready to download as file 122450, it should be replaced (info for others having the same problem). Special thanks to: timo.gurr, matmarex, Aklapper and bzimport., 30 June 2015

Widgets not workings

I have two widgets that are not working in the way that they should. The result shows blank on both my Widget:Daily Motion and Widget:DISQUS found at the respective locations:

The result of the Disqus widget can be found here under the header that says "Comments":

Why are they displaying improperly and how can i fix the issue?

GamepadUniverse (talk)06:22, 21 June 2015

Disqus loads for me on the given link, after telling my web browser to not block mixed content (as you load Disqus via http while your page is https).

Malyacko (talk)11:29, 21 June 2015

OMG! Thanks for pointing that out. Is there anyway to get around that in https so the user doesn't have to unblock each time?

GamepadUniverse (talk)17:05, 21 June 2015

Change the URLs of the widget that point to disqus, so they use https:// instead of http://

Ciencia Al Poder (talk)17:33, 21 June 2015

I changed the widget to the following code with no effect:

<noinclude>__NOTOC__ This widget allows you to embed '''[ DISQUS Comments]''' on your wiki page. Created by [ Sergey Chernyshev] == Using this widget == For information on how to use this widget, see [ widget description page on]. == Copy to your site == To use this widget on your site, just install [ MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. </noinclude><includeonly><div id="disqus_thread"></div> <script type="text/javascript"> /* * * CONFIGURATION VARIABLES * * */ var disqus_shortname = '<!--{$id|escape:'urlpathinfo '}-->'; // required: replace example with your forum shortname <!--{if (isset($uniqid))}-->var disqus_identifier = '<!--{$uniqid|escape:'quotes'}-->';<!--{/if}--> <!--{if (isset($url))}-->var disqus_url = '<!--{$url|escape:'quotes'}-->';<!--{/if}--> /* * * DON'T EDIT BELOW THIS LINE * * */ (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + ''; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> <noscript>Please enable JavaScript to view the <a href="" rel="nofollow">comments powered by Disqus.</a></noscript>

GamepadUniverse (talk)20:34, 21 June 2015

If you inspect the HTML source code of the pages that include that widget, you will see that it's still using the code with "http://" urls on it. This seems to be a caching issue.

Try purging the page, or perform a null edit and see if it succeeds.

Ciencia Al Poder (talk)09:40, 22 June 2015


I have a external path as such: [file://\\network\shared folder\application file\] i would like to use string but only to insert the empty space with %20, and not replacing \ i tried [file://%5C%5Cnetwork%5Cshared%20folder%5Capplication%20file%5C] it converts all the \\ and spaces. What can i do to just convert spaces to %20?, 30 June 2015

Confirmation Email not working - Pear not installed

I get the following error after creating a new account.

828d69a3] /w/index.php?title=Special:UserLogin&action=submitlogin&type=signup&returnto=PadPedia MWException from line 268 of C:\Inetpub\vhosts\\\w\includes\mail\UserMailer.php: PEAR mail package is not installed Backtrace:

  1. 0 C:\Inetpub\vhosts\\\w\includes\User.php(4208): UserMailer::send(MailAddress, MailAddress, string, string, NULL)
  2. 1 C:\Inetpub\vhosts\\\w\includes\User.php(4184): User->sendMail(string, string)
  3. 2 C:\Inetpub\vhosts\\\w\includes\specials\SpecialUserlogin.php(409): User->sendConfirmationMail()
  4. 3 C:\Inetpub\vhosts\\\w\includes\specials\SpecialUserlogin.php(314): LoginForm->addNewAccount()
  5. 4 C:\Inetpub\vhosts\\\w\includes\specialpage\SpecialPage.php(384): LoginForm->execute(NULL)
  6. 5 C:\Inetpub\vhosts\\\w\includes\specialpage\SpecialPageFactory.php(582): SpecialPage->run(NULL)
  7. 6 C:\Inetpub\vhosts\\\w\includes\MediaWiki.php(267): SpecialPageFactory::executePath(Title, RequestContext)
  8. 7 C:\Inetpub\vhosts\\\w\includes\MediaWiki.php(566): MediaWiki->performRequest()
  9. 8 C:\Inetpub\vhosts\\\w\includes\MediaWiki.php(414): MediaWiki->main()
  10. 9 C:\Inetpub\vhosts\\\w\index.php(41): MediaWiki->run()
  11. 10 {main}

I am using Windows Server 2012 R2 and PHP 5.4. The following was inputted into Cygwin64:

$ pear list Installed packages, channel ========================================= Package Version State Archive_Tar 1.3.16 stable Auth_SASL2 0.1.0 beta Console_Getopt 1.4.0 stable Mail 1.2.0 stable Net_SMTP 1.6.2 stable Net_Socket 1.0.14 stable PEAR 1.9.5 stable Structures_Graph 1.1.0 stable XML_Util 1.3.0 stable paulbanwart@u ~ $ pear install Mail pear/Mail is already installed and is the same as the released version 1.2.0 install failed, 29 June 2015

Unable to create a Grqqwwwwlink a a "Main article"

I have an article with a section.

The section itself is a concise form of another full-fledged article.

What I want to do is create a link to the second article.

I am using the tag:

{{Main|History of Battle of Plassey}}

Instead of a link, what I am getting is a red link (to a page that does not exist) saying:


Do I have to install some new extension for this? Or am I getting the code wrong?

NB: This is what I am doing on my own new site. The MediaWiki version is 1.25.1.

Nokho (talk)08:31, 28 June 2015

Use [[Main|History of Battle of Plassey]], not {{Main|History of Battle of Plassey}}!

Suriyaa Kudo (iSC Inc.) (talk)10:15, 28 June 2015

When I do this, the text 'History of Battle of Plassey' does appear in red colour.

And the link leads to index.php?title=Main&action=edit&redlink=1

Ideally, it should look like what appears here:

i.e. Main article: History of Battle of Plassey

Nokho (talk)11:43, 28 June 2015

In fact, I have an identical problem with 'see also'

[[See also|Battle of Plassey]]

I get the same error.

Even this leads to the same link: index.php?title=Main&action=edit&redlink=1

Nokho (talk)12:08, 28 June 2015

[SOLVED] Fatal error: Cannot instantiate abstract class Profiler in /usr/share/mediawiki/includes/profiler/Profiler.php on line 83 (MW 1.25.1)

Edited by author.
Last edit: 09:51, 11 June 2015


I upgraded from MW 1.24.2 to 1.25.1 (from

sudo -u wwwrun php ./maintenance/update.php --quick --conf ./LocalSettings.php did run smoothly and I had to reinstall some composer managed extensions. No errors so far. But trying to run the wiki on my computer prints out

Fatal error: Cannot instantiate abstract class Profiler in /usr/share/mediawiki/includes/profiler/Profiler.php on line 83

I then tried to narrow down the source of failure, if this may have any relation to my LocalSettings.php, so I deactivated all extensions and settings, only rudimentary wg-variables were active. I even removed my installed composer extensions using /usr/bin/composer.phar remove --update-with-dependencies 'mediawiki/semantic-media-wiki' (etc. for all my composer managed extensions) to check if this fatal error is related but no success. The same fatal error remains.

Any tip, solution or fix? Thank you.

Andreas P. Icon External Link E-Mail.png09:51, 11 June 2015

The solution was to remove an old file StartProfiler.php (see Manual:Profiling, in MW 1.25 profiling was completely rewritten)

Andreas P. Icon External Link E-Mail.png20:33, 21 June 2015

Short URL setup leaves some index.php links behind


I'm running 1.22.6 (on Apache) and I've set up pretty/short URLs as per the instructions found in Manual:Short URL. I have also set up pretty URLs for actions (edit, view history, etc.) using $wgActionPaths.

This works fine, but there are still a few links referencing index.php:

That's all I could find for now, there's probably even more.

Is there any way to change these remaining links to pretty URLs as well?


Bolaja (talk)18:07, 21 June 2015

Where are these links? I e.g. know that the login page is referenced in a number of system messages. For my installs I fixed that by adding according RewriteRules, which also rewrite the URLs with index.php in them., 21 June 2015

Those were all links that can be found on any MediaWiki page, basically.

By default, the login and logout links are at the top right of the page, the printable version and permalink links are in the side pane on the left and the search (technically a form, not a link) can also be found at the top right.

RewriteRules have nothing to do with this, after all they cannot change the links that MediaWiki produces.

Bolaja (talk)22:10, 21 June 2015

This is intended. See Requests for comment/Clean up URLs., 22 June 2015

The examples in that article (action URIs) can already be changed by adjusting $wgActionPaths, though. So to me it is confusing why a handful of links would be left "hardcoded" to use the /w/index.php?title=<title>&<more query parameters> format.

In case it was unclear, the short URL versions of the links I mentioned in my original post already work, they're just not being used by MediaWiki. That is what I'm trying to change. I suppose I'll have to resort to editing the source.

Bolaja (talk)11:36, 22 June 2015

Anyone else, maybe?

Bolaja (talk)10:53, 24 June 2015


Bolaja (talk)12:32, 27 June 2015

See task T14619 for the current status - and for showstoppers., 27 June 2015

What is described in that link can already be accomplished by adjusting $wgActionPath, though. I was specifically referring to the handful of links that can not be configured in such a manner.

Bolaja (talk)20:13, 29 June 2015

[RESOLVED] Some strange thing on pages


I created a new MediaWiki using my old database.

But after that I have displaying pages in wrong way.

like here:

Could anybody help me?

TraaBBIT (talk)10:31, 24 June 2015

This is usually caused by an unclosed HTML element (div, table, etc), or even a closing element that has no matching start element (effectively closing too early a previous element of the page. Check the HTML codes of the page or templates.

Ciencia Al Poder (talk)11:42, 24 June 2015

Not sure. In my old database that page was OK.

I check all and all looks OK.

Look on that page too

TraaBBIT (talk)12:16, 24 June 2015

If you inspect the generated HTML (better if you download the page as raw, since browser may auto-correct mismatched tags and change the original HTML) you'll see that it outputs several encoded HTML because it's not generating it properly [1] (search for &lt;)

I think those and

tags shoud be using wiki tables instead.
Ciencia Al Poder (talk)17:31, 24 June 2015

Yeah. So what should I do?

Install some extension?

Looks like that bug:

I copy that page from that site (Mediawiki 1.24.1)

And there evrything is OK.

TraaBBIT (talk)19:07, 24 June 2015

I've exported the page of on my test 1.23 wiki and it rendered broken as well

Ciencia Al Poder (talk)15:17, 26 June 2015

adding CSS at onBeforePageDisplay hook


In an extension Im working on, I add additional modules containing CSS at the onBeforePageDisplay hook. The problem is that when the page loads, first the normal mediawiki CSS is displayed for a milisecond, and only after this my CSS is loaded.. which doesn't look too nice. How can I resolve this? Thanks :], 25 June 2015

That's not the 'proper' way to add CSS: ResourceLoader/Developing_with_ResourceLoader.

But are you adding a style block, or an external stylesheet ? Can you give links perhaps ?

TheDJ (Not WMF) (talkcontribs)20:25, 28 June 2015

Thanks for the reply :] Im adding an external stylesheet. The idea of what I want is simple: I have a custom SpecialPage on which I have added HTML buttons and I want to change the way these buttons look like. So I want to load a custom .css file only when the user lands on my SpecialPage. Unfortunately I have not uploaded my code to the web yet, so I can't give you a link, but my basic code for the hook looks like this:

 public function onBeforePageDisplay(OutputPage &$out, Skin &$ski ){
   $page_title = $out->getPageTitle();
   if($page_title === 'My SpecialPage Title Name'){
   return true; 

ext.myModule then retrieves a small .css file with the changes I want for my buttons:

  1. button{
 width: 30em;  
 height: 1.5em;
 cursor: pointer;


  1. letter_button{
 cursor: pointer;

}, 29 June 2015

Can't view wikipedia on cellphone browser

I have a Palm Centro with a Blazer browser. As of about a month ago I could no longer view wikipedia articles. Please restore compatibility. Thank you.

LJRich (talk)06:07, 24 June 2015

Does Blazer support HTTPS? HTTPS is now required to access (English) Wikipedia, for your own improved safety.

Malyacko (talk)09:50, 24 June 2015

Blazer dates from 2008 so I think it's unlikely to support HTTPS. Was this policy to require HTTPS implemented within the last 2 months? If so, could there be a reconsideration for old phones so that they still work?

LJRich (talk)18:18, 24 June 2015

See - due to security concerns, it was not possible to leave an option for opting out. You may want to consider upgrading to a recent and more secure browser.

Malyacko (talk)16:53, 29 June 2015

Means of notification when an article is being created/updated

Hi all,

I am trying to implement a "Make a request" function where users can request for article if it does not exist. I used namespace to allow users to create/edit articles as seen here (

So after an article (Requests:Title1) has been created, is there any method to notify (through email, sms or whatever) the admin that such namespace article has been created and it should be removed from the list manually.

These 2 page titles that you all seen here are implemented using the newest page extension.

I have 2 questions here 1) Any means to notify the admin that an article has been created ? 2) Remove the links from there manually . (Eg: a checkbox to tick to remove the links but the article is still there) or any other better methods.

If my current approach is wrong, please feel free to correct me and point me to the right direction. I really appreciated all help and assistance!!!


Just in case you all need my namespace code. I configured it as below

define("NS_REQUEST", 508);
define("NS_REQUEST_TALK", 509);
$wgExtraNamespaces = 
    array(508 => "Requests",
          509 => "Requests_talk",
$wgNamespaceProtection[NS_REQUEST]      = array( 'requests-edit' );
$wgNamespaceProtection[NS_REQUEST_TALK] = array( 'requests-talk-edit' );

$wgGroupPermissions['user']['requests-edit'] = true; //only user can edit pages in the Requests namespace
$wgGroupPermissions['user']['requests-talk-edit'] = true; //user can edit pages in the Requests_talk namespace

$wgGroupPermissions['Requests']['edit'] = true;
$wgGroupPermissions['Requests']['createpage'] = true;

$wgNamespaceProtection[NS_MAIN] = array( 'edit-main' ); // Restrict Requests group to only create pages starting with Requests:pageTitle

/* Allows these user group to create and edit pages */
$wgGroupPermissions['Editor']['edit-main'] = true; 
$wgGroupPermissions['sysop']['edit-main'] = true;
Anyhowputx (talk)15:45, 29 June 2015

SQLite isn't listed when running MediaWiki setup

Dear all,

I try to setup a Mediawiki 1.25.1 on a ubuntu 14.04 server. I followed the instructions of this homepage.

I want to use SQLite as database but mediawiki doesnt show this option.

Can somone tell me what I can do that mediawiki recognize that sqlite is installed?

I have the following packages intalled:

ii apache2 2.4.7-1ubuntu4.4 amd64 Apache HTTP Server ii apache2-bin 2.4.7-1ubuntu4.4 amd64 Apache HTTP Server (binary files and modules) ii apache2-data 2.4.7-1ubuntu4.4 all Apache HTTP Server (common files) ii php-apc 4.0.2-2build1 all APC User Cache for PHP 5 (transitional package) ii php-pear 5.5.9+dfsg-1ubun all PEAR - PHP Extension and Application Repository ii php5 5.5.9+dfsg-1ubun all server-side, HTML-embedded scripting language (met ii php5-apcu 4.0.2-2build1 amd64 APC User Cache for PHP 5 ii php5-cli 5.5.9+dfsg-1ubun amd64 command-line interpreter for the php5 scripting la ii php5-common 5.5.9+dfsg-1ubun amd64 Common files for packages built from the php5 sour ii php5-curl 5.5.9+dfsg-1ubun amd64 CURL module for php5 ii php5-intl 5.5.9+dfsg-1ubun amd64 internationalisation module for php5 ii php5-json 1.3.2-2build1 amd64 JSON module for php5 ii php5-readline 5.5.9+dfsg-1ubun amd64 Readline module for php5 ii php5-sqlite 5.5.9+dfsg-1ubun amd64 SQLite module for php5 ii sqlite 2.8.17-10ubuntu2 amd64 command line interface for SQLite ii sqlite3 3.8.2-1ubuntu2 amd64 Command line interface for SQLite 3

Thank u in advance Simon

2A02:5D8:200:600:82:150:200:415:24, 29 June 2015

feed from private wiki

We have a private wiki:

  • MediaWiki 1.23.5
  • PHP 5.3.3-7+squeeze21
  • MySQL 5.1.73-1

Is there a way to read feeds from our wiki without a login? Is there something like the $wgWhitelistRead variable for feeds?

Can somebody help me, thanks in advance!

Greetings, Stefan, 1 December 2014

Which feeds? Watchlist feed? Recentchanges?

Florianschmidtwelzow (talk)09:41, 1 December 2014

mainly the watchlist feed, recentchanges and new sides are also interesting, 1 December 2014

And now the question is: What means private :) You mean that all users must login to read the content?

For watchlists, you can use Watchlist tokens.

Florianschmidtwelzow (talk)12:28, 1 December 2014

Yes, all users must login to read the content. I also don't see changes in the watchlist feed if I use tokens and I'm not logged in., 1 December 2014

I am not the original poster but am also looking into getting Recent Changes RSS feeds to work from a wiki that requires login for access. I use tinytinyRSS, a web based feed aggregator. It's set up so that clicking on an RSS feed link generates a new feed. When I click on the recent changes RSS link in wikipedia, it creates a working link. When I click the same button in our password protected mediawiki it gives me an error:

No feeds found in
Tenbergen (talk)00:34, 12 March 2015

When I look at the feed from a different browser that is not set up to push rss links into tinyRSS. When I am logged in I get something that looks like an RSS feed. When I log out I get the API instructions, preceded by

<?xml version="1.0"?>
  <error code="readapidenied" info="You need read permission to use this module" xml:space="preserve">
Tenbergen (talk)00:51, 12 March 2015

When I look at the error in TinyRSS it says "LibXML error 5 at line 3217 (column 1): Extra content at the end of the document"

When I copy and paste the API response into Notepad++ to count lines it only seems to have 3206.

Tenbergen (talk)01:22, 12 March 2015

Firefox -> view source code: It displays line numbers, and it indeed has more than 3217 lines.

There's no point in having a private wiki and also leak a recent changes feed. Sorry, but I don't think you would get support for opening that feed on a private wiki.

Ciencia Al Poder (talk)11:35, 12 March 2015

Thanks for the source code hint, I was looking at the rendered page. Looking at the source code hint, it appears that the complaint is about the script section at the very end. Which makes sense, it expects an XML document and instead receives an html document with a script at the end. The RSS reader can't interpret that, so to get any meaningful idea what is going on takes a fair bit. I think it might make more sense if, in response to a feed request, the api generated a "feed" that states the error?

Regarding the login requirement, I am not trying to get the feed to bypass it. TinyRSS can provide a login account and password, it just isn't working. I am trying to find out more about that.

Tenbergen (talk)23:37, 12 March 2015
// Simple wrapper script to allow access to MediaWiki Recent changes without authentication.

// REST library , may be better ones out there.
require_once( 'mediawikiapi.php' );
// NOTE: I needed to add trim($data) in mediawikiapi.php everywhere where simplexml_load_string was used to work with mediawiki.
// Custom additions to above lib:
function getFeedRecentChanges($days, $limit) {
        $url  = $this->siteUrl . "/api.php?days=$days&limit=$limit&action=feedrecentchanges&feedformat=atom";
        $data = httpRequest($url, $params = '');
        $xml  = simplexml_load_string(trim($data));
        return $xml;

// Config - PS: HTTPS is recommended
$mediawikiurl = "https://my-mediawiki/api.php";

// API Login credentials, create this mediawiki user.
$username = "rss";
$password = 'ThisIsMySecretPassword';

// Primitive authentication - The secret that needs to be passed by querystring to access the page rss.php
// rss.php?secret=blahablaha
$secret = "c5f63b6039e347a5899c8b3cc5e45966";

if ($_GET['secret'] != $secret) {
  die("Secret is incorrect!");

if (isset($_GET['days'])) {
  $days = $_GET['days'];
} else {
  $days = "7";

if (isset($_GET['limit'])) {
  $limit = $_GET['limit'];
} else {
  $limit = "50";

$api = new MediaWikiApi($mediawikiurl);
$api->login($username, $password);
$xml = $api->getFeedRecentChanges($days, $limit);

header("Content-Type: application/xml");
print $xml->asXML();

Gorantornqvist (talk)13:35, 29 June 2015

Extension used in Project Support Desk?

I am interested in utilizing threading like the one mediawiki Project: Support Desk use. Is this utilizing LiquidThread Extension?

AmazingTrans (talk)04:55, 29 June 2015

Project:Support desk still uses Extension:LiquidThreads which is no longer actively maintained. At some point, this page will use Extension:Flow instead.

AKlapper (WMF) (talk)08:44, 29 June 2015

Support Desk cannot reply

Hi there, i tried clicking reply on a thread and then click save page. it does not save the page. it comes back to the Wiki-Editor. Show-preview & Show changes work. but SavePage does not work for me in reply. What should i check?

AmazingTrans (talk)17:45, 26 June 2015

I met the same problem

Huhuang03 (talk)08:55, 27 June 2015

Anybody else having same issue? Looks like it works now for me again.

AmazingTrans (talk)02:35, 29 June 2015

Any error messages in your browser console output is welcome if this happens again.

AKlapper (WMF) (talk)08:42, 29 June 2015

page revision "cur" show the location of the changes when you click on the changes

Hello Everyone

i need an assistance

in revision "cur" it shows you the changes been made thats excellent but the problem it tells you the line (example "Line 123") but you cannot know where is that line exactly without counting the lines by your self

is there any way to add lines to the page only in revision or when you click on line 123 it will actually take you to line 123

thanks in advance

Asafm14567 (talk)08:41, 29 June 2015

Opening external network link with UNC or $wgUrlProtocols

Edited by author.
Last edit: 15:06, 26 June 2015

I am using Media wiki 1.25.1, tried chrome, firefox, IE11.

I would want to open an external link of a drive for example. So, I have tried a couple of ways but none seem to work for me. I have added the following in my LocalSettings.php: $wgUrlProtocols[] = 'file://'; $wgExternalLinkTarget = '_blank';

Case 1: Then in the wiki page, i added: [file://Q:/Document/]

I tried clicking it with IE, nothing came up, no explorer open. No response. When i hover over the link, it is the correct link that i need: file:///Q:/Document/ When I paste this link on the IE address bar; it opens the directory explorer.

Case 2: Then i tried UNC Template: I added the following link into mediawiki page: [file:///{{#replace:{{#replace: \\home_network\Document| |%20}}|\|/}} ]

When i hover my mouse i get: file://home_network/Document/ When i click on the link, nothing happens in the browser. When I paste this link on the IE address bar; it opens the directory explorer.

Hope someone can help me with this.

Thanks! AT

AmazingTrans (talk)17:19, 25 June 2015

You say that clicking that link does nothing, but does that text look actually like a link?

You said you have $wgUrlProtocols[] = 'file//'; but it should be $wgUrlProtocols[] = 'file://'; (note the colon)

Ciencia Al Poder (talk)09:26, 26 June 2015

yes it is a link. and sorry about the mistyped there. I actually have $wgUrlProtocols[] = 'file://'; after reading more on the UNC links in detailed, i got the links working in Chrome if i have LocalLinks extensions installed. After clicking on the links in chrome, it open the directory trees in the browser, or open xls, doc in chrome. But could not get pptx to work in chrome.

Whereas, for IE11, clicking the link doesn't do anything at all. Ideas?

AmazingTrans (talk)03:39, 29 June 2015

how to get creator/owner of the created article

Hi all,

I would like to ask is it possible to get the author/owner/creator of the article created? Is it to use wgUser?

Any advise is appreciated!!

Thanks all for your kind assistance and time!!!!


When you speak of the "creator" of an article, I guess that you then mean the user, who created the first revision of that article, right?

When and where do you want to get that information? Somewhere inside PHP obviously... But where should it be used? Maybe you find an according method inside the article object..., 28 June 2015


I really appreciated your response! Yes, you are correct. I want to get the user who created the first revision of that article. I have already retrieved the title but I am not sure on how to retrieve the user ( . I want it to be displayed like that.

Just to add on, the "Requests:" is a namespace and the title is displayed on the main page using the newestpage extension. I used Special:Newestpages/Requests/5

I tried to look at the link you provided but could not see any documentation that would aid me in getting the creator.

Please advise and tell me if you need anymore information. Thank You!!!!!

Anyhowputx (talk)03:23, 29 June 2015

Widget giving error for some reason

I created a widget called Widget:Amazon that is suppose to display the image of a url that I input into the $image variable. But I get "Error in widget Amazon" instead.

Here is my code found at

<includeonly><img border="0" src="<!--{$image|escape:'url'}-->"></includeonly>

This is how the code is being ultized:


Any ideas why I am getting an error/how do I correct it?

GamepadUniverse (talk)02:36, 29 June 2015

Integrating Visual Editor and Parsoid

Edited by 2 users.
Last edit: 09:38, 9 June 2015

Hi there,

Can anyone tell me the error I am getting in the integration of VE and Parsoid service? These the details of my installation:

Product         Version
MediaWiki       1.26alpha (50c6cd2)
PHP     5.5.25 (apache2handler)
MySQL   5.5.44

Parsoid 0.2.0   GPL-2.0+        Parsoid wiki runtime for MediaWiki
VisualEditor    0.1.0 (598e1fd) 01:24, 9 June 2015      MIT     Visual editor for MediaWiki

Below are the logs.

[Tue Jun 09 06:53:02 2015] [error] [client] PHP Notice:   in /var/www/public_html/upload/w/includes/GlobalFunctions.php on line 2874
[Tue Jun 09 06:53:02 2015] [error] [client] PHP Stack trace:
[Tue Jun 09 06:53:02 2015] [error] [client] PHP   1. {main}() /var/www/public_html/upload/w/load.php:0
[Tue Jun 09 06:53:02 2015] [error] [client] PHP   2. ResourceLoader->respond() /var/www/public_html/upload/w/load.php:47
[Tue Jun 09 06:53:02 2015] [error] [client] PHP   3. ResourceLoader->getCombinedVersion() /var/www/public_html/upload/w/includes/resourceloader/ResourceLoader.php:681
[Tue Jun 09 06:53:02 2015] [error] [client] PHP   4. array_map() /var/www/public_html/upload/w/includes/resourceloader/ResourceLoader.php:629
[Tue Jun 09 06:53:02 2015] [error] [client] PHP   5. ResourceLoader->{closure:/var/www/public_html/upload/w/includes/resourceloader/ResourceLoader.php:627-629}() /var/www/public_html/upload/w/includes/resourceloader/ResourceLoader.php:6
[Tue Jun 09 06:53:02 2015] [error] [client] PHP   6. ResourceLoaderModule->getVersionHash() /var/www/public_html/upload/w/includes/resourceloader/ResourceLoader.php:628
[Tue Jun 09 06:53:02 2015] [error] [client] PHP   7. ResourceLoaderStartUpModule->getDefinitionSummary() /var/www/public_html/upload/w/includes/resourceloader/ResourceLoaderModule.php:470
[Tue Jun 09 06:53:02 2015] [error] [client] PHP   8. ResourceLoaderStartUpModule->getAllModuleHashes() /var/www/public_html/upload/w/includes/resourceloader/ResourceLoaderStartUpModule.php:382
[Tue Jun 09 06:53:02 2015] [error] [client] PHP   9. ResourceLoader->getCombinedVersion() /var/www/public_html/upload/w/includes/resourceloader/ResourceLoaderStartUpModule.php:409
[Tue Jun 09 06:53:02 2015] [error] [client] PHP  10. array_map() /var/www/public_html/upload/w/includes/resourceloader/ResourceLoader.php:629
[Tue Jun 09 06:53:02 2015] [error] [client] PHP  11. ResourceLoader->{closure:/var/www/public_html/upload/w/includes/resourceloader/ResourceLoader.php:627-629}() /var/www/public_html/upload/w/includes/resourceloader/ResourceLoader.php:6
[Tue Jun 09 06:53:02 2015] [error] [client] PHP  12. ResourceLoaderModule->getVersionHash() /var/www/public_html/upload/w/includes/resourceloader/ResourceLoader.php:628
[Tue Jun 09 06:53:02 2015] [error] [client] PHP  13. VisualEditorDataModule->getDefinitionSummary() /var/www/public_html/upload/w/includes/resourceloader/ResourceLoaderModule.php:470
[Tue Jun 09 06:53:02 2015] [error] [client] PHP  14. VisualEditorDataModule->getScript() /var/www/public_html/upload/w/extensions/VisualEditor/VisualEditorDataModule.php:161
[Tue Jun 09 06:53:02 2015] [error] [client] PHP  15. GitInfo->getHeadCommitDate() /var/www/public_html/upload/w/extensions/VisualEditor/VisualEditorDataModule.php:46
[Tue Jun 09 06:53:02 2015] [error] [client] PHP  16. wfShellExec() /var/www/public_html/upload/w/includes/GitInfo.php:218
[Tue Jun 09 06:53:02 2015] [error] [client] PHP  17. trigger_error() /var/www/public_html/upload/w/includes/GlobalFunctions.php:2874


Ace.philscan (talk)07:09, 9 June 2015


There's an empty @trigger_error( '' ); on that line... WTF?

Looks like it's a bug

Ciencia Al Poder (talk)09:47, 9 June 2015

Is the issue fixed? Regards..

Ace.philscan (talk)07:56, 23 June 2015

I've created task T103671 for the logs, but apparently, if there was an error before that, it hasn't been displayed. See Manual:How to debug to see PHP errors directly on the page rather than the error log.

Ciencia Al Poder (talk)11:32, 24 June 2015

Thanks a lot.

Regards, Ace

Ace.philscan (talk)23:56, 28 June 2015
First page
First page
Previous page
Previous page
Last page
Last page