Page MenuHomePhabricator

It should be possible to hide the navigation links in Special:IndexPage
Open, Needs TriagePublic

Description

When transcluding Special:IndexPages, there should be an option to hide the navigation links.

A simple way to do it is to add a new option to Special:IndexPages (implemented in SpecialIndexPages.php) and use it to set QueryPage->shownavigation to false.

Event Timeline

Tpt created this task.Tue, Jul 21, 10:32 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptTue, Jul 21, 10:32 AM
Soda added a subscriber: Soda.Tue, Jul 21, 11:30 AM

@Tpt The implementation is in SpecialProofreadPages.php :)

Hello @Tpt, I'd appreciate some guidance to reproduce the screenshot above. I managed to install the ProofRead Page extension as per this guide (https://www.mediawiki.org/wiki/Extension:Proofread_Page) but I can't quite figure out how to obtain the same step as in the description.

Tpt added a comment.Sat, Aug 1, 6:19 PM

Hi @samuelguebo!

The special page we are talking about is Special:IndexPages. To display something you need to have already created some pages in the "Index:" namespace.
The code of this special page is in includes/Special/SpecialProofreadPages.php.php.

Thanks @Tpt, for taking the time to explain this. I created a couple of pages in the Index namespace. However, Special:IndexPages still doesn't return any result, while a general search indicates that there are actually pages in the Index namespace. Should the pages contain special tags or do I need additional settings?

Screenshots below for convenience

Tpt added a comment.Sat, Aug 1, 9:28 PM

It's strange. There should not be any cache on this page.

Is Special:IndexPages returning anything when using an empty search (instead of "Test")? If yes, it's probably a problem related to MediaWiki search. If not, are you sure ProofreadPage is properly configured? (a hint: the Index: pages editing interface should display a form instead of the usual edit box).

Soda added a comment.Sun, Aug 2, 10:57 AM

@samuelguebo You probably need to create MediaWiki: Proofreadpage index template and MediaWiki: Proofreadpage index data config according to the instructions down the extension page (or copy over the ones at https://en.wikisource.org) and then create a new Index page. That new Index page should show up on Special: IndexPages.

@samuelguebo You probably need to create MediaWiki: Proofreadpage index template and MediaWiki: Proofreadpage index data config according to the instructions down the extension page (or copy over the ones at https://en.wikisource.org) and then create a new Index page. That new Index page should show up on Special: IndexPages.

@samuelguebo https://wikisource.org/wiki/Wikisource:ProofreadPage#Configuring_index_pages