Closed desb42 closed 4 years ago
Great detail as always!
Let me know if anything else. Thanks!
Looks good.
Unfortunately, I cannot apply this fix in quite the same way
I have made a number of changes to the 'page' generation over time (Xoh_page_wtr_wkr.java)
Some of which are:
1) Add logic to display heading for wikidata (which is quite convoluted)
2) always display Firstheader
- the css on page should cope with hiding it if necessary
3) commons has a Data: namespace - when .tab show a table
4) added a printfooter for a javascript hook in wikisource (and possibly other wikis)
I realise that all these bits of code could be extracted into classes of their own. This is more of a playground for ideas that somehow need to be integrated into the main build
Some of which are:
- Add logic to display heading for wikidata (which is quite convoluted)
- always display Firstheader - the css on page should cope with hiding it if necessary
- commons has a Data: namespace - when .tab show a table
- added a printfooter for a javascript hook in wikisource (and possibly other wikis)
Yeah, sorry, I'm sure I've been long overdue in responding to those issues. Feel free to bump any of them in priority (or just picking them from the list above) and I'll prioritize higher.
Otherwise, thanks!
looking at the main page of enwikivoyage
en.wikivoyage.org/wiki/Main_Page
In mediawiki the \Wikivoyage – The free worldwide travel guide that you can edit
whereas for xowa it isMain Page - XOWA
Similarly for any other page (as an example
Thimphu – Travel guide at Wikivoyage
) mediawiki \Thimphu – Travel guide at Wikivoyage
and xowa isThimphu – XOWA
This only becomes noticeable in xowa-http
Researching, I have found two MediaWiki 'messages' that control this effect
MediaWiki:Pagetitle
->$1 – Travel guide at {{SITENAME}}
MediaWiki:Pagetitle-view-mainpage
->{{SITENAME}} – The free worldwide travel guide that you can edit
by modifying
400_xowa\src\gplx\xowa\htmls\Xoh_page_wtr_wkr.java
and adding these few lines just before thefmtr.Bld_bfr_many
should make it work across all wikis