Extension:GoogleDocs4MW/pl
Appearance
Status wydania: stabilne |
|
|---|---|
| Realizacja | Znaczniki |
| Opis | Adds <googlespreadsheet> tag for Google Docs' spreadsheets display |
| Autor(zy) | Jack Phoenix |
| Ostatnia wersja | 1.5 (2025-06-10) |
| MediaWiki | 1.43.6+ |
| Zmiany w bazie danych | Nie |
<googlespreadsheet> |
|
| License | GNU General Public License 2.0 or later |
| Pobieranie | |
| Przykład | ShoutWiki |
| Przetłumacz rozszerzenie GoogleDocs4MW jeżeli jest dostępne na translatewiki.net | |
| Problemy | Otwarte zadania · Zgłoś błąd |
The GoogleDocs4MW extension embeds Google Docs' spreadsheets into the wiki.
Instalacja
- Pobierz i umieść plik(i) w katalogu o nazwie
GoogleDocs4MWw folderzeextensions/.
Developers and code contributors should install the extension from Git instead, using:cd extensions/ git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/GoogleDocs4MW
- Dodaj poniższy kod na dole twojego pliku LocalSettings.php:
wfLoadExtension( 'GoogleDocs4MW' );
Zrobione – Przejdź do Special:Version na twojej wiki, aby sprawdzić czy rozszerzenie zostało pomyślnie zainstalowane.
Użycie
Supported parameters are:
| Name | Default |
|---|---|
| width | 500 |
| height | 300 |
| style | width:100% |
As an example using all of the parameters:
<googlespreadsheet width="600" height="200" style="width:50%">Google Docs' key goes here</googlespreadsheet>
The Google Docs' key is the ID, encoded in the URL. For example, https://docs.google.com/spreadsheets/d/4cmYOu9kuIfCzbu-Dsu9XaGHUnUHG32PK9wHe5yMv3VZ/edit#gid=0 has ID 4cmYOu9kuIfCzbu-Dsu9XaGHUnUHG32PK9wHe5yMv3VZ.
To actually embed a spreadsheet, the spreadsheet needs to be published with Google's File > Publish to Web... option. It is not sufficient to just have a shareable link.
Note
This extension was inspired by the Fandom extension with the same name, but this extension was written back when Fandom wasn't open source.
Zobacz też
| To rozszerzenie jest dołączone do następujących farm/hostów wiki lub pakietów: |
Categories:
- Stable extensions/pl
- Tag extensions/pl
- ParserFirstCallInit extensions/pl
- GPL licensed extensions/pl
- Extensions in Wikimedia version control/pl
- All extensions/pl
- Extensions included in Miraheze/pl
- Extensions included in ShoutWiki/pl
- Extensions by ShoutWiki/pl
- Google extensions/pl
- Document viewer extensions/pl
- Spreadsheets extensions/pl
