Comments (6)
Team: Open Source will work on it during the Hackathon. We will try to improve the user experience. We have couple ideas. We still have to evaluate the feasibility.
from gcpedia.
What form of link are you using? [[File:filename.ext]] or [[Media:filename.ext]] ? When I use the latter, the file opens instead of bringing me to the file information page. Am I misunderstanding, or should this Issue be closed?
from gcpedia.
Aha! You are correct! (mostly).
I kept running into the issue with images, I wanted them to open full size when a user clicked them. I was using the [[File]] kink, since [[Media]] doesn't work for images (well, it doesn't display them on the current page). So perhaps this issue is only limited to images. Is there a way to make [[Media]] work with images on the current page? The link seems to work, but it only includes your caption text, not the actual picture. See here for example: http://www.gcpedia.gc.ca/wiki/User:Rick.massie/sandbox
from gcpedia.
I'd suggest trying checking the latest version of mediawiki (stable 1.28), or even the wmf alpha version (https://www.mediawiki.org/wiki/MediaWiki_1.29/wmf.19) and see if this hasn't been already addressed since the version GCpedia is currently running on (1.26).
from gcpedia.
I created a short script that sort of does what I was hinting at. This is probably far from the most glamorous solution (I'm a newbie to jquery), but it does work in the current environment. See example here: (http://www.gcpedia.gc.ca/wiki/File:Aandc-yt-eti-plan.doc)
And code below:
`<script
src="https://code.jquery.com/jquery-3.2.1.min.js"
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
Download" + " " + docTitle + ""); //Increase text size in the button to make it more prominent on the page $("#docButton").css("font-size","200%"); }) </script>`
from gcpedia.
This might be resolved by now, will need to check.
from gcpedia.
Related Issues (20)
- change gcpedia review instances to use the default azure web app php environment
- Create tests for staging deployments HOT 2
- Create account test HOT 1
- Access to gc wikis environment(s) for scripting HOT 6
- Set up github actions / pages for test HOT 2
- docker compose wait for db startup before running init HOT 1
- upgrade the mediawiki 1.41 HOT 1
- GCpedia - Set up Github to Azure Devops Sync
- Don't use IE mode in Edge for gcpedia HOT 1
- GCpedia - set up dev deployment pipeline
- gcpedia upgrade - dropping IE support
- Update docker-compose setup HOT 4
- db import pipeline
- Evaluate updated / unmaintained / custom extensions HOT 3
- write tests for custom extensions HOT 2
- Fix header icon alignment
- Load tests HOT 1
- Improve e2e reviews in github actions HOT 1
- Scale load tests using azure containers
- Media playback
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcpedia.