Module talk:Coordinates
![]() | Ito ang pahinang usapan upang talakayin ang Coordinates. 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. |
Checklist to implement module and supporting templates
copy over en:MediaWiki:GeoHack.js to MediaWiki:GeoHack.js (Note:do not load directly it will not work)
Update coordinate positions at MediaWiki:Vector.css, MediaWiki:Monobook.css, MediaWiki:Modern.css, and MediaWiki:Cologneblue.css
Load WikiMiniAtlas at MediaWiki:Common.js
/**
* 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' );
}
} );
} )();
- Translate WikiMiniAtlas interface at c:Commons:WikiMiniAtlas/Translations
Copy over and translate en:Template:GeoTemplate to Padron:GeoTemplate
Copy over en:Module:Geobox coor to Module:Geobox coor
- Switch templates to Lua (preferably after all the steps above are completed)
This will fix most of the broken links and positions of coordinates on articles, any help from admins to implement list items on protected pages is greatly appreciated. --Lam-ang (makipag-usap) 17:57, 19 Agosto 2015 (UTC)
- @Lam-ang: Done with the edit requests, did we miss something? --bluemask (makipag-usap) 08:02, 21 Agosto 2015 (UTC)
- @Bluemask: I think you got everything, there are some templates that needs to be redirected to Padron:Coord, pages that links to Padron:Coor URL needs to be fixed and on Kategorya:Mga pahinang mayroong kapangitan ang mga tatak na pangtugmaan, but I'll get them later. Thanks for your help!--Lam-ang (makipag-usap) 08:13, 21 Agosto 2015 (UTC)
Coordinates translation
Greetings!
@Geraldinho108:, @Bluemask:, @Jojit fb:, @WayKurat:, @JWilz12345: (note: I just listed a few active users any one can join in)
I reverted this edit by Geraldinho108 for now not because I disagree with the translations but it's too disruptive as the module is transcluded on almost 10,000 articles, categories associated with the change were not moved and many other infoboxes that uses "mga koordinato" as translation for "coordinates" were not changed, furthermore there are many articles that uses the same translation that all need to moved if we agree on the common translation. So if we agree that "coordinates" should be translated to "katayuwat" I will revert my changes to the module and do all the legwork on changes associated with the common translation including moving articles, fixing infoboxes, moving categories and fixing labels at Wikidata. Thanks.--Lam-ang (makipag-usap) 15:01, 9 Agosto 2019 (UTC)
@Lam-ang: Fine by me! Did check only on a few articles but didn't realize the impact was much bigger! Thanks, BTW, is there still a regular meetup for active users re: tutorials for amateurs like me? --Geraldinho108 (makipag-usap
- Meetups are happening all over the world depending on your geolocation, but I'm not aware of any tlwiki specific meetups. --Lam-ang (makipag-usap) 16:54, 12 Agosto 2019 (UTC)