Wanted Pages Application

Last modified by Thomas Mortagne on 2026/02/26 15:38

pageProvides a page listing and counting non-URL links on your wiki that point to nonexistent documents.
TypeXAR
CategoryApplication
Developed by

Eden Biskin

Active Installs0
Rating
0 Votes
LicenseGNU General Public License 3

Success

Installable with the Extension Manager

Description

This extension was inspired by MediaWiki's Special:WantedPages. It contains a small application that includes a page with a dynamic list of non-URL links on your wiki that point to nonexistent documents.

The list includes three main components:
  - The name (<spaces>.<displayTitle>) of the nonexistent page to which link(s) exist. You can click on the name to be taken to the "create" screen for that page.
  - The number of documents that contain a live link to that nonexistent page. (Note that this counts documents, not links.) You can click on the count to reveal...
  - An alphabetical sublist of those document(s)' fullnames. Each list item is a live link to the named page.

The list is sorted in descending order based on the number of linking documents, then in ascending alphabetical order. It also respects the "displayHiddenDocuments" user preference, so if that is set to "false," the list will not include or count links in documents marked as hidden.

As the extension installs an application, it is configured to show up in your Applications panel.

Localization/Translation

While it is in US English by default, the extension is configured for localization. The default translation strings are located in WantedPages.WantedPagesTranslations.

Please help translate this extension! You can help out on the XWiki Weblate.

Supported Locales

  • English (US) [default]
  • French/français [in progress]
  • German/Deutsch

Current Limitations

  • The list is currently just that: a list. You cannot, for instance, modify the sort method without modifying the "order by" clause in WantedPagesCode—in other words, without modifying the code itself.
    • I or another contributor(s) may eventually convert the list to a table or, if it would be feasible, even a Livetable.
    • There is a JIRA issue for this.
  • It is not necessarily optimized for very large wikis. The data is processed synchronously and is not cached.
  • At the present, I cannot guarantee that it will function as intended on a wiki farm setup. The database queries that fetch the relevant data do not currently discern among sub-wikis, so if you install this extension on any wiki other than the main one, you may find that the list includes links and documents from other wikis on your farm.
    • This would probably be a relatively simple fix to implement, though my test environment only has one wiki, so others might need to test the eventual fix.
    • There is a JIRA issue to address this specifically.

Links

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki

Release Notes

v0.3.2

New supported locales:

  • French (français) [partial support]
  • German (Deutsch) [full support]

v0.3.1

restored accidentally-reverted features

v0.3.0

  • first XWiki Contrib release

Get Connected