Usapang MediaWiki:Common.js
Ito ang pahinang usapan upang talakayin ang Common.js. Mangyaring panatilihin ang kagandahang-asal at iwasan ang paglalagay ng anumang bagay na wala namang kinalaman sa nasabing paksa.
Pakilagay lamang ang inyong mensahe sa ibaba kasunod ng inyong lagda sa pamamagitan ng paglalagay ng apat na bantas (~~~~) kung gagamit ka ng wikitext. Kung hindi ka pamilyar sa wikitext, pindutin na lamang ito para magsimula ng bagong paksang mapag-uusapan. Maraming salamat po. Baguhan sa Wikipedia? Makatutulong sa iyo ang mga pahinang ito: Wikipedia:Patungkol at magtanong upang matugunan. |
Give search results even when page doesn't exist[baguhin ang wikitext]
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 10:55, 14 Disyembre 2013 (UTC) (comments, translations and last instructions)
- Nice to see it enabled already! And sorry for the wrong pre above. --Nemo bis (makipag-usap) 10:55, 14 Disyembre 2013 (UTC)
Donations[baguhin ang wikitext]
Hello, I propose to remove the entire block after "IE 6 Z-index bug workaround for anonnotice". Those donation notices are superseded and English-only banners in non-English wikis are both useless and harmful for Wikimedia and its finances. In fact, they make Wikipedia slower for unregistered users, so they cost more money than they bring, because the WMF has to spend millions on mw:Site performance. The WMF already runs banners for all the money they need, such permanent banners are inefficient. --Nemo bis (makipag-usap) 12:10, 13 Pebrero 2015 (UTC)
WikiMiniAtlas[baguhin ang wikitext]
{{editprotected}} Please replace the current WikiMiniAtlas code with the following
/**
* WikiMiniAtlas
*
* Description: WikiMiniAtlas is a popup click and drag world map.
* This script causes all of our coordinate links to display the WikiMiniAtlas popup button.
* The script itself is located on meta because it is used by many projects.
* See [[Meta:WikiMiniAtlas]] for more information.
* Maintainers: [[User:Dschwen]]
*/
/* For inline coordinates on articles */
window.wma_settings = {
flowTextTooltips: (location.host === "tl.wikipedia.org"),
};
( function () {
var require_wikiminiatlas = false;
var coord_filter = /geohack/;
$( function () {
$( 'a.external.text' ).each( function( key, link ) {
if ( link.href && coord_filter.exec( link.href ) ) {
require_wikiminiatlas = true;
// break from loop
return false;
}
} );
if ( $( 'div.kmldata' ).length ) {
require_wikiminiatlas = true;
}
if ( require_wikiminiatlas ) {
mw.loader.load( '//meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript' );
}
} );
} )();
this is part of the checklist to fix coordinate links on articles--Lam-ang (makipag-usap) 22:24, 20 Agosto 2015 (UTC).
- Tapos na. --bluemask (makipag-usap) 07:49, 21 Agosto 2015 (UTC)