New user account creation has been disabled temporarily. Contact membership at wikimedia.in (via e-mail) if you need one.

Technical Help Desk

From Wikimedia India Chapter
Revision as of 17:30, 1 April 2015 by Satdeep gill (talk | contribs) (Shorter URL and WikiLove on pa.wiki: new section)

Jump to: navigation, search

This will be a help desk for technical issues. You can post requests for any technical help regarding on wiki issues. For example, you can request to fix a template, fix a bug or write a custom script to automate things.

If you are a tech geek, please volunteer and sign up below mentioning your areas of interest and expertise. Once someone seeks help, we will try to connect you on wiki.

Volunteers

  1. ravidreams; templates, installing mediawiki extensions, filing bug reports.
  2. Your username, expertise area 1, expertise area 2

Place your requests below

Lua error in kn wiki template

Need help fixing "Lua error in Module:TimeAgo at line 60: attempt to perform arithmetic on a string value" on kn:wiki. Sample testcases can be found here. Omshivaprakash 18:53, 11 March 2015 (IST)

Just a note. I was able to resolve many errors on the page by making modification to Module:TimeAgo}} as follows:
Line: 54
- local noError, inputTime = pcall( lang.formatDate, lang, 'U', args[1], true )
+ local noError, inputTime = pcall( lang.formatDate, lang, 'xnU', args[1], true )
Line: 60
- local timeDiff = lang:formatDate( 'U', nil, true ) - inputTime
+ local timeDiff = lang:formatDate( 'xnU', nil, true ) - inputTime
Still there are few more errors to be fixed. Thanks to nepali wikipedia (ne:wiki) for pointing this on Template:Time ago/core Omshivaprakash 20:29, 11 March 2015 (IST)

Lua error in pa wiki template

Punjabi Wikipedia has the same issue as kn wiki in Module:Time Ago. --Satdeep gill 22:30, 11 March 2015 (IST)

I did apply the fix there. Please confirm if that has resolved the issue. You can add the test cases that we have on kn wiki and check as well. Omshivaprakash 01:18, 12 March 2015 (IST)

Alternative URL for Sanskrit wiki articles

  1. Whenever we want to give a link for sa wiki page we get a long URL.We want to know how to generate alternate URL (short) as given below in all Hindi pages. Could you please help us in this regard ?
  2. In sa wiki we have an option to change numerals between devanagari and roman. If somebody keeps roman as default, he cannot open the page which has devanagari numerals in the name of the article (for eg महिलालेखाभियानम् २०१५) unless it is redirected from (महिलालेखाभियानम् 2015). Could you please suggest a solution for this ?

Thanks. - Shubha 09:45, 19 March 2015 (IST)

To enable ShortURL, have a discussion/vote with local community and raise a phabricator ticket. i think it was enabled in all indic wikis, not sure how it was missed in sa wiki. for the second one, please check with Siddhartha Ghai or Krinkle at here--Shanmugamp7 15:43, 19 March 2015 (IST)

Shorter URL and WikiLove on pa.wiki

We need shorter URL as well as WikiLove on pa.wikipedia.org. Can anybody put the request for us. Here is community approval --Satdeep gill 17:30, 1 April 2015 (IST)