మీడియావికీ చర్చ:Common.js

ఈ పేజీ లోని కంటెంటులకు ఇతర భాషలలో మద్దతు లేదు.
వికీసోర్స్ నుండి

వ్యాస నాణ్యతా చిహ్నాలతో సమస్య[మార్చు]

function dotabs()
{
   //first tab
   var a = document.getElementById("ca-nstab-main");
   if(a){
          var s = a.innerHTML;
          var i = s.indexOf('Article');

ను

function dotabs()
{
   //first tab
   var a = document.getElementById("ca-nstab-main");
   if(a){
          var s = a.innerHTML;
          var i = s.indexOf('వ్యాసము');

తో మార్చాలి. బాగు చేసిన తరువాత ఆంధ్ర విజ్ఞాన సర్వస్వం (ద్వితీయ సంపుటం) కవరు పేజీ అనే వ్యాసంలో పైన రావాల్సిన tabs సరిగ్గా వస్తున్నాయో లేదో ఒక సారి గమనించండి. __Mpradeep 02:10, 19 జూలై 2007 (UTC)[ప్రత్యుత్తరం]

Give search results even when page doesn't exist[మార్చు]

Screenshot of the Earth test search, with this script adding links to Wikidata, Reasonator, Commons, and Wikipedia.

Hello, I propose to enable the tool created by Magnus Manske (creator of MediaWiki) to provide results from other languages and Commons (via Wikidata) when a page doesn't exist here: links are added to Special:Search and noarticletext. This helps to encourage translation and to make readers use your wiki more, because they can be sure to find something even if it's not local (rather than searching directly on the biggest wiki). The Italian and Polish Wikipedias, among others already enabled it by default.
Examples: [1] [2] [3]. More information: Magnus blog.
How to: just add the following line at the end of Common.js.

// Results from Wikidata
// [[File:Wdsearch_script_screenshot.png]]
if ( mw.config.get( 'wgCanonicalSpecialPageName' ) === 'Search' ||  ( mw.config.get( 'wgArticleId' ) === 0 && mw.config.get( 'wgCanonicalSpecialPageName' ) === false ) ) {
	importScriptURI("//en.wikipedia.org/w/index.php?title=MediaWiki:Wdsearch.js&action=raw&ctype=text/javascript");
}

--Nemo 05:03, 22 మార్చి 2015 (UTC) (comments, translations and last instructions)[ప్రత్యుత్తరం]

ఆధ్యాయాల పేజీల రూపుదిద్దటంలో సమస్యలు[మార్చు]

YesY సహాయం అందించబడింది

ఆధ్యాయాల పేజీలు రూపుదిద్దడంలో (ఆంగ్ల వికీనుండి "Display Options" )దిగుమతి చేసుకున్న తరువాత ఈ క్రింది సమస్యలున్నాయి.

  • పేజీ సంఖ్య కొన్ని సార్లు hexadecimal codes తో కొన్ని సార్లు సాధారణ సంఖ్యలతో కనబడుతుంది. నేను సంబంధిత Mediawiki:PageNumbers.js fileలో అనువాదాలు తొలగించితే Display Options అచేతనం అవుతున్నది.

ఉదాహరణ తెలుగు అధ్యాయపు పేజీ, ఆంగ్ల వికీసోర్స అధ్యాయపు పేజీ.

  • ఆంధ్రదేశము విదేశయాత్రికులు లో రెండవ ఆ పై సార్లు పేజీ సంఖ్య [undefined] గా వస్తున్నది.
  • ఆధ్యాయపు పేజీ దిగువశీర్షిక తెల్లటి నేపథ్యంలోనే కనిపిస్తున్నది.ఎగువశీర్షిక నేపథ్యం లేత అకుపచ్చలాగా రావాలి.
  • Display Options కు స్థానికీకరణ.

@User:వైజాసత్య,వాడుకరి:Veeven,వాడుకరి:రహ్మానుద్దీన్ మరి ఇంకెవరైనా సాంకేతిక నిపుణులు సహాయం చేయండి.--అర్జున (చర్చ) 05:03, 22 మార్చి 2015 (UTC)[ప్రత్యుత్తరం]

CSS తో సమస్యలు[మార్చు]

---అర్జున (చర్చ) 12:10, 23 మార్చి 2015 (UTC)[ప్రత్యుత్తరం]

మరింతగా ఆంగ్ల వికీసోర్స్ పరిశోధించిన తరువాత, Dynamic layout system ఇంకా ప్రయోగాత్మకంగానే రోజువారీ మార్పులకు గురవుతున్నదిగా వుంది. మరల Common.css కు మార్పుచేయటం మరచాను. జావాస్క్రిప్ట్ లో బాగా నైపుణ్యము కలసభ్యుడు తెలుగుకి తగినట్లుగా చేయవలసివుంది. కావు న స్థితిని గతం లో స్థాయికి తీసుకువెళ్తున్నాను. పేజీ నంబర్లు పనిచేసేటట్లు చేయగలిగితే మంచిది. --అర్జున (చర్చ) 06:21, 24 మార్చి 2015 (UTC)[ప్రత్యుత్తరం]
పరిష్కరించాను. ఆంగ్ల వికీసోర్స్ నుండి మీడియావికీ:Gadget-enwp-boxes.css ‎ దిగుమతి మరియు సంబంధిత Gadgets-definition edits.--అర్జున (చర్చ) 07:10, 27 మార్చి 2015 (UTC)[ప్రత్యుత్తరం]

Reset to old version with addition for IndexForm.js[మార్చు]

As the new updates from enws are not stable and the version tried is conflicting with Section syntax on page name space, I have restored the status to 2012 version with addition of IndexForm support. O tried to add PageNumbers.js from old wikisource, but found that the page numbers are overlaid on transcluded text which is not desirable.--అర్జున (చర్చ) 11:15, 24 మార్చి 2015 (UTC)[ప్రత్యుత్తరం]

Latest status[మార్చు]

After identifying that section syntax is being handled by gadget Easy-LST. Installed the English version of Common.js and found things to be fine, except that Layout x is only being shown, without the toggle status lines. Once the Enws stabilises, javascripts needs to be relooked and optimised for Telugu wikisource. --అర్జున (చర్చ) 10:51, 25 మార్చి 2015 (UTC)[ప్రత్యుత్తరం]

Update to the enws version as of 2020-12-04, 11:00 IST. Display layout and crop image are not yet functional. Need to investigate further.--అర్జున (చర్చ) 05:54, 4 డిసెంబరు 2020 (UTC)[ప్రత్యుత్తరం]