MediaWiki talk:MainPages.js

Latest comment: 3 years ago by Takhirgeran Umar in topic Chechen version


doesn't work when purging

edit

In the rare case that one purges the Main Page, the script no longer works, because MediaWiki uses

wgAction = "purge"

instead of

wgAction = "view"

. I tried to fix it by changing the code to

if(wgNamespaceNumber == 0 && (wgAction == "view" || wgAction == "purge"))

, but it didn't work. --The Evil IP address (talk) 10:20, 4 May 2010 (UTC)Reply

That should work. How did you try it? —Ilmari Karonen (talk) 12:47, 4 May 2010 (UTC)Reply
Anyway, I just changed it as you suggested, and it works for me. —Ilmari Karonen (talk) 12:50, 4 May 2010 (UTC)Reply

Be-x-old for be-tarask

edit

Hi, add be-x-old lang. code with contents identical to be-tarask code for compatibility reason. Wizardist (talk) 20:18, 2 April 2011 (UTC)Reply

Main page in Ossetic

edit

Please add page title for Ossetian language. The title is Сæйраг фарс. Language code is 'os'.--Bouron (talk) 17:31, 12 October 2011 (UTC)Reply

  Done (Next time, mark your request with {{Editprotected}} so an admin can notice it.) --Mormegil (talk) 18:24, 12 October 2011 (UTC)Reply
Thank you for good advice.--Bouron (talk) 20:18, 12 October 2011 (UTC)Reply

Please add Upper Sorbian

edit

Please add 'hsb': "Hłowna strona" - the page is ready now. Thanks! -- j.budissin+/- 23:11, 5 February 2013 (UTC)Reply

  Done --32X (talk) 16:49, 6 February 2013 (UTC)Reply
edit

For Quechua, there is the main page Qhapaq p'anqa, but clicking onto the Wikimedia Commons logo (with Quechua as user language) leads to the Spanish Portada and not to Qhapaq p'anqa, though the Quechua main page is in this page. I'm really angry, why are Quechua users forced to the Spanish page???? -- AlimanRuna (talk) 08:54, 28 March 2013 (UTC)Reply

Now it works correctly! :-) -- AlimanRuna (talk) 17:38, 29 March 2013 (UTC)Reply

Site sub

edit

{{Edit request}} This script should hide the #siteSub on main pages. Currently only the one on Main Page is hidden; all other main pages, like Accueil, have this displayed.

To hide it, please replace the line 153:

appendCSS("#firstHeading, #t-ajaxquickdelete, #localNotice { display: none; }");

by this:

appendCSS("#firstHeading, #t-ajaxquickdelete, #localNotice, #siteSub { display: none; }");

Thank in advance  — Ltrl G, 13:23, 4 May 2013 (UTC)Reply

Avar version

edit

{{Editprotected}} Please add Avar version: 'av': 'БетӀераб гьумер' --Kaganer (talk) 20:49, 10 August 2014 (UTC)Reply

  Done --Hedwig in Washington (mail?) 08:31, 11 August 2014 (UTC)Reply

Wrong Language Selected

edit

Hi Guys , writing here as per the discussion on the bug ,

I checked the file :

'hi': 'मुख्य पृष्ठ',
'ne': 'गृह पृष्ठ',
'mr': 'मुखपृष्ठ',

looks good but it does not work as intended could anyone help fix this ? --सरोज कुमार ढकाल (talk) 05:22, 18 March 2015 (UTC)Reply

See my comment on phabricator: https://phabricator.wikimedia.org/T92814#1135117 --Steinsplitter (talk) 12:42, 20 March 2015 (UTC)Reply
Thanks Steinsplitter, seems like it's fixed, let me verify and comeback in a while !--सरोज कुमार ढकाल (talk) 13:11, 20 March 2015 (UTC)Reply

Broken JavaScript

edit

MediaWiki developers found that this page probably breaks JavaScript for users (example: not seeing the buttons when editing a page). You probably need to edit this .js page and/or MediaWiki:Gadgets-definition as in the examples at phabricator:T122755. List more pages to check.

If you have questions or need help, please ask at phabricator:T164242. You can login with your wiki account. Best wishes, Nemo 09:49, 14 May 2017 (UTC)Reply

Main page in Udmurt

edit

{{Editprotected}} Please add Udmurt version: 'udm': 'Кутскон бам' --Wadorgurt (talk) 06:01, 26 August 2017 (UTC)Reply

ko-kp

edit

{{Editprotected}}

	'ko-kp': '조선말',
	ko-kp: '첫페지',

The "조선말" is language name. Please see 첫페지 and translatewiki:Thread:User_talk:Delim/MediaWiki:Mainpage/ko-kp. Thanks. --Garam talk 16:18, 10 December 2018 (UTC)Reply

  Done Jon Kolbert (talk) 12:19, 24 December 2018 (UTC)Reply

Sardinian (sardu)

edit

{{Edit request}} Please add Sardinian (language name: "sardu", ISO code: "sc") to the list. The name of the new Main Page is Pàgina printzipale.--L2212 (talk) 08:18, 6 June 2019 (UTC)Reply

  Done -- User: Perhelion 20:41, 29 July 2019 (UTC)Reply

Interlingue

edit

{{Editprotected}}

Please add

	ie: 'Principal págine',

(see Principal págine). Thanks in advance, —Tacsipacsi (talk) 13:08, 10 June 2019 (UTC)Reply

  Done -- User: Perhelion 20:42, 29 July 2019 (UTC)Reply

Edit request: 11 Sep 2020

edit

{{Edit request}} Please add javanese by adding the following after line 75: jv: 'Kaca Utama',. Best, —‍Mdaniels5757 (talk • contribs) 20:05, 11 September 2020 (UTC)Reply

  Done --Lucas Werkmeister (talk) 09:17, 12 September 2020 (UTC)Reply

Chechen version

edit

{{Editprotected}} Please add Chechen version: 'ce': 'Коьрта агӀо' --Takhirgeran Umar (talk) 22:48, 15 April 2021 (UTC)Reply

Return to "MainPages.js" page.