Project:Current issues

Jump to: navigation, search

About this board

This page is for discussing issues related to site. To get help with MediaWiki software, ask on Project:Support desk.

Current issues archive overview

By clicking "Add topic", you agree to our Terms of Use and agree to irrevocably release your text under the CC BY-SA 3.0 License and GFDL
Summary by Trizek (WMF)


Gestumblindi (talkcontribs)

I'm having a hard time with the "Notices" icon which stubbornly tells me that I have 3 new notices here on, so this gets displayed in other Wikimedia projects, too. The notices come from Talk:Reading/Web/Projects/Related pages where apparently some spam posts were deleted, but it seems that now I have no way to mark them as really read. Special:Notifications says that I have no unread notifications, still there's a "3" appearing on the notifications icon. Any advice on getting rid of these? I've tried taking the page from my watchlist, but the existing notifications are still displayed.

Trizek (WMF) (talkcontribs)

We have made some fixes to prevent notifications from deleted topics, but my may have been trapped in the glitch. I'm sorry about that, let's try to fix it!

Have you tried to bypass your cache?

If it is not working, that would mean it is a bug.

Gestumblindi (talkcontribs)

@Trizek (WMF): "Have you tried to ?" - tried to do... well, what? ;-) It seems it's fixed itself, maybe through the new notification your response here generated? - instead of the "3", there was now an "1" and after having read your response, it's gone. So, fixed for me, at least for now, but maybe there's still an issue that needs fixing...?

Trizek (WMF) (talkcontribs)

Apparently not. I keep you r feedback in mind, and if I have an other one, I'll report it.

Happy to see this is fixed! :)

Gestumblindi (talkcontribs)

Not really fixed, it seems; I have now another of these "stubborn" notices, now for a deleted new topic on this page (Project:Current issues)...

Gestumblindi (talkcontribs)

It lasted for days, but today, this notice is gone, too. But I wouldn't be surprised if this happens again when a topic on a watched page is deleted...

Paul Hema (talkcontribs)

Moin moin.

Is it possible to control the elements in the Sidebar in dependence of the current usergroup? I think there is a new extension. But then you have to built a separate sidebar for every usergroup. I want only change ONE entry in the default sidebar.

Something like {{#ifgroup : thebestusergroupever | superartikle }}

thanks, Paul

By the way: is there a possibility to get a preview of my new theme?

Seb35 (talkcontribs)

@Paul Hema: I don’t know any such extension or way to do it in pure MediaWiki+PHP. Possibly you have to create an extension (the hard way) or write some JavaScript code. In JavaScript, you can do something like: (not tested, you have to debug it)

if( wgUserGroups.indexOf( 'autoconfirmed' ) == -1 ) {
    $( '#n-mainpage-description' ).style( 'display', 'none' );

This should hide the element “Main page” (identified by id="n-mainpage-description" in HTML) for users who are not in the group “autoconfirmed” (search $wgUserGroups in HTML to see the groups of the current user). Such code can be put in your MediaWiki:Common.js.

Preview of a theme (“skin” in MediaWiki language) is possible for each user: go in your preferences, tab Appearance and click “Preview” next to a skin. The available skins must be previously installed by the system administrator, and enabled in LocalSettings.php.

Seb35 (talkcontribs)

Ok, just tried. It almost worked but correct code is: (I confounded jQuery with D3.js I recently learned)

if( wgUserGroups.indexOf( 'autoconfirmed' ) == -1 ) {
    $( '#n-mainpage-description' ).css( 'display', 'none' );
Paul Hema (talkcontribs)

Thank you. First it looks good.

But there are a few errors: in the NS "special" (e.g. the lockin page) it dosn't work. Also if you change from one to an other site, the hidden thinks flashes up.

In the meantime i found Manual:Interface/Sidebar#Add or remove toolbox sections .28JavaScript.29 and will try it ...

Legoktm (talkcontribs)

You can use Extension:DynamicSidebar.

Paul Hema (talkcontribs)

Hi Legoktm,

it seems to work perfect for me (although the extension officially supports only MW version 1.24).

Thanks a lot.

Reply to "sidebar dependes on usergroup"
Yolo33s (talkcontribs)

After installing PdfExport Extension (v3.2.0) for mediawiki 1.27.0, I have the following error message :

Fatal error: Call to undefined method Article::preSaveTransform() in /var/www/wiki/extensions/PdfExport/converters/HtmlDocPdfConverter.php on line 151

This comment was hidden by Seb35 (history)
This comment was hidden by Seb35 (history)
Seb35 (talkcontribs)

@Yolo33s: This extension is hardly maintained since some time. In fact the line you pointed probably didn’t work since MediaWiki 1.18. I just solved a number of issues I experimented when launching this extension with MediaWiki 1.28alpha, PHP 7.0 and Dompdf 0.7 (installed with Composer), whose this issue. Finally it worked with Dompdf – I didn’t tested other backends. When the change I04eda179bab689e29b9f26caf10807f4136afa3f will be merged, it should work, but you will have to install the very last version (it will be available on ). (talkcontribs)

@Seb35: Thanks for support. I first tried to install dompdf 0.7 with composer but as I don't master it I was not sure about what I was doing. The unzipped dompdf folder is in /usr/bin/dompdf. In LocalSettings.php, I added "require_once '/usr/bin/dompdf/';" but when I try to print a page, I get an error message saying that no pdf converter software has been found.

Is it good to place the require_once in LocalSettings.php ? I also tried in index.php. More precisions on how to install dompdf would be much appreciated.


Seb35 (talkcontribs)

I tested the following commands (probably you did some of these):

  1. Download Dompdf 0.7 from GitHub
  2. Unzip it in the MediaWiki directory, next to LocalSettings.php, the subdirectory is named "dompdf"
  3. Add require_once __DIR__ . '/dompdf/'; in your LocalSettings.php
  4. Download the patched version of PdfExport from my website (when the change above will be merged, it will be available in the "official" version on )
  5. Unzip it as usual in extensions/ (if you had a previous extensions/PdfExport move it to another location or delete it)
  6. It should work

I guess you are under Linux, right? If so, the path /usr/bin is reserved for general commands, but not for librairies (as is Dompdf); I said above to put it in the MediaWiki directory, it is probably a good place; else web applications sometimes have a subdirectory "lib" where are the external librairies (MW doesn’t have this subdirectory, external librairies are in the subdirectory "vendor" managed by Composer -- prepared by the release manager in the case of the tarball). (talkcontribs)

Thank you for the tips @Seb35. I did everything listed above. Now it is installed but when I print an article I get an error message Exception encountered, of type "Dompdf\Exception" without more informations. This is a blank page. I checked that all requirements are OK (Dom extension, GD extension, MBString, php-font-lib, php-svg-lib) and they are, then I restarted apache...

Do you have any idea about this error message. I read some posts about Dompdf Exception but generally the error message is more precise than just "Dompdf\Exception".

For information, I'm on Ubuntu 16.04 with PHP 5.6 and I run a 1.27.0 version of MW.


Seb35 (talkcontribs)

Great! At least the MW part seems to work. I didn’t have this exception myself – different config: Debian+PHP7, but yours seems to be quite good also. Can you add ini_set( 'display_errors', 1 ); on the top of your LocalSettings.php? It could display a more detailled information about the exception (you will have to remove it in production).

Yolo33s (talkcontribs)

Yes I also thought to display errors but unfortunately it is not more verbose...Only a strict standard warning unrelated to PdfExport or Dompdf. I wonder if an installation with composer would be safer but I do not feel comfortable with that.

Seb35 (talkcontribs)

If you feel comfortable with command line (quick guide: directories are separated by a slash "/", the main commands are "cd the-directory-you-want-go-to" and "ls" to display the content of the directory), you can install Composer inside the main MediaWiki directory (instructions), then add Dompdf as dependency by creating the file composer.local.json in MediaWiki directory (next to LocalSettings.php) with the content:

   "require": {
      "dompdf/dompdf": "*"

and executing (in command line in MediaWiki directory) "composer update --no-dev". If you install it with Composer, remove the require_once from LocalSettings.php (else it could be installed two times). There is a guide for Composer on Composer/For extensions. Thanks for your perseverance! (talkcontribs)

And thank you very much for your help @Seb35, I really need to make this extension work. When running "composer update --no-dev" it seems that this is mbstring and gd extension the problem. It is missing. What I don't understand is that I'm using php 5.6 and it requires mbstring and gd extension for php7...Strange. Anyway, it is installed but I still have the same exact error message. Note that in my mediawiki installation folder, the .json file is named composer.json and not composer.local.json. But if dompdf had not been installed, I would have had another error message.

Ma persévérance atteint ses limites.

Seb35 (talkcontribs)

Don’t you have some sysadmin or a geeky person near you? It becomes difficult to follow remotely. For Composer I guess there are dependency issues, probably because some dependencies require PHP7, so probably a bad idea to try in this direction, stay with your downloaded version 0.7 of dompdf. And it is absolutely required for PdfExport, so you (or anybody who could help you) have to make Dompdf work to make PdfExport work. Perhaps add also ini_set('error_reporting', E_ALL); in your LocalSettings.php.

If it cannot work, I tried to install Extension:Collection but, as I was afraid of, it is horribly difficult to install. And an external solution but functionning without any burden for the MW admin is to use the link 'Printable version' in the sidebar section Tools, then use the Print feature of the browser and select 'Print in file'. Depending on the browser, it will save in a Postscript file and/or PDF file. With this way to export PDF, the result can be different from a brower to another (e.g. I was surprised of a document where the font size was about the double between Firefox and Chrome -- it was quite small with Chrome and quite big with Firefox). (talkcontribs)

Yes I already tried collection, and I already add ini_set('error_reporting', E_ALL); in LocalSettings.php. I think dompdf is installed because wether I install it through composer or simple folder, I had the same error message at the end. I will wait for the return of a sysadmin to debug this issue. Anyway thanks a lot for support. (talkcontribs)

@Seb35 I did it ! I found on the general support someone with a completely different problem who needed to run the "jobs". After a php maintenance/runJobs.php, I could print articles to pdf.

I'm still convinced that the mediawiki documentation needs drastic improvements.

Seb35 (talkcontribs)

Ok, I didn’t know it could have an influence, but it’s great! Happy the problem was solved! (and aggree about documentation, it’s a lot of work, you’re welcome if you want to add something, but this thread will probably help other people also :)

Interwiki links not displaying?

Summary by Trizek (WMF)
Gestumblindi (talkcontribs)

I recently was already slightly confused by the wording in this post by @Trizek (WMF) which seems to be, at least as it's displayed to me, "Have you tried to ?" - looked as if something after "tried to" was missing, but then I supposed it was meant as some general encouragement. But now, there's a post by @Reaper35 here where the first sentence reads "I just want to mention that on the German article (same as ) has as related page ." - that distinctly looks as if something's not displayed... "on the German article <missing wiklink to page?> (same as <missing wikilink?>) has a related page <missing wikilink?>"...

Gestumblindi (talkcontribs)

Having a look at the (convoluted) source code, it seems that Reaper35 was mentioning German Wikipedia's article de:Cracker (Gebäck), but this isn't displayed in my browser:

I just want to mention that on the German article \n\u003Clink rel=\"mw:PageProp/Language\" href=\"\" data-parsoid='{\"stx\":\"simple\",\"a\":{\"href\":\" (Gebäck)\"},\"sa\":{\"href\":\"De:Cracker (Gebäck)\"},

Only by looking at the source code, I see now also that Trizek was referring to en:Wikipedia:Bypass your cache - well, it's not displayed in the browser. I'm using SeaMonkey 2.40 right now, but testing it in Internet Explorer as well, the issue seems to persist.

Seb35 (talkcontribs)

This issue is pretty different than the other one. In this case the message was written with a bad syntax (for interwiki links instead of plain links), so it was badly displayed.

PS: in French, general typography is to put a space before « ? ! : », at the contrary of English, so probably a French/English typo in Trizek’s message :-)

Trizek (WMF) (talkcontribs)

My case is a bad wikisyntax displaying, I've edited the post to display the interwiki link correctly.

That was supposed to be fixed: is a regression., thank you very much for your report, @Gestumblindi!

Reply to "Interwiki links not displaying?"
PrimeHunter (talkcontribs)

Is there a way to make an edit request for a protected page at I tried to use Template:Edit Protected on Template talk:Clear but it seems Category:Protected edit requests isn't added on Flow pages, and many of the pages in the category have old unanswered edit requests anyway.

Ciencia Al Poder (talkcontribs)

On flow messages categories don't work, but try to add it to the board description (that's at the right side), I think categories work there

Jdforrester (WMF) (talkcontribs)

Please do not edit the description of a Flow board to add a category; they aren't meant to be edited frequently. Post here if you have an unusual edit request (most pages that need editing are not protected; most likely if you need to edit it we need to unprotect it).

Bbslam (talkcontribs)

I started to be a translator because I found that the Google search results from Wikipedia (Chinese - Traditional) always have the Wikipedia title in Chinese - Simplified. Is this the right way to request the correction of it?

Ciencia Al Poder (talkcontribs)

No, you should request it here

Nemo bis (talkcontribs)

We've been using the translate extension for a while now on this wiki, which definitely needs more multilingual support, so I think we should greatly expand its usage, by deciding where to start. The aim is to reach more MediaWiki users (rather than developers); benefits have to be balanced by costs, and in some areas the extension is easier to use than in others (or even easier than continuing with {{Languages}} and so on). Some ideas:

  1. Most viewed pages: I've done some, but they often need an update/revamp in English too.
  2. Configuration variables: hundreds of them have the corresponding Manual: page translated and can be assumed of interest. The pages use a common pattern and most important info is in the template, so – in principle – translations can be moved to the new system (semi)automatically.
  3. Help pages would be the most useful in theory, but those we have here are very specific and limited. It makes no sense to translate most of them, because the "real help pages" and their translations are in fact on Meta or scattered among Wikipedias (or other Wikimedia projects.
Leucosticte (talkcontribs)

About #3: What about the users of non-WMF wikis? Wouldn't translated help pages be helpful for them?

Nemo bis (talkcontribs)

Yes but one should first move the up-to-date and complete English pages here from Meta and other wikis (finding a solution for licensing problems and also convincing them not to keep outdated copies around), which is not going to happen.

Leucosticte (talkcontribs)

You may be right. I think it was a mistake to insist on public domain Help pages, and that we are reaping the harmful consequences of that decision. But to fix it would require acknowledging that a mistake was made, and sometimes people are resistant to that.

This comment was hidden by (history)
Nemo bis (talkcontribs)

Seems we can all agree on this, so we're left with #1 and #2 for now.

Nemo bis (talkcontribs)

So... no interest/ideas/suggestions on those two points (priority pages and manual pages)?

Leucosticte (talkcontribs)

I'm afraid translation isn't my area of expertise. It's been noted that "English is the working language of the Internet", though, and my attitude toward those who seek to administer websites tends to be, learn English or GTFO. But you seem to be on the right track as far as prioritization is concerned; focus on the most-viewed pages first.

Nemo bis (talkcontribs)

Configuration settings summaries have over 23 thousands translations for the Configure extension; it would be nice to find a way to use them on wiki. I've opened bugzilla:43380 to see what's technically feasible.

Qgil-WMF (talkcontribs)

I'm not familiar with the Translate extension, although I'm looking for an excuse to finally give it a try.  :) Is it possible to promote a set of pages where translation is prioritized? Using a category, for instance.

Trying to translate the whole is pointless and actually counterproductive, but there is a bunch of pages that would really welcome more translations, and a formal request to be translated. It would be useful for the project and for translator to identify those, and if possible get those nice stats telling that Japanese is 100% up to date, Italian is 83%, Arabic is 12% and so on.

There are two types of translatable pages based on motivation:

  1. Promotion: local languages are good to reach out to new users and contributors. Homepage, the hubs, How to contribute, the local Groups (mainly in their respective native languages)...
  2. Support: essential pages for users of MediaWiki and our technical infrastructure. The most basic and required pages of the manual, how bugzilla works how to get developer access...

Maybe it's worth having both translatable categories separate? Maybe some languages make total sense for Promotion but less so for Support (no specific examples, although I can imagine Indic or Latin languages speakers needing those translations more for Promotion than Support, since the average sysadmin / developer of those languages is used to deal with English documentation).

It is clear that the deeper you get into both categories the clearer is the need to manage some English, at least in our current reality. We could probably define a VERY LIMITED set of pages translatable here and now in both categories and then consider the addition of new pages based on actual need.

And I agree with Nemo that those pages need a review in the canonical English version before making big calls for translation. But maybe this is a feature? It forces us to go through identified pages, mark them as translatable progressively and giving more time to translators to deal with new content. For instance, we could start focusing in How to contribute and Help:Formatting, and do a first test with these pages.

This post was posted by Qgil-WMF, but signed as Qgil.

Nemo bis (talkcontribs)

Yes, it's possible to "categorize" requests for translations, see for instance m:Special:AggregateGroups. It's also possible to define priority languages and even to disable translations in some languages, but this makes little sense on this wiki. In general, people will always translate what they're interested in, not what you'd most like to have translated, therefore if something would use translations it should be translatable, while for focused translation recruitement you can have a specific priority group of translatable pages.

In short, I don't like that "very limited" in all caps, unless you consider (like me) that e.g. 600 configuration settings pages (out of ten thousands content pages) would be a "very limited" set of translatable pages. ;-) Specific pages ready for translation should made translatable immediately: I'll comment on those two on talk.

Qgil-WMF (talkcontribs)

Ok, got your point. I just find useful to have a set of pages identified for volunteer translators without own itch or agenda. "I want to start translating MediaWiki content to Catalan: where should I start? Thank you."

This post was posted by Qgil-WMF, but signed as Qgil.

Nemo bis (talkcontribs) was updated; the Help: and Manual: pages in the top-1000 list should probably be made translatable. Who's willing to help me?

Qgil-WMF (talkcontribs)

Thank you for this useful link!

This post was posted by Qgil-WMF, but signed as Qgil.

This comment was hidden by Elitre (WMF) (history)
Reply to "Translate extension"

I want to use the "get extensions",but it shows the"Unable to fetch extension list!"

Wujiang2016 (talkcontribs)

The webshows"Unable to fetch extension list!" Where am I supposed to go?

Ciencia Al Poder (talkcontribs)

Can you try again? It works for me atm

This comment was hidden by Zppix (history)
Zppix (talkcontribs)

What's your browser? It may be your browser not loading the webpage properly or unsupported by the website, could need the browser updated as well.

Reply to "I want to use the "get extensions",but it shows the"Unable to fetch extension list!""

start new project for Iranian

Summary by MarkAHershberger

See Manual:Installation guide

Shayegan1980 (talkcontribs)

Hello there

I want to start a website same as Wikipedia for Iranian with many subjects. Can I use Mediawiki for it?

I attached my site address .

thank you for your guide

Ciencia Al Poder (talkcontribs)

See Manual:Installation guide

Wargo (talkcontribs)

Yes, you can.

Using watchlist notice for Code of Conduct calls for feedback

Qgil-WMF (talkcontribs)

At Talk:Code_of_Conduct/Draft#Wider_participation.2C_still there is a discussion about how to announce calls for feedback about the proposed Code of Conduct for technical spaces to contributors. The idea of a watchlist notice has been suggested. As far as I am aware, we haven't used this feature in mw.o before. I guess this is a good place to ask for feedback about using this feature for this purpose.

Technically, this seems to be done by editing MediaWiki:Watchlist-details. Questions:

  • Is this use of watchlist notice OK or not?
  • Should we do it by editing MediaWiki:Watchlist-details or is there another way?
  • Should we use plain text with links or i.e. a Template:Notice?
  • How often and how long should these notices be kept, i.e. One week every time that there is a major call for feedback or more often?
Jdforrester (WMF) (talkcontribs)

Personally, I really dislike the abuse of that part of the interface for important messages, but I understand that some wikis think it's OK. We've never done it here, and I'd be sad to see it start.

More objectively, however, I also think it would be a waste of time for this wiki; very few people are active on in the way that editors of other wikis are, because a lot of the "action" occurs off-wiki, in tasks (Phabricator), in code (gerrit/GitHub/etc.), or for third party users of MediaWiki in particular, on their local systems, and so the use of the watchlist as the key place people see is not likely to work. The people who use their watchlists on this wiki (like me) are mostly wiki gnomes rather than the key people to involve. A logged-in-only sitenotice would probably have a much better effect at reaching the useful people for this work.

Mattflaschen-WMF (talkcontribs)

I have no objection to using a watchlist notice, though I agree with James a lot of contributors don't use the wiki that often, and probably use the watchlist even less. I also think the site notice is a good idea, but we probably want to limit it to text approvals (rather than "please help discuss this"). We don't want to be too intrusive, and the site notice appears on every page.

Ciencia Al Poder (talkcontribs)

I personally find CentralNotice banners way more obtrusive than a one-line text on the sitenotice. CentralNotice banners appear for me several days on a week, with images, even if I dismiss them, while the sitenotice can be dismissed once and forever (until someone updates the sitenotice ID)

Qgil-WMF (talkcontribs)

I propose to try something, be ready to pull back if there are justified complaints, and then fine tune next actions based on feedback.

A logged-in-only sitenotice looks like a good candidate for a first try, indeed. How is that requested and implemented? I propose to figure out these details and prepare a sitenotice for the approval of the Cases page, expected to start in a couple of weeks, after the call for feedback started yesterday by Matt has settled and remaining issues have been identified.

Mattflaschen-WMF (talkcontribs)

It may be just one week before starting the approval discussion, depending on how much feedback on Cases there is.

Mattflaschen-WMF (talkcontribs)

I agree a simple dismissable text sentence is fine. No need for an image.

The documentation is at Manual:Interface/Sitenotice , but I'm not entirely clear from that how it interacts with CentralNotice. Someone from Fundraising Tech probably knows.

@AGreen (WMF), how would we configure it if we want a dismissable text notice here and on

Reply to "Using watchlist notice for Code of Conduct calls for feedback"
George.boeck (talkcontribs)


I would like to mention that, needing a couple of popular images of eucalyptus trees from Wikicommonst, I was totally encumbered by exact specification of species. Wishing to comment about this, I was again encumbered by tremendous exactitude. Lord knows where I should have made this comment. It's wonderful that we can have species specific images, but a handful of useful for popular needs would not hinder the project, eh?



Jdforrester (talkcontribs)

Hey there,

I don't think this relates to this website but to Commons. You should probably ask on their Village Pump instead.

Reply to "Access"