Συζήτηση MediaWiki:Common.js
- Διαγραφή
- Αρχείο
Αναφορές προβλημάτων Αύγουστος 2008
[επεξεργασία κώδικα]- Κύρια Σελίδα: Κάτω από τα interwiki υπάρχει ένας σύνδεσμος [Πλήρης κατάλογος]
- Ελλάδα: Ο έκτος σύνδεσμος interwiki (αραβικά) πρέπει να έχει ένα αστεράκι μπροστά
- Ελλάδα: Το κουτί με τις χώρες του ΝΑΤΟ πρέπει να έχει δεξιά ένα σύνδεσμο εμφάνιση/απόκρυψη
- επεξεργασία: Η εργαλειοθήκη πάνω από το πλαίσιο επεξεργασίας έχει 20 κουμπιά
- Ειδικό:Upload: Στην περιγραφή υπάρχει το πρότυπο Πληροφορίες εικόνας για συμπλήρωση
Έγιναν αλλαγές και λύθηκαν (νομίζω) τα προβλήματα. Παρακαλώ κάντε έναν επανέλεγχο.
OK, φαίνεται πως είναι όλα εντάξει. — Geraki ΣΜ 21:04, 3 Αυγούστου 2008 (UTC)
Fix secure Meta link
[επεξεργασία κώδικα]Could someone please change the "WikiMiniAtlas" section from:
if (wgServer == "https://secure.wikimedia.org") {
var metaBase = "https://secure.wikimedia.org/wikipedia/meta";
} else {
var metaBase = "http://meta.wikimedia.org";
}
to:
if (wgServer == "https://el.wikipedia.org" || "https://secure.wikimedia.org") {
var metaBase = "https://meta.wikimedia.org";
} else {
var metaBase = "http://meta.wikimedia.org";
}
Now you can use https://el.wikipedia.org/ and https://meta.wikimedia.org, so let's make sure the site works properly for both people. We can even just replace "https://secure.wikimedia.org" with "https://el.wikipedia.org" if we want to, since most people will probably use https://el.wikipedia.org.
Thanks! Κασεγ συζήτηση 21:54, 4 Απριλίου 2012 (UTC)
OSM-Gadget
[επεξεργασία κώδικα]The next big step in OSM-Wikipedia cooperation is: http://wiki.openstreetmap.org/wiki/WIWOSM For that we need the article name in the tool to running it.
So please use the simple central installation by using meta: http://de.wikipedia.org/wiki/Wikipedia:WikiProjekt_Georeferenzierung/Anwendungen/OpenStreetMap/en#Installation
Thanks. --Kolossos (συζήτηση) 17:13, 11 Ιουλίου 2012 (UTC)
Give search results even when page doesn't exist
[επεξεργασία κώδικα]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"); } --[[m:User:Nemo_bis|Nemo]] ~~~~~ ([[w:en:MediaWiki talk:Wdsearch.js|comments, translations and last instructions]]) <!-- EdwardsBot 0661 -->
Announced JavaScript change for badges implementation
[επεξεργασία κώδικα]Hi! I want to let you know that in near future badges will be deployed on Wikidata and the Wikipedias. They help us with displaying the good and featured article icons next to the sitelinks and will replace the javascript hack which is used at the moment together with the Link GA and Link FA templates. To avoid an overlap where the current system and the new feature conflict, I will add a minor fix to your Common.js which adds the class names to the interwiki links. This is part of my task as a global edit interface editor for the Wikidata team. Thanks, Bene* (συζήτηση) 19:16, 11 Αυγούστου 2014 (UTC)
Πολυτονικό
[επεξεργασία κώδικα]1200 bytes λιγότερα
$( '#wpTextbox1' ).on( 'wikiEditor-toolbar-buildSection-characters', function (event, section) {
var greekExtended = [], i;
for(i = 0x1f00; i < 0x1fff; i++){
greekExtended.push(String.fromCharCode(i));
}
var reserved = [245, 241, 240, 220, 213, 212, 197, 181, 127, 126, 94, 92, 90, 88, 79, 78, 71, 70, 31, 30, 23, 22];
for(i = 0; i < reserved.length; i++){
greekExtended.splice(reserved[i], 1);
}
Array.prototype.push.apply(section.pages.greek.characters, greekExtended);
});